1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. ServiceMesh
  5. getAccessPolicies
Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi

oci.ServiceMesh.getAccessPolicies

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi

This data source provides the list of Access Policies in Oracle Cloud Infrastructure Service Mesh service.

Returns a list of AccessPolicy objects.

Example Usage

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

const testAccessPolicies = oci.ServiceMesh.getAccessPolicies({
    compartmentId: compartmentId,
    id: accessPolicyId,
    meshId: testMesh.id,
    name: accessPolicyName,
    state: accessPolicyState,
});
Copy
import pulumi
import pulumi_oci as oci

test_access_policies = oci.ServiceMesh.get_access_policies(compartment_id=compartment_id,
    id=access_policy_id,
    mesh_id=test_mesh["id"],
    name=access_policy_name,
    state=access_policy_state)
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.GetAccessPolicies(ctx, &servicemesh.GetAccessPoliciesArgs{
			CompartmentId: compartmentId,
			Id:            pulumi.StringRef(accessPolicyId),
			MeshId:        pulumi.StringRef(testMesh.Id),
			Name:          pulumi.StringRef(accessPolicyName),
			State:         pulumi.StringRef(accessPolicyState),
		}, 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 testAccessPolicies = Oci.ServiceMesh.GetAccessPolicies.Invoke(new()
    {
        CompartmentId = compartmentId,
        Id = accessPolicyId,
        MeshId = testMesh.Id,
        Name = accessPolicyName,
        State = accessPolicyState,
    });

});
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.GetAccessPoliciesArgs;
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 testAccessPolicies = ServiceMeshFunctions.getAccessPolicies(GetAccessPoliciesArgs.builder()
            .compartmentId(compartmentId)
            .id(accessPolicyId)
            .meshId(testMesh.id())
            .name(accessPolicyName)
            .state(accessPolicyState)
            .build());

    }
}
Copy
variables:
  testAccessPolicies:
    fn::invoke:
      function: oci:ServiceMesh:getAccessPolicies
      arguments:
        compartmentId: ${compartmentId}
        id: ${accessPolicyId}
        meshId: ${testMesh.id}
        name: ${accessPolicyName}
        state: ${accessPolicyState}
Copy

