Lingua

ArmAppContainersModelFactory.ContainerAppForwardProxy Method

Definition

The configuration settings of a forward proxy used to make the requests.

public static Azure.ResourceManager.AppContainers.Models.ContainerAppForwardProxy ContainerAppForwardProxy(Azure.ResourceManager.AppContainers.Models.ContainerAppForwardProxyConvention? convention = default, string customHostHeaderName = default, string customProtoHeaderName = default);
static member ContainerAppForwardProxy : Nullable<Azure.ResourceManager.AppContainers.Models.ContainerAppForwardProxyConvention> * string * string -> Azure.ResourceManager.AppContainers.Models.ContainerAppForwardProxy
Public Shared Function ContainerAppForwardProxy (Optional convention As Nullable(Of ContainerAppForwardProxyConvention) = Nothing, Optional customHostHeaderName As String = Nothing, Optional customProtoHeaderName As String = Nothing) As ContainerAppForwardProxy

Parameters

convention
Nullable<ContainerAppForwardProxyConvention>

The convention used to determine the url of the request made.

customHostHeaderName
String

The name of the header containing the host of the request.

customProtoHeaderName
String

The name of the header containing the scheme of the request.

Returns

A new ContainerAppForwardProxy instance for mocking.

Applies to