Edit

Share via


New-AzFrontDoorCdnOriginGroupHealthProbeSettingObject

Create an in-memory object for HealthProbeParameters.

Syntax

Default (Default)

New-AzFrontDoorCdnOriginGroupHealthProbeSettingObject
    [-ProbeIntervalInSecond <Int32>]
    [-ProbePath <String>]
    [-ProbeProtocol <String>]
    [-ProbeRequestType <String>]
    [<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.

Parameter properties

Type:Int32
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ProbePath

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

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ProbeProtocol

Protocol to use for health probe.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ProbeRequestType

The type of health probe request that is made.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

HealthProbeParameters