Dela via


ArmNetworkModelFactory.ApplicationGatewayBackendHttpSettings Method

Definition

Initializes a new instance of ApplicationGatewayBackendHttpSettings.

public static Azure.ResourceManager.Network.Models.ApplicationGatewayBackendHttpSettings ApplicationGatewayBackendHttpSettings (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ETag? etag = default, int? port = default, Azure.ResourceManager.Network.Models.ApplicationGatewayProtocol? protocol = default, Azure.ResourceManager.Network.Models.ApplicationGatewayCookieBasedAffinity? cookieBasedAffinity = default, int? requestTimeoutInSeconds = default, Azure.Core.ResourceIdentifier probeId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> authenticationCertificates = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> trustedRootCertificates = default, Azure.ResourceManager.Network.Models.ApplicationGatewayConnectionDraining connectionDraining = default, string hostName = default, bool? pickHostNameFromBackendAddress = default, string affinityCookieName = default, bool? probeEnabled = default, string path = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default);
static member ApplicationGatewayBackendHttpSettings : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ETag> * Nullable<int> * Nullable<Azure.ResourceManager.Network.Models.ApplicationGatewayProtocol> * Nullable<Azure.ResourceManager.Network.Models.ApplicationGatewayCookieBasedAffinity> * Nullable<int> * Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * Azure.ResourceManager.Network.Models.ApplicationGatewayConnectionDraining * string * Nullable<bool> * string * Nullable<bool> * string * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> -> Azure.ResourceManager.Network.Models.ApplicationGatewayBackendHttpSettings
Public Shared Function ApplicationGatewayBackendHttpSettings (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 port As Nullable(Of Integer) = Nothing, Optional protocol As Nullable(Of ApplicationGatewayProtocol) = Nothing, Optional cookieBasedAffinity As Nullable(Of ApplicationGatewayCookieBasedAffinity) = Nothing, Optional requestTimeoutInSeconds As Nullable(Of Integer) = Nothing, Optional probeId As ResourceIdentifier = Nothing, Optional authenticationCertificates As IEnumerable(Of WritableSubResource) = Nothing, Optional trustedRootCertificates As IEnumerable(Of WritableSubResource) = Nothing, Optional connectionDraining As ApplicationGatewayConnectionDraining = Nothing, Optional hostName As String = Nothing, Optional pickHostNameFromBackendAddress As Nullable(Of Boolean) = Nothing, Optional affinityCookieName As String = Nothing, Optional probeEnabled As Nullable(Of Boolean) = Nothing, Optional path As String = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing) As ApplicationGatewayBackendHttpSettings

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.

port
Nullable<Int32>

The destination port on the backend.

protocol
Nullable<ApplicationGatewayProtocol>

The protocol used to communicate with the backend.

cookieBasedAffinity
Nullable<ApplicationGatewayCookieBasedAffinity>

Cookie based affinity.

requestTimeoutInSeconds
Nullable<Int32>

Request timeout in seconds. Application Gateway will fail the request if response is not received within RequestTimeout. Acceptable values are from 1 second to 86400 seconds.

probeId
ResourceIdentifier

Probe resource of an application gateway.

authenticationCertificates
IEnumerable<WritableSubResource>

Array of references to application gateway authentication certificates.

trustedRootCertificates
IEnumerable<WritableSubResource>

Array of references to application gateway trusted root certificates.

connectionDraining
ApplicationGatewayConnectionDraining

Connection draining of the backend http settings resource.

hostName
String

Host header to be sent to the backend servers.

pickHostNameFromBackendAddress
Nullable<Boolean>

Whether to pick host header should be picked from the host name of the backend server. Default value is false.

affinityCookieName
String

Cookie name to use for the affinity cookie.

probeEnabled
Nullable<Boolean>

Whether the probe is enabled. Default value is false.

path
String

Path which should be used as a prefix for all HTTP requests. Null means no path will be prefixed. Default value is null.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the backend HTTP settings resource.

Returns

A new ApplicationGatewayBackendHttpSettings instance for mocking.

Applies to