You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: "ACLs with a name like it are listed.",
28
28
},
29
29
"acls": {
30
-
Type: schema.TypeList,
31
-
Computed: true,
30
+
Type: schema.TypeList,
31
+
Computed: true,
32
+
Description: "ACLs that are listed.",
32
33
Elem: &schema.Resource{
33
34
Schema: map[string]*schema.Schema{
34
35
"id": {
35
-
Computed: true,
36
-
Type: schema.TypeString,
36
+
Computed: true,
37
+
Description: "UUID of the ACL.",
38
+
Type: schema.TypeString,
37
39
},
38
40
"name": {
39
-
Computed: true,
40
-
Type: schema.TypeString,
41
+
Computed: true,
42
+
Description: "Name of the ACL.",
43
+
Type: schema.TypeString,
41
44
},
42
45
"frontend_id": {
43
-
Computed: true,
44
-
Type: schema.TypeString,
46
+
Computed: true,
47
+
Description: "ID of the frontend to use for the ACL.",
48
+
Type: schema.TypeString,
45
49
},
46
50
"index": {
47
-
Computed: true,
48
-
Type: schema.TypeInt,
51
+
Computed: true,
52
+
Description: "Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).",
53
+
Type: schema.TypeInt,
49
54
},
50
55
"description": {
51
-
Computed: true,
52
-
Type: schema.TypeString,
56
+
Computed: true,
57
+
Description: "ACL description.",
58
+
Type: schema.TypeString,
53
59
},
54
60
"match": {
55
-
Type: schema.TypeList,
56
-
Computed: true,
61
+
Type: schema.TypeList,
62
+
Description: "ACL Match configuration.",
63
+
Computed: true,
57
64
Elem: &schema.Resource{
58
65
Schema: map[string]*schema.Schema{
59
66
"ip_subnet": {
60
-
Computed: true,
61
-
Type: schema.TypeList,
67
+
Computed: true,
68
+
Description: "List of IPs or CIDR v4/v6 addresses to filter for from the client side.",
69
+
Type: schema.TypeList,
62
70
Elem: &schema.Schema{
63
71
Type: schema.TypeString,
64
72
},
65
73
},
66
74
"http_filter": {
67
-
Type: schema.TypeString,
68
-
Computed: true,
75
+
Type: schema.TypeString,
76
+
Description: "type of HTTP filter to match. Extracts the request's URL path, which starts at the first slash and ends before the question mark (without the host part). Defines where to filter for the http_filter_value. Only supported for HTTP backends.",
77
+
Computed: true,
69
78
},
70
79
"http_filter_value": {
71
-
Computed: true,
72
-
Type: schema.TypeList,
80
+
Computed: true,
81
+
Description: "List of values to filter for",
82
+
Type: schema.TypeList,
73
83
Elem: &schema.Schema{
74
84
Type: schema.TypeString,
75
85
},
76
86
},
77
87
"http_filter_option": {
78
-
Type: schema.TypeString,
79
-
Computed: true,
88
+
Type: schema.TypeString,
89
+
Description: "Name of the HTTP header to filter on if `http_header_match` was selected in `http_filter`.",
90
+
Computed: true,
80
91
},
81
92
"invert": {
82
-
Computed: true,
83
-
Type: schema.TypeBool,
93
+
Computed: true,
94
+
Description: "Defines whether to invert the match condition. If set to `true`, the ACL carries out its action when the condition DOES NOT match",
95
+
Type: schema.TypeBool,
84
96
},
85
97
"ips_edge_services": {
86
-
Computed: true,
87
-
Type: schema.TypeBool,
98
+
Computed: true,
99
+
Description: "Defines whether Edge Services IPs should be matched",
100
+
Type: schema.TypeBool,
88
101
},
89
102
},
90
103
},
91
104
},
92
105
"action": {
93
-
Type: schema.TypeList,
94
-
Computed: true,
106
+
Type: schema.TypeList,
107
+
Description: "Action to take when incoming traffic matches an ACL filter.",
108
+
Computed: true,
95
109
Elem: &schema.Resource{
96
110
Schema: map[string]*schema.Schema{
97
111
"type": {
98
-
Type: schema.TypeString,
99
-
Computed: true,
112
+
Type: schema.TypeString,
113
+
Description: "type: action to take when incoming traffic matches an ACL filter. (allow/deny)",
114
+
Computed: true,
100
115
},
101
116
"redirect": {
102
-
Type: schema.TypeList,
103
-
Computed: true,
117
+
Type: schema.TypeList,
118
+
Description: "redirection parameters when using an ACL with a `redirect` action.",
119
+
Computed: true,
104
120
Elem: &schema.Resource{
105
121
Schema: map[string]*schema.Schema{
106
122
"type": {
107
-
Type: schema.TypeString,
108
-
Computed: true,
123
+
Type: schema.TypeString,
124
+
Description: "Value can be location or scheme",
125
+
Computed: true,
109
126
},
110
127
"target": {
111
-
Type: schema.TypeString,
112
-
Computed: true,
128
+
Type: schema.TypeString,
129
+
Description: "redirect target. For a location redirect, you can use a URL e.g. `https://scaleway.com`. Using a scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. This can be useful to implement HTTP to HTTPS redirects. Valid placeholders that can be used in a `location` redirect to preserve parts of the original request in the redirection URL are {{host}}, {{query}}, {{path}} and {{scheme}}.",
130
+
Computed: true,
113
131
},
114
132
"code": {
115
-
Type: schema.TypeInt,
116
-
Computed: true,
133
+
Type: schema.TypeInt,
134
+
Description: "HTTP redirect code to use. Valid values are 301, 302, 303, 307 and 308. Default value is 302.",
0 commit comments