1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. ServiceMesh
  5. getVirtualServiceRouteTables
Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi

oci.ServiceMesh.getVirtualServiceRouteTables

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi

This data source provides the list of Virtual Service Route Tables in Oracle Cloud Infrastructure Service Mesh service.

Returns a list of VirtualServiceRouteTable objects.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testVirtualServiceRouteTables = oci.ServiceMesh.getVirtualServiceRouteTables({
    compartmentId: compartmentId,
    id: virtualServiceRouteTableId,
    name: virtualServiceRouteTableName,
    state: virtualServiceRouteTableState,
    virtualServiceId: testVirtualService.id,
});
Copy
import pulumi
import pulumi_oci as oci

test_virtual_service_route_tables = oci.ServiceMesh.get_virtual_service_route_tables(compartment_id=compartment_id,
    id=virtual_service_route_table_id,
    name=virtual_service_route_table_name,
    state=virtual_service_route_table_state,
    virtual_service_id=test_virtual_service["id"])
Copy
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.GetVirtualServiceRouteTables(ctx, &servicemesh.GetVirtualServiceRouteTablesArgs{
			CompartmentId:    compartmentId,
			Id:               pulumi.StringRef(virtualServiceRouteTableId),
			Name:             pulumi.StringRef(virtualServiceRouteTableName),
			State:            pulumi.StringRef(virtualServiceRouteTableState),
			VirtualServiceId: pulumi.StringRef(testVirtualService.Id),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testVirtualServiceRouteTables = Oci.ServiceMesh.GetVirtualServiceRouteTables.Invoke(new()
    {
        CompartmentId = compartmentId,
        Id = virtualServiceRouteTableId,
        Name = virtualServiceRouteTableName,
        State = virtualServiceRouteTableState,
        VirtualServiceId = testVirtualService.Id,
    });

});
Copy
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.GetVirtualServiceRouteTablesArgs;
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 testVirtualServiceRouteTables = ServiceMeshFunctions.getVirtualServiceRouteTables(GetVirtualServiceRouteTablesArgs.builder()
            .compartmentId(compartmentId)
            .id(virtualServiceRouteTableId)
            .name(virtualServiceRouteTableName)
            .state(virtualServiceRouteTableState)
            .virtualServiceId(testVirtualService.id())
            .build());

    }
}
Copy
variables:
  testVirtualServiceRouteTables:
    fn::invoke:
      function: oci:ServiceMesh:getVirtualServiceRouteTables
      arguments:
        compartmentId: ${compartmentId}
        id: ${virtualServiceRouteTableId}
        name: ${virtualServiceRouteTableName}
        state: ${virtualServiceRouteTableState}
        virtualServiceId: ${testVirtualService.id}
Copy

Using getVirtualServiceRouteTables

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 getVirtualServiceRouteTables(args: GetVirtualServiceRouteTablesArgs, opts?: InvokeOptions): Promise<GetVirtualServiceRouteTablesResult>
function getVirtualServiceRouteTablesOutput(args: GetVirtualServiceRouteTablesOutputArgs, opts?: InvokeOptions): Output<GetVirtualServiceRouteTablesResult>
Copy
def get_virtual_service_route_tables(compartment_id: Optional[str] = None,
                                     filters: Optional[Sequence[_servicemesh.GetVirtualServiceRouteTablesFilter]] = None,
                                     id: Optional[str] = None,
                                     name: Optional[str] = None,
                                     state: Optional[str] = None,
                                     virtual_service_id: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetVirtualServiceRouteTablesResult
def get_virtual_service_route_tables_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                     filters: Optional[pulumi.Input[Sequence[pulumi.Input[_servicemesh.GetVirtualServiceRouteTablesFilterArgs]]]] = None,
                                     id: Optional[pulumi.Input[str]] = None,
                                     name: Optional[pulumi.Input[str]] = None,
                                     state: Optional[pulumi.Input[str]] = None,
                                     virtual_service_id: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetVirtualServiceRouteTablesResult]
