ArmFrontDoorModelFactory.ForwardingConfiguration Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.FrontDoor.Models.ForwardingConfiguration ForwardingConfiguration(string customForwardingPath = default, Azure.ResourceManager.FrontDoor.Models.FrontDoorForwardingProtocol? forwardingProtocol = default, Azure.ResourceManager.FrontDoor.Models.FrontDoorCacheConfiguration cacheConfiguration = default, Azure.Core.ResourceIdentifier backendPoolId = default);
static member ForwardingConfiguration : string * Nullable<Azure.ResourceManager.FrontDoor.Models.FrontDoorForwardingProtocol> * Azure.ResourceManager.FrontDoor.Models.FrontDoorCacheConfiguration * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.FrontDoor.Models.ForwardingConfiguration
Public Shared Function ForwardingConfiguration (Optional customForwardingPath As String = Nothing, Optional forwardingProtocol As Nullable(Of FrontDoorForwardingProtocol) = Nothing, Optional cacheConfiguration As FrontDoorCacheConfiguration = Nothing, Optional backendPoolId As ResourceIdentifier = Nothing) As ForwardingConfiguration
Parameters
- customForwardingPath
- String
A custom path used to rewrite resource paths matched by this rule. Leave empty to use incoming path.
- forwardingProtocol
- Nullable<FrontDoorForwardingProtocol>
Protocol this rule will use when forwarding traffic to backends.
- cacheConfiguration
- FrontDoorCacheConfiguration
The caching configuration associated with this rule.
- backendPoolId
- ResourceIdentifier
Resource ID.
Returns
A new ForwardingConfiguration instance for mocking.