Bearbeiten

Freigeben über


New-AzContainerAppProbeHeaderObject

Create an in-memory object for ContainerAppProbeHttpGetHttpHeadersItem.

Syntax

New-AzContainerAppProbeHeaderObject
   -Name <String>
   -Value <String>
   [<CommonParameters>]

Description

Create an in-memory object for ContainerAppProbeHttpGetHttpHeadersItem.

Examples

Example 1: Create a ContainerAppProbeHttpGetHttpHeadersItem object for ContainerApp.

New-AzContainerAppProbeHeaderObject -Name Custom-Header -Value Awesome

Name          Value
----          -----
Custom-Header Awesome

Create a ContainerAppProbeHttpGetHttpHeadersItem object for ContainerApp.

Parameters

-Name

The header field name.

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

-Value

The header field value.

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

Outputs

ContainerAppProbeHttpGetHttpHeadersItem