Compartir a través de


ArmFrontDoorModelFactory.FrontDoorHealthProbeSettingsData Method

Definition

Initializes a new instance of FrontDoorHealthProbeSettingsData.

public static Azure.ResourceManager.FrontDoor.Models.FrontDoorHealthProbeSettingsData FrontDoorHealthProbeSettingsData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, string path = default, Azure.ResourceManager.FrontDoor.Models.FrontDoorProtocol? protocol = default, int? intervalInSeconds = default, Azure.ResourceManager.FrontDoor.Models.FrontDoorHealthProbeMethod? healthProbeMethod = default, Azure.ResourceManager.FrontDoor.Models.HealthProbeEnabled? enabledState = default, Azure.ResourceManager.FrontDoor.Models.FrontDoorResourceState? resourceState = default);
static member FrontDoorHealthProbeSettingsData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * string * Nullable<Azure.ResourceManager.FrontDoor.Models.FrontDoorProtocol> * Nullable<int> * Nullable<Azure.ResourceManager.FrontDoor.Models.FrontDoorHealthProbeMethod> * Nullable<Azure.ResourceManager.FrontDoor.Models.HealthProbeEnabled> * Nullable<Azure.ResourceManager.FrontDoor.Models.FrontDoorResourceState> -> Azure.ResourceManager.FrontDoor.Models.FrontDoorHealthProbeSettingsData
Public Shared Function FrontDoorHealthProbeSettingsData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional path As String = Nothing, Optional protocol As Nullable(Of FrontDoorProtocol) = Nothing, Optional intervalInSeconds As Nullable(Of Integer) = Nothing, Optional healthProbeMethod As Nullable(Of FrontDoorHealthProbeMethod) = Nothing, Optional enabledState As Nullable(Of HealthProbeEnabled) = Nothing, Optional resourceState As Nullable(Of FrontDoorResourceState) = Nothing) As FrontDoorHealthProbeSettingsData

Parameters

id
ResourceIdentifier

Resource ID.

name
String

Resource name.

resourceType
Nullable<ResourceType>

Resource type.

path
String

The path to use for the health probe. Default is /.

protocol
Nullable<FrontDoorProtocol>

Protocol scheme to use for this probe.

intervalInSeconds
Nullable<Int32>

The number of seconds between health probes.

healthProbeMethod
Nullable<FrontDoorHealthProbeMethod>

Configures which HTTP method to use to probe the backends defined under backendPools.

enabledState
Nullable<HealthProbeEnabled>

Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool.

resourceState
Nullable<FrontDoorResourceState>

Resource status.

Returns

A new FrontDoorHealthProbeSettingsData instance for mocking.

Applies to