Share via


ArmNetworkModelFactory.ApplicationGatewayHttpListener Method

Definition

Initializes a new instance of ApplicationGatewayHttpListener.

public static Azure.ResourceManager.Network.Models.ApplicationGatewayHttpListener ApplicationGatewayHttpListener (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ETag? etag = default, Azure.Core.ResourceIdentifier frontendIPConfigurationId = default, Azure.Core.ResourceIdentifier frontendPortId = default, Azure.ResourceManager.Network.Models.ApplicationGatewayProtocol? protocol = default, string hostName = default, Azure.Core.ResourceIdentifier sslCertificateId = default, Azure.Core.ResourceIdentifier sslProfileId = default, bool? requireServerNameIndication = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ApplicationGatewayCustomError> customErrorConfigurations = default, Azure.Core.ResourceIdentifier firewallPolicyId = default, System.Collections.Generic.IEnumerable<string> hostNames = default);
static member ApplicationGatewayHttpListener : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ETag> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.Network.Models.ApplicationGatewayProtocol> * string * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Nullable<bool> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * seq<Azure.ResourceManager.Network.Models.ApplicationGatewayCustomError> * Azure.Core.ResourceIdentifier * seq<string> -> Azure.ResourceManager.Network.Models.ApplicationGatewayHttpListener
Public Shared Function ApplicationGatewayHttpListener (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional frontendIPConfigurationId As ResourceIdentifier = Nothing, Optional frontendPortId As ResourceIdentifier = Nothing, Optional protocol As Nullable(Of ApplicationGatewayProtocol) = Nothing, Optional hostName As String = Nothing, Optional sslCertificateId As ResourceIdentifier = Nothing, Optional sslProfileId As ResourceIdentifier = Nothing, Optional requireServerNameIndication As Nullable(Of Boolean) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional customErrorConfigurations As IEnumerable(Of ApplicationGatewayCustomError) = Nothing, Optional firewallPolicyId As ResourceIdentifier = Nothing, Optional hostNames As IEnumerable(Of String) = Nothing) As ApplicationGatewayHttpListener

Parameters

id
ResourceIdentifier

Resource ID.

name
String

Resource name.

resourceType
Nullable<ResourceType>

Resource type.

etag
Nullable<ETag>

A unique read-only string that changes whenever the resource is updated.

frontendIPConfigurationId
ResourceIdentifier

Frontend IP configuration resource of an application gateway.

frontendPortId
ResourceIdentifier

Frontend port resource of an application gateway.

protocol
Nullable<ApplicationGatewayProtocol>

Protocol of the HTTP listener.

hostName
String

Host name of HTTP listener.

sslCertificateId
ResourceIdentifier

SSL certificate resource of an application gateway.

sslProfileId
ResourceIdentifier

SSL profile resource of the application gateway.

requireServerNameIndication
Nullable<Boolean>

Applicable only if protocol is https. Enables SNI for multi-hosting.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the HTTP listener resource.

customErrorConfigurations
IEnumerable<ApplicationGatewayCustomError>

Custom error configurations of the HTTP listener.

firewallPolicyId
ResourceIdentifier

Reference to the FirewallPolicy resource.

hostNames
IEnumerable<String>

List of Host names for HTTP Listener that allows special wildcard characters as well.

Returns

A new ApplicationGatewayHttpListener instance for mocking.

Applies to