Modifier

Partager via


New-AzCdnHealthProbeParametersObject

Create an in-memory object for HealthProbeParameters.

Syntax

New-AzCdnHealthProbeParametersObject
   [-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 AzureCDN HealthProbeParameters

New-AzCdnHealthProbeParametersObject -ProbeIntervalInSecond 120 -ProbePath "/check-health.aspx" -ProbeProtocol "Http" -ProbeRequestType "HEAD"

ProbeIntervalInSecond ProbePath          ProbeProtocol ProbeRequestType
--------------------- ---------          ------------- ----------------
120                   /check-health.aspx Http          HEAD

Create an in-memory object for AzureCDN HealthProbeParameters

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