Copy
func GetVirtualServiceRouteTables(ctx *Context, args *GetVirtualServiceRouteTablesArgs, opts ...InvokeOption) (*GetVirtualServiceRouteTablesResult, error)
func GetVirtualServiceRouteTablesOutput(ctx *Context, args *GetVirtualServiceRouteTablesOutputArgs, opts ...InvokeOption) GetVirtualServiceRouteTablesResultOutput
Copy

> Note: This function is named GetVirtualServiceRouteTables in the Go SDK.

public static class GetVirtualServiceRouteTables 
{
    public static Task<GetVirtualServiceRouteTablesResult> InvokeAsync(GetVirtualServiceRouteTablesArgs args, InvokeOptions? opts = null)
    public static Output<GetVirtualServiceRouteTablesResult> Invoke(GetVirtualServiceRouteTablesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetVirtualServiceRouteTablesResult> getVirtualServiceRouteTables(GetVirtualServiceRouteTablesArgs args, InvokeOptions options)
public static Output<GetVirtualServiceRouteTablesResult> getVirtualServiceRouteTables(GetVirtualServiceRouteTablesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:ServiceMesh/getVirtualServiceRouteTables:getVirtualServiceRouteTables
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CompartmentId This property is required. string
The ID of the compartment in which to list resources.
Filters Changes to this property will trigger replacement. List<GetVirtualServiceRouteTablesFilter>
Id string
Unique VirtualServiceRouteTable identifier.
Name string
A filter to return only resources that match the entire name given.
State string
A filter to return only resources that match the life cycle state given.
VirtualServiceId string
Unique VirtualService identifier.
CompartmentId This property is required. string
The ID of the compartment in which to list resources.
Filters Changes to this property will trigger replacement. []GetVirtualServiceRouteTablesFilter
Id string
Unique VirtualServiceRouteTable identifier.
Name string
A filter to return only resources that match the entire name given.
State string
A filter to return only resources that match the life cycle state given.
VirtualServiceId string
Unique VirtualService identifier.
compartmentId This property is required. String
The ID of the compartment in which to list resources.
filters Changes to this property will trigger replacement. List<GetVirtualServiceRouteTablesFilter>
id String
Unique VirtualServiceRouteTable identifier.
name String
A filter to return only resources that match the entire name given.
state String
A filter to return only resources that match the life cycle state given.
virtualServiceId String
Unique VirtualService identifier.
compartmentId This property is required. string
The ID of the compartment in which to list resources.
filters Changes to this property will trigger replacement. GetVirtualServiceRouteTablesFilter[]
id string
Unique VirtualServiceRouteTable identifier.
name string
A filter to return only resources that match the entire name given.
state string
A filter to return only resources that match the life cycle state given.
virtualServiceId string
Unique VirtualService identifier.
compartment_id This property is required. str
The ID of the compartment in which to list resources.
filters Changes to this property will trigger replacement. Sequence[servicemesh.GetVirtualServiceRouteTablesFilter]
id str
Unique VirtualServiceRouteTable identifier.
name str
A filter to return only resources that match the entire name given.
state str
A filter to return only resources that match the life cycle state given.
virtual_service_id str
Unique VirtualService identifier.
compartmentId This property is required. String
The ID of the compartment in which to list resources.
filters Changes to this property will trigger replacement. List<Property Map>
id String
Unique VirtualServiceRouteTable identifier.
name String
A filter to return only resources that match the entire name given.
state String
A filter to return only resources that match the life cycle state given.
virtualServiceId String
Unique VirtualService identifier.

getVirtualServiceRouteTables Result

The following output properties are available:

CompartmentId string
The OCID of the compartment.
VirtualServiceRouteTableCollections List<GetVirtualServiceRouteTablesVirtualServiceRouteTableCollection>
The list of virtual_service_route_table_collection.
Filters List<GetVirtualServiceRouteTablesFilter>
Id string
Unique identifier that is immutable on creation.
Name string
A user-friendly name. The name must be unique within the same virtual service and cannot be changed after creation. Avoid entering confidential information. Example: My unique resource name
State string
The current state of the Resource.
VirtualServiceId string
The OCID of the virtual service in which this virtual service route table is created.
CompartmentId string
The OCID of the compartment.
VirtualServiceRouteTableCollections []GetVirtualServiceRouteTablesVirtualServiceRouteTableCollection
The list of virtual_service_route_table_collection.
Filters []GetVirtualServiceRouteTablesFilter
Id string
Unique identifier that is immutable on creation.
Name string
A user-friendly name. The name must be unique within the same virtual service and cannot be changed after creation. Avoid entering confidential information. Example: My unique resource name
State string
The current state of the Resource.
VirtualServiceId string
The OCID of the virtual service in which this virtual service route table is created.
compartmentId String
The OCID of the compartment.
virtualServiceRouteTableCollections List<GetVirtualServiceRouteTablesVirtualServiceRouteTableCollection>
The list of virtual_service_route_table_collection.
filters List<GetVirtualServiceRouteTablesFilter>
id String
Unique identifier that is immutable on creation.
name String
A user-friendly name. The name must be unique within the same virtual service and cannot be changed after creation. Avoid entering confidential information. Example: My unique resource name
state String
The current state of the Resource.
virtualServiceId String
The OCID of the virtual service in which this virtual service route table is created.
compartmentId string
The OCID of the compartment.
virtualServiceRouteTableCollections GetVirtualServiceRouteTablesVirtualServiceRouteTableCollection[]
The list of virtual_service_route_table_collection.
filters GetVirtualServiceRouteTablesFilter[]
id string
Unique identifier that is immutable on creation.
name string
A user-friendly name. The name must be unique within the same virtual service and cannot be changed after creation. Avoid entering confidential information. Example: My unique resource name
state string
The current state of the Resource.
virtualServiceId string
The OCID of the virtual service in which this virtual service route table is created.
compartment_id str
The OCID of the compartment.
virtual_service_route_table_collections Sequence[servicemesh.GetVirtualServiceRouteTablesVirtualServiceRouteTableCollection]
The list of virtual_service_route_table_collection.
filters Sequence[servicemesh.GetVirtualServiceRouteTablesFilter]
id str
Unique identifier that is immutable on creation.
name str
A user-friendly name. The name must be unique within the same virtual service and cannot be changed after creation. Avoid entering confidential information. Example: My unique resource name
state str
The current state of the Resource.
virtual_service_id str
The OCID of the virtual service in which this virtual service route table is created.
compartmentId String
The OCID of the compartment.
virtualServiceRouteTableCollections List<Property Map>
The list of virtual_service_route_table_collection.
filters List<Property Map>
id String
Unique identifier that is immutable on creation.
name String
A user-friendly name. The name must be unique within the same virtual service and cannot be changed after creation. Avoid entering confidential information. Example: My unique resource name
state String
The current state of the Resource.
virtualServiceId String
The OCID of the virtual service in which this virtual service route table is created.

Supporting Types

GetVirtualServiceRouteTablesFilter

Name This property is required. string
A filter to return only resources that match the entire name given.
Values This property is required. List<string>
Regex bool
Name This property is required. string
A filter to return only resources that match the entire name given.
Values This property is required. []string
Regex bool
name This property is required. String
A filter to return only resources that match the entire name given.
values This property is required. List<String>
regex Boolean
name This property is required. string
A filter to return only resources that match the entire name given.
values This property is required. string[]
regex boolean
name This property is required. str
A filter to return only resources that match the entire name given.
values This property is required. Sequence[str]
regex bool
name This property is required. String
A filter to return only resources that match the entire name given.
values This property is required. List<String>
regex Boolean

GetVirtualServiceRouteTablesVirtualServiceRouteTableCollection

items This property is required. List<Property Map>

GetVirtualServiceRouteTablesVirtualServiceRouteTableCollectionItem

CompartmentId This property is required. string
The ID of the compartment in which to list resources.
DefinedTags This property is required. Dictionary<string, string>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
Description This property is required. string
Description of the resource. It can be changed after creation. Avoid entering confidential information. Example: This is my new resource
FreeformTags This property is required. 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 This property is required. string
Unique VirtualServiceRouteTable identifier.
LifecycleDetails This property is required. 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 This property is required. string
A filter to return only resources that match the entire name given.
Priority This property is required. int
The priority of the route table. Lower value means higher priority. The routes are declared based on the priority.
RouteRules This property is required. List<GetVirtualServiceRouteTablesVirtualServiceRouteTableCollectionItemRouteRule>
The route rules for the virtual service.
State This property is required. string
A filter to return only resources that match the life cycle state given.
SystemTags This property is required. Dictionary<string, string>
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated This property is required. string
The time when this resource was created in an RFC3339 formatted datetime string.
TimeUpdated This property is required. string
The time when this resource was updated in an RFC3339 formatted datetime string.
VirtualServiceId This property is required. string
Unique VirtualService identifier.
CompartmentId This property is required. string
The ID of the compartment in which to list resources.
DefinedTags This property is required. map[string]string
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
Description This property is required. string
Description of the resource. It can be changed after creation. Avoid entering confidential information. Example: This is my new resource
FreeformTags This property is required. 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 This property is required. string
Unique VirtualServiceRouteTable identifier.
LifecycleDetails This property is required. 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 This property is required. string
A filter to return only resources that match the entire name given.
Priority This property is required. int
The priority of the route table. Lower value means higher priority. The routes are declared based on the priority.
RouteRules This property is required. []GetVirtualServiceRouteTablesVirtualServiceRouteTableCollectionItemRouteRule
The route rules for the virtual service.
State This property is required. string
A filter to return only resources that match the life cycle state given.
SystemTags This property is required. map[string]string
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated This property is required. string
The time when this resource was created in an RFC3339 formatted datetime string.
TimeUpdated This property is required. string
The time when this resource was updated in an RFC3339 formatted datetime string.
VirtualServiceId This property is required. string
Unique VirtualService identifier.
compartmentId This property is required. String
The ID of the compartment in which to list resources.
definedTags This property is required. Map<String,String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
description This property is required. String
Description of the resource. It can be changed after creation. Avoid entering confidential information. Example: This is my new resource
freeformTags This property is required. 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 This property is required. String
Unique VirtualServiceRouteTable identifier.
lifecycleDetails This property is required. 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 This property is required. String
A filter to return only resources that match the entire name given.
priority This property is required. Integer
The priority of the route table. Lower value means higher priority. The routes are declared based on the priority.
routeRules This property is required. List<GetVirtualServiceRouteTablesVirtualServiceRouteTableCollectionItemRouteRule>
The route rules for the virtual service.
state This property is required. String
A filter to return only resources that match the life cycle state given.
systemTags This property is required. Map<String,String>
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated This property is required. String
The time when this resource was created in an RFC3339 formatted datetime string.
timeUpdated This property is required. String
The time when this resource was updated in an RFC3339 formatted datetime string.
virtualServiceId This property is required. String
Unique VirtualService identifier.
compartmentId This property is required. string
The ID of the compartment in which to list resources.
definedTags This property is required. {[key: string]: string}
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
description This property is required. string
Description of the resource. It can be changed after creation. Avoid entering confidential information. Example: This is my new resource
freeformTags This property is required. {[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 This property is required. string
Unique VirtualServiceRouteTable identifier.
lifecycleDetails This property is required. 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 This property is required. string
A filter to return only resources that match the entire name given.
priority This property is required. number
The priority of the route table. Lower value means higher priority. The routes are declared based on the priority.
routeRules This property is required. GetVirtualServiceRouteTablesVirtualServiceRouteTableCollectionItemRouteRule[]
The route rules for the virtual service.
state This property is required. string
A filter to return only resources that match the life cycle state given.
systemTags This property is required. {[key: string]: string}
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated This property is required. string
The time when this resource was created in an RFC3339 formatted datetime string.
timeUpdated This property is required. string
The time when this resource was updated in an RFC3339 formatted datetime string.
virtualServiceId This property is required. string
Unique VirtualService identifier.
compartment_id This property is required. str
The ID of the compartment in which to list resources.
defined_tags This property is required. Mapping[str, str]
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
description This property is required. str
Description of the resource. It can be changed after creation. Avoid entering confidential information. Example: This is my new resource
freeform_tags This property is required. 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 This property is required. str
Unique VirtualServiceRouteTable identifier.
lifecycle_details This property is required. 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 This property is required. str
A filter to return only resources that match the entire name given.
priority This property is required. int
The priority of the route table. Lower value means higher priority. The routes are declared based on the priority.
route_rules This property is required. Sequence[servicemesh.GetVirtualServiceRouteTablesVirtualServiceRouteTableCollectionItemRouteRule]
The route rules for the virtual service.
state This property is required. str
A filter to return only resources that match the life cycle state given.
system_tags This property is required. Mapping[str, str]
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
time_created This property is required. str
The time when this resource was created in an RFC3339 formatted datetime string.
time_updated This property is required. str
The time when this resource was updated in an RFC3339 formatted datetime string.
virtual_service_id This property is required. str
Unique VirtualService identifier.
compartmentId This property is required. String
The ID of the compartment in which to list resources.
definedTags This property is required. Map<String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
description This property is required. String
Description of the resource. It can be changed after creation. Avoid entering confidential information. Example: This is my new resource
freeformTags This property is required. 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 This property is required. String
Unique VirtualServiceRouteTable identifier.
lifecycleDetails This property is required. 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 This property is required. String
A filter to return only resources that match the entire name given.
priority This property is required. Number
The priority of the route table. Lower value means higher priority. The routes are declared based on the priority.
routeRules This property is required. List<Property Map>
The route rules for the virtual service.
state This property is required. String
A filter to return only resources that match the life cycle state given.
systemTags This property is required. Map<String>
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated This property is required. String
The time when this resource was created in an RFC3339 formatted datetime string.
timeUpdated This property is required. String
The time when this resource was updated in an RFC3339 formatted datetime string.
virtualServiceId This property is required. String
Unique VirtualService identifier.

GetVirtualServiceRouteTablesVirtualServiceRouteTableCollectionItemRouteRule

Destinations This property is required. List<GetVirtualServiceRouteTablesVirtualServiceRouteTableCollectionItemRouteRuleDestination>
The destination of the request.
IsGrpc This property is required. bool
If true, the rule will check that the content-type header has a application/grpc or one of the various application/grpc+ values.
Path This property is required. string
Route to match
PathType This property is required. string
Match type for the route
RequestTimeoutInMs This property is required. string
The maximum duration in milliseconds for the target 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 target service, consider either keeping the timeout disabled or set a sufficiently high value.
Type This property is required. string
Type of protocol.
Destinations This property is required. []GetVirtualServiceRouteTablesVirtualServiceRouteTableCollectionItemRouteRuleDestination
The destination of the request.
IsGrpc This property is required. bool
If true, the rule will check that the content-type header has a application/grpc or one of the various application/grpc+ values.
Path This property is required. string
Route to match
PathType This property is required. string
Match type for the route
RequestTimeoutInMs This property is required. string
The maximum duration in milliseconds for the target 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 target service, consider either keeping the timeout disabled or set a sufficiently high value.
Type This property is required. string
Type of protocol.
destinations This property is required. List<GetVirtualServiceRouteTablesVirtualServiceRouteTableCollectionItemRouteRuleDestination>
The destination of the request.
isGrpc This property is required. Boolean
If true, the rule will check that the content-type header has a application/grpc or one of the various application/grpc+ values.
path This property is required. String
Route to match
pathType This property is required. String
Match type for the route
requestTimeoutInMs This property is required. String
The maximum duration in milliseconds for the target 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 target service, consider either keeping the timeout disabled or set a sufficiently high value.
type This property is required. String
Type of protocol.
destinations This property is required. GetVirtualServiceRouteTablesVirtualServiceRouteTableCollectionItemRouteRuleDestination[]
The destination of the request.
isGrpc This property is required. boolean
If true, the rule will check that the content-type header has a application/grpc or one of the various application/grpc+ values.
path This property is required. string
Route to match
pathType This property is required. string
Match type for the route
requestTimeoutInMs This property is required. string
The maximum duration in milliseconds for the target 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 target service, consider either keeping the timeout disabled or set a sufficiently high value.
type This property is required. string
Type of protocol.
destinations This property is required. Sequence[servicemesh.GetVirtualServiceRouteTablesVirtualServiceRouteTableCollectionItemRouteRuleDestination]
The destination of the request.
is_grpc This property is required. bool
If true, the rule will check that the content-type header has a application/grpc or one of the various application/grpc+ values.
path This property is required. str
Route to match
path_type This property is required. str
Match type for the route
request_timeout_in_ms This property is required. str
The maximum duration in milliseconds for the target 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 target service, consider either keeping the timeout disabled or set a sufficiently high value.
type This property is required. str
Type of protocol.
destinations This property is required. List<Property Map>
The destination of the request.
isGrpc This property is required. Boolean
If true, the rule will check that the content-type header has a application/grpc or one of the various application/grpc+ values.
path This property is required. String
Route to match
pathType This property is required. String
Match type for the route
requestTimeoutInMs This property is required. String
The maximum duration in milliseconds for the target 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 target service, consider either keeping the timeout disabled or set a sufficiently high value.
type This property is required. String
Type of protocol.

GetVirtualServiceRouteTablesVirtualServiceRouteTableCollectionItemRouteRuleDestination

Port This property is required. int
Port on virtual deployment to target. If port is missing, the rule will target all ports on the virtual deployment.
VirtualDeploymentId This property is required. string
The OCID of the virtual deployment where the request will be routed.
Weight This property is required. int
Weight of traffic target.
Port This property is required. int
Port on virtual deployment to target. If port is missing, the rule will target all ports on the virtual deployment.
VirtualDeploymentId This property is required. string
The OCID of the virtual deployment where the request will be routed.
Weight This property is required. int
Weight of traffic target.
port This property is required. Integer
Port on virtual deployment to target. If port is missing, the rule will target all ports on the virtual deployment.
virtualDeploymentId This property is required. String
The OCID of the virtual deployment where the request will be routed.
weight This property is required. Integer
Weight of traffic target.
port This property is required. number
Port on virtual deployment to target. If port is missing, the rule will target all ports on the virtual deployment.
virtualDeploymentId This property is required. string
The OCID of the virtual deployment where the request will be routed.
weight This property is required. number
Weight of traffic target.
port This property is required. int
Port on virtual deployment to target. If port is missing, the rule will target all ports on the virtual deployment.
virtual_deployment_id This property is required. str
The OCID of the virtual deployment where the request will be routed.
weight This property is required. int
Weight of traffic target.
port This property is required. Number
Port on virtual deployment to target. If port is missing, the rule will target all ports on the virtual deployment.
virtualDeploymentId This property is required. String
The OCID of the virtual deployment where the request will be routed.
weight This property is required. Number
Weight of traffic target.

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi