1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. ServiceMesh
  5. getAccessPolicies
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

oci.ServiceMesh.getAccessPolicies

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 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: _var.compartment_id,
        id: _var.access_policy_id,
        meshId: oci_service_mesh_mesh.test_mesh.id,
        name: _var.access_policy_name,
        state: _var.access_policy_state,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_access_policies = oci.ServiceMesh.get_access_policies(compartment_id=var["compartment_id"],
        id=var["access_policy_id"],
        mesh_id=oci_service_mesh_mesh["test_mesh"]["id"],
        name=var["access_policy_name"],
        state=var["access_policy_state"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/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: _var.Compartment_id,
    			Id:            pulumi.StringRef(_var.Access_policy_id),
    			MeshId:        pulumi.StringRef(oci_service_mesh_mesh.Test_mesh.Id),
    			Name:          pulumi.StringRef(_var.Access_policy_name),
    			State:         pulumi.StringRef(_var.Access_policy_state),
    		}, 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 = @var.Compartment_id,
            Id = @var.Access_policy_id,
            MeshId = oci_service_mesh_mesh.Test_mesh.Id,
            Name = @var.Access_policy_name,
            State = @var.Access_policy_state,
        });
    
    });
    
    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(var_.compartment_id())
                .id(var_.access_policy_id())
                .meshId(oci_service_mesh_mesh.test_mesh().id())
                .name(var_.access_policy_name())
                .state(var_.access_policy_state())
                .build());
    
        }
    }
    
    variables:
      testAccessPolicies:
        fn::invoke:
          Function: oci:ServiceMesh:getAccessPolicies
          Arguments:
            compartmentId: ${var.compartment_id}
            id: ${var.access_policy_id}
            meshId: ${oci_service_mesh_mesh.test_mesh.id}
            name: ${var.access_policy_name}
            state: ${var.access_policy_state}
    

    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[_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]
    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:ServiceMesh/getAccessPolicies:getAccessPolicies
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The ID of the compartment in which to list resources.
    Filters 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 string
    The ID of the compartment in which to list resources.
    Filters []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 String
    The ID of the compartment in which to list resources.
    filters 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 string
    The ID of the compartment in which to list resources.
    filters 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 str
    The ID of the compartment in which to list resources.
    filters 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 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:

    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

    GetAccessPoliciesAccessPolicyCollectionItem

    CompartmentId string
    The ID of the compartment in which to list resources.
    DefinedTags Dictionary<string, object>
    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
    FreeformTags Dictionary<string, object>
    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<GetAccessPoliciesAccessPolicyCollectionItemRule>
    List of applicable rules.
    State string
    A filter to return only resources that match the life cycle state given.
    SystemTags Dictionary<string, object>
    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.
    DefinedTags map[string]interface{}
    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
    FreeformTags map[string]interface{}
    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 []GetAccessPoliciesAccessPolicyCollectionItemRule
    List of applicable rules.
    State string
    A filter to return only resources that match the life cycle state given.
    SystemTags map[string]interface{}
    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.
    definedTags Map<String,Object>
    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
    freeformTags Map<String,Object>
    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<GetAccessPoliciesAccessPolicyCollectionItemRule>
    List of applicable rules.
    state String
    A filter to return only resources that match the life cycle state given.
    systemTags Map<String,Object>
    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.
    definedTags {[key: string]: any}
    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
    freeformTags {[key: string]: any}
    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 GetAccessPoliciesAccessPolicyCollectionItemRule[]
    List of applicable rules.
    state string
    A filter to return only resources that match the life cycle state given.
    systemTags {[key: string]: any}
    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.
    defined_tags Mapping[str, Any]
    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
    freeform_tags Mapping[str, Any]
    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[servicemesh.GetAccessPoliciesAccessPolicyCollectionItemRule]
    List of applicable rules.
    state str
    A filter to return only resources that match the life cycle state given.
    system_tags Mapping[str, Any]
    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.
    definedTags Map<Any>
    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
    freeformTags Map<Any>
    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.
    systemTags Map<Any>
    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<GetAccessPoliciesAccessPolicyCollectionItemRuleDestination>
    Target of the access policy. This can either be the source or the destination of the traffic.
    Sources List<GetAccessPoliciesAccessPolicyCollectionItemRuleSource>
    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 []GetAccessPoliciesAccessPolicyCollectionItemRuleDestination
    Target of the access policy. This can either be the source or the destination of the traffic.
    Sources []GetAccessPoliciesAccessPolicyCollectionItemRuleSource
    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<GetAccessPoliciesAccessPolicyCollectionItemRuleDestination>
    Target of the access policy. This can either be the source or the destination of the traffic.
    sources List<GetAccessPoliciesAccessPolicyCollectionItemRuleSource>
    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 GetAccessPoliciesAccessPolicyCollectionItemRuleDestination[]
    Target of the access policy. This can either be the source or the destination of the traffic.
    sources GetAccessPoliciesAccessPolicyCollectionItemRuleSource[]
    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[servicemesh.GetAccessPoliciesAccessPolicyCollectionItemRuleDestination]
    Target of the access policy. This can either be the source or the destination of the traffic.
    sources Sequence[servicemesh.GetAccessPoliciesAccessPolicyCollectionItemRuleSource]
    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.
    IngressGatewayId string
    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.
    VirtualServiceId string
    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.
    IngressGatewayId string
    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.
    VirtualServiceId string
    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.
    ingressGatewayId String
    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.
    virtualServiceId String
    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.
    ingressGatewayId string
    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.
    virtualServiceId string
    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_id str
    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_id str
    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.
    ingressGatewayId String
    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.
    virtualServiceId String
    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.
    IngressGatewayId string
    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.
    VirtualServiceId string
    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.
    IngressGatewayId string
    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.
    VirtualServiceId string
    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.
    ingressGatewayId String
    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.
    virtualServiceId String
    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.
    ingressGatewayId string
    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.
    virtualServiceId string
    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_id str
    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_id str
    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.
    ingressGatewayId String
    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.
    virtualServiceId String
    The OCID of the virtual service resource.

    GetAccessPoliciesFilter

    Name string
    A filter to return only resources that match the entire name given.
    Values List<string>
    Regex bool
    Name string
    A filter to return only resources that match the entire name given.
    Values []string
    Regex bool
    name String
    A filter to return only resources that match the entire name given.
    values List<String>
    regex Boolean
    name string
    A filter to return only resources that match the entire name given.
    values string[]
    regex boolean
    name str
    A filter to return only resources that match the entire name given.
    values Sequence[str]
    regex bool
    name String
    A filter to return only resources that match the entire name given.
    values 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.
    oci logo
    Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi