Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.Core.getSecurityLists
Explore with Pulumi AI
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/v2/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[_core.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[_core.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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Core/getSecurityLists:getSecurityLists
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - The OCID of the compartment.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- Filters
List<Get
Security Lists Filter> - State string
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
- Vcn
Id string - The OCID of the VCN.
- Compartment
Id string - The OCID of the compartment.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- Filters
[]Get
Security Lists Filter - State string
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
- Vcn
Id string - The OCID of the VCN.
- compartment
Id String - The OCID of the compartment.
- display
Name String - A filter to return only resources that match the given display name exactly.
- filters
List<Get
Security Lists Filter> - state String
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
- vcn
Id String - The OCID of the VCN.
- compartment
Id string - The OCID of the compartment.
- display
Name string - A filter to return only resources that match the given display name exactly.
- filters
Get
Security Lists Filter[] - state string
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
- vcn
Id 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[core.
Get Security 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.
- compartment
Id String - The OCID of the compartment.
- display
Name 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.
- vcn
Id String - The OCID of the VCN.
getSecurityLists Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment containing the security list.
- Id string
- The provider-assigned unique ID for this managed resource.
- Security
Lists List<GetSecurity Lists Security List> - The list of security_lists.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Filters
List<Get
Security Lists Filter> - State string
- The security list's current state.
- Vcn
Id string - The OCID of the VCN the security list belongs to.
- Compartment
Id string - The OCID of the compartment containing the security list.
- Id string
- The provider-assigned unique ID for this managed resource.
- Security
Lists []GetSecurity Lists Security List - The list of security_lists.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Filters
[]Get
Security Lists Filter - State string
- The security list's current state.
- Vcn
Id string - The OCID of the VCN the security list belongs to.
- compartment
Id String - The OCID of the compartment containing the security list.
- id String
- The provider-assigned unique ID for this managed resource.
- security
Lists List<GetSecurity Lists Security List> - The list of security_lists.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- filters
List<Get
Security Lists Filter> - state String
- The security list's current state.
- vcn
Id String - The OCID of the VCN the security list belongs to.
- compartment
Id string - The OCID of the compartment containing the security list.
- id string
- The provider-assigned unique ID for this managed resource.
- security
Lists GetSecurity Lists Security List[] - The list of security_lists.
- display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- filters
Get
Security Lists Filter[] - state string
- The security list's current state.
- vcn
Id 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[core.Get Security 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[core.
Get Security Lists Filter] - state str
- The security list's current state.
- vcn_
id str - The OCID of the VCN the security list belongs to.
- compartment
Id String - The OCID of the compartment containing the security list.
- id String
- The provider-assigned unique ID for this managed resource.
- security
Lists List<Property Map> - The list of security_lists.
- display
Name 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.
- vcn
Id String - The OCID of the VCN the security list belongs to.
Supporting Types
GetSecurityListsFilter
GetSecurityListsSecurityList
- Compartment
Id 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"}
- Display
Name string - A filter to return only resources that match the given display name exactly.
- Egress
Security 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).
- Ingress
Security 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.
- Time
Created string - The date and time the security list was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- Vcn
Id string - The OCID of the VCN.
- Compartment
Id 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"}
- Display
Name string - A filter to return only resources that match the given display name exactly.
- Egress
Security []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).
- Ingress
Security []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.
- Time
Created string - The date and time the security list was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- Vcn
Id string - The OCID of the VCN.
- compartment
Id 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"}
- display
Name String - A filter to return only resources that match the given display name exactly.
- egress
Security 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).
- ingress
Security 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.
- time
Created String - The date and time the security list was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- vcn
Id String - The OCID of the VCN.
- compartment
Id 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"}
- display
Name string - A filter to return only resources that match the given display name exactly.
- egress
Security 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).
- ingress
Security 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.
- time
Created string - The date and time the security list was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- vcn
Id 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[core.rules Get 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[core.rules Get 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.
- compartment
Id 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"}
- display
Name String - A filter to return only resources that match the given display name exactly.
- egress
Security 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).
- ingress
Security 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.
- time
Created String - The date and time the security list was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- vcn
Id 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.
- Destination
Type string - Type of destination for the rule. The default is
CIDR_BLOCK
. - Icmp
Options 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
all
or 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 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.
- Udp
Options 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.
- Destination
Type string - Type of destination for the rule. The default is
CIDR_BLOCK
. - Icmp
Options []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
all
or 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 []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 []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.
- destination
Type String - Type of destination for the rule. The default is
CIDR_BLOCK
. - icmp
Options 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
all
or 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.
- tcp
Options 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.
- udp
Options 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.
- destination
Type string - Type of destination for the rule. The default is
CIDR_BLOCK
. - icmp
Options 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
all
or 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.
- tcp
Options 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 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[core.Get Security 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
all
or 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[core.Get Security 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[core.Get Security 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.
- destination
Type String - Type of destination for the rule. The default is
CIDR_BLOCK
. - icmp
Options 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
all
or 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.
- tcp
Options 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.
- udp
Options 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.
- Source
Port 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.
- Source
Port []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.
- source
Port 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.
- source
Port 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[core.ranges Get 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.
- source
Port 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.
- Source
Port 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.
- Source
Port []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.
- source
Port 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.
- source
Port 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[core.ranges Get 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.
- source
Port List<Property Map>Ranges
GetSecurityListsSecurityListEgressSecurityRuleUdpOptionSourcePortRange
GetSecurityListsSecurityListIngressSecurityRule
- Description string
- An optional description of your choice for the rule.
- Icmp
Options 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
all
or 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.
- Source
Type string - Type of source for the rule. The default is
CIDR_BLOCK
.CIDR_BLOCK
: If the rule'ssource
is an IP address range in CIDR notation.SERVICE_CIDR_BLOCK
: If the rule'ssource
is thecidrBlock
value for a Service (the rule is for traffic coming from a particularService
through 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 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.
- Udp
Options 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.
- Icmp
Options []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
all
or 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.
- Source
Type string - Type of source for the rule. The default is
CIDR_BLOCK
.CIDR_BLOCK
: If the rule'ssource
is an IP address range in CIDR notation.SERVICE_CIDR_BLOCK
: If the rule'ssource
is thecidrBlock
value for a Service (the rule is for traffic coming from a particularService
through 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 []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 []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.
- icmp
Options 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
all
or 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.
- source
Type String - Type of source for the rule. The default is
CIDR_BLOCK
.CIDR_BLOCK
: If the rule'ssource
is an IP address range in CIDR notation.SERVICE_CIDR_BLOCK
: If the rule'ssource
is thecidrBlock
value for a Service (the rule is for traffic coming from a particularService
through 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.
- tcp
Options 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.
- udp
Options 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.
- icmp
Options 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
all
or 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.
- source
Type string - Type of source for the rule. The default is
CIDR_BLOCK
.CIDR_BLOCK
: If the rule'ssource
is an IP address range in CIDR notation.SERVICE_CIDR_BLOCK
: If the rule'ssource
is thecidrBlock
value for a Service (the rule is for traffic coming from a particularService
through 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.
- tcp
Options 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 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[core.Get Security 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
all
or 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'ssource
is an IP address range in CIDR notation.SERVICE_CIDR_BLOCK
: If the rule'ssource
is thecidrBlock
value for a Service (the rule is for traffic coming from a particularService
through 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[core.Get Security 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[core.Get Security 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.
- icmp
Options 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
all
or 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.
- source
Type String - Type of source for the rule. The default is
CIDR_BLOCK
.CIDR_BLOCK
: If the rule'ssource
is an IP address range in CIDR notation.SERVICE_CIDR_BLOCK
: If the rule'ssource
is thecidrBlock
value for a Service (the rule is for traffic coming from a particularService
through 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.
- tcp
Options 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.
- udp
Options 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.
- Source
Port 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.
- Source
Port []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.
- source
Port 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.
- source
Port 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[core.ranges Get 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.
- source
Port 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.
- Source
Port 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.
- Source
Port []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.
- source
Port 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.
- source
Port 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[core.ranges Get 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.
- source
Port List<Property Map>Ranges
GetSecurityListsSecurityListIngressSecurityRuleUdpOptionSourcePortRange
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.