HeaderAction Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An action that can manipulate an http header.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.HeaderActionTypeConverter))]
public class HeaderAction : Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.IHeaderAction
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.HeaderActionTypeConverter))>]
type HeaderAction = class
interface IHeaderAction
interface IJsonSerializable
Public Class HeaderAction
Implements IHeaderAction
- Inheritance
-
HeaderAction
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| HeaderAction() |
Creates an new HeaderAction instance. |
Properties
| Name | Description |
|---|---|
| HeaderActionType |
Which type of manipulation to apply to the header. |
| HeaderName |
The name of the header this action will apply to. |
| Value |
The value to update the given header name with. This value is not used if the actionType is Delete. |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of HeaderAction. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of HeaderAction. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.IHeaderAction. |
| FromJsonString(String) |
Creates a new instance of HeaderAction, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of HeaderAction into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |