Dela via


ArmFrontDoorModelFactory.FrontDoorBackend Method

Definition

Initializes a new instance of FrontDoorBackend.

public static Azure.ResourceManager.FrontDoor.Models.FrontDoorBackend FrontDoorBackend (string address = default, string privateLinkAlias = default, Azure.Core.ResourceIdentifier privateLinkResourceId = default, Azure.Core.AzureLocation? privateLinkLocation = default, Azure.ResourceManager.FrontDoor.Models.BackendPrivateEndpointStatus? privateEndpointStatus = default, string privateLinkApprovalMessage = default, int? httpPort = default, int? httpsPort = default, Azure.ResourceManager.FrontDoor.Models.BackendEnabledState? enabledState = default, int? priority = default, int? weight = default, string backendHostHeader = default);
static member FrontDoorBackend : string * string * Azure.Core.ResourceIdentifier * Nullable<Azure.Core.AzureLocation> * Nullable<Azure.ResourceManager.FrontDoor.Models.BackendPrivateEndpointStatus> * string * Nullable<int> * Nullable<int> * Nullable<Azure.ResourceManager.FrontDoor.Models.BackendEnabledState> * Nullable<int> * Nullable<int> * string -> Azure.ResourceManager.FrontDoor.Models.FrontDoorBackend
Public Shared Function FrontDoorBackend (Optional address As String = Nothing, Optional privateLinkAlias As String = Nothing, Optional privateLinkResourceId As ResourceIdentifier = Nothing, Optional privateLinkLocation As Nullable(Of AzureLocation) = Nothing, Optional privateEndpointStatus As Nullable(Of BackendPrivateEndpointStatus) = Nothing, Optional privateLinkApprovalMessage As String = Nothing, Optional httpPort As Nullable(Of Integer) = Nothing, Optional httpsPort As Nullable(Of Integer) = Nothing, Optional enabledState As Nullable(Of BackendEnabledState) = Nothing, Optional priority As Nullable(Of Integer) = Nothing, Optional weight As Nullable(Of Integer) = Nothing, Optional backendHostHeader As String = Nothing) As FrontDoorBackend

Parameters

address
String

Location of the backend (IP address or FQDN).

privateLinkAlias
String

The Alias of the Private Link resource. Populating this optional field indicates that this backend is 'Private'.

privateLinkResourceId
ResourceIdentifier

The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private'.

privateLinkLocation
Nullable<AzureLocation>

The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated.

privateEndpointStatus
Nullable<BackendPrivateEndpointStatus>

The Approval status for the connection to the Private Link.

privateLinkApprovalMessage
String

A custom message to be included in the approval request to connect to the Private Link.

httpPort
Nullable<Int32>

The HTTP TCP port number. Must be between 1 and 65535.

httpsPort
Nullable<Int32>

The HTTPS TCP port number. Must be between 1 and 65535.

enabledState
Nullable<BackendEnabledState>

Whether to enable use of this backend. Permitted values are 'Enabled' or 'Disabled'.

priority
Nullable<Int32>

Priority to use for load balancing. Higher priorities will not be used for load balancing if any lower priority backend is healthy.

weight
Nullable<Int32>

Weight of this endpoint for load balancing purposes.

backendHostHeader
String

The value to use as the host header sent to the backend. If blank or unspecified, this defaults to the incoming host.

Returns

A new FrontDoorBackend instance for mocking.

Applies to