New-AzApplicationInsightsWebTestHeaderFieldObject
Create a in-memory object for HeaderField
Syntax
Default (Default)
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.
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 |
-Value
The value of the header.
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.