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: "Priority of origin-pull rules, do not set the same value for multiple rules.",
181
+
},
182
+
"sync_back_to_source": {
183
+
Type: schema.TypeBool,
184
+
Optional: true,
185
+
Default: false,
186
+
Description: "If `true`, COS will not return 3XX status code when pulling data from an origin server. Currently available zone: ap-beijing, ap-shanghai, ap-singapore, ap-mumbai.",
187
+
},
188
+
"prefix": {
189
+
Type: schema.TypeString,
190
+
Optional: true,
191
+
Default: "",
192
+
Description: "Triggers the origin-pull rule when the requested file name matches this prefix.",
193
+
},
194
+
"protocol": {
195
+
Type: schema.TypeString,
196
+
Optional: true,
197
+
Default: "",
198
+
Description: "the protocol used for COS to access the specified origin server. The available value include `HTTP`, `HTTPS` and `FOLLOW`.",
199
+
},
200
+
"host": {
201
+
Type: schema.TypeString,
202
+
Required: true,
203
+
Description: "Allows only a domain name or IP address. You can optionally append a port number to the address.",
204
+
},
205
+
"follow_query_string": {
206
+
Type: schema.TypeBool,
207
+
Optional: true,
208
+
Default: true,
209
+
Description: "Specifies whether to pass through COS request query string when accessing the origin server.",
210
+
},
211
+
"follow_redirection": {
212
+
Type: schema.TypeBool,
213
+
Optional: true,
214
+
Default: true,
215
+
Description: "Specifies whether to follow 3XX redirect to another origin server to pull data from.",
216
+
},
217
+
//"copy_origin_data": {
218
+
// Type: schema.TypeBool,
219
+
// Optional: true,
220
+
// Default: true,
221
+
// Description: "",
222
+
//},
223
+
"follow_http_headers": {
224
+
Type: schema.TypeList,
225
+
Optional: true,
226
+
Description: "Specifies the pass through headers when accessing the origin server.",
227
+
Elem: &schema.Schema{Type: schema.TypeString},
228
+
},
229
+
"custom_http_headers": {
230
+
Type: schema.TypeMap,
231
+
Optional: true,
232
+
Description: "Specifies the custom headers that you can add for COS to access your origin server.",
233
+
},
234
+
//"redirect_prefix": {
235
+
// Type: schema.TypeString,
236
+
// Optional: true,
237
+
// Description: "Prefix for the file to which a request is redirected when the origin-pull rule is triggered.",
238
+
//},
239
+
//"redirect_suffix": {
240
+
// Type: schema.TypeString,
241
+
// Optional: true,
242
+
// Description: "Suffix for the file to which a request is redirected when the origin-pull rule is triggered.",
0 commit comments