Oracle Cloud Infrastructure v3.9.0 published on Wednesday, Sep 24, 2025 by Pulumi
oci.Core.getSecurityLists
This data source provides the list of Security Lists in Oracle Cloud Infrastructure Core service.
Lists the security lists in the specified VCN and compartment. If the VCN ID is not provided, then the list includes the security lists from all VCNs in the specified compartment.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testSecurityLists = oci.Core.getSecurityLists({
    compartmentId: compartmentId,
    displayName: securityListDisplayName,
    state: securityListState,
    vcnId: testVcn.id,
});
import pulumi
import pulumi_oci as oci
test_security_lists = oci.Core.get_security_lists(compartment_id=compartment_id,
    display_name=security_list_display_name,
    state=security_list_state,
    vcn_id=test_vcn["id"])
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/core"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := core.GetSecurityLists(ctx, &core.GetSecurityListsArgs{
			CompartmentId: compartmentId,
			DisplayName:   pulumi.StringRef(securityListDisplayName),
			State:         pulumi.StringRef(securityListState),
			VcnId:         pulumi.StringRef(testVcn.Id),
		}, 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 testSecurityLists = Oci.Core.GetSecurityLists.Invoke(new()
    {
        CompartmentId = compartmentId,
        DisplayName = securityListDisplayName,
        State = securityListState,
        VcnId = testVcn.Id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Core.CoreFunctions;
import com.pulumi.oci.Core.inputs.GetSecurityListsArgs;
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 testSecurityLists = CoreFunctions.getSecurityLists(GetSecurityListsArgs.builder()
            .compartmentId(compartmentId)
            .displayName(securityListDisplayName)
            .state(securityListState)
            .vcnId(testVcn.id())
            .build());
    }
}
variables:
  testSecurityLists:
    fn::invoke:
      function: oci:Core:getSecurityLists
      arguments:
        compartmentId: ${compartmentId}
        displayName: ${securityListDisplayName}
        state: ${securityListState}
        vcnId: ${testVcn.id}
Using getSecurityLists
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 getSecurityLists(args: GetSecurityListsArgs, opts?: InvokeOptions): Promise<GetSecurityListsResult>
function getSecurityListsOutput(args: GetSecurityListsOutputArgs, opts?: InvokeOptions): Output<GetSecurityListsResult>def get_security_lists(compartment_id: Optional[str] = None,
                       display_name: Optional[str] = None,
                       filters: Optional[Sequence[GetSecurityListsFilter]] = None,
                       state: Optional[str] = None,
                       vcn_id: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetSecurityListsResult
def get_security_lists_output(compartment_id: Optional[pulumi.Input[str]] = None,
                       display_name: Optional[pulumi.Input[str]] = None,
                       filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetSecurityListsFilterArgs]]]] = None,
                       state: Optional[pulumi.Input[str]] = None,
                       vcn_id: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetSecurityListsResult]func GetSecurityLists(ctx *Context, args *GetSecurityListsArgs, opts ...InvokeOption) (*GetSecurityListsResult, error)
