Share via


ArmNetworkModelFactory.ApplicationGatewayBackendSettings Method

Definition

Initializes a new instance of ApplicationGatewayBackendSettings.

public static Azure.ResourceManager.Network.Models.ApplicationGatewayBackendSettings ApplicationGatewayBackendSettings (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, int? timeoutInSeconds = default, Azure.Core.ResourceIdentifier probeId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> trustedRootCertificates = default, string hostName = default, bool? pickHostNameFromBackendAddress = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default);
static member ApplicationGatewayBackendSettings : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ETag> * Nullable<int> * Nullable<Azure.ResourceManager.Network.Models.ApplicationGatewayProtocol> * Nullable<int> * Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * string * Nullable<bool> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> -> Azure.ResourceManager.Network.Models.ApplicationGatewayBackendSettings
Public Shared Function ApplicationGatewayBackendSettings (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 timeoutInSeconds As Nullable(Of Integer) = Nothing, Optional probeId As ResourceIdentifier = Nothing, Optional trustedRootCertificates As IEnumerable(Of WritableSubResource) = Nothing, Optional hostName As String = Nothing, Optional pickHostNameFromBackendAddress As Nullable(Of Boolean) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing) As ApplicationGatewayBackendSettings

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.

timeoutInSeconds
Nullable<Int32>

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

probeId
ResourceIdentifier

Probe resource of an application gateway.

trustedRootCertificates
IEnumerable<WritableSubResource>

Array of references to application gateway trusted root certificates.

hostName
String

Server name indication to be sent to the backend servers for Tls protocol.

pickHostNameFromBackendAddress
Nullable<Boolean>

Whether to pick server name indication from the host name of the backend server for Tls protocol. Default value is false.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the backend HTTP settings resource.

Returns

A new ApplicationGatewayBackendSettings instance for mocking.

Applies to