Class Servicev1Header
Inheritance
Inherited Members
Namespace: Pulumi.Fastly.Outputs
Assembly: Pulumi.Fastly.dll
Syntax
public sealed class Servicev1Header
Fields
View SourceAction
Allows you to terminate request handling and immediately
perform an action. When set it can be lookup or pass (Ignore the cache completely).
Declaration
public readonly string Action
Field Value
| Type | Description |
|---|---|
| System.String |
CacheCondition
Name of already defined condition to check after we have retrieved an object. If the condition passes then deliver this Request Object instead. This condition must be of type CACHE. For detailed information about Conditionals,
see [Fastly's Documentation on Conditionals][fastly-conditionals].
Declaration
public readonly string CacheCondition
Field Value
| Type | Description |
|---|---|
| System.String |
Destination
The name of the header that is going to be affected by the Action.
Declaration
public readonly string Destination
Field Value
| Type | Description |
|---|---|
| System.String |
IgnoreIfSet
Do not add the header if it is already present. (Only applies to the set action.). Default false.
Declaration
public readonly bool? IgnoreIfSet
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
Name
A unique name to identify this dictionary.
Declaration
public readonly string Name
Field Value
| Type | Description |
|---|---|
| System.String |
Priority
Priority determines the ordering for multiple snippets. Lower numbers execute first. Defaults to 100.
Declaration
public readonly int? Priority
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
Regex
Regular expression to use (Only applies to the regex and regex_repeat actions.)
Declaration
public readonly string Regex
Field Value
| Type | Description |
|---|---|
| System.String |
RequestCondition
Name of already defined condition to be checked during the request phase. If the condition passes then this object will be delivered. This condition must be of type REQUEST.
Declaration
public readonly string RequestCondition
Field Value
| Type | Description |
|---|---|
| System.String |
ResponseCondition
The name of the condition to apply. If empty, always execute.
Declaration
public readonly string ResponseCondition
Field Value
| Type | Description |
|---|---|
| System.String |
Source
Variable to be used as a source for the header
content. (Does not apply to the delete action.)
Declaration
public readonly string Source
Field Value
| Type | Description |
|---|---|
| System.String |
Substitution
Value to substitute in place of regular expression. (Only applies to the regex and regex_repeat actions.)
Declaration
public readonly string Substitution
Field Value
| Type | Description |
|---|---|
| System.String |
Type
The location in generated VCL where the snippet should be placed (can be one of init, recv, hit, miss, pass, fetch, error, deliver, log or none).
Declaration
public readonly string Type
Field Value
| Type | Description |
|---|---|
| System.String |