Skip to content

Commit

Permalink
mgmt, Network ApplicationGateway probe, support pickHostnameFromBacke…
Browse files Browse the repository at this point in the history
…ndHttpSettings (#37371)
  • Loading branch information
weidongxu-microsoft authored Oct 26, 2023
1 parent 8aacb24 commit 9acbfe0
Show file tree
Hide file tree
Showing 68 changed files with 5,576 additions and 143 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes
- Supported `withHostNameFromBackendHttpSettings` for `ApplicationGatewayProbe` under `ApplicationGateway`.

## 2.31.0 (2023-09-28)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "java",
"TagPrefix": "java/resourcemanager/azure-resourcemanager-network",
"Tag": "java/resourcemanager/azure-resourcemanager-network_a5ca5e0d4c"
"Tag": "java/resourcemanager/azure-resourcemanager-network_f4c4404be8"
}
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ public String host() {
return this.innerModel().host();
}

@Override
public Boolean isHostNameFromBackendHttpSettings() {
return this.innerModel().pickHostnameFromBackendHttpSettings();
}

// Fluent setters

@Override
Expand Down Expand Up @@ -118,6 +123,18 @@ public ApplicationGatewayProbeImpl withHost(String host) {
return this;
}

@Override
public ApplicationGatewayProbeImpl withHostNameFromBackendHttpSettings() {
this.innerModel().withPickHostnameFromBackendHttpSettings(true);
return this;
}

@Override
public ApplicationGatewayProbeImpl withoutHostNameFromBackendHttpSettings() {
this.innerModel().withPickHostnameFromBackendHttpSettings(false);
return this;
}

@Override
public ApplicationGatewayProbeImpl withTimeoutInSeconds(int seconds) {
this.innerModel().withTimeout(seconds);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public NetworkManagementClientImpl buildClient() {
localSerializerAdapter,
localDefaultPollInterval,
localEnvironment,
subscriptionId,
this.subscriptionId,
localEndpoint);
return client;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@ public interface ApplicationGatewayProbe
/** @return host name to send the probe to */
String host();

/**
* Whether probe uses the host name from the HTTP settings to which this probe is associated.
*
* @return Whether probe uses the host name from the HTTP settings.
*/
Boolean isHostNameFromBackendHttpSettings();

/** Grouping of application gateway probe definition stages. */
interface DefinitionStages {
/**
Expand All @@ -75,6 +82,13 @@ interface WithHost<ParentT> {
* @return the next stage of the definition
*/
WithPath<ParentT> withHost(String host);

/**
* Specifies using the host name from the HTTP settings to which this probe is associated.
*
* @return the next stage of the definition
*/
WithPath<ParentT> withHostNameFromBackendHttpSettings();
}

/**
Expand Down Expand Up @@ -267,6 +281,20 @@ interface WithHost {
* @return the next stage of the update
*/
Update withHost(String host);

/**
* Specifies using the host name from the HTTP settings to which this probe is associated.
*
* @return the next stage of the definition
*/
Update withHostNameFromBackendHttpSettings();

/**
* Specifies not using the host name from the HTTP settings.
*
* @return the next stage of the definition
*/
Update withoutHostNameFromBackendHttpSettings();
}

