Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 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[_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)
public static Output<GetAccessPoliciesResult> getAccessPolicies(GetAccessPoliciesArgs args, InvokeOptions options)
fn::invoke:
function: oci:ServiceMesh/getAccessPolicies:getAccessPolicies
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id This property is required. string - The ID of the compartment in which to list resources.
- Filters
Changes to this property will trigger replacement.
Access Policies Filter> - Id string
- Unique AccessPolicy identifier.
- Mesh
Id 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. string - The ID of the compartment in which to list resources.
- Filters
Changes to this property will trigger replacement.
Access Policies Filter - Id string
- Unique AccessPolicy identifier.
- Mesh
Id 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. String - The ID of the compartment in which to list resources.
- filters
Changes to this property will trigger replacement.
Access Policies Filter> - id String
- Unique AccessPolicy identifier.
- mesh
Id 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. string - The ID of the compartment in which to list resources.
- filters
Changes to this property will trigger replacement.
Access Policies Filter[] - id string
- Unique AccessPolicy identifier.
- mesh
Id 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.
Get Access 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.
- compartment
Id This property is required. String - The ID of the compartment in which to list resources.
- filters
Changes to this property will trigger replacement.
- id String
- Unique AccessPolicy identifier.
- mesh
Id 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:
- Access
Policy List<GetCollections Access Policies Access Policy Collection> - The list of access_policy_collection.
- Compartment
Id string - The OCID of the compartment.
- Filters
List<Get
Access Policies Filter> - Id string
- Unique identifier that is immutable on creation.
- Mesh
Id 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 []GetCollections Access Policies Access Policy Collection - The list of access_policy_collection.
- Compartment
Id string - The OCID of the compartment.
- Filters
[]Get
Access Policies Filter - Id string
- Unique identifier that is immutable on creation.
- Mesh
Id 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 List<GetCollections Access Policies Access Policy Collection> - The list of access_policy_collection.
- compartment
Id String - The OCID of the compartment.
- filters
List<Get
Access Policies Filter> - id String
- Unique identifier that is immutable on creation.
- mesh
Id 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 GetCollections Access Policies Access Policy Collection[] - The list of access_policy_collection.
- compartment
Id string - The OCID of the compartment.
- filters
Get
Access Policies Filter[] - id string
- Unique identifier that is immutable on creation.
- mesh
Id 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[servicemesh.collections Get Access Policies Access Policy Collection] - The list of access_policy_collection.
- compartment_
id str - The OCID of the compartment.
- filters
Sequence[servicemesh.
Get Access 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.
- access
Policy List<Property Map>Collections - The list of access_policy_collection.
- compartment
Id String - The OCID of the compartment.
- filters List<Property Map>
- id String
- Unique identifier that is immutable on creation.
- mesh
Id 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<GetAccess Policies Access Policy Collection Item>
- Items
This property is required. []GetAccess Policies Access Policy Collection Item
- items
This property is required. List<GetAccess Policies Access Policy Collection Item>
- items
This property is required. GetAccess Policies Access Policy Collection Item[]
- items
This property is required. Sequence[servicemesh.Get Access Policies Access Policy Collection Item]
- items
This property is required. List<Property Map>
GetAccessPoliciesAccessPolicyCollectionItem
- Compartment
Id This property is required. string - The ID of the compartment in which to list resources.
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
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.
- Lifecycle
Details 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.
- Mesh
Id 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<GetAccess Policies Access Policy Collection Item Rule> - List of applicable rules.
- State
This property is required. string - A filter to return only resources that match the life cycle state given.
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"}
- Time
Created This property is required. string - The time when this resource was created in an RFC3339 formatted datetime string.
- Time
Updated This property is required. string - The time when this resource was updated in an RFC3339 formatted datetime string.
- Compartment
Id This property is required. string - The ID of the compartment in which to list resources.
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
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.
- Lifecycle
Details 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.
- Mesh
Id 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. []GetAccess Policies Access Policy Collection Item Rule - List of applicable rules.
- State
This property is required. string - A filter to return only resources that match the life cycle state given.
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"}
- Time
Created This property is required. string - The time when this resource was created in an RFC3339 formatted datetime string.
- Time
Updated This property is required. string - The time when this resource was updated in an RFC3339 formatted datetime string.
- compartment
Id This property is required. String - The ID of the compartment in which to list resources.
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
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.
- lifecycle
Details 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.
- mesh
Id 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<GetAccess Policies Access Policy Collection Item Rule> - List of applicable rules.
- state
This property is required. String - A filter to return only resources that match the life cycle state given.
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"}
- time
Created This property is required. String - The time when this resource was created in an RFC3339 formatted datetime string.
- time
Updated This property is required. String - The time when this resource was updated in an RFC3339 formatted datetime string.
- compartment
Id This property is required. string - The ID of the compartment in which to list resources.
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
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.
- lifecycle
Details 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.
- mesh
Id 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. GetAccess Policies Access Policy Collection Item Rule[] - List of applicable rules.
- state
This property is required. string - A filter to return only resources that match the life cycle state given.
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"}
- time
Created This property is required. string - The time when this resource was created in an RFC3339 formatted datetime string.
- time
Updated 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.
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
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.Get Access Policies Access Policy Collection Item Rule] - List of applicable rules.
- state
This property is required. str - A filter to return only resources that match the life cycle state given.
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.
- compartment
Id This property is required. String - The ID of the compartment in which to list resources.
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
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.
- lifecycle
Details 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.
- mesh
Id 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.
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"}
- time
Created This property is required. String - The time when this resource was created in an RFC3339 formatted datetime string.
- time
Updated 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<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
This property is required. 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
This property is required. string - Action for the traffic between the source and the destination.
- Destinations
This property is required. []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
This property is required. []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
This property is required. String - Action for the traffic between the source and the destination.
- destinations
This property is required. 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
This property is required. 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
This property is required. string - Action for the traffic between the source and the destination.
- destinations
This property is required. 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
This property is required. 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
This property is required. str - Action for the traffic between the source and the destination.
- destinations
This property is required. Sequence[servicemesh.Get Access 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
This property is required. Sequence[servicemesh.Get Access 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
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.
- Ingress
Gateway Id This property is required. string - The OCID of the ingress gateway resource.
- Ip
Addresses 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.
- Virtual
Service Id 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.
- Ingress
Gateway Id This property is required. string - The OCID of the ingress gateway resource.
- Ip
Addresses 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.
- Virtual
Service Id 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.
- ingress
Gateway Id This property is required. String - The OCID of the ingress gateway resource.
- ip
Addresses 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.
- virtual
Service Id 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.
- ingress
Gateway Id This property is required. string - The OCID of the ingress gateway resource.
- ip
Addresses 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.
- virtual
Service Id 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.
- ingress
Gateway Id This property is required. String - The OCID of the ingress gateway resource.
- ip
Addresses 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.
- virtual
Service Id 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.
- Ingress
Gateway Id This property is required. string - The OCID of the ingress gateway resource.
- Ip
Addresses 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.
- Virtual
Service Id 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.
- Ingress
Gateway Id This property is required. string - The OCID of the ingress gateway resource.
- Ip
Addresses 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.
- Virtual
Service Id 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.
- ingress
Gateway Id This property is required. String - The OCID of the ingress gateway resource.
- ip
Addresses 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.
- virtual
Service Id 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.
- ingress
Gateway Id This property is required. string - The OCID of the ingress gateway resource.
- ip
Addresses 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.
- virtual
Service Id 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.
- ingress
Gateway Id This property is required. String - The OCID of the ingress gateway resource.
- ip
Addresses 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.
- virtual
Service Id This property is required. String - 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
oci
Terraform Provider.