ArmFrontDoorModelFactory.FrontDoorBackend Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- enabledState
- Nullable<BackendEnabledState>
Whether to enable use of this backend. Permitted values are 'Enabled' or 'Disabled'.
Priority to use for load balancing. Higher priorities will not be used for load balancing if any lower priority backend is healthy.
- 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
Azure SDK for .NET