Using getAccessPolicies

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 getAccessPolicies(args: GetAccessPoliciesArgs, opts?: InvokeOptions): Promise<GetAccessPoliciesResult>
function getAccessPoliciesOutput(args: GetAccessPoliciesOutputArgs, opts?: InvokeOptions): Output<GetAccessPoliciesResult>
Copy
def get_access_policies(compartment_id: Optional[str] = None,
                        filters: Optional[Sequence[_servicemesh.GetAccessPoliciesFilter]] = None,
                        id: Optional[str] = None,
                        mesh_id: Optional[str] = None,
                        name: Optional[str] = None,
                        state: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetAccessPoliciesResult
def get_access_policies_output(compartment_id: Optional[pulumi.Input[str]] = None,
                        filters: Optional[pulumi.Input[Sequence[pulumi.Input[_servicemesh.GetAccessPoliciesFilterArgs]]]] = None,
                        id: Optional[pulumi.Input[str]] = None,
                        mesh_id: Optional[pulumi.Input[str]] = None,
                        name: Optional[pulumi.Input[str]] = None,
                        state: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetAccessPoliciesResult]
Copy
func GetAccessPolicies(ctx *Context, args *GetAccessPoliciesArgs, opts ...InvokeOption) (*GetAccessPoliciesResult, error)
func GetAccessPoliciesOutput(ctx *Context, args *GetAccessPoliciesOutputArgs, opts ...InvokeOption) GetAccessPoliciesResultOutput
Copy

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

public static class GetAccessPolicies 
{
    public static Task<GetAccessPoliciesResult> InvokeAsync(GetAccessPoliciesArgs args, InvokeOptions? opts = null)
    public static Output<GetAccessPoliciesResult> Invoke(GetAccessPoliciesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetAccessPoliciesResult> getAccessPolicies(GetAccessPoliciesArgs args, InvokeOptions options)
public static Output<GetAccessPoliciesResult> getAccessPolicies(GetAccessPoliciesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:ServiceMesh/getAccessPolicies:getAccessPolicies
  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<GetAccessPoliciesFilter>
Id string
Unique AccessPolicy identifier.
MeshId string
Unique Mesh 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.
CompartmentId This property is required. string
The ID of the compartment in which to list resources.
Filters Changes to this property will trigger replacement. []GetAccessPoliciesFilter
Id string
Unique AccessPolicy identifier.
MeshId string
Unique Mesh 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.
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<GetAccessPoliciesFilter>
id String
Unique AccessPolicy identifier.
meshId String
Unique Mesh 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.
compartmentId This property is required. string
The ID of the compartment in which to list resources.
filters Changes to this property will trigger replacement. GetAccessPoliciesFilter[]
id string
Unique AccessPolicy identifier.
meshId string
Unique Mesh 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.
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.GetAccessPoliciesFilter]
id str
Unique AccessPolicy identifier.
mesh_id str
Unique Mesh 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.
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 AccessPolicy identifier.
meshId String
Unique Mesh 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.

getAccessPolicies Result

The following output properties are available:

AccessPolicyCollections List<GetAccessPoliciesAccessPolicyCollection>
The list of access_policy_collection.
CompartmentId string
The OCID of the compartment.
Filters List<GetAccessPoliciesFilter>
Id string
Unique identifier that is immutable on creation.
MeshId string
The OCID of the service mesh in which this access policy is created.
Name string
A user-friendly name. The name has to be unique within the same service mesh and cannot be changed after creation. Avoid entering confidential information. Example: My unique resource name
State string
The current state of the Resource.
AccessPolicyCollections []GetAccessPoliciesAccessPolicyCollection
The list of access_policy_collection.
CompartmentId string
The OCID of the compartment.
Filters []GetAccessPoliciesFilter
Id string
Unique identifier that is immutable on creation.
MeshId string
The OCID of the service mesh in which this access policy is created.
Name string
A user-friendly name. The name has to be unique within the same service mesh and cannot be changed after creation. Avoid entering confidential information. Example: My unique resource name
State string
The current state of the Resource.
accessPolicyCollections List<GetAccessPoliciesAccessPolicyCollection>
The list of access_policy_collection.
compartmentId String
The OCID of the compartment.
filters List<GetAccessPoliciesFilter>
id String
Unique identifier that is immutable on creation.
meshId String
The OCID of the service mesh in which this access policy is created.
name String
A user-friendly name. The name has to be unique within the same service mesh and cannot be changed after creation. Avoid entering confidential information. Example: My unique resource name
state String
The current state of the Resource.
accessPolicyCollections GetAccessPoliciesAccessPolicyCollection[]
The list of access_policy_collection.
compartmentId string
The OCID of the compartment.
filters GetAccessPoliciesFilter[]
id string
Unique identifier that is immutable on creation.
meshId string
The OCID of the service mesh in which this access policy is created.
name string
A user-friendly name. The name has to be unique within the same service mesh and cannot be changed after creation. Avoid entering confidential information. Example: My unique resource name
state string
The current state of the Resource.
access_policy_collections Sequence[servicemesh.GetAccessPoliciesAccessPolicyCollection]
The list of access_policy_collection.
compartment_id str
The OCID of the compartment.
filters Sequence[servicemesh.GetAccessPoliciesFilter]
id str
Unique identifier that is immutable on creation.
mesh_id str
The OCID of the service mesh in which this access policy is created.
name str
A user-friendly name. The name has to be unique within the same service mesh and cannot be changed after creation. Avoid entering confidential information. Example: My unique resource name
state str
The current state of the Resource.
accessPolicyCollections List<Property Map>
The list of access_policy_collection.
compartmentId String
The OCID of the compartment.
filters List<Property Map>
id String
Unique identifier that is immutable on creation.
meshId String
The OCID of the service mesh in which this access policy is created.
name String
A user-friendly name. The name has to be unique within the same service mesh and cannot be changed after creation. Avoid entering confidential information. Example: My unique resource name
state String
The current state of the Resource.

Supporting Types

GetAccessPoliciesAccessPolicyCollection

items This property is required. List<Property Map>

GetAccessPoliciesAccessPolicyCollectionItem

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 AccessPolicy 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.
MeshId This property is required. string
Unique Mesh identifier.
Name This property is required. string
A filter to return only resources that match the entire name given.
Rules This property is required. List<GetAccessPoliciesAccessPolicyCollectionItemRule>
List of applicable rules.
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.
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 AccessPolicy 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.
MeshId This property is required. string
Unique Mesh identifier.
Name This property is required. string
A filter to return only resources that match the entire name given.
Rules This property is required. []GetAccessPoliciesAccessPolicyCollectionItemRule
List of applicable rules.
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.
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 AccessPolicy 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.
meshId This property is required. String
Unique Mesh identifier.
name This property is required. String
A filter to return only resources that match the entire name given.
rules This property is required. List<GetAccessPoliciesAccessPolicyCollectionItemRule>
List of applicable rules.
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.
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 AccessPolicy 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.
meshId This property is required. string
Unique Mesh identifier.
name This property is required. string
A filter to return only resources that match the entire name given.
rules This property is required. GetAccessPoliciesAccessPolicyCollectionItemRule[]
List of applicable rules.
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.
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 AccessPolicy 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.
mesh_id This property is required. str
Unique Mesh identifier.
name This property is required. str
A filter to return only resources that match the entire name given.
rules This property is required. Sequence[servicemesh.GetAccessPoliciesAccessPolicyCollectionItemRule]
List of applicable rules.
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.
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 AccessPolicy 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.
meshId This property is required. String
Unique Mesh identifier.
name This property is required. String
A filter to return only resources that match the entire name given.
rules This property is required. List<Property Map>
List of applicable rules.
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.

GetAccessPoliciesAccessPolicyCollectionItemRule

Action This property is required. string
Action for the traffic between the source and the destination.
Destinations This property is required. List<GetAccessPoliciesAccessPolicyCollectionItemRuleDestination>
Target of the access policy. This can either be the source or the destination of the traffic.
Sources This property is required. List<GetAccessPoliciesAccessPolicyCollectionItemRuleSource>
Target of the access policy. This can either be the source or the destination of the traffic.
Action This property is required. string
Action for the traffic between the source and the destination.
Destinations This property is required. []GetAccessPoliciesAccessPolicyCollectionItemRuleDestination
Target of the access policy. This can either be the source or the destination of the traffic.
Sources This property is required. []GetAccessPoliciesAccessPolicyCollectionItemRuleSource
Target of the access policy. This can either be the source or the destination of the traffic.
action This property is required. String
Action for the traffic between the source and the destination.
destinations This property is required. List<GetAccessPoliciesAccessPolicyCollectionItemRuleDestination>
Target of the access policy. This can either be the source or the destination of the traffic.
sources This property is required. List<GetAccessPoliciesAccessPolicyCollectionItemRuleSource>
Target of the access policy. This can either be the source or the destination of the traffic.
action This property is required. string
Action for the traffic between the source and the destination.
destinations This property is required. GetAccessPoliciesAccessPolicyCollectionItemRuleDestination[]
Target of the access policy. This can either be the source or the destination of the traffic.
sources This property is required. GetAccessPoliciesAccessPolicyCollectionItemRuleSource[]
Target of the access policy. This can either be the source or the destination of the traffic.
action This property is required. str
Action for the traffic between the source and the destination.
destinations This property is required. Sequence[servicemesh.GetAccessPoliciesAccessPolicyCollectionItemRuleDestination]
Target of the access policy. This can either be the source or the destination of the traffic.
sources This property is required. Sequence[servicemesh.GetAccessPoliciesAccessPolicyCollectionItemRuleSource]
Target of the access policy. This can either be the source or the destination of the traffic.
action This property is required. String
Action for the traffic between the source and the destination.
destinations This property is required. List<Property Map>
Target of the access policy. This can either be the source or the destination of the traffic.
sources This property is required. List<Property Map>
Target of the access policy. This can either be the source or the destination of the traffic.

GetAccessPoliciesAccessPolicyCollectionItemRuleDestination

Hostnames This property is required. List<string>
The hostnames of the external service. Only applicable for HTTP and HTTPS protocols. Wildcard hostnames are supported in the prefix form. Examples of valid hostnames are "www.example.com", ".example.com", ".com", "". Hostname "" can be used to allow all hosts.
IngressGatewayId This property is required. string
The OCID of the ingress gateway resource.
IpAddresses This property is required. List<string>
The ipAddresses of the external service in CIDR notation. Only applicable for TCP protocol. All requests matching the given CIDR notation will pass through. In case a wildcard CIDR "0.0.0.0/0" is provided, the same port cannot be used for a virtual service communication.
Ports This property is required. List<int>
Ports exposed by an external service. If left empty all ports will be allowed.
Protocol This property is required. string
Protocol of the external service
Type This property is required. string
Traffic type of the target.
VirtualServiceId This property is required. string
The OCID of the virtual service resource.
Hostnames This property is required. []string
The hostnames of the external service. Only applicable for HTTP and HTTPS protocols. Wildcard hostnames are supported in the prefix form. Examples of valid hostnames are "www.example.com", ".example.com", ".com", "". Hostname "" can be used to allow all hosts.
IngressGatewayId This property is required. string
The OCID of the ingress gateway resource.
IpAddresses This property is required. []string
The ipAddresses of the external service in CIDR notation. Only applicable for TCP protocol. All requests matching the given CIDR notation will pass through. In case a wildcard CIDR "0.0.0.0/0" is provided, the same port cannot be used for a virtual service communication.
Ports This property is required. []int
Ports exposed by an external service. If left empty all ports will be allowed.
Protocol This property is required. string
Protocol of the external service
Type This property is required. string
Traffic type of the target.
VirtualServiceId This property is required. string
The OCID of the virtual service resource.
hostnames This property is required. List<String>
The hostnames of the external service. Only applicable for HTTP and HTTPS protocols. Wildcard hostnames are supported in the prefix form. Examples of valid hostnames are "www.example.com", ".example.com", ".com", "". Hostname "" can be used to allow all hosts.
ingressGatewayId This property is required. String
The OCID of the ingress gateway resource.
ipAddresses This property is required. List<String>
The ipAddresses of the external service in CIDR notation. Only applicable for TCP protocol. All requests matching the given CIDR notation will pass through. In case a wildcard CIDR "0.0.0.0/0" is provided, the same port cannot be used for a virtual service communication.
ports This property is required. List<Integer>
Ports exposed by an external service. If left empty all ports will be allowed.
protocol This property is required. String
Protocol of the external service
type This property is required. String
Traffic type of the target.
virtualServiceId This property is required. String
The OCID of the virtual service resource.
hostnames This property is required. string[]
The hostnames of the external service. Only applicable for HTTP and HTTPS protocols. Wildcard hostnames are supported in the prefix form. Examples of valid hostnames are "www.example.com", ".example.com", ".com", "". Hostname "" can be used to allow all hosts.
ingressGatewayId This property is required. string
The OCID of the ingress gateway resource.
ipAddresses This property is required. string[]
The ipAddresses of the external service in CIDR notation. Only applicable for TCP protocol. All requests matching the given CIDR notation will pass through. In case a wildcard CIDR "0.0.0.0/0" is provided, the same port cannot be used for a virtual service communication.
ports This property is required. number[]
Ports exposed by an external service. If left empty all ports will be allowed.
protocol This property is required. string
Protocol of the external service
type This property is required. string
Traffic type of the target.
virtualServiceId This property is required. string
The OCID of the virtual service resource.
hostnames This property is required. Sequence[str]
The hostnames of the external service. Only applicable for HTTP and HTTPS protocols. Wildcard hostnames are supported in the prefix form. Examples of valid hostnames are "www.example.com", ".example.com", ".com", "". Hostname "" can be used to allow all hosts.
ingress_gateway_id This property is required. str
The OCID of the ingress gateway resource.
ip_addresses This property is required. Sequence[str]
The ipAddresses of the external service in CIDR notation. Only applicable for TCP protocol. All requests matching the given CIDR notation will pass through. In case a wildcard CIDR "0.0.0.0/0" is provided, the same port cannot be used for a virtual service communication.
ports This property is required. Sequence[int]
Ports exposed by an external service. If left empty all ports will be allowed.
protocol This property is required. str
Protocol of the external service
type This property is required. str
Traffic type of the target.
virtual_service_id This property is required. str
The OCID of the virtual service resource.
hostnames This property is required. List<String>
The hostnames of the external service. Only applicable for HTTP and HTTPS protocols. Wildcard hostnames are supported in the prefix form. Examples of valid hostnames are "www.example.com", ".example.com", ".com", "". Hostname "" can be used to allow all hosts.
ingressGatewayId This property is required. String
The OCID of the ingress gateway resource.
ipAddresses This property is required. List<String>
The ipAddresses of the external service in CIDR notation. Only applicable for TCP protocol. All requests matching the given CIDR notation will pass through. In case a wildcard CIDR "0.0.0.0/0" is provided, the same port cannot be used for a virtual service communication.
ports This property is required. List<Number>
Ports exposed by an external service. If left empty all ports will be allowed.
protocol This property is required. String
Protocol of the external service
type This property is required. String
Traffic type of the target.
virtualServiceId This property is required. String
The OCID of the virtual service resource.

GetAccessPoliciesAccessPolicyCollectionItemRuleSource

Hostnames This property is required. List<string>
The hostnames of the external service. Only applicable for HTTP and HTTPS protocols. Wildcard hostnames are supported in the prefix form. Examples of valid hostnames are "www.example.com", ".example.com", ".com", "". Hostname "" can be used to allow all hosts.
IngressGatewayId This property is required. string
The OCID of the ingress gateway resource.
IpAddresses This property is required. List<string>
The ipAddresses of the external service in CIDR notation. Only applicable for TCP protocol. All requests matching the given CIDR notation will pass through. In case a wildcard CIDR "0.0.0.0/0" is provided, the same port cannot be used for a virtual service communication.
Ports This property is required. List<int>
Ports exposed by an external service. If left empty all ports will be allowed.
Protocol This property is required. string
Protocol of the external service
Type This property is required. string
Traffic type of the target.
VirtualServiceId This property is required. string
The OCID of the virtual service resource.
Hostnames This property is required. []string
The hostnames of the external service. Only applicable for HTTP and HTTPS protocols. Wildcard hostnames are supported in the prefix form. Examples of valid hostnames are "www.example.com", ".example.com", ".com", "". Hostname "" can be used to allow all hosts.
IngressGatewayId This property is required. string
The OCID of the ingress gateway resource.
IpAddresses This property is required. []string
The ipAddresses of the external service in CIDR notation. Only applicable for TCP protocol. All requests matching the given CIDR notation will pass through. In case a wildcard CIDR "0.0.0.0/0" is provided, the same port cannot be used for a virtual service communication.
Ports This property is required. []int
Ports exposed by an external service. If left empty all ports will be allowed.
Protocol This property is required. string
Protocol of the external service
Type This property is required. string
Traffic type of the target.
VirtualServiceId This property is required. string
The OCID of the virtual service resource.
hostnames This property is required. List<String>
The hostnames of the external service. Only applicable for HTTP and HTTPS protocols. Wildcard hostnames are supported in the prefix form. Examples of valid hostnames are "www.example.com", ".example.com", ".com", "". Hostname "" can be used to allow all hosts.
ingressGatewayId This property is required. String
The OCID of the ingress gateway resource.
ipAddresses This property is required. List<String>
The ipAddresses of the external service in CIDR notation. Only applicable for TCP protocol. All requests matching the given CIDR notation will pass through. In case a wildcard CIDR "0.0.0.0/0" is provided, the same port cannot be used for a virtual service communication.
ports This property is required. List<Integer>
Ports exposed by an external service. If left empty all ports will be allowed.
protocol This property is required. String
Protocol of the external service
type This property is required. String
Traffic type of the target.
virtualServiceId This property is required. String
The OCID of the virtual service resource.
hostnames This property is required. string[]
The hostnames of the external service. Only applicable for HTTP and HTTPS protocols. Wildcard hostnames are supported in the prefix form. Examples of valid hostnames are "www.example.com", ".example.com", ".com", "". Hostname "" can be used to allow all hosts.
ingressGatewayId This property is required. string
The OCID of the ingress gateway resource.
ipAddresses This property is required. string[]
The ipAddresses of the external service in CIDR notation. Only applicable for TCP protocol. All requests matching the given CIDR notation will pass through. In case a wildcard CIDR "0.0.0.0/0" is provided, the same port cannot be used for a virtual service communication.
ports This property is required. number[]
Ports exposed by an external service. If left empty all ports will be allowed.
protocol This property is required. string
Protocol of the external service
type This property is required. string
Traffic type of the target.
virtualServiceId This property is required. string
The OCID of the virtual service resource.
hostnames This property is required. Sequence[str]
The hostnames of the external service. Only applicable for HTTP and HTTPS protocols. Wildcard hostnames are supported in the prefix form. Examples of valid hostnames are "www.example.com", ".example.com", ".com", "". Hostname "" can be used to allow all hosts.
ingress_gateway_id This property is required. str
The OCID of the ingress gateway resource.
ip_addresses This property is required. Sequence[str]
The ipAddresses of the external service in CIDR notation. Only applicable for TCP protocol. All requests matching the given CIDR notation will pass through. In case a wildcard CIDR "0.0.0.0/0" is provided, the same port cannot be used for a virtual service communication.
ports This property is required. Sequence[int]
Ports exposed by an external service. If left empty all ports will be allowed.
protocol This property is required. str
Protocol of the external service
type This property is required. str
Traffic type of the target.
virtual_service_id This property is required. str
The OCID of the virtual service resource.
hostnames This property is required. List<String>
The hostnames of the external service. Only applicable for HTTP and HTTPS protocols. Wildcard hostnames are supported in the prefix form. Examples of valid hostnames are "www.example.com", ".example.com", ".com", "". Hostname "" can be used to allow all hosts.
ingressGatewayId This property is required. String
The OCID of the ingress gateway resource.
ipAddresses This property is required. List<String>
The ipAddresses of the external service in CIDR notation. Only applicable for TCP protocol. All requests matching the given CIDR notation will pass through. In case a wildcard CIDR "0.0.0.0/0" is provided, the same port cannot be used for a virtual service communication.
ports This property is required. List<Number>
Ports exposed by an external service. If left empty all ports will be allowed.
protocol This property is required. String
Protocol of the external service
type This property is required. String
Traffic type of the target.
virtualServiceId This property is required. String
The OCID of the virtual service resource.

GetAccessPoliciesFilter

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

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.28.0 published on Thursday, Mar 27, 2025 by Pulumi