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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure PowerShell