/** Stage of an application gateway probe update allowing to specify the protocol of the probe. */
Expand Down Expand Up @@ -435,6 +463,13 @@ interface WithHost<ParentT> {
* @return the next stage of the definition
*/
WithPath<ParentT> withHost(String host);

/**
* Specifies using the host name from the HTTP settings to which this probe is associated.
*
* @return the next stage of the definition
*/
WithPath<ParentT> withHostNameFromBackendHttpSettings();
}

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[ [ "com.azure.resourcemanager.network.implementation.ApplicationGatewaysClientImpl$ApplicationGatewaysService" ], [ "com.azure.resourcemanager.network.implementation.ApplicationGatewayPrivateLinkResourcesClientImpl$ApplicationGatewayPrivateLinkResourcesService" ], [ "com.azure.resourcemanager.network.implementation.ApplicationGatewayPrivateEndpointConnectionsClientImpl$ApplicationGatewayPrivateEndpointConnectionsService" ], [ "com.azure.resourcemanager.network.implementation.ApplicationGatewayWafDynamicManifestsDefaultsClientImpl$ApplicationGatewayWafDynamicManifestsDefaultsService" ], [ "com.azure.resourcemanager.network.implementation.ApplicationGatewayWafDynamicManifestsClientImpl$ApplicationGatewayWafDynamicManifestsService" ], [ "com.azure.resourcemanager.network.implementation.ApplicationSecurityGroupsClientImpl$ApplicationSecurityGroupsService" ], [ "com.azure.resourcemanager.network.implementation.AvailableDelegationsClientImpl$AvailableDelegationsService" ], [ "com.azure.resourcemanager.network.implementation.AvailableResourceGroupDelegationsClientImpl$AvailableResourceGroupDelegationsService" ], [ "com.azure.resourcemanager.network.implementation.AvailableServiceAliasesClientImpl$AvailableServiceAliasesService" ], [ "com.azure.resourcemanager.network.implementation.AzureFirewallsClientImpl$AzureFirewallsService" ], [ "com.azure.resourcemanager.network.implementation.AzureFirewallFqdnTagsClientImpl$AzureFirewallFqdnTagsService" ], [ "com.azure.resourcemanager.network.implementation.WebCategoriesClientImpl$WebCategoriesService" ], [ "com.azure.resourcemanager.network.implementation.BastionHostsClientImpl$BastionHostsService" ], [ "com.azure.resourcemanager.network.implementation.NetworkInterfacesClientImpl$NetworkInterfacesService" ], [ "com.azure.resourcemanager.network.implementation.PublicIpAddressesClientImpl$PublicIpAddressesService" ], [ "com.azure.resourcemanager.network.implementation.VipSwapsClientImpl$VipSwapsService" ], [ "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.DscpConfigurationsClientImpl$DscpConfigurationsService" ], [ "com.azure.resourcemanager.network.implementation.AvailableEndpointServicesClientImpl$AvailableEndpointServicesService" ], [ "com.azure.resourcemanager.network.implementation.ExpressRouteCircuitAuthorizationsClientImpl$ExpressRouteCircuitAuthorizationsService" ], [ "com.azure.resourcemanager.network.implementation.ExpressRouteCircuitPeeringsClientImpl$ExpressRouteCircuitPeeringsService" ], [ "com.azure.resourcemanager.network.implementation.ExpressRouteCircuitConnectionsClientImpl$ExpressRouteCircuitConnectionsService" ], [ "com.azure.resourcemanager.network.implementation.PeerExpressRouteCircuitConnectionsClientImpl$PeerExpressRouteCircuitConnectionsService" ], [ "com.azure.resourcemanager.network.implementation.ExpressRouteCircuitsClientImpl$ExpressRouteCircuitsService" ], [ "com.azure.resourcemanager.network.implementation.ExpressRouteServiceProvidersClientImpl$ExpressRouteServiceProvidersService" ], [ "com.azure.resourcemanager.network.implementation.ExpressRouteCrossConnectionsClientImpl$ExpressRouteCrossConnectionsService" ], [ "com.azure.resourcemanager.network.implementation.ExpressRouteCrossConnectionPeeringsClientImpl$ExpressRouteCrossConnectionPeeringsService" ], [ "com.azure.resourcemanager.network.implementation.ExpressRoutePortsLocationsClientImpl$ExpressRoutePortsLocationsService" ], [ "com.azure.resourcemanager.network.implementation.ExpressRoutePortsClientImpl$ExpressRoutePortsService" ], [ "com.azure.resourcemanager.network.implementation.ExpressRouteLinksClientImpl$ExpressRouteLinksService" ], [ "com.azure.resourcemanager.network.implementation.ExpressRoutePortAuthorizationsClientImpl$ExpressRoutePortAuthorizationsService" ], [ "com.azure.resourcemanager.network.implementation.ExpressRouteProviderPortsLocationsClientImpl$ExpressRouteProviderPortsLocationsService" ], [ "com.azure.resourcemanager.network.implementation.FirewallPoliciesClientImpl$FirewallPoliciesService" ], [ "com.azure.resourcemanager.network.implementation.FirewallPolicyRuleCollectionGroupsClientImpl$FirewallPolicyRuleCollectionGroupsService" ], [ "com.azure.resourcemanager.network.implementation.FirewallPolicyIdpsSignaturesClientImpl$FirewallPolicyIdpsSignaturesService" ], [ "com.azure.resourcemanager.network.implementation.FirewallPolicyIdpsSignaturesOverridesClientImpl$FirewallPolicyIdpsSignaturesOverridesService" ], [ "com.azure.resourcemanager.network.implementation.FirewallPolicyIdpsSignaturesFilterValuesClientImpl$FirewallPolicyIdpsSignaturesFilterValuesService" ], [ "com.azure.resourcemanager.network.implementation.IpAllocationsClientImpl$IpAllocationsService" ], [ "com.azure.resourcemanager.network.implementation.IpGroupsClientImpl$IpGroupsService" ], [ "com.azure.resourcemanager.network.implementation.LoadBalancersClientImpl$LoadBalancersService" ], [ "com.azure.resourcemanager.network.implementation.LoadBalancerBackendAddressPoolsClientImpl$LoadBalancerBackendAddressPoolsService" ], [ "com.azure.resourcemanager.network.implementation.LoadBalancerFrontendIpConfigurationsClientImpl$LoadBalancerFrontendIpConfigurationsService" ], [ "com.azure.resourcemanager.network.implementation.InboundNatRulesClientImpl$InboundNatRulesService" ], [ "com.azure.resourcemanager.network.implementation.LoadBalancerLoadBalancingRulesClientImpl$LoadBalancerLoadBalancingRulesService" ], [ "com.azure.resourcemanager.network.implementation.LoadBalancerOutboundRulesClientImpl$LoadBalancerOutboundRulesService" ], [ "com.azure.resourcemanager.network.implementation.LoadBalancerNetworkInterfacesClientImpl$LoadBalancerNetworkInterfacesService" ], [ "com.azure.resourcemanager.network.implementation.LoadBalancerProbesClientImpl$LoadBalancerProbesService" ], [ "com.azure.resourcemanager.network.implementation.NatGatewaysClientImpl$NatGatewaysService" ], [ "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.NetworkManagersClientImpl$NetworkManagersService" ], [ "com.azure.resourcemanager.network.implementation.NetworkManagerCommitsClientImpl$NetworkManagerCommitsService" ], [ "com.azure.resourcemanager.network.implementation.NetworkManagerDeploymentStatusOperationsClientImpl$NetworkManagerDeploymentStatusOperationsService" ], [ "com.azure.resourcemanager.network.implementation.SubscriptionNetworkManagerConnectionsClientImpl$SubscriptionNetworkManagerConnectionsService" ], [ "com.azure.resourcemanager.network.implementation.ManagementGroupNetworkManagerConnectionsClientImpl$ManagementGroupNetworkManagerConnectionsService" ], [ "com.azure.resourcemanager.network.implementation.ConnectivityConfigurationsClientImpl$ConnectivityConfigurationsService" ], [ "com.azure.resourcemanager.network.implementation.NetworkGroupsClientImpl$NetworkGroupsService" ], [ "com.azure.resourcemanager.network.implementation.StaticMembersClientImpl$StaticMembersService" ], [ "com.azure.resourcemanager.network.implementation.ScopeConnectionsClientImpl$ScopeConnectionsService" ], [ "com.azure.resourcemanager.network.implementation.SecurityAdminConfigurationsClientImpl$SecurityAdminConfigurationsService" ], [ "com.azure.resourcemanager.network.implementation.AdminRuleCollectionsClientImpl$AdminRuleCollectionsService" ], [ "com.azure.resourcemanager.network.implementation.AdminRulesClientImpl$AdminRulesService" ], [ "com.azure.resourcemanager.network.implementation.NetworkProfilesClientImpl$NetworkProfilesService" ], [ "com.azure.resourcemanager.network.implementation.NetworkSecurityGroupsClientImpl$NetworkSecurityGroupsService" ], [ "com.azure.resourcemanager.network.implementation.SecurityRulesClientImpl$SecurityRulesService" ], [ "com.azure.resourcemanager.network.implementation.DefaultSecurityRulesClientImpl$DefaultSecurityRulesService" ], [ "com.azure.resourcemanager.network.implementation.NetworkVirtualAppliancesClientImpl$NetworkVirtualAppliancesService" ], [ "com.azure.resourcemanager.network.implementation.VirtualApplianceSitesClientImpl$VirtualApplianceSitesService" ], [ "com.azure.resourcemanager.network.implementation.VirtualApplianceSkusClientImpl$VirtualApplianceSkusService" ], [ "com.azure.resourcemanager.network.implementation.InboundSecurityRuleOperationsClientImpl$InboundSecurityRuleOperationsService" ], [ "com.azure.resourcemanager.network.implementation.NetworkWatchersClientImpl$NetworkWatchersService" ], [ "com.azure.resourcemanager.network.implementation.PacketCapturesClientImpl$PacketCapturesService" ], [ "com.azure.resourcemanager.network.implementation.ConnectionMonitorsClientImpl$ConnectionMonitorsService" ], [ "com.azure.resourcemanager.network.implementation.FlowLogsClientImpl$FlowLogsService" ], [ "com.azure.resourcemanager.network.implementation.OperationsClientImpl$OperationsService" ], [ "com.azure.resourcemanager.network.implementation.PrivateEndpointsClientImpl$PrivateEndpointsService" ], [ "com.azure.resourcemanager.network.implementation.AvailablePrivateEndpointTypesClientImpl$AvailablePrivateEndpointTypesService" ], [ "com.azure.resourcemanager.network.implementation.PrivateDnsZoneGroupsClientImpl$PrivateDnsZoneGroupsService" ], [ "com.azure.resourcemanager.network.implementation.PrivateLinkServicesClientImpl$PrivateLinkServicesService" ], [ "com.azure.resourcemanager.network.implementation.PublicIpPrefixesClientImpl$PublicIpPrefixesService" ], [ "com.azure.resourcemanager.network.implementation.RouteFiltersClientImpl$RouteFiltersService" ], [ "com.azure.resourcemanager.network.implementation.RouteFilterRulesClientImpl$RouteFilterRulesService" ], [ "com.azure.resourcemanager.network.implementation.RouteTablesClientImpl$RouteTablesService" ], [ "com.azure.resourcemanager.network.implementation.RoutesClientImpl$RoutesService" ], [ "com.azure.resourcemanager.network.implementation.SecurityPartnerProvidersClientImpl$SecurityPartnerProvidersService" ], [ "com.azure.resourcemanager.network.implementation.BgpServiceCommunitiesClientImpl$BgpServiceCommunitiesService" ], [ "com.azure.resourcemanager.network.implementation.ServiceEndpointPoliciesClientImpl$ServiceEndpointPoliciesService" ], [ "com.azure.resourcemanager.network.implementation.ServiceEndpointPolicyDefinitionsClientImpl$ServiceEndpointPolicyDefinitionsService" ], [ "com.azure.resourcemanager.network.implementation.ServiceTagsClientImpl$ServiceTagsService" ], [ "com.azure.resourcemanager.network.implementation.ServiceTagInformationsClientImpl$ServiceTagInformationsService" ], [ "com.azure.resourcemanager.network.implementation.UsagesClientImpl$UsagesService" ], [ "com.azure.resourcemanager.network.implementation.VirtualNetworksClientImpl$VirtualNetworksService" ], [ "com.azure.resourcemanager.network.implementation.SubnetsClientImpl$SubnetsService" ], [ "com.azure.resourcemanager.network.implementation.ResourceNavigationLinksClientImpl$ResourceNavigationLinksService" ], [ "com.azure.resourcemanager.network.implementation.ServiceAssociationLinksClientImpl$ServiceAssociationLinksService" ], [ "com.azure.resourcemanager.network.implementation.VirtualNetworkPeeringsClientImpl$VirtualNetworkPeeringsService" ], [ "com.azure.resourcemanager.network.implementation.VirtualNetworkGatewaysClientImpl$VirtualNetworkGatewaysService" ], [ "com.azure.resourcemanager.network.implementation.VirtualNetworkGatewayConnectionsClientImpl$VirtualNetworkGatewayConnectionsService" ], [ "com.azure.resourcemanager.network.implementation.LocalNetworkGatewaysClientImpl$LocalNetworkGatewaysService" ], [ "com.azure.resourcemanager.network.implementation.VirtualNetworkGatewayNatRulesClientImpl$VirtualNetworkGatewayNatRulesService" ], [ "com.azure.resourcemanager.network.implementation.VirtualNetworkTapsClientImpl$VirtualNetworkTapsService" ], [ "com.azure.resourcemanager.network.implementation.VirtualRoutersClientImpl$VirtualRoutersService" ], [ "com.azure.resourcemanager.network.implementation.VirtualRouterPeeringsClientImpl$VirtualRouterPeeringsService" ], [ "com.azure.resourcemanager.network.implementation.VirtualWansClientImpl$VirtualWansService" ], [ "com.azure.resourcemanager.network.implementation.VpnSitesClientImpl$VpnSitesService" ], [ "com.azure.resourcemanager.network.implementation.VpnSiteLinksClientImpl$VpnSiteLinksService" ], [ "com.azure.resourcemanager.network.implementation.VpnSitesConfigurationsClientImpl$VpnSitesConfigurationsService" ], [ "com.azure.resourcemanager.network.implementation.VpnServerConfigurationsClientImpl$VpnServerConfigurationsService" ], [ "com.azure.resourcemanager.network.implementation.ConfigurationPolicyGroupsClientImpl$ConfigurationPolicyGroupsService" ], [ "com.azure.resourcemanager.network.implementation.VirtualHubsClientImpl$VirtualHubsService" ], [ "com.azure.resourcemanager.network.implementation.RouteMapsClientImpl$RouteMapsService" ], [ "com.azure.resourcemanager.network.implementation.HubVirtualNetworkConnectionsClientImpl$HubVirtualNetworkConnectionsService" ], [ "com.azure.resourcemanager.network.implementation.VpnGatewaysClientImpl$VpnGatewaysService" ], [ "com.azure.resourcemanager.network.implementation.VpnLinkConnectionsClientImpl$VpnLinkConnectionsService" ], [ "com.azure.resourcemanager.network.implementation.VpnConnectionsClientImpl$VpnConnectionsService" ], [ "com.azure.resourcemanager.network.implementation.VpnSiteLinkConnectionsClientImpl$VpnSiteLinkConnectionsService" ], [ "com.azure.resourcemanager.network.implementation.NatRulesClientImpl$NatRulesService" ], [ "com.azure.resourcemanager.network.implementation.P2SVpnGatewaysClientImpl$P2SVpnGatewaysService" ], [ "com.azure.resourcemanager.network.implementation.VpnServerConfigurationsAssociatedWithVirtualWansClientImpl$VpnServerConfigurationsAssociatedWithVirtualWansService" ], [ "com.azure.resourcemanager.network.implementation.VirtualHubRouteTableV2SClientImpl$VirtualHubRouteTableV2SService" ], [ "com.azure.resourcemanager.network.implementation.ExpressRouteGatewaysClientImpl$ExpressRouteGatewaysService" ], [ "com.azure.resourcemanager.network.implementation.ExpressRouteConnectionsClientImpl$ExpressRouteConnectionsService" ], [ "com.azure.resourcemanager.network.implementation.NetworkVirtualApplianceConnectionsClientImpl$NetworkVirtualApplianceConnectionsService" ], [ "com.azure.resourcemanager.network.implementation.VirtualHubBgpConnectionsClientImpl$VirtualHubBgpConnectionsService" ], [ "com.azure.resourcemanager.network.implementation.VirtualHubIpConfigurationsClientImpl$VirtualHubIpConfigurationsService" ], [ "com.azure.resourcemanager.network.implementation.HubRouteTablesClientImpl$HubRouteTablesService" ], [ "com.azure.resourcemanager.network.implementation.RoutingIntentsClientImpl$RoutingIntentsService" ], [ "com.azure.resourcemanager.network.implementation.WebApplicationFirewallPoliciesClientImpl$WebApplicationFirewallPoliciesService" ], [ "com.azure.resourcemanager.network.implementation.NetworkManagementClientImpl$NetworkManagementClientService" ] ]
Loading

0 comments on commit 9acbfe0

Please sign in to comment.