Modifier

Partager via


New-AzApplicationInsightsWebTestHeaderFieldObject

Create a in-memory object for HeaderField

Syntax

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

Description

Create a in-memory object for HeaderField

Examples

Example 1: Create a in-memory object for HeaderField

New-AzApplicationInsightsWebTestHeaderFieldObject -Name 'version' -Value '2.0.1'

Name    Value
----    -----
version 2.0.1

This command creates a in-memory object for HeaderField, As value of the RequestHeader parameter in New-AzApplicationInsightsWebTest.

Parameters

-Name

The name of the header.

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

-Value

The value of the header.

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

Outputs

HeaderField