New-AzContainerInstanceHttpHeaderObject

Create a in-memory object for HttpHeader

Syntax

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

Description

Create a in-memory object for HttpHeader

Examples

Example 1: Create an HTTP Header object

New-AzContainerInstanceHttpHeaderObject -name foo -value bar

Name Value
---- -----
foo  bar

Create an HTTP Header object to be used in liveness or readiness probes.

Parameters

-Name

The header name.

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

-Value

The header value..

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

Outputs

HttpHeader