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
*`hostname` - A virtual hostname. For more information about virtual hostname string construction, see [Managing Request Routing](https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Tasks/managingrequest.htm#routing). Example: `app.example.com`
10
+
*`name` - A friendly name for the hostname resource. It must be unique and it cannot be changed. Avoid entering confidential information. Example: `example_hostname_001`
11
+
12
+
13
+
14
+
### Create Operation
15
+
Adds a hostname resource to the specified load balancer. For more information, see
*`hostname` - (Required) A virtual hostname. For more information about virtual hostname string construction, see [Managing Request Routing](https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Tasks/managingrequest.htm#routing). Example: `app.example.com`
22
+
*`load_balancer_id` - (Required) The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer to add the hostname to.
23
+
*`name` - (Required) A friendly name for the hostname resource. It must be unique and it cannot be changed. Avoid entering confidential information. Example: `example_hostname_001`
24
+
25
+
26
+
### Update Operation
27
+
Overwrites an existing hostname resource on the specified load balancer. Use this operation to change a
28
+
virtual hostname.
29
+
30
+
31
+
The following arguments support updates:
32
+
*`hostname` - A virtual hostname. For more information about virtual hostname string construction, see [Managing Request Routing](https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Tasks/managingrequest.htm#routing). Example: `app.example.com`
33
+
34
+
35
+
** IMPORTANT **
36
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Lists all hostname resources associated with the specified load balancer.
57
+
The following arguments are supported:
58
+
59
+
*`load_balancer_id` - (Required) The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the hostnames to retrieve.
60
+
61
+
62
+
The following attributes are exported:
63
+
64
+
*`hostnames` - The list of hostnames.
65
+
66
+
### Example Usage
67
+
68
+
```
69
+
data "oci_load_balancer_hostnames" "test_hostnames" {
Copy file name to clipboardExpand all lines: docs/load_balancer/listeners.md
+15-11Lines changed: 15 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,14 +8,15 @@ The following attributes are exported:
8
8
9
9
*`connection_configuration` -
10
10
* `idle_timeout_in_seconds` - The maximum idle time, in seconds, allowed between two successive receive or two successive send operations between the client and backend servers. A send operation does not reset the timer for receive operations. A receive operation does not reset the timer for send operations. The default values are: * 300 seconds for TCP * 60 seconds for HTTP and WebSocket protocols. Note: The protocol is set at the listener. Modify this parameter if the client or backend server stops transmitting data for more than the default time. Some examples include: * The client sends a database query to the backend server and the database takes over 300 seconds to execute. Therefore, the backend server does not transmit any data within 300 seconds. * The client uploads data using the HTTP protocol. During the upload, the backend does not transmit any data to the client for more than 60 seconds. * The client downloads data using the HTTP protocol. After the initial request, it stops transmitting data to the backend server for more than 60 seconds. * The client starts transmitting data after establishing a WebSocket connection, but the backend server does not transmit data for more than 60 seconds. * The backend server starts transmitting data after establishing a WebSocket connection, but the client does not transmit data for more than 60 seconds. The maximum value is 7200 seconds. Contact My Oracle Support to file a service request if you want to increase this limit for your tenancy. For more information, see [Service Limits](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/servicelimits.htm). Example: `1200`
11
-
*`default_backend_set_name` - The name of the associated backend set. Example: `My_backend_set`
11
+
*`default_backend_set_name` - The name of the associated backend set. Example: `example_backend_set`
12
+
*`hostname_names` - An array of hostname resource names.
12
13
*`load_balancer_id` - The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer on which to add a listener.
13
14
*`name` - A friendly name for the listener. It must be unique and it cannot be changed. Avoid entering confidential information. Example: `My listener`
14
15
*`path_route_set_name` - The name of the set of path-based routing rules, [PathRouteSet](https://docs.us-phoenix-1.oraclecloud.com/api/#/en/loadbalancer/20170115/PathRouteSet/), applied to this listener's traffic. Example: `path-route-set-001`
15
16
*`port` - The communication port for the listener. Example: `80`
16
17
*`protocol` - The protocol on which the listener accepts connection requests. To get a list of valid protocols, use the [ListProtocols](https://docs.us-phoenix-1.oraclecloud.com/api/#/en/loadbalancer/20170115/LoadBalancerProtocol/ListProtocols) operation. Example: `HTTP`
17
18
*`ssl_configuration` -
18
-
* `certificate_name` - A friendly name for the certificate bundle. It must be unique and it cannot be changed. Valid certificate bundle names include only alphanumeric characters, dashes, and underscores. Certificate bundle names cannot contain spaces. Avoid entering confidential information. Example: `My_certificate_bundle`
19
+
* `certificate_name` - A friendly name for the certificate bundle. It must be unique and it cannot be changed. Valid certificate bundle names include only alphanumeric characters, dashes, and underscores. Certificate bundle names cannot contain spaces. Avoid entering confidential information. Example: `example_certificate_bundle`
19
20
* `verify_depth` - The maximum depth for peer certificate chain verification. Example: `3`
20
21
* `verify_peer_certificate` - Whether the load balancer listener should verify peer certificates. Example: `true`
21
22
@@ -27,15 +28,16 @@ Adds a listener to a load balancer.
27
28
The following arguments are supported:
28
29
29
30
*`connection_configuration` - (Optional)
30
-
* `idle_timeout_in_seconds` - (Required) The maximum idle time, in seconds, allowed between two successive receive or two successive send operations between the client and backend servers. A send operation does not reset the timer for receive operations. A receive operation does not reset the timer for send operations. The default values are: * 300 seconds for TCP * 60 seconds for HTTP and WebSocket protocols. Note: The protocol is set at the listener. Modify this parameter if the client or backend server stops transmitting data for more than the default time. Some examples include: * The client sends a database query to the backend server and the database takes over 300 seconds to execute. Therefore, the backend server does not transmit any data within 300 seconds. * The client uploads data using the HTTP protocol. During the upload, the backend does not transmit any data to the client for more than 60 seconds. * The client downloads data using the HTTP protocol. After the initial request, it stops transmitting data to the backend server for more than 60 seconds. * The client starts transmitting data after establishing a WebSocket connection, but the backend server does not transmit data for more than 60 seconds. * The backend server starts transmitting data after establishing a WebSocket connection, but the client does not transmit data for more than 60 seconds. The maximum value is 7200 seconds. Contact My Oracle Support to file a service request if you want to increase this limit for your tenancy. For more information, see [Service Limits](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/servicelimits.htm). Example: `1200`
31
-
*`default_backend_set_name` - (Required) The name of the associated backend set. Example: `My_backend_set`
31
+
* `idle_timeout_in_seconds` - (Required) The maximum idle time, in seconds, allowed between two successive receive or two successive send operations between the client and backend servers. A send operation does not reset the timer for receive operations. A receive operation does not reset the timer for send operations. For more information, see [Connection Configuration](https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Reference/connectionreuse.htm#ConnectionConfiguration). Example: `1200`
32
+
*`default_backend_set_name` - (Required) The name of the associated backend set. Example: `example_backend_set`
33
+
*`hostname_names` - (Optional) An array of hostname resource names.
32
34
*`load_balancer_id` - (Required) The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the load balancer on which to add a listener.
33
-
*`name` - (Required) A friendly name for the listener. It must be unique and it cannot be changed. Avoid entering confidential information. Example: `My listener`
34
-
*`path_route_set_name` - (Optional) The name of the set of path-based routing rules, [PathRouteSet](https://docs.us-phoenix-1.oraclecloud.com/api/#/en/loadbalancer/20170115/PathRouteSet/), applied to this listener's traffic. Example: `path-route-set-001`
35
+
*`name` - (Required) A friendly name for the listener. It must be unique and it cannot be changed. Avoid entering confidential information. Example: `example_listener`
36
+
*`path_route_set_name` - (Optional) The name of the set of path-based routing rules, [PathRouteSet](https://docs.us-phoenix-1.oraclecloud.com/api/#/en/loadbalancer/20170115/PathRouteSet/), applied to this listener's traffic. Example: `example_path_route_set`
35
37
*`port` - (Required) The communication port for the listener. Example: `80`
36
38
*`protocol` - (Required) The protocol on which the listener accepts connection requests. To get a list of valid protocols, use the [ListProtocols](https://docs.us-phoenix-1.oraclecloud.com/api/#/en/loadbalancer/20170115/LoadBalancerProtocol/ListProtocols) operation. Example: `HTTP`
37
39
*`ssl_configuration` - (Optional)
38
-
* `certificate_name` - (Required) A friendly name for the certificate bundle. It must be unique and it cannot be changed. Valid certificate bundle names include only alphanumeric characters, dashes, and underscores. Certificate bundle names cannot contain spaces. Avoid entering confidential information. Example: `My_certificate_bundle`
40
+
* `certificate_name` - (Required) A friendly name for the certificate bundle. It must be unique and it cannot be changed. Valid certificate bundle names include only alphanumeric characters, dashes, and underscores. Certificate bundle names cannot contain spaces. Avoid entering confidential information. Example: `example_certificate_bundle`
39
41
* `verify_depth` - (Optional) The maximum depth for peer certificate chain verification. Example: `3`
40
42
* `verify_peer_certificate` - (Optional) Whether the load balancer listener should verify peer certificates. Example: `true`
41
43
@@ -45,13 +47,14 @@ Updates a listener for a given load balancer.
45
47
46
48
The following arguments support updates:
47
49
*`connection_configuration` -
48
-
* `idle_timeout_in_seconds` - The maximum idle time, in seconds, allowed between two successive receive or two successive send operations between the client and backend servers. A send operation does not reset the timer for receive operations. A receive operation does not reset the timer for send operations. The default values are: * 300 seconds for TCP * 60 seconds for HTTP and WebSocket protocols. Note: The protocol is set at the listener. Modify this parameter if the client or backend server stops transmitting data for more than the default time. Some examples include: * The client sends a database query to the backend server and the database takes over 300 seconds to execute. Therefore, the backend server does not transmit any data within 300 seconds. * The client uploads data using the HTTP protocol. During the upload, the backend does not transmit any data to the client for more than 60 seconds. * The client downloads data using the HTTP protocol. After the initial request, it stops transmitting data to the backend server for more than 60 seconds. * The client starts transmitting data after establishing a WebSocket connection, but the backend server does not transmit data for more than 60 seconds. * The backend server starts transmitting data after establishing a WebSocket connection, but the client does not transmit data for more than 60 seconds. The maximum value is 7200 seconds. Contact My Oracle Support to file a service request if you want to increase this limit for your tenancy. For more information, see [Service Limits](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/servicelimits.htm). Example: `1200`
49
-
*`default_backend_set_name` - The name of the associated backend set. Example: `My_backend_set`
50
-
*`path_route_set_name` - The name of the set of path-based routing rules, [PathRouteSet](https://docs.us-phoenix-1.oraclecloud.com/api/#/en/loadbalancer/20170115/PathRouteSet/), applied to this listener's traffic. Example: `path-route-set-001`
50
+
* `idle_timeout_in_seconds` - The maximum idle time, in seconds, allowed between two successive receive or two successive send operations between the client and backend servers. A send operation does not reset the timer for receive operations. A receive operation does not reset the timer for send operations. For more information, see [Connection Configuration](https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Reference/connectionreuse.htm#ConnectionConfiguration). Example: `1200`
51
+
*`default_backend_set_name` - The name of the associated backend set. Example: `example_backend_set`
52
+
*`hostname_names` - An array of hostname resource names.
53
+
*`path_route_set_name` - The name of the set of path-based routing rules, [PathRouteSet](https://docs.us-phoenix-1.oraclecloud.com/api/#/en/loadbalancer/20170115/PathRouteSet/), applied to this listener's traffic. Example: `example_path_route_set`
51
54
*`port` - The communication port for the listener. Example: `80`
52
55
*`protocol` - The protocol on which the listener accepts connection requests. To get a list of valid protocols, use the [ListProtocols](https://docs.us-phoenix-1.oraclecloud.com/api/#/en/loadbalancer/20170115/LoadBalancerProtocol/ListProtocols) operation. Example: `HTTP`
53
56
*`ssl_configuration` -
54
-
* `certificate_name` - A friendly name for the certificate bundle. It must be unique and it cannot be changed. Valid certificate bundle names include only alphanumeric characters, dashes, and underscores. Certificate bundle names cannot contain spaces. Avoid entering confidential information. Example: `My_certificate_bundle`
57
+
* `certificate_name` - A friendly name for the certificate bundle. It must be unique and it cannot be changed. Valid certificate bundle names include only alphanumeric characters, dashes, and underscores. Certificate bundle names cannot contain spaces. Avoid entering confidential information. Example: `example_certificate_bundle`
55
58
* `verify_depth` - The maximum depth for peer certificate chain verification. Example: `3`
56
59
* `verify_peer_certificate` - Whether the load balancer listener should verify peer certificates. Example: `true`
0 commit comments