-
Notifications
You must be signed in to change notification settings - Fork 52
/
BackendServiceCdnPolicyCacheKeyPolicyArgs.cs
86 lines (74 loc) · 3.11 KB
/
BackendServiceCdnPolicyCacheKeyPolicyArgs.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Gcp.Compute.Inputs
{
public sealed class BackendServiceCdnPolicyCacheKeyPolicyArgs : Pulumi.ResourceArgs
{
/// <summary>
/// If true requests to different hosts will be cached separately.
/// </summary>
[Input("includeHost")]
public Input<bool>? IncludeHost { get; set; }
[Input("includeNamedCookies")]
private InputList<string>? _includeNamedCookies;
/// <summary>
/// Names of cookies to include in cache keys.
/// </summary>
public InputList<string> IncludeNamedCookies
{
get => _includeNamedCookies ?? (_includeNamedCookies = new InputList<string>());
set => _includeNamedCookies = value;
}
/// <summary>
/// If true, http and https requests will be cached separately.
/// </summary>
[Input("includeProtocol")]
public Input<bool>? IncludeProtocol { get; set; }
/// <summary>
/// If true, include query string parameters in the cache key
/// according to query_string_whitelist and
/// query_string_blacklist. If neither is set, the entire query
/// string will be included.
/// If false, the query string will be excluded from the cache
/// key entirely.
/// </summary>
[Input("includeQueryString")]
public Input<bool>? IncludeQueryString { get; set; }
[Input("queryStringBlacklists")]
private InputList<string>? _queryStringBlacklists;
/// <summary>
/// Names of query string parameters to exclude in cache keys.
/// All other parameters will be included. Either specify
/// query_string_whitelist or query_string_blacklist, not both.
/// '&' and '=' will be percent encoded and not treated as
/// delimiters.
/// </summary>
public InputList<string> QueryStringBlacklists
{
get => _queryStringBlacklists ?? (_queryStringBlacklists = new InputList<string>());
set => _queryStringBlacklists = value;
}
[Input("queryStringWhitelists")]
private InputList<string>? _queryStringWhitelists;
/// <summary>
/// Names of query string parameters to include in cache keys.
/// All other parameters will be excluded. Either specify
/// query_string_whitelist or query_string_blacklist, not both.
/// '&' and '=' will be percent encoded and not treated as
/// delimiters.
/// </summary>
public InputList<string> QueryStringWhitelists
{
get => _queryStringWhitelists ?? (_queryStringWhitelists = new InputList<string>());
set => _queryStringWhitelists = value;
}
public BackendServiceCdnPolicyCacheKeyPolicyArgs()
{
}
}
}