Interface ApplicationGatewayRequestRoutingRule.UpdateStages.WithRedirectConfig

    • Method Detail

      • withRedirectConfiguration

        @Beta(V1_4_0)
        ApplicationGatewayRequestRoutingRule.Update withRedirectConfiguration​(String name)
        Associates the specified redirect configuration with this request routing rule.

        Note that no backend can be associated with this request routing rule if it has a redirect configuration assigned to it, so this will also remove any backend and backend HTTP settings configuration.

        Parameters:
        name - the name of a redirect configuration on this application gateway
        Returns:
        the next stage of the update
      • withoutRedirectConfiguration

        @Beta(V1_4_0)
        ApplicationGatewayRequestRoutingRule.Update withoutRedirectConfiguration()
        Removes the association with a redirect configuration, if any.
        Returns:
        the next stage of the update