Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.ServiceMesh.getAccessPolicies
Explore with Pulumi AI
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,
});
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)
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
	})
}
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,
    });
});
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());
    }
}
variables:
  testAccessPolicies:
    fn::invoke:
      function: oci:ServiceMesh:getAccessPolicies
      arguments:
        compartmentId: ${compartmentId}
        id: ${accessPolicyId}
        meshId: ${testMesh.id}
        name: ${accessPolicyName}
        state: ${accessPolicyState}
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>def get_access_policies(compartment_id: Optional[str] = None,
                        filters: Optional[Sequence[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[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]func GetAccessPolicies(ctx *Context, args *GetAccessPoliciesArgs, opts ...InvokeOption) (*GetAccessPoliciesResult, error)
func GetAccessPoliciesOutput(ctx *Context, args *GetAccessPoliciesOutputArgs, opts ...InvokeOption) GetAccessPoliciesResultOutput> 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)
}public static CompletableFuture<GetAccessPoliciesResult> getAccessPolicies(GetAccessPoliciesArgs args, InvokeOptions options)
public static Output<GetAccessPoliciesResult> getAccessPolicies(GetAccessPoliciesArgs args, InvokeOptions options)
fn::invoke:
  function: oci:ServiceMesh/getAccessPolicies:getAccessPolicies
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CompartmentId string
- The ID of the compartment in which to list resources.
- Filters
List<GetAccess Policies Filter> 
- 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 string
- The ID of the compartment in which to list resources.
- Filters
[]GetAccess Policies Filter 
- 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 String
- The ID of the compartment in which to list resources.
- filters
List<GetAccess Policies Filter> 
- 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 string
- The ID of the compartment in which to list resources.
- filters
GetAccess Policies Filter[] 
- 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 str
- The ID of the compartment in which to list resources.
- filters
Sequence[GetAccess Policies Filter] 
- 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 String
- The ID of the compartment in which to list resources.
- filters 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:
- AccessPolicy List<GetCollections Access Policies Access Policy Collection> 
- The list of access_policy_collection.
- CompartmentId string
- The OCID of the compartment.
- Filters
List<GetAccess Policies Filter> 
- 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.
- AccessPolicy []GetCollections Access Policies Access Policy Collection 
- The list of access_policy_collection.
- CompartmentId string
- The OCID of the compartment.
- Filters
[]GetAccess Policies Filter 
- 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.
- accessPolicy List<GetCollections Access Policies Access Policy Collection> 
- The list of access_policy_collection.
- compartmentId String
- The OCID of the compartment.
- filters
List<GetAccess Policies Filter> 
- 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.
- accessPolicy GetCollections Access Policies Access Policy Collection[] 
- The list of access_policy_collection.
- compartmentId string
- The OCID of the compartment.
- filters
GetAccess Policies Filter[] 
- 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_ Sequence[Getcollections Access Policies Access Policy Collection] 
- The list of access_policy_collection.
- compartment_id str
- The OCID of the compartment.
- filters
Sequence[GetAccess Policies Filter] 
- 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.
- accessPolicy List<Property Map>Collections 
- 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     
GetAccessPoliciesAccessPolicyCollectionItem      
- CompartmentId string
- The ID of the compartment in which to list resources.
- 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 AccessPolicy identifier.
- LifecycleDetails 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 string
- Unique Mesh identifier.
- Name string
- A filter to return only resources that match the entire name given.
- Rules
List<GetAccess Policies Access Policy Collection Item Rule> 
- List of applicable rules.
- State string
- A filter to return only resources that match the life cycle state given.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeCreated string
- The time when this resource was created in an RFC3339 formatted datetime string.
- TimeUpdated string
- The time when this resource was updated in an RFC3339 formatted datetime string.
- CompartmentId string
- The ID of the compartment in which to list resources.
- 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 AccessPolicy identifier.
- LifecycleDetails 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 string
- Unique Mesh identifier.
- Name string
- A filter to return only resources that match the entire name given.
- Rules
[]GetAccess Policies Access Policy Collection Item Rule 
- List of applicable rules.
- State string
- A filter to return only resources that match the life cycle state given.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeCreated string
- The time when this resource was created in an RFC3339 formatted datetime string.
- TimeUpdated string
- The time when this resource was updated in an RFC3339 formatted datetime string.
- compartmentId String
- The ID of the compartment in which to list resources.
- 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 AccessPolicy identifier.
- lifecycleDetails 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 String
- Unique Mesh identifier.
- name String
- A filter to return only resources that match the entire name given.
- rules
List<GetAccess Policies Access Policy Collection Item Rule> 
- List of applicable rules.
- state String
- A filter to return only resources that match the life cycle state given.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated String
- The time when this resource was created in an RFC3339 formatted datetime string.
- timeUpdated String
- The time when this resource was updated in an RFC3339 formatted datetime string.
- compartmentId string
- The ID of the compartment in which to list resources.
- {[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 AccessPolicy identifier.
- lifecycleDetails 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 string
- Unique Mesh identifier.
- name string
- A filter to return only resources that match the entire name given.
- rules
GetAccess Policies Access Policy Collection Item Rule[] 
- List of applicable rules.
- state string
- A filter to return only resources that match the life cycle state given.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated string
- The time when this resource was created in an RFC3339 formatted datetime string.
- timeUpdated string
- The time when this resource was updated in an RFC3339 formatted datetime string.
- compartment_id str
- The ID of the compartment in which to list resources.
- 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 AccessPolicy identifier.
- 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.
- mesh_id str
- Unique Mesh identifier.
- name str
- A filter to return only resources that match the entire name given.
- rules
Sequence[GetAccess Policies Access Policy Collection Item Rule] 
- List of applicable rules.
- state str
- A filter to return only resources that match the life cycle state given.
- 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.
- compartmentId String
- The ID of the compartment in which to list resources.
- 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 AccessPolicy identifier.
- lifecycleDetails 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 String
- Unique Mesh identifier.
- name String
- A filter to return only resources that match the entire name given.
- rules List<Property Map>
- List of applicable rules.
- state String
- A filter to return only resources that match the life cycle state given.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated String
- The time when this resource was created in an RFC3339 formatted datetime string.
- timeUpdated String
- The time when this resource was updated in an RFC3339 formatted datetime string.
GetAccessPoliciesAccessPolicyCollectionItemRule       
- Action string
- Action for the traffic between the source and the destination.
- Destinations
List<GetAccess Policies Access Policy Collection Item Rule Destination> 
- Target of the access policy. This can either be the source or the destination of the traffic.
- Sources
List<GetAccess Policies Access Policy Collection Item Rule Source> 
- Target of the access policy. This can either be the source or the destination of the traffic.
- Action string
- Action for the traffic between the source and the destination.
- Destinations
[]GetAccess Policies Access Policy Collection Item Rule Destination 
- Target of the access policy. This can either be the source or the destination of the traffic.
- Sources
[]GetAccess Policies Access Policy Collection Item Rule Source 
- Target of the access policy. This can either be the source or the destination of the traffic.
- action String
- Action for the traffic between the source and the destination.
- destinations
List<GetAccess Policies Access Policy Collection Item Rule Destination> 
- Target of the access policy. This can either be the source or the destination of the traffic.
- sources
List<GetAccess Policies Access Policy Collection Item Rule Source> 
- Target of the access policy. This can either be the source or the destination of the traffic.
- action string
- Action for the traffic between the source and the destination.
- destinations
GetAccess Policies Access Policy Collection Item Rule Destination[] 
- Target of the access policy. This can either be the source or the destination of the traffic.
- sources
GetAccess Policies Access Policy Collection Item Rule Source[] 
- Target of the access policy. This can either be the source or the destination of the traffic.
- action str
- Action for the traffic between the source and the destination.
- destinations
Sequence[GetAccess Policies Access Policy Collection Item Rule Destination] 
- Target of the access policy. This can either be the source or the destination of the traffic.
- sources
Sequence[GetAccess Policies Access Policy Collection Item Rule Source] 
- Target of the access policy. This can either be the source or the destination of the traffic.
- action String
- Action for the traffic between the source and the destination.
- destinations List<Property Map>
- Target of the access policy. This can either be the source or the destination of the traffic.
- sources List<Property Map>
- Target of the access policy. This can either be the source or the destination of the traffic.
GetAccessPoliciesAccessPolicyCollectionItemRuleDestination        
- Hostnames 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.
- IngressGateway stringId 
- The OCID of the ingress gateway resource.
- IpAddresses 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 List<int>
- Ports exposed by an external service. If left empty all ports will be allowed.
- Protocol string
- Protocol of the external service
- Type string
- Traffic type of the target.
- VirtualService stringId 
- The OCID of the virtual service resource.
- Hostnames []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.
- IngressGateway stringId 
- The OCID of the ingress gateway resource.
- IpAddresses []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 []int
- Ports exposed by an external service. If left empty all ports will be allowed.
- Protocol string
- Protocol of the external service
- Type string
- Traffic type of the target.
- VirtualService stringId 
- The OCID of the virtual service resource.
- hostnames 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.
- ingressGateway StringId 
- The OCID of the ingress gateway resource.
- ipAddresses 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 List<Integer>
- Ports exposed by an external service. If left empty all ports will be allowed.
- protocol String
- Protocol of the external service
- type String
- Traffic type of the target.
- virtualService StringId 
- The OCID of the virtual service resource.
- hostnames 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.
- ingressGateway stringId 
- The OCID of the ingress gateway resource.
- ipAddresses 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 number[]
- Ports exposed by an external service. If left empty all ports will be allowed.
- protocol string
- Protocol of the external service
- type string
- Traffic type of the target.
- virtualService stringId 
- The OCID of the virtual service resource.
- hostnames 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_ strid 
- The OCID of the ingress gateway resource.
- ip_addresses 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 Sequence[int]
- Ports exposed by an external service. If left empty all ports will be allowed.
- protocol str
- Protocol of the external service
- type str
- Traffic type of the target.
- virtual_service_ strid 
- The OCID of the virtual service resource.
- hostnames 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.
- ingressGateway StringId 
- The OCID of the ingress gateway resource.
- ipAddresses 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 List<Number>
- Ports exposed by an external service. If left empty all ports will be allowed.
- protocol String
- Protocol of the external service
- type String
- Traffic type of the target.
- virtualService StringId 
- The OCID of the virtual service resource.
GetAccessPoliciesAccessPolicyCollectionItemRuleSource        
- Hostnames 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.
- IngressGateway stringId 
- The OCID of the ingress gateway resource.
- IpAddresses 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 List<int>
- Ports exposed by an external service. If left empty all ports will be allowed.
- Protocol string
- Protocol of the external service
- Type string
- Traffic type of the target.
- VirtualService stringId 
- The OCID of the virtual service resource.
- Hostnames []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.
- IngressGateway stringId 
- The OCID of the ingress gateway resource.
- IpAddresses []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 []int
- Ports exposed by an external service. If left empty all ports will be allowed.
- Protocol string
- Protocol of the external service
- Type string
- Traffic type of the target.
- VirtualService stringId 
- The OCID of the virtual service resource.
- hostnames 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.
- ingressGateway StringId 
- The OCID of the ingress gateway resource.
- ipAddresses 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 List<Integer>
- Ports exposed by an external service. If left empty all ports will be allowed.
- protocol String
- Protocol of the external service
- type String
- Traffic type of the target.
- virtualService StringId 
- The OCID of the virtual service resource.
- hostnames 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.
- ingressGateway stringId 
- The OCID of the ingress gateway resource.
- ipAddresses 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 number[]
- Ports exposed by an external service. If left empty all ports will be allowed.
- protocol string
- Protocol of the external service
- type string
- Traffic type of the target.
- virtualService stringId 
- The OCID of the virtual service resource.
- hostnames 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_ strid 
- The OCID of the ingress gateway resource.
- ip_addresses 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 Sequence[int]
- Ports exposed by an external service. If left empty all ports will be allowed.
- protocol str
- Protocol of the external service
- type str
- Traffic type of the target.
- virtual_service_ strid 
- The OCID of the virtual service resource.
- hostnames 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.
- ingressGateway StringId 
- The OCID of the ingress gateway resource.
- ipAddresses 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 List<Number>
- Ports exposed by an external service. If left empty all ports will be allowed.
- protocol String
- Protocol of the external service
- type String
- Traffic type of the target.
- virtualService StringId 
- The OCID of the virtual service resource.
GetAccessPoliciesFilter   
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.