Modifier

Partager via


New-AzFrontDoorCdnOriginGroupHealthProbeSettingObject

Create an in-memory object for HealthProbeParameters.

Syntax

New-AzFrontDoorCdnOriginGroupHealthProbeSettingObject
   [-ProbeIntervalInSecond <Int32>]
   [-ProbePath <String>]
   [-ProbeProtocol <ProbeProtocol>]
   [-ProbeRequestType <HealthProbeRequestType>]
   [<CommonParameters>]

Description

Create an in-memory object for HealthProbeParameters.

Examples

Example 1: Create an in-memory object for AzureFrontDoor origin group `HealthProbeSetting` object

New-AzFrontDoorCdnOriginGroupHealthProbeSettingObject -ProbeIntervalInSecond 1 -ProbePath "/" -ProbeProtocol "Https" -ProbeRequestType "GET"

ProbeIntervalInSecond ProbePath ProbeProtocol ProbeRequestType
--------------------- --------- ------------- ----------------
1                     /         Https         GET

Create an in-memory object for AzureFrontDoor origin group HealthProbeSetting object

Parameters

-ProbeIntervalInSecond

The number of seconds between health probes.Default is 240sec.

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ProbePath

The path relative to the origin that is used to determine the health of the origin.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ProbeProtocol

Protocol to use for health probe.

Type:ProbeProtocol
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ProbeRequestType

The type of health probe request that is made.

Type:HealthProbeRequestType
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

HealthProbeParameters