-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapigateway.tf
89 lines (86 loc) · 3.39 KB
/
apigateway.tf
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
87
88
## This configuration was generated by terraform-provider-oci
resource oci_apigateway_gateway export_nosql_demos {
#certificate_id = <<Optional value not found in discovery>>
compartment_id = var.compartment_ocid
defined_tags = {
}
display_name = "nosql_demos"
endpoint_type = "PUBLIC"
freeform_tags = {
}
response_cache_details {
#authentication_secret_id = <<Optional value not found in discovery>>
#authentication_secret_version_number = <<Optional value not found in discovery>>
#connect_timeout_in_ms = <<Optional value not found in discovery>>
#is_ssl_enabled = <<Optional value not found in discovery>>
#is_ssl_verify_disabled = <<Optional value not found in discovery>>
#read_timeout_in_ms = <<Optional value not found in discovery>>
#send_timeout_in_ms = <<Optional value not found in discovery>>
#servers = <<Optional value not found in discovery>>
type = "NONE"
}
subnet_id = oci_core_subnet.export_Public-Subnet-vcn_nosql_demos.id
}
resource oci_apigateway_deployment export_BaggageDemo {
compartment_id = var.compartment_ocid
defined_tags = {
}
display_name = "BaggageDemo"
freeform_tags = {
}
gateway_id = oci_apigateway_gateway.export_nosql_demos.id
path_prefix = "/BaggageDemo"
specification {
logging_policies {
#access_log = <<Optional value not found in discovery>>
execution_log {
is_enabled = "true"
log_level = "INFO"
}
}
request_policies {
#authentication = <<Optional value not found in discovery>>
#cors = <<Optional value not found in discovery>>
#rate_limiting = <<Optional value not found in discovery>>
}
routes {
backend {
#body = <<Optional value not found in discovery>>
#connect_timeout_in_seconds = <<Optional value not found in discovery>>
function_id = oci_functions_function.export_demo-api.id
#headers = <<Optional value not found in discovery>>
#is_ssl_verify_disabled = <<Optional value not found in discovery>>
#read_timeout_in_seconds = <<Optional value not found in discovery>>
#send_timeout_in_seconds = <<Optional value not found in discovery>>
#status = <<Optional value not found in discovery>>
type = "ORACLE_FUNCTIONS_BACKEND"
#url = <<Optional value not found in discovery>>
}
logging_policies {
#access_log = <<Optional value not found in discovery>>
execution_log {
#is_enabled = <<Optional value not found in discovery>>
log_level = ""
}
}
methods = [
"ANY",
]
path = "/{api}"
request_policies {
#authorization = <<Optional value not found in discovery>>
#body_validation = <<Optional value not found in discovery>>
#cors = <<Optional value not found in discovery>>
#header_transformations = <<Optional value not found in discovery>>
#header_validations = <<Optional value not found in discovery>>
#query_parameter_transformations = <<Optional value not found in discovery>>
#query_parameter_validations = <<Optional value not found in discovery>>
#response_cache_lookup = <<Optional value not found in discovery>>
}
response_policies {
#header_transformations = <<Optional value not found in discovery>>
#response_cache_store = <<Optional value not found in discovery>>
}
}
}
}