func GetSecurityListsOutput(ctx *Context, args *GetSecurityListsOutputArgs, opts ...InvokeOption) GetSecurityListsResultOutput> Note: This function is named GetSecurityLists in the Go SDK.
public static class GetSecurityLists 
{
    public static Task<GetSecurityListsResult> InvokeAsync(GetSecurityListsArgs args, InvokeOptions? opts = null)
    public static Output<GetSecurityListsResult> Invoke(GetSecurityListsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSecurityListsResult> getSecurityLists(GetSecurityListsArgs args, InvokeOptions options)
public static Output<GetSecurityListsResult> getSecurityLists(GetSecurityListsArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Core/getSecurityLists:getSecurityLists
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CompartmentId string
- The OCID of the compartment.
- DisplayName string
- A filter to return only resources that match the given display name exactly.
- Filters
List<GetSecurity Lists Filter> 
- State string
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
- VcnId string
- The OCID of the VCN.
- CompartmentId string
- The OCID of the compartment.
- DisplayName string
- A filter to return only resources that match the given display name exactly.
- Filters
[]GetSecurity Lists Filter 
- State string
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
- VcnId string
- The OCID of the VCN.
- compartmentId String
- The OCID of the compartment.
- displayName String
- A filter to return only resources that match the given display name exactly.
- filters
List<GetSecurity Lists Filter> 
- state String
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
- vcnId String
- The OCID of the VCN.
- compartmentId string
- The OCID of the compartment.
- displayName string
- A filter to return only resources that match the given display name exactly.
- filters
GetSecurity Lists Filter[] 
- state string
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
- vcnId string
- The OCID of the VCN.
- compartment_id str
- The OCID of the compartment.
- display_name str
- A filter to return only resources that match the given display name exactly.
- filters
Sequence[GetSecurity Lists Filter] 
- state str
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
- vcn_id str
- The OCID of the VCN.
- compartmentId String
- The OCID of the compartment.
- displayName String
- A filter to return only resources that match the given display name exactly.
- filters List<Property Map>
- state String
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
- vcnId String
- The OCID of the VCN.
getSecurityLists Result
The following output properties are available:
- CompartmentId string
- The OCID of the compartment containing the security list.
- Id string
- The provider-assigned unique ID for this managed resource.
- SecurityLists List<GetSecurity Lists Security List> 
- The list of security_lists.
- DisplayName string
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Filters
List<GetSecurity Lists Filter> 
- State string
- The security list's current state.
- VcnId string
- The OCID of the VCN the security list belongs to.
- CompartmentId string
- The OCID of the compartment containing the security list.
- Id string
- The provider-assigned unique ID for this managed resource.
- SecurityLists []GetSecurity Lists Security List 
- The list of security_lists.
- DisplayName string
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Filters
[]GetSecurity Lists Filter 
- State string
- The security list's current state.
- VcnId string
- The OCID of the VCN the security list belongs to.
- compartmentId String
- The OCID of the compartment containing the security list.
- id String
- The provider-assigned unique ID for this managed resource.
- securityLists List<GetSecurity Lists Security List> 
- The list of security_lists.
- displayName String
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- filters
List<GetSecurity Lists Filter> 
- state String
- The security list's current state.
- vcnId String
- The OCID of the VCN the security list belongs to.
- compartmentId string
- The OCID of the compartment containing the security list.
- id string
- The provider-assigned unique ID for this managed resource.
- securityLists GetSecurity Lists Security List[] 
- The list of security_lists.
- displayName string
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- filters
GetSecurity Lists Filter[] 
- state string
- The security list's current state.
- vcnId string
- The OCID of the VCN the security list belongs to.
- compartment_id str
- The OCID of the compartment containing the security list.
- id str
- The provider-assigned unique ID for this managed resource.
- security_lists Sequence[GetSecurity Lists Security List] 
- The list of security_lists.
- display_name str
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- filters
Sequence[GetSecurity Lists Filter] 
- state str
- The security list's current state.
- vcn_id str
- The OCID of the VCN the security list belongs to.
- compartmentId String
- The OCID of the compartment containing the security list.
- id String
- The provider-assigned unique ID for this managed resource.
- securityLists List<Property Map>
- The list of security_lists.
- displayName String
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- filters List<Property Map>
- state String
- The security list's current state.
- vcnId String
- The OCID of the VCN the security list belongs to.
Supporting Types
GetSecurityListsFilter   
GetSecurityListsSecurityList    
- CompartmentId string
- The OCID of the compartment.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- DisplayName string
- A filter to return only resources that match the given display name exactly.
- EgressSecurity List<GetRules Security Lists Security List Egress Security Rule> 
- Rules for allowing egress IP packets.
- Dictionary<string, string>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- Id string
- The security list's Oracle Cloud ID (OCID).
- IngressSecurity List<GetRules Security Lists Security List Ingress Security Rule> 
- Rules for allowing ingress IP packets.
- State string
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
- TimeCreated string
- The date and time the security list was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
- VcnId string
- The OCID of the VCN.
- CompartmentId string
- The OCID of the compartment.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- DisplayName string
- A filter to return only resources that match the given display name exactly.
- EgressSecurity []GetRules Security Lists Security List Egress Security Rule 
- Rules for allowing egress IP packets.
- map[string]string
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- Id string
- The security list's Oracle Cloud ID (OCID).
- IngressSecurity []GetRules Security Lists Security List Ingress Security Rule 
- Rules for allowing ingress IP packets.
- State string
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
- TimeCreated string
- The date and time the security list was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
- VcnId string
- The OCID of the VCN.
- compartmentId String
- The OCID of the compartment.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- displayName String
- A filter to return only resources that match the given display name exactly.
- egressSecurity List<GetRules Security Lists Security List Egress Security Rule> 
- Rules for allowing egress IP packets.
- Map<String,String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- id String
- The security list's Oracle Cloud ID (OCID).
- ingressSecurity List<GetRules Security Lists Security List Ingress Security Rule> 
- Rules for allowing ingress IP packets.
- state String
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
- timeCreated String
- The date and time the security list was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
- vcnId String
- The OCID of the VCN.
- compartmentId string
- The OCID of the compartment.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- displayName string
- A filter to return only resources that match the given display name exactly.
- egressSecurity GetRules Security Lists Security List Egress Security Rule[] 
- Rules for allowing egress IP packets.
- {[key: string]: string}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- id string
- The security list's Oracle Cloud ID (OCID).
- ingressSecurity GetRules Security Lists Security List Ingress Security Rule[] 
- Rules for allowing ingress IP packets.
- state string
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
- timeCreated string
- The date and time the security list was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
- vcnId string
- The OCID of the VCN.
- compartment_id str
- The OCID of the compartment.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- display_name str
- A filter to return only resources that match the given display name exactly.
- egress_security_ Sequence[Getrules Security Lists Security List Egress Security Rule] 
- Rules for allowing egress IP packets.
- Mapping[str, str]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- id str
- The security list's Oracle Cloud ID (OCID).
- ingress_security_ Sequence[Getrules Security Lists Security List Ingress Security Rule] 
- Rules for allowing ingress IP packets.
- state str
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
- time_created str
- The date and time the security list was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
- vcn_id str
- The OCID of the VCN.
- compartmentId String
- The OCID of the compartment.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- displayName String
- A filter to return only resources that match the given display name exactly.
- egressSecurity List<Property Map>Rules 
- Rules for allowing egress IP packets.
- Map<String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- id String
- The security list's Oracle Cloud ID (OCID).
- ingressSecurity List<Property Map>Rules 
- Rules for allowing ingress IP packets.
- state String
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
- timeCreated String
- The date and time the security list was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
- vcnId String
- The OCID of the VCN.
GetSecurityListsSecurityListEgressSecurityRule       
- Description string
- An optional description of your choice for the rule.
- Destination string
- Conceptually, this is the range of IP addresses that a packet originating from the instance can go to.
- DestinationType string
- Type of destination for the rule. The default is CIDR_BLOCK.
- IcmpOptions List<GetSecurity Lists Security List Egress Security Rule Icmp Option> 
- Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:
- Protocol string
- The transport protocol. Specify either allor an IPv4 protocol number as defined in Protocol Numbers. Options are supported only for ICMP ("1"), TCP ("6"), UDP ("17"), and ICMPv6 ("58").
- Stateless bool
- A stateless rule allows traffic in one direction. Remember to add a corresponding stateless rule in the other direction if you need to support bidirectional traffic. For example, if ingress traffic allows TCP destination port 80, there should be an egress rule to allow TCP source port 80. Defaults to false, which means the rule is stateful and a corresponding rule is not necessary for bidirectional traffic.
- TcpOptions List<GetSecurity Lists Security List Egress Security Rule Tcp Option> 
- Optional and valid only for TCP. Use to specify particular destination ports for TCP rules. If you specify TCP as the protocol but omit this object, then all destination ports are allowed.- The following 2 attributes specify an inclusive range of allowed destination ports. Use the same number for the min and max to indicate a single port. Defaults to all ports if not specified.
 
- UdpOptions List<GetSecurity Lists Security List Egress Security Rule Udp Option> 
- Optional and valid only for UDP. Use to specify particular destination ports for UDP rules. If you specify UDP as the protocol but omit this object, then all destination ports are allowed.- The following 2 attributes specify an inclusive range of allowed destination ports. Use the same number for the min and max to indicate a single port. Defaults to all ports if not specified.
 
- Description string
- An optional description of your choice for the rule.
- Destination string
- Conceptually, this is the range of IP addresses that a packet originating from the instance can go to.
- DestinationType string
- Type of destination for the rule. The default is CIDR_BLOCK.
- IcmpOptions []GetSecurity Lists Security List Egress Security Rule Icmp Option 
- Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:
- Protocol string
- The transport protocol. Specify either allor an IPv4 protocol number as defined in Protocol Numbers. Options are supported only for ICMP ("1"), TCP ("6"), UDP ("17"), and ICMPv6 ("58").
- Stateless bool
- A stateless rule allows traffic in one direction. Remember to add a corresponding stateless rule in the other direction if you need to support bidirectional traffic. For example, if ingress traffic allows TCP destination port 80, there should be an egress rule to allow TCP source port 80. Defaults to false, which means the rule is stateful and a corresponding rule is not necessary for bidirectional traffic.
- TcpOptions []GetSecurity Lists Security List Egress Security Rule Tcp Option 
- Optional and valid only for TCP. Use to specify particular destination ports for TCP rules. If you specify TCP as the protocol but omit this object, then all destination ports are allowed.- The following 2 attributes specify an inclusive range of allowed destination ports. Use the same number for the min and max to indicate a single port. Defaults to all ports if not specified.
 
- UdpOptions []GetSecurity Lists Security List Egress Security Rule Udp Option 
- Optional and valid only for UDP. Use to specify particular destination ports for UDP rules. If you specify UDP as the protocol but omit this object, then all destination ports are allowed.- The following 2 attributes specify an inclusive range of allowed destination ports. Use the same number for the min and max to indicate a single port. Defaults to all ports if not specified.
 
- description String
- An optional description of your choice for the rule.
- destination String
- Conceptually, this is the range of IP addresses that a packet originating from the instance can go to.
- destinationType String
- Type of destination for the rule. The default is CIDR_BLOCK.
- icmpOptions List<GetSecurity Lists Security List Egress Security Rule Icmp Option> 
- Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:
- protocol String
- The transport protocol. Specify either allor an IPv4 protocol number as defined in Protocol Numbers. Options are supported only for ICMP ("1"), TCP ("6"), UDP ("17"), and ICMPv6 ("58").
- stateless Boolean
- A stateless rule allows traffic in one direction. Remember to add a corresponding stateless rule in the other direction if you need to support bidirectional traffic. For example, if ingress traffic allows TCP destination port 80, there should be an egress rule to allow TCP source port 80. Defaults to false, which means the rule is stateful and a corresponding rule is not necessary for bidirectional traffic.
- tcpOptions List<GetSecurity Lists Security List Egress Security Rule Tcp Option> 
- Optional and valid only for TCP. Use to specify particular destination ports for TCP rules. If you specify TCP as the protocol but omit this object, then all destination ports are allowed.- The following 2 attributes specify an inclusive range of allowed destination ports. Use the same number for the min and max to indicate a single port. Defaults to all ports if not specified.
 
- udpOptions List<GetSecurity Lists Security List Egress Security Rule Udp Option> 
- Optional and valid only for UDP. Use to specify particular destination ports for UDP rules. If you specify UDP as the protocol but omit this object, then all destination ports are allowed.- The following 2 attributes specify an inclusive range of allowed destination ports. Use the same number for the min and max to indicate a single port. Defaults to all ports if not specified.
 
- description string
- An optional description of your choice for the rule.
- destination string
- Conceptually, this is the range of IP addresses that a packet originating from the instance can go to.
- destinationType string
- Type of destination for the rule. The default is CIDR_BLOCK.
- icmpOptions GetSecurity Lists Security List Egress Security Rule Icmp Option[] 
- Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:
- protocol string
- The transport protocol. Specify either allor an IPv4 protocol number as defined in Protocol Numbers. Options are supported only for ICMP ("1"), TCP ("6"), UDP ("17"), and ICMPv6 ("58").
- stateless boolean
- A stateless rule allows traffic in one direction. Remember to add a corresponding stateless rule in the other direction if you need to support bidirectional traffic. For example, if ingress traffic allows TCP destination port 80, there should be an egress rule to allow TCP source port 80. Defaults to false, which means the rule is stateful and a corresponding rule is not necessary for bidirectional traffic.
- tcpOptions GetSecurity Lists Security List Egress Security Rule Tcp Option[] 
- Optional and valid only for TCP. Use to specify particular destination ports for TCP rules. If you specify TCP as the protocol but omit this object, then all destination ports are allowed.- The following 2 attributes specify an inclusive range of allowed destination ports. Use the same number for the min and max to indicate a single port. Defaults to all ports if not specified.
 
- udpOptions GetSecurity Lists Security List Egress Security Rule Udp Option[] 
- Optional and valid only for UDP. Use to specify particular destination ports for UDP rules. If you specify UDP as the protocol but omit this object, then all destination ports are allowed.- The following 2 attributes specify an inclusive range of allowed destination ports. Use the same number for the min and max to indicate a single port. Defaults to all ports if not specified.
 
- description str
- An optional description of your choice for the rule.
- destination str
- Conceptually, this is the range of IP addresses that a packet originating from the instance can go to.
- destination_type str
- Type of destination for the rule. The default is CIDR_BLOCK.
- icmp_options Sequence[GetSecurity Lists Security List Egress Security Rule Icmp Option] 
- Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:
- protocol str
- The transport protocol. Specify either allor an IPv4 protocol number as defined in Protocol Numbers. Options are supported only for ICMP ("1"), TCP ("6"), UDP ("17"), and ICMPv6 ("58").
- stateless bool
- A stateless rule allows traffic in one direction. Remember to add a corresponding stateless rule in the other direction if you need to support bidirectional traffic. For example, if ingress traffic allows TCP destination port 80, there should be an egress rule to allow TCP source port 80. Defaults to false, which means the rule is stateful and a corresponding rule is not necessary for bidirectional traffic.
- tcp_options Sequence[GetSecurity Lists Security List Egress Security Rule Tcp Option] 
- Optional and valid only for TCP. Use to specify particular destination ports for TCP rules. If you specify TCP as the protocol but omit this object, then all destination ports are allowed.- The following 2 attributes specify an inclusive range of allowed destination ports. Use the same number for the min and max to indicate a single port. Defaults to all ports if not specified.
 
- udp_options Sequence[GetSecurity Lists Security List Egress Security Rule Udp Option] 
- Optional and valid only for UDP. Use to specify particular destination ports for UDP rules. If you specify UDP as the protocol but omit this object, then all destination ports are allowed.- The following 2 attributes specify an inclusive range of allowed destination ports. Use the same number for the min and max to indicate a single port. Defaults to all ports if not specified.
 
- description String
- An optional description of your choice for the rule.
- destination String
- Conceptually, this is the range of IP addresses that a packet originating from the instance can go to.
- destinationType String
- Type of destination for the rule. The default is CIDR_BLOCK.
- icmpOptions List<Property Map>
- Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:
- protocol String
- The transport protocol. Specify either allor an IPv4 protocol number as defined in Protocol Numbers. Options are supported only for ICMP ("1"), TCP ("6"), UDP ("17"), and ICMPv6 ("58").
- stateless Boolean
- A stateless rule allows traffic in one direction. Remember to add a corresponding stateless rule in the other direction if you need to support bidirectional traffic. For example, if ingress traffic allows TCP destination port 80, there should be an egress rule to allow TCP source port 80. Defaults to false, which means the rule is stateful and a corresponding rule is not necessary for bidirectional traffic.
- tcpOptions List<Property Map>
- Optional and valid only for TCP. Use to specify particular destination ports for TCP rules. If you specify TCP as the protocol but omit this object, then all destination ports are allowed.- The following 2 attributes specify an inclusive range of allowed destination ports. Use the same number for the min and max to indicate a single port. Defaults to all ports if not specified.
 
- udpOptions List<Property Map>
- Optional and valid only for UDP. Use to specify particular destination ports for UDP rules. If you specify UDP as the protocol but omit this object, then all destination ports are allowed.- The following 2 attributes specify an inclusive range of allowed destination ports. Use the same number for the min and max to indicate a single port. Defaults to all ports if not specified.
 
GetSecurityListsSecurityListEgressSecurityRuleIcmpOption         
GetSecurityListsSecurityListEgressSecurityRuleTcpOption         
- Max int
- The maximum port number. Must not be lower than the minimum port number. To specify a single port number, set both the min and max to the same value.
- Min int
- The minimum port number. Must not be greater than the maximum port number.
- SourcePort List<GetRanges Security Lists Security List Egress Security Rule Tcp Option Source Port Range> 
- Max int
- The maximum port number. Must not be lower than the minimum port number. To specify a single port number, set both the min and max to the same value.
- Min int
- The minimum port number. Must not be greater than the maximum port number.
- SourcePort []GetRanges Security Lists Security List Egress Security Rule Tcp Option Source Port Range 
- max Integer
- The maximum port number. Must not be lower than the minimum port number. To specify a single port number, set both the min and max to the same value.
- min Integer
- The minimum port number. Must not be greater than the maximum port number.
- sourcePort List<GetRanges Security Lists Security List Egress Security Rule Tcp Option Source Port Range> 
- max number
- The maximum port number. Must not be lower than the minimum port number. To specify a single port number, set both the min and max to the same value.
- min number
- The minimum port number. Must not be greater than the maximum port number.
- sourcePort GetRanges Security Lists Security List Egress Security Rule Tcp Option Source Port Range[] 
- max int
- The maximum port number. Must not be lower than the minimum port number. To specify a single port number, set both the min and max to the same value.
- min int
- The minimum port number. Must not be greater than the maximum port number.
- source_port_ Sequence[Getranges Security Lists Security List Egress Security Rule Tcp Option Source Port Range] 
- max Number
- The maximum port number. Must not be lower than the minimum port number. To specify a single port number, set both the min and max to the same value.
- min Number
- The minimum port number. Must not be greater than the maximum port number.
- sourcePort List<Property Map>Ranges 
GetSecurityListsSecurityListEgressSecurityRuleTcpOptionSourcePortRange            
GetSecurityListsSecurityListEgressSecurityRuleUdpOption         
- Max int
- The maximum port number. Must not be lower than the minimum port number. To specify a single port number, set both the min and max to the same value.
- Min int
- The minimum port number. Must not be greater than the maximum port number.
- SourcePort List<GetRanges Security Lists Security List Egress Security Rule Udp Option Source Port Range> 
- Max int
- The maximum port number. Must not be lower than the minimum port number. To specify a single port number, set both the min and max to the same value.
- Min int
- The minimum port number. Must not be greater than the maximum port number.
- SourcePort []GetRanges Security Lists Security List Egress Security Rule Udp Option Source Port Range 
- max Integer
- The maximum port number. Must not be lower than the minimum port number. To specify a single port number, set both the min and max to the same value.
- min Integer
- The minimum port number. Must not be greater than the maximum port number.
- sourcePort List<GetRanges Security Lists Security List Egress Security Rule Udp Option Source Port Range> 
- max number
- The maximum port number. Must not be lower than the minimum port number. To specify a single port number, set both the min and max to the same value.
- min number
- The minimum port number. Must not be greater than the maximum port number.
- sourcePort GetRanges Security Lists Security List Egress Security Rule Udp Option Source Port Range[] 
- max int
- The maximum port number. Must not be lower than the minimum port number. To specify a single port number, set both the min and max to the same value.
- min int
- The minimum port number. Must not be greater than the maximum port number.
- source_port_ Sequence[Getranges Security Lists Security List Egress Security Rule Udp Option Source Port Range] 
- max Number
- The maximum port number. Must not be lower than the minimum port number. To specify a single port number, set both the min and max to the same value.
- min Number
- The minimum port number. Must not be greater than the maximum port number.
- sourcePort List<Property Map>Ranges 
GetSecurityListsSecurityListEgressSecurityRuleUdpOptionSourcePortRange            
GetSecurityListsSecurityListIngressSecurityRule       
- Description string
- An optional description of your choice for the rule.
- IcmpOptions List<GetSecurity Lists Security List Ingress Security Rule Icmp Option> 
- Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:
- Protocol string
- The transport protocol. Specify either allor an IPv4 protocol number as defined in Protocol Numbers. Options are supported only for ICMP ("1"), TCP ("6"), UDP ("17"), and ICMPv6 ("58").
- Source string
- Conceptually, this is the range of IP addresses that a packet coming into the instance can come from.
- SourceType string
- Type of source for the rule. The default is CIDR_BLOCK.- CIDR_BLOCK: If the rule's- sourceis an IP address range in CIDR notation.
- SERVICE_CIDR_BLOCK: If the rule's- sourceis the- cidrBlockvalue for a Service (the rule is for traffic coming from a particular- Servicethrough a service gateway).
 
- Stateless bool
- A stateless rule allows traffic in one direction. Remember to add a corresponding stateless rule in the other direction if you need to support bidirectional traffic. For example, if ingress traffic allows TCP destination port 80, there should be an egress rule to allow TCP source port 80. Defaults to false, which means the rule is stateful and a corresponding rule is not necessary for bidirectional traffic.
- TcpOptions List<GetSecurity Lists Security List Ingress Security Rule Tcp Option> 
- Optional and valid only for TCP. Use to specify particular destination ports for TCP rules. If you specify TCP as the protocol but omit this object, then all destination ports are allowed.- The following 2 attributes specify an inclusive range of allowed destination ports. Use the same number for the min and max to indicate a single port. Defaults to all ports if not specified.
 
- UdpOptions List<GetSecurity Lists Security List Ingress Security Rule Udp Option> 
- Optional and valid only for UDP. Use to specify particular destination ports for UDP rules. If you specify UDP as the protocol but omit this object, then all destination ports are allowed.- The following 2 attributes specify an inclusive range of allowed destination ports. Use the same number for the min and max to indicate a single port. Defaults to all ports if not specified.
 
- Description string
- An optional description of your choice for the rule.
- IcmpOptions []GetSecurity Lists Security List Ingress Security Rule Icmp Option 
- Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:
- Protocol string
- The transport protocol. Specify either allor an IPv4 protocol number as defined in Protocol Numbers. Options are supported only for ICMP ("1"), TCP ("6"), UDP ("17"), and ICMPv6 ("58").
- Source string
- Conceptually, this is the range of IP addresses that a packet coming into the instance can come from.
- SourceType string
- Type of source for the rule. The default is CIDR_BLOCK.- CIDR_BLOCK: If the rule's- sourceis an IP address range in CIDR notation.
- SERVICE_CIDR_BLOCK: If the rule's- sourceis the- cidrBlockvalue for a Service (the rule is for traffic coming from a particular- Servicethrough a service gateway).
 
- Stateless bool
- A stateless rule allows traffic in one direction. Remember to add a corresponding stateless rule in the other direction if you need to support bidirectional traffic. For example, if ingress traffic allows TCP destination port 80, there should be an egress rule to allow TCP source port 80. Defaults to false, which means the rule is stateful and a corresponding rule is not necessary for bidirectional traffic.
- TcpOptions []GetSecurity Lists Security List Ingress Security Rule Tcp Option 
- Optional and valid only for TCP. Use to specify particular destination ports for TCP rules. If you specify TCP as the protocol but omit this object, then all destination ports are allowed.- The following 2 attributes specify an inclusive range of allowed destination ports. Use the same number for the min and max to indicate a single port. Defaults to all ports if not specified.
 
- UdpOptions []GetSecurity Lists Security List Ingress Security Rule Udp Option 
- Optional and valid only for UDP. Use to specify particular destination ports for UDP rules. If you specify UDP as the protocol but omit this object, then all destination ports are allowed.- The following 2 attributes specify an inclusive range of allowed destination ports. Use the same number for the min and max to indicate a single port. Defaults to all ports if not specified.
 
- description String
- An optional description of your choice for the rule.
- icmpOptions List<GetSecurity Lists Security List Ingress Security Rule Icmp Option> 
- Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:
- protocol String
- The transport protocol. Specify either allor an IPv4 protocol number as defined in Protocol Numbers. Options are supported only for ICMP ("1"), TCP ("6"), UDP ("17"), and ICMPv6 ("58").
- source String
- Conceptually, this is the range of IP addresses that a packet coming into the instance can come from.
- sourceType String
- Type of source for the rule. The default is CIDR_BLOCK.- CIDR_BLOCK: If the rule's- sourceis an IP address range in CIDR notation.
- SERVICE_CIDR_BLOCK: If the rule's- sourceis the- cidrBlockvalue for a Service (the rule is for traffic coming from a particular- Servicethrough a service gateway).
 
- stateless Boolean
- A stateless rule allows traffic in one direction. Remember to add a corresponding stateless rule in the other direction if you need to support bidirectional traffic. For example, if ingress traffic allows TCP destination port 80, there should be an egress rule to allow TCP source port 80. Defaults to false, which means the rule is stateful and a corresponding rule is not necessary for bidirectional traffic.
- tcpOptions List<GetSecurity Lists Security List Ingress Security Rule Tcp Option> 
- Optional and valid only for TCP. Use to specify particular destination ports for TCP rules. If you specify TCP as the protocol but omit this object, then all destination ports are allowed.- The following 2 attributes specify an inclusive range of allowed destination ports. Use the same number for the min and max to indicate a single port. Defaults to all ports if not specified.
 
- udpOptions List<GetSecurity Lists Security List Ingress Security Rule Udp Option> 
- Optional and valid only for UDP. Use to specify particular destination ports for UDP rules. If you specify UDP as the protocol but omit this object, then all destination ports are allowed.- The following 2 attributes specify an inclusive range of allowed destination ports. Use the same number for the min and max to indicate a single port. Defaults to all ports if not specified.
 
- description string
- An optional description of your choice for the rule.
- icmpOptions GetSecurity Lists Security List Ingress Security Rule Icmp Option[] 
- Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:
- protocol string
- The transport protocol. Specify either allor an IPv4 protocol number as defined in Protocol Numbers. Options are supported only for ICMP ("1"), TCP ("6"), UDP ("17"), and ICMPv6 ("58").
- source string
- Conceptually, this is the range of IP addresses that a packet coming into the instance can come from.
- sourceType string
- Type of source for the rule. The default is CIDR_BLOCK.- CIDR_BLOCK: If the rule's- sourceis an IP address range in CIDR notation.
- SERVICE_CIDR_BLOCK: If the rule's- sourceis the- cidrBlockvalue for a Service (the rule is for traffic coming from a particular- Servicethrough a service gateway).
 
- stateless boolean
- A stateless rule allows traffic in one direction. Remember to add a corresponding stateless rule in the other direction if you need to support bidirectional traffic. For example, if ingress traffic allows TCP destination port 80, there should be an egress rule to allow TCP source port 80. Defaults to false, which means the rule is stateful and a corresponding rule is not necessary for bidirectional traffic.
- tcpOptions GetSecurity Lists Security List Ingress Security Rule Tcp Option[] 
- Optional and valid only for TCP. Use to specify particular destination ports for TCP rules. If you specify TCP as the protocol but omit this object, then all destination ports are allowed.- The following 2 attributes specify an inclusive range of allowed destination ports. Use the same number for the min and max to indicate a single port. Defaults to all ports if not specified.
 
- udpOptions GetSecurity Lists Security List Ingress Security Rule Udp Option[] 
- Optional and valid only for UDP. Use to specify particular destination ports for UDP rules. If you specify UDP as the protocol but omit this object, then all destination ports are allowed.- The following 2 attributes specify an inclusive range of allowed destination ports. Use the same number for the min and max to indicate a single port. Defaults to all ports if not specified.
 
- description str
- An optional description of your choice for the rule.
- icmp_options Sequence[GetSecurity Lists Security List Ingress Security Rule Icmp Option] 
- Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:
- protocol str
- The transport protocol. Specify either allor an IPv4 protocol number as defined in Protocol Numbers. Options are supported only for ICMP ("1"), TCP ("6"), UDP ("17"), and ICMPv6 ("58").
- source str
- Conceptually, this is the range of IP addresses that a packet coming into the instance can come from.
- source_type str
- Type of source for the rule. The default is CIDR_BLOCK.- CIDR_BLOCK: If the rule's- sourceis an IP address range in CIDR notation.
- SERVICE_CIDR_BLOCK: If the rule's- sourceis the- cidrBlockvalue for a Service (the rule is for traffic coming from a particular- Servicethrough a service gateway).
 
- stateless bool
- A stateless rule allows traffic in one direction. Remember to add a corresponding stateless rule in the other direction if you need to support bidirectional traffic. For example, if ingress traffic allows TCP destination port 80, there should be an egress rule to allow TCP source port 80. Defaults to false, which means the rule is stateful and a corresponding rule is not necessary for bidirectional traffic.
- tcp_options Sequence[GetSecurity Lists Security List Ingress Security Rule Tcp Option] 
- Optional and valid only for TCP. Use to specify particular destination ports for TCP rules. If you specify TCP as the protocol but omit this object, then all destination ports are allowed.- The following 2 attributes specify an inclusive range of allowed destination ports. Use the same number for the min and max to indicate a single port. Defaults to all ports if not specified.
 
- udp_options Sequence[GetSecurity Lists Security List Ingress Security Rule Udp Option] 
- Optional and valid only for UDP. Use to specify particular destination ports for UDP rules. If you specify UDP as the protocol but omit this object, then all destination ports are allowed.- The following 2 attributes specify an inclusive range of allowed destination ports. Use the same number for the min and max to indicate a single port. Defaults to all ports if not specified.
 
- description String
- An optional description of your choice for the rule.
- icmpOptions List<Property Map>
- Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:
- protocol String
- The transport protocol. Specify either allor an IPv4 protocol number as defined in Protocol Numbers. Options are supported only for ICMP ("1"), TCP ("6"), UDP ("17"), and ICMPv6 ("58").
- source String
- Conceptually, this is the range of IP addresses that a packet coming into the instance can come from.
- sourceType String
- Type of source for the rule. The default is CIDR_BLOCK.- CIDR_BLOCK: If the rule's- sourceis an IP address range in CIDR notation.
- SERVICE_CIDR_BLOCK: If the rule's- sourceis the- cidrBlockvalue for a Service (the rule is for traffic coming from a particular- Servicethrough a service gateway).
 
- stateless Boolean
- A stateless rule allows traffic in one direction. Remember to add a corresponding stateless rule in the other direction if you need to support bidirectional traffic. For example, if ingress traffic allows TCP destination port 80, there should be an egress rule to allow TCP source port 80. Defaults to false, which means the rule is stateful and a corresponding rule is not necessary for bidirectional traffic.
- tcpOptions List<Property Map>
- Optional and valid only for TCP. Use to specify particular destination ports for TCP rules. If you specify TCP as the protocol but omit this object, then all destination ports are allowed.- The following 2 attributes specify an inclusive range of allowed destination ports. Use the same number for the min and max to indicate a single port. Defaults to all ports if not specified.
 
- udpOptions List<Property Map>
- Optional and valid only for UDP. Use to specify particular destination ports for UDP rules. If you specify UDP as the protocol but omit this object, then all destination ports are allowed.- The following 2 attributes specify an inclusive range of allowed destination ports. Use the same number for the min and max to indicate a single port. Defaults to all ports if not specified.
 
GetSecurityListsSecurityListIngressSecurityRuleIcmpOption         
GetSecurityListsSecurityListIngressSecurityRuleTcpOption         
- Max int
- The maximum port number. Must not be lower than the minimum port number. To specify a single port number, set both the min and max to the same value.
- Min int
- The minimum port number. Must not be greater than the maximum port number.
- SourcePort List<GetRanges Security Lists Security List Ingress Security Rule Tcp Option Source Port Range> 
- Max int
- The maximum port number. Must not be lower than the minimum port number. To specify a single port number, set both the min and max to the same value.
- Min int
- The minimum port number. Must not be greater than the maximum port number.
- SourcePort []GetRanges Security Lists Security List Ingress Security Rule Tcp Option Source Port Range 
- max Integer
- The maximum port number. Must not be lower than the minimum port number. To specify a single port number, set both the min and max to the same value.
- min Integer
- The minimum port number. Must not be greater than the maximum port number.
- sourcePort List<GetRanges Security Lists Security List Ingress Security Rule Tcp Option Source Port Range> 
- max number
- The maximum port number. Must not be lower than the minimum port number. To specify a single port number, set both the min and max to the same value.
- min number
- The minimum port number. Must not be greater than the maximum port number.
- sourcePort GetRanges Security Lists Security List Ingress Security Rule Tcp Option Source Port Range[] 
- max int
- The maximum port number. Must not be lower than the minimum port number. To specify a single port number, set both the min and max to the same value.
- min int
- The minimum port number. Must not be greater than the maximum port number.
- source_port_ Sequence[Getranges Security Lists Security List Ingress Security Rule Tcp Option Source Port Range] 
- max Number
- The maximum port number. Must not be lower than the minimum port number. To specify a single port number, set both the min and max to the same value.
- min Number
- The minimum port number. Must not be greater than the maximum port number.
- sourcePort List<Property Map>Ranges 
GetSecurityListsSecurityListIngressSecurityRuleTcpOptionSourcePortRange            
GetSecurityListsSecurityListIngressSecurityRuleUdpOption         
- Max int
- The maximum port number. Must not be lower than the minimum port number. To specify a single port number, set both the min and max to the same value.
- Min int
- The minimum port number. Must not be greater than the maximum port number.
- SourcePort List<GetRanges Security Lists Security List Ingress Security Rule Udp Option Source Port Range> 
- Max int
- The maximum port number. Must not be lower than the minimum port number. To specify a single port number, set both the min and max to the same value.
- Min int
- The minimum port number. Must not be greater than the maximum port number.
- SourcePort []GetRanges Security Lists Security List Ingress Security Rule Udp Option Source Port Range 
- max Integer
- The maximum port number. Must not be lower than the minimum port number. To specify a single port number, set both the min and max to the same value.
- min Integer
- The minimum port number. Must not be greater than the maximum port number.
- sourcePort List<GetRanges Security Lists Security List Ingress Security Rule Udp Option Source Port Range> 
- max number
- The maximum port number. Must not be lower than the minimum port number. To specify a single port number, set both the min and max to the same value.
- min number
- The minimum port number. Must not be greater than the maximum port number.
- sourcePort GetRanges Security Lists Security List Ingress Security Rule Udp Option Source Port Range[] 
- max int
- The maximum port number. Must not be lower than the minimum port number. To specify a single port number, set both the min and max to the same value.
- min int
- The minimum port number. Must not be greater than the maximum port number.
- source_port_ Sequence[Getranges Security Lists Security List Ingress Security Rule Udp Option Source Port Range] 
- max Number
- The maximum port number. Must not be lower than the minimum port number. To specify a single port number, set both the min and max to the same value.
- min Number
- The minimum port number. Must not be greater than the maximum port number.
- sourcePort List<Property Map>Ranges 
GetSecurityListsSecurityListIngressSecurityRuleUdpOptionSourcePortRange            
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.
