Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.ServiceMesh.getIngressGatewayRouteTable
Explore with Pulumi AI
This data source provides details about a specific Ingress Gateway Route Table resource in Oracle Cloud Infrastructure Service Mesh service.
Gets a IngressGatewayRouteTable by identifier.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testIngressGatewayRouteTable = oci.ServiceMesh.getIngressGatewayRouteTable({
ingressGatewayRouteTableId: testIngressGatewayRouteTableOciServiceMeshIngressGatewayRouteTable.id,
});
import pulumi
import pulumi_oci as oci
test_ingress_gateway_route_table = oci.ServiceMesh.get_ingress_gateway_route_table(ingress_gateway_route_table_id=test_ingress_gateway_route_table_oci_service_mesh_ingress_gateway_route_table["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/ServiceMesh"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ServiceMesh.GetIngressGatewayRouteTable(ctx, &servicemesh.GetIngressGatewayRouteTableArgs{
IngressGatewayRouteTableId: testIngressGatewayRouteTableOciServiceMeshIngressGatewayRouteTable.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testIngressGatewayRouteTable = Oci.ServiceMesh.GetIngressGatewayRouteTable.Invoke(new()
{
IngressGatewayRouteTableId = testIngressGatewayRouteTableOciServiceMeshIngressGatewayRouteTable.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.ServiceMesh.ServiceMeshFunctions;
import com.pulumi.oci.ServiceMesh.inputs.GetIngressGatewayRouteTableArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testIngressGatewayRouteTable = ServiceMeshFunctions.getIngressGatewayRouteTable(GetIngressGatewayRouteTableArgs.builder()
.ingressGatewayRouteTableId(testIngressGatewayRouteTableOciServiceMeshIngressGatewayRouteTable.id())
.build());
}
}
variables:
testIngressGatewayRouteTable:
fn::invoke:
Function: oci:ServiceMesh:getIngressGatewayRouteTable
Arguments:
ingressGatewayRouteTableId: ${testIngressGatewayRouteTableOciServiceMeshIngressGatewayRouteTable.id}
Using getIngressGatewayRouteTable
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getIngressGatewayRouteTable(args: GetIngressGatewayRouteTableArgs, opts?: InvokeOptions): Promise<GetIngressGatewayRouteTableResult>
function getIngressGatewayRouteTableOutput(args: GetIngressGatewayRouteTableOutputArgs, opts?: InvokeOptions): Output<GetIngressGatewayRouteTableResult>
def get_ingress_gateway_route_table(ingress_gateway_route_table_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIngressGatewayRouteTableResult
def get_ingress_gateway_route_table_output(ingress_gateway_route_table_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIngressGatewayRouteTableResult]
func GetIngressGatewayRouteTable(ctx *Context, args *GetIngressGatewayRouteTableArgs, opts ...InvokeOption) (*GetIngressGatewayRouteTableResult, error)
func GetIngressGatewayRouteTableOutput(ctx *Context, args *GetIngressGatewayRouteTableOutputArgs, opts ...InvokeOption) GetIngressGatewayRouteTableResultOutput
> Note: This function is named GetIngressGatewayRouteTable
in the Go SDK.
public static class GetIngressGatewayRouteTable
{
public static Task<GetIngressGatewayRouteTableResult> InvokeAsync(GetIngressGatewayRouteTableArgs args, InvokeOptions? opts = null)
public static Output<GetIngressGatewayRouteTableResult> Invoke(GetIngressGatewayRouteTableInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIngressGatewayRouteTableResult> getIngressGatewayRouteTable(GetIngressGatewayRouteTableArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:ServiceMesh/getIngressGatewayRouteTable:getIngressGatewayRouteTable
arguments:
# arguments dictionary
The following arguments are supported:
- Ingress
Gateway stringRoute Table Id - Unique IngressGatewayRouteTable identifier.
- Ingress
Gateway stringRoute Table Id - Unique IngressGatewayRouteTable identifier.
- ingress
Gateway StringRoute Table Id - Unique IngressGatewayRouteTable identifier.
- ingress
Gateway stringRoute Table Id - Unique IngressGatewayRouteTable identifier.
- ingress_
gateway_ strroute_ table_ id - Unique IngressGatewayRouteTable identifier.
- ingress
Gateway StringRoute Table Id - Unique IngressGatewayRouteTable identifier.
getIngressGatewayRouteTable Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- Description of the resource. It can be changed after creation. Avoid entering confidential information. Example:
This is my new resource
- Dictionary<string, string>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Id string
- Unique identifier that is immutable on creation.
- Ingress
Gateway stringId - The OCID of the ingress gateway.
- Ingress
Gateway stringRoute Table Id - Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- Name string
- Name of the ingress gateway host that this route should apply to.
- Priority int
- The priority of the route table. A lower value means a higher priority. The routes are declared based on the priority.
- Route
Rules List<GetIngress Gateway Route Table Route Rule> - The route rules for the ingress gateway.
- State string
- The current state of the Resource.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time when this resource was created in an RFC3339 formatted datetime string.
- Time
Updated string - The time when this resource was updated in an RFC3339 formatted datetime string.
- Compartment
Id string - The OCID of the compartment.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- Description of the resource. It can be changed after creation. Avoid entering confidential information. Example:
This is my new resource
- map[string]string
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Id string
- Unique identifier that is immutable on creation.
- Ingress
Gateway stringId - The OCID of the ingress gateway.
- Ingress
Gateway stringRoute Table Id - Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- Name string
- Name of the ingress gateway host that this route should apply to.
- Priority int
- The priority of the route table. A lower value means a higher priority. The routes are declared based on the priority.
- Route
Rules []GetIngress Gateway Route Table Route Rule - The route rules for the ingress gateway.
- State string
- The current state of the Resource.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time when this resource was created in an RFC3339 formatted datetime string.
- Time
Updated string - The time when this resource was updated in an RFC3339 formatted datetime string.
- compartment
Id String - The OCID of the compartment.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- Description of the resource. It can be changed after creation. Avoid entering confidential information. Example:
This is my new resource
- Map<String,String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id String
- Unique identifier that is immutable on creation.
- ingress
Gateway StringId - The OCID of the ingress gateway.
- ingress
Gateway StringRoute Table Id - lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- name String
- Name of the ingress gateway host that this route should apply to.
- priority Integer
- The priority of the route table. A lower value means a higher priority. The routes are declared based on the priority.
- route
Rules List<GetIngress Gateway Route Table Route Rule> - The route rules for the ingress gateway.
- state String
- The current state of the Resource.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time when this resource was created in an RFC3339 formatted datetime string.
- time
Updated String - The time when this resource was updated in an RFC3339 formatted datetime string.
- compartment
Id string - The OCID of the compartment.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description string
- Description of the resource. It can be changed after creation. Avoid entering confidential information. Example:
This is my new resource
- {[key: string]: string}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id string
- Unique identifier that is immutable on creation.
- ingress
Gateway stringId - The OCID of the ingress gateway.
- ingress
Gateway stringRoute Table Id - lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- name string
- Name of the ingress gateway host that this route should apply to.
- priority number
- The priority of the route table. A lower value means a higher priority. The routes are declared based on the priority.
- route
Rules GetIngress Gateway Route Table Route Rule[] - The route rules for the ingress gateway.
- state string
- The current state of the Resource.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time when this resource was created in an RFC3339 formatted datetime string.
- time
Updated string - The time when this resource was updated in an RFC3339 formatted datetime string.
- compartment_
id str - The OCID of the compartment.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description str
- Description of the resource. It can be changed after creation. Avoid entering confidential information. Example:
This is my new resource
- Mapping[str, str]
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id str
- Unique identifier that is immutable on creation.
- ingress_
gateway_ strid - The OCID of the ingress gateway.
- ingress_
gateway_ strroute_ table_ id - lifecycle_
details str - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- name str
- Name of the ingress gateway host that this route should apply to.
- priority int
- The priority of the route table. A lower value means a higher priority. The routes are declared based on the priority.
- route_
rules Sequence[servicemesh.Get Ingress Gateway Route Table Route Rule] - The route rules for the ingress gateway.
- state str
- The current state of the Resource.
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The time when this resource was created in an RFC3339 formatted datetime string.
- time_
updated str - The time when this resource was updated in an RFC3339 formatted datetime string.
- compartment
Id String - The OCID of the compartment.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- Description of the resource. It can be changed after creation. Avoid entering confidential information. Example:
This is my new resource
- Map<String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id String
- Unique identifier that is immutable on creation.
- ingress
Gateway StringId - The OCID of the ingress gateway.
- ingress
Gateway StringRoute Table Id - lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- name String
- Name of the ingress gateway host that this route should apply to.
- priority Number
- The priority of the route table. A lower value means a higher priority. The routes are declared based on the priority.
- route
Rules List<Property Map> - The route rules for the ingress gateway.
- state String
- The current state of the Resource.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time when this resource was created in an RFC3339 formatted datetime string.
- time
Updated String - The time when this resource was updated in an RFC3339 formatted datetime string.
Supporting Types
GetIngressGatewayRouteTableRouteRule
- Destinations
List<Get
Ingress Gateway Route Table Route Rule Destination> - The destination of the request.
- Ingress
Gateway List<GetHosts Ingress Gateway Route Table Route Rule Ingress Gateway Host> - The ingress gateway host to which the route rule attaches. If not specified, the route rule gets attached to all hosts on the ingress gateway.
- Is
Grpc bool - If true, the rule will check that the content-type header has a application/grpc or one of the various application/grpc+ values.
- Is
Host boolRewrite Enabled - If true, the hostname will be rewritten to the target virtual deployment's DNS hostname.
- Is
Path boolRewrite Enabled - If true, the matched path prefix will be rewritten to '/' before being directed to the target virtual deployment.
- Path string
- Route to match
- Path
Type string - Match type for the route
- Request
Timeout stringIn Ms - The maximum duration in milliseconds for the upstream service to respond to a request. If provided, the timeout value overrides the default timeout of 15 seconds for the HTTP based route rules, and disabled (no timeout) when 'isGrpc' is true. The value 0 (zero) indicates that the timeout is disabled. For streaming responses from the upstream service, consider either keeping the timeout disabled or set a sufficiently high value.
- Type string
- Type of protocol.
- Destinations
[]Get
Ingress Gateway Route Table Route Rule Destination - The destination of the request.
- Ingress
Gateway []GetHosts Ingress Gateway Route Table Route Rule Ingress Gateway Host - The ingress gateway host to which the route rule attaches. If not specified, the route rule gets attached to all hosts on the ingress gateway.
- Is
Grpc bool - If true, the rule will check that the content-type header has a application/grpc or one of the various application/grpc+ values.
- Is
Host boolRewrite Enabled - If true, the hostname will be rewritten to the target virtual deployment's DNS hostname.
- Is
Path boolRewrite Enabled - If true, the matched path prefix will be rewritten to '/' before being directed to the target virtual deployment.
- Path string
- Route to match
- Path
Type string - Match type for the route
- Request
Timeout stringIn Ms - The maximum duration in milliseconds for the upstream service to respond to a request. If provided, the timeout value overrides the default timeout of 15 seconds for the HTTP based route rules, and disabled (no timeout) when 'isGrpc' is true. The value 0 (zero) indicates that the timeout is disabled. For streaming responses from the upstream service, consider either keeping the timeout disabled or set a sufficiently high value.
- Type string
- Type of protocol.
- destinations
List<Get
Ingress Gateway Route Table Route Rule Destination> - The destination of the request.
- ingress
Gateway List<GetHosts Ingress Gateway Route Table Route Rule Ingress Gateway Host> - The ingress gateway host to which the route rule attaches. If not specified, the route rule gets attached to all hosts on the ingress gateway.
- is
Grpc Boolean - If true, the rule will check that the content-type header has a application/grpc or one of the various application/grpc+ values.
- is
Host BooleanRewrite Enabled - If true, the hostname will be rewritten to the target virtual deployment's DNS hostname.
- is
Path BooleanRewrite Enabled - If true, the matched path prefix will be rewritten to '/' before being directed to the target virtual deployment.
- path String
- Route to match
- path
Type String - Match type for the route
- request
Timeout StringIn Ms - The maximum duration in milliseconds for the upstream service to respond to a request. If provided, the timeout value overrides the default timeout of 15 seconds for the HTTP based route rules, and disabled (no timeout) when 'isGrpc' is true. The value 0 (zero) indicates that the timeout is disabled. For streaming responses from the upstream service, consider either keeping the timeout disabled or set a sufficiently high value.
- type String
- Type of protocol.
- destinations
Get
Ingress Gateway Route Table Route Rule Destination[] - The destination of the request.
- ingress
Gateway GetHosts Ingress Gateway Route Table Route Rule Ingress Gateway Host[] - The ingress gateway host to which the route rule attaches. If not specified, the route rule gets attached to all hosts on the ingress gateway.
- is
Grpc boolean - If true, the rule will check that the content-type header has a application/grpc or one of the various application/grpc+ values.
- is
Host booleanRewrite Enabled - If true, the hostname will be rewritten to the target virtual deployment's DNS hostname.
- is
Path booleanRewrite Enabled - If true, the matched path prefix will be rewritten to '/' before being directed to the target virtual deployment.
- path string
- Route to match
- path
Type string - Match type for the route
- request
Timeout stringIn Ms - The maximum duration in milliseconds for the upstream service to respond to a request. If provided, the timeout value overrides the default timeout of 15 seconds for the HTTP based route rules, and disabled (no timeout) when 'isGrpc' is true. The value 0 (zero) indicates that the timeout is disabled. For streaming responses from the upstream service, consider either keeping the timeout disabled or set a sufficiently high value.
- type string
- Type of protocol.
- destinations
Sequence[servicemesh.
Get Ingress Gateway Route Table Route Rule Destination] - The destination of the request.
- ingress_
gateway_ Sequence[servicemesh.hosts Get Ingress Gateway Route Table Route Rule Ingress Gateway Host] - The ingress gateway host to which the route rule attaches. If not specified, the route rule gets attached to all hosts on the ingress gateway.
- is_
grpc bool - If true, the rule will check that the content-type header has a application/grpc or one of the various application/grpc+ values.
- is_
host_ boolrewrite_ enabled - If true, the hostname will be rewritten to the target virtual deployment's DNS hostname.
- is_
path_ boolrewrite_ enabled - If true, the matched path prefix will be rewritten to '/' before being directed to the target virtual deployment.
- path str
- Route to match
- path_
type str - Match type for the route
- request_
timeout_ strin_ ms - The maximum duration in milliseconds for the upstream service to respond to a request. If provided, the timeout value overrides the default timeout of 15 seconds for the HTTP based route rules, and disabled (no timeout) when 'isGrpc' is true. The value 0 (zero) indicates that the timeout is disabled. For streaming responses from the upstream service, consider either keeping the timeout disabled or set a sufficiently high value.
- type str
- Type of protocol.
- destinations List<Property Map>
- The destination of the request.
- ingress
Gateway List<Property Map>Hosts - The ingress gateway host to which the route rule attaches. If not specified, the route rule gets attached to all hosts on the ingress gateway.
- is
Grpc Boolean - If true, the rule will check that the content-type header has a application/grpc or one of the various application/grpc+ values.
- is
Host BooleanRewrite Enabled - If true, the hostname will be rewritten to the target virtual deployment's DNS hostname.
- is
Path BooleanRewrite Enabled - If true, the matched path prefix will be rewritten to '/' before being directed to the target virtual deployment.
- path String
- Route to match
- path
Type String - Match type for the route
- request
Timeout StringIn Ms - The maximum duration in milliseconds for the upstream service to respond to a request. If provided, the timeout value overrides the default timeout of 15 seconds for the HTTP based route rules, and disabled (no timeout) when 'isGrpc' is true. The value 0 (zero) indicates that the timeout is disabled. For streaming responses from the upstream service, consider either keeping the timeout disabled or set a sufficiently high value.
- type String
- Type of protocol.
GetIngressGatewayRouteTableRouteRuleDestination
- Port int
- The port of the ingress gateway host listener. Leave empty to match all ports for the host.
- Virtual
Service stringId - The OCID of the virtual service where the request will be routed.
- Weight int
- Weight of traffic target.
- Port int
- The port of the ingress gateway host listener. Leave empty to match all ports for the host.
- Virtual
Service stringId - The OCID of the virtual service where the request will be routed.
- Weight int
- Weight of traffic target.
- port Integer
- The port of the ingress gateway host listener. Leave empty to match all ports for the host.
- virtual
Service StringId - The OCID of the virtual service where the request will be routed.
- weight Integer
- Weight of traffic target.
- port number
- The port of the ingress gateway host listener. Leave empty to match all ports for the host.
- virtual
Service stringId - The OCID of the virtual service where the request will be routed.
- weight number
- Weight of traffic target.
- port int
- The port of the ingress gateway host listener. Leave empty to match all ports for the host.
- virtual_
service_ strid - The OCID of the virtual service where the request will be routed.
- weight int
- Weight of traffic target.
- port Number
- The port of the ingress gateway host listener. Leave empty to match all ports for the host.
- virtual
Service StringId - The OCID of the virtual service where the request will be routed.
- weight Number
- Weight of traffic target.
GetIngressGatewayRouteTableRouteRuleIngressGatewayHost
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.