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

oci.Core.SecurityList

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

    This resource provides the Security List resource in Oracle Cloud Infrastructure Core service.

    Creates a new security list for the specified VCN. For more information about security lists, see Security Lists. For information on the number of rules you can have in a security list, see Service Limits.

    For the purposes of access control, you must provide the OCID of the compartment where you want the security list to reside. Notice that the security list doesn’t have to be in the same compartment as the VCN, subnets, or other Networking Service components. If you’re not sure which compartment to use, put the security list in the same compartment as the VCN. For more information about compartments and access control, see Overview of the IAM Service. For information about OCIDs, see Resource Identifiers.

    You may optionally specify a display name for the security list, otherwise a default is provided. It does not have to be unique, and you can change it. Avoid entering confidential information.

    For more information on configuring a VCN’s default security list, see Managing Default VCN Resources

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testSecurityList = new oci.core.SecurityList("testSecurityList", {
        compartmentId: _var.compartment_id,
        vcnId: oci_core_vcn.test_vcn.id,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        displayName: _var.security_list_display_name,
        egressSecurityRules: [{
            destination: _var.security_list_egress_security_rules_destination,
            protocol: _var.security_list_egress_security_rules_protocol,
            description: _var.security_list_egress_security_rules_description,
            destinationType: _var.security_list_egress_security_rules_destination_type,
            icmpOptions: {
                type: _var.security_list_egress_security_rules_icmp_options_type,
                code: _var.security_list_egress_security_rules_icmp_options_code,
            },
            stateless: _var.security_list_egress_security_rules_stateless,
            tcpOptions: {
                max: _var.security_list_egress_security_rules_tcp_options_destination_port_range_max,
                min: _var.security_list_egress_security_rules_tcp_options_destination_port_range_min,
                sourcePortRange: {
                    max: _var.security_list_egress_security_rules_tcp_options_source_port_range_max,
                    min: _var.security_list_egress_security_rules_tcp_options_source_port_range_min,
                },
            },
            udpOptions: {
                max: _var.security_list_egress_security_rules_udp_options_destination_port_range_max,
                min: _var.security_list_egress_security_rules_udp_options_destination_port_range_min,
                sourcePortRange: {
                    max: _var.security_list_egress_security_rules_udp_options_source_port_range_max,
                    min: _var.security_list_egress_security_rules_udp_options_source_port_range_min,
                },
            },
        }],
        freeformTags: {
            Department: "Finance",
        },
        ingressSecurityRules: [{
            protocol: _var.security_list_ingress_security_rules_protocol,
            source: _var.security_list_ingress_security_rules_source,
            description: _var.security_list_ingress_security_rules_description,
            icmpOptions: {
                type: _var.security_list_ingress_security_rules_icmp_options_type,
                code: _var.security_list_ingress_security_rules_icmp_options_code,
            },
            sourceType: _var.security_list_ingress_security_rules_source_type,
            stateless: _var.security_list_ingress_security_rules_stateless,
            tcpOptions: {
                max: _var.security_list_ingress_security_rules_tcp_options_destination_port_range_max,
                min: _var.security_list_ingress_security_rules_tcp_options_destination_port_range_min,
                sourcePortRange: {
                    max: _var.security_list_ingress_security_rules_tcp_options_source_port_range_max,
                    min: _var.security_list_ingress_security_rules_tcp_options_source_port_range_min,
                },
            },
            udpOptions: {
                max: _var.security_list_ingress_security_rules_udp_options_destination_port_range_max,
                min: _var.security_list_ingress_security_rules_udp_options_destination_port_range_min,
                sourcePortRange: {
                    max: _var.security_list_ingress_security_rules_udp_options_source_port_range_max,
                    min: _var.security_list_ingress_security_rules_udp_options_source_port_range_min,
                },
            },
        }],
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_security_list = oci.core.SecurityList("testSecurityList",
        compartment_id=var["compartment_id"],
        vcn_id=oci_core_vcn["test_vcn"]["id"],
        defined_tags={
            "Operations.CostCenter": "42",
        },
        display_name=var["security_list_display_name"],
        egress_security_rules=[oci.core.SecurityListEgressSecurityRuleArgs(
            destination=var["security_list_egress_security_rules_destination"],
            protocol=var["security_list_egress_security_rules_protocol"],
            description=var["security_list_egress_security_rules_description"],
            destination_type=var["security_list_egress_security_rules_destination_type"],
            icmp_options=oci.core.SecurityListEgressSecurityRuleIcmpOptionsArgs(
                type=var["security_list_egress_security_rules_icmp_options_type"],
                code=var["security_list_egress_security_rules_icmp_options_code"],
            ),
            stateless=var["security_list_egress_security_rules_stateless"],
            tcp_options=oci.core.SecurityListEgressSecurityRuleTcpOptionsArgs(
                max=var["security_list_egress_security_rules_tcp_options_destination_port_range_max"],
                min=var["security_list_egress_security_rules_tcp_options_destination_port_range_min"],
                source_port_range=oci.core.SecurityListEgressSecurityRuleTcpOptionsSourcePortRangeArgs(
                    max=var["security_list_egress_security_rules_tcp_options_source_port_range_max"],
                    min=var["security_list_egress_security_rules_tcp_options_source_port_range_min"],
                ),
            ),
            udp_options=oci.core.SecurityListEgressSecurityRuleUdpOptionsArgs(
                max=var["security_list_egress_security_rules_udp_options_destination_port_range_max"],
                min=var["security_list_egress_security_rules_udp_options_destination_port_range_min"],
                source_port_range=oci.core.SecurityListEgressSecurityRuleUdpOptionsSourcePortRangeArgs(
                    max=var["security_list_egress_security_rules_udp_options_source_port_range_max"],
                    min=var["security_list_egress_security_rules_udp_options_source_port_range_min"],
                ),
            ),
        )],
        freeform_tags={
            "Department": "Finance",
        },
        ingress_security_rules=[oci.core.SecurityListIngressSecurityRuleArgs(
            protocol=var["security_list_ingress_security_rules_protocol"],
            source=var["security_list_ingress_security_rules_source"],
            description=var["security_list_ingress_security_rules_description"],
            icmp_options=oci.core.SecurityListIngressSecurityRuleIcmpOptionsArgs(
                type=var["security_list_ingress_security_rules_icmp_options_type"],
                code=var["security_list_ingress_security_rules_icmp_options_code"],
            ),
            source_type=var["security_list_ingress_security_rules_source_type"],
            stateless=var["security_list_ingress_security_rules_stateless"],
            tcp_options=oci.core.SecurityListIngressSecurityRuleTcpOptionsArgs(
                max=var["security_list_ingress_security_rules_tcp_options_destination_port_range_max"],
                min=var["security_list_ingress_security_rules_tcp_options_destination_port_range_min"],
                source_port_range=oci.core.SecurityListIngressSecurityRuleTcpOptionsSourcePortRangeArgs(
                    max=var["security_list_ingress_security_rules_tcp_options_source_port_range_max"],
                    min=var["security_list_ingress_security_rules_tcp_options_source_port_range_min"],
                ),
            ),
            udp_options=oci.core.SecurityListIngressSecurityRuleUdpOptionsArgs(
                max=var["security_list_ingress_security_rules_udp_options_destination_port_range_max"],
                min=var["security_list_ingress_security_rules_udp_options_destination_port_range_min"],
                source_port_range=oci.core.SecurityListIngressSecurityRuleUdpOptionsSourcePortRangeArgs(
                    max=var["security_list_ingress_security_rules_udp_options_source_port_range_max"],
                    min=var["security_list_ingress_security_rules_udp_options_source_port_range_min"],
                ),
            ),
        )])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/Core"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Core.NewSecurityList(ctx, "testSecurityList", &Core.SecurityListArgs{
    			CompartmentId: pulumi.Any(_var.Compartment_id),
    			VcnId:         pulumi.Any(oci_core_vcn.Test_vcn.Id),
    			DefinedTags: pulumi.Map{
    				"Operations.CostCenter": pulumi.Any("42"),
    			},
    			DisplayName: pulumi.Any(_var.Security_list_display_name),
    			EgressSecurityRules: core.SecurityListEgressSecurityRuleArray{
    				&core.SecurityListEgressSecurityRuleArgs{
    					Destination:     pulumi.Any(_var.Security_list_egress_security_rules_destination),
    					Protocol:        pulumi.Any(_var.Security_list_egress_security_rules_protocol),
    					Description:     pulumi.Any(_var.Security_list_egress_security_rules_description),
    					DestinationType: pulumi.Any(_var.Security_list_egress_security_rules_destination_type),
    					IcmpOptions: &core.SecurityListEgressSecurityRuleIcmpOptionsArgs{
    						Type: pulumi.Any(_var.Security_list_egress_security_rules_icmp_options_type),
    						Code: pulumi.Any(_var.Security_list_egress_security_rules_icmp_options_code),
    					},
    					Stateless: pulumi.Any(_var.Security_list_egress_security_rules_stateless),
    					TcpOptions: &core.SecurityListEgressSecurityRuleTcpOptionsArgs{
    						Max: pulumi.Any(_var.Security_list_egress_security_rules_tcp_options_destination_port_range_max),
    						Min: pulumi.Any(_var.Security_list_egress_security_rules_tcp_options_destination_port_range_min),
    						SourcePortRange: &core.SecurityListEgressSecurityRuleTcpOptionsSourcePortRangeArgs{
    							Max: pulumi.Any(_var.Security_list_egress_security_rules_tcp_options_source_port_range_max),
    							Min: pulumi.Any(_var.Security_list_egress_security_rules_tcp_options_source_port_range_min),
    						},
    					},
    					UdpOptions: &core.SecurityListEgressSecurityRuleUdpOptionsArgs{
    						Max: pulumi.Any(_var.Security_list_egress_security_rules_udp_options_destination_port_range_max),
    						Min: pulumi.Any(_var.Security_list_egress_security_rules_udp_options_destination_port_range_min),
    						SourcePortRange: &core.SecurityListEgressSecurityRuleUdpOptionsSourcePortRangeArgs{
    							Max: pulumi.Any(_var.Security_list_egress_security_rules_udp_options_source_port_range_max),
    							Min: pulumi.Any(_var.Security_list_egress_security_rules_udp_options_source_port_range_min),
    						},
    					},
    				},
    			},
    			FreeformTags: pulumi.Map{
    				"Department": pulumi.Any("Finance"),
    			},
    			IngressSecurityRules: core.SecurityListIngressSecurityRuleArray{
    				&core.SecurityListIngressSecurityRuleArgs{
    					Protocol:    pulumi.Any(_var.Security_list_ingress_security_rules_protocol),
    					Source:      pulumi.Any(_var.Security_list_ingress_security_rules_source),
    					Description: pulumi.Any(_var.Security_list_ingress_security_rules_description),
    					IcmpOptions: &core.SecurityListIngressSecurityRuleIcmpOptionsArgs{
    						Type: pulumi.Any(_var.Security_list_ingress_security_rules_icmp_options_type),
    						Code: pulumi.Any(_var.Security_list_ingress_security_rules_icmp_options_code),
    					},
    					SourceType: pulumi.Any(_var.Security_list_ingress_security_rules_source_type),
    					Stateless:  pulumi.Any(_var.Security_list_ingress_security_rules_stateless),
    					TcpOptions: &core.SecurityListIngressSecurityRuleTcpOptionsArgs{
    						Max: pulumi.Any(_var.Security_list_ingress_security_rules_tcp_options_destination_port_range_max),
    						Min: pulumi.Any(_var.Security_list_ingress_security_rules_tcp_options_destination_port_range_min),
    						SourcePortRange: &core.SecurityListIngressSecurityRuleTcpOptionsSourcePortRangeArgs{
    							Max: pulumi.Any(_var.Security_list_ingress_security_rules_tcp_options_source_port_range_max),
    							Min: pulumi.Any(_var.Security_list_ingress_security_rules_tcp_options_source_port_range_min),
    						},
    					},
    					UdpOptions: &core.SecurityListIngressSecurityRuleUdpOptionsArgs{
    						Max: pulumi.Any(_var.Security_list_ingress_security_rules_udp_options_destination_port_range_max),
    						Min: pulumi.Any(_var.Security_list_ingress_security_rules_udp_options_destination_port_range_min),
    						SourcePortRange: &core.SecurityListIngressSecurityRuleUdpOptionsSourcePortRangeArgs{
    							Max: pulumi.Any(_var.Security_list_ingress_security_rules_udp_options_source_port_range_max),
    							Min: pulumi.Any(_var.Security_list_ingress_security_rules_udp_options_source_port_range_min),
    						},
    					},
    				},
    			},
    		})
    		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 testSecurityList = new Oci.Core.SecurityList("testSecurityList", new()
        {
            CompartmentId = @var.Compartment_id,
            VcnId = oci_core_vcn.Test_vcn.Id,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            DisplayName = @var.Security_list_display_name,
            EgressSecurityRules = new[]
            {
                new Oci.Core.Inputs.SecurityListEgressSecurityRuleArgs
                {
                    Destination = @var.Security_list_egress_security_rules_destination,
                    Protocol = @var.Security_list_egress_security_rules_protocol,
                    Description = @var.Security_list_egress_security_rules_description,
                    DestinationType = @var.Security_list_egress_security_rules_destination_type,
                    IcmpOptions = new Oci.Core.Inputs.SecurityListEgressSecurityRuleIcmpOptionsArgs
                    {
                        Type = @var.Security_list_egress_security_rules_icmp_options_type,
                        Code = @var.Security_list_egress_security_rules_icmp_options_code,
                    },
                    Stateless = @var.Security_list_egress_security_rules_stateless,
                    TcpOptions = new Oci.Core.Inputs.SecurityListEgressSecurityRuleTcpOptionsArgs
                    {
                        Max = @var.Security_list_egress_security_rules_tcp_options_destination_port_range_max,
                        Min = @var.Security_list_egress_security_rules_tcp_options_destination_port_range_min,
                        SourcePortRange = new Oci.Core.Inputs.SecurityListEgressSecurityRuleTcpOptionsSourcePortRangeArgs
                        {
                            Max = @var.Security_list_egress_security_rules_tcp_options_source_port_range_max,
                            Min = @var.Security_list_egress_security_rules_tcp_options_source_port_range_min,
                        },
                    },
                    UdpOptions = new Oci.Core.Inputs.SecurityListEgressSecurityRuleUdpOptionsArgs
                    {
                        Max = @var.Security_list_egress_security_rules_udp_options_destination_port_range_max,
                        Min = @var.Security_list_egress_security_rules_udp_options_destination_port_range_min,
                        SourcePortRange = new Oci.Core.Inputs.SecurityListEgressSecurityRuleUdpOptionsSourcePortRangeArgs
                        {
                            Max = @var.Security_list_egress_security_rules_udp_options_source_port_range_max,
                            Min = @var.Security_list_egress_security_rules_udp_options_source_port_range_min,
                        },
                    },
                },
            },
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            IngressSecurityRules = new[]
            {
                new Oci.Core.Inputs.SecurityListIngressSecurityRuleArgs
                {
                    Protocol = @var.Security_list_ingress_security_rules_protocol,
                    Source = @var.Security_list_ingress_security_rules_source,
                    Description = @var.Security_list_ingress_security_rules_description,
                    IcmpOptions = new Oci.Core.Inputs.SecurityListIngressSecurityRuleIcmpOptionsArgs
                    {
                        Type = @var.Security_list_ingress_security_rules_icmp_options_type,
                        Code = @var.Security_list_ingress_security_rules_icmp_options_code,
                    },
                    SourceType = @var.Security_list_ingress_security_rules_source_type,
                    Stateless = @var.Security_list_ingress_security_rules_stateless,
                    TcpOptions = new Oci.Core.Inputs.SecurityListIngressSecurityRuleTcpOptionsArgs
                    {
                        Max = @var.Security_list_ingress_security_rules_tcp_options_destination_port_range_max,
                        Min = @var.Security_list_ingress_security_rules_tcp_options_destination_port_range_min,
                        SourcePortRange = new Oci.Core.Inputs.SecurityListIngressSecurityRuleTcpOptionsSourcePortRangeArgs
                        {
                            Max = @var.Security_list_ingress_security_rules_tcp_options_source_port_range_max,
                            Min = @var.Security_list_ingress_security_rules_tcp_options_source_port_range_min,
                        },
                    },
                    UdpOptions = new Oci.Core.Inputs.SecurityListIngressSecurityRuleUdpOptionsArgs
                    {
                        Max = @var.Security_list_ingress_security_rules_udp_options_destination_port_range_max,
                        Min = @var.Security_list_ingress_security_rules_udp_options_destination_port_range_min,
                        SourcePortRange = new Oci.Core.Inputs.SecurityListIngressSecurityRuleUdpOptionsSourcePortRangeArgs
                        {
                            Max = @var.Security_list_ingress_security_rules_udp_options_source_port_range_max,
                            Min = @var.Security_list_ingress_security_rules_udp_options_source_port_range_min,
                        },
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Core.SecurityList;
    import com.pulumi.oci.Core.SecurityListArgs;
    import com.pulumi.oci.Core.inputs.SecurityListEgressSecurityRuleArgs;
    import com.pulumi.oci.Core.inputs.SecurityListEgressSecurityRuleIcmpOptionsArgs;
    import com.pulumi.oci.Core.inputs.SecurityListEgressSecurityRuleTcpOptionsArgs;
    import com.pulumi.oci.Core.inputs.SecurityListEgressSecurityRuleTcpOptionsSourcePortRangeArgs;
    import com.pulumi.oci.Core.inputs.SecurityListEgressSecurityRuleUdpOptionsArgs;
    import com.pulumi.oci.Core.inputs.SecurityListEgressSecurityRuleUdpOptionsSourcePortRangeArgs;
    import com.pulumi.oci.Core.inputs.SecurityListIngressSecurityRuleArgs;
    import com.pulumi.oci.Core.inputs.SecurityListIngressSecurityRuleIcmpOptionsArgs;
    import com.pulumi.oci.Core.inputs.SecurityListIngressSecurityRuleTcpOptionsArgs;
    import com.pulumi.oci.Core.inputs.SecurityListIngressSecurityRuleTcpOptionsSourcePortRangeArgs;
    import com.pulumi.oci.Core.inputs.SecurityListIngressSecurityRuleUdpOptionsArgs;
    import com.pulumi.oci.Core.inputs.SecurityListIngressSecurityRuleUdpOptionsSourcePortRangeArgs;
    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) {
            var testSecurityList = new SecurityList("testSecurityList", SecurityListArgs.builder()        
                .compartmentId(var_.compartment_id())
                .vcnId(oci_core_vcn.test_vcn().id())
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .displayName(var_.security_list_display_name())
                .egressSecurityRules(SecurityListEgressSecurityRuleArgs.builder()
                    .destination(var_.security_list_egress_security_rules_destination())
                    .protocol(var_.security_list_egress_security_rules_protocol())
                    .description(var_.security_list_egress_security_rules_description())
                    .destinationType(var_.security_list_egress_security_rules_destination_type())
                    .icmpOptions(SecurityListEgressSecurityRuleIcmpOptionsArgs.builder()
                        .type(var_.security_list_egress_security_rules_icmp_options_type())
                        .code(var_.security_list_egress_security_rules_icmp_options_code())
                        .build())
                    .stateless(var_.security_list_egress_security_rules_stateless())
                    .tcpOptions(SecurityListEgressSecurityRuleTcpOptionsArgs.builder()
                        .max(var_.security_list_egress_security_rules_tcp_options_destination_port_range_max())
                        .min(var_.security_list_egress_security_rules_tcp_options_destination_port_range_min())
                        .sourcePortRange(SecurityListEgressSecurityRuleTcpOptionsSourcePortRangeArgs.builder()
                            .max(var_.security_list_egress_security_rules_tcp_options_source_port_range_max())
                            .min(var_.security_list_egress_security_rules_tcp_options_source_port_range_min())
                            .build())
                        .build())
                    .udpOptions(SecurityListEgressSecurityRuleUdpOptionsArgs.builder()
                        .max(var_.security_list_egress_security_rules_udp_options_destination_port_range_max())
                        .min(var_.security_list_egress_security_rules_udp_options_destination_port_range_min())
                        .sourcePortRange(SecurityListEgressSecurityRuleUdpOptionsSourcePortRangeArgs.builder()
                            .max(var_.security_list_egress_security_rules_udp_options_source_port_range_max())
                            .min(var_.security_list_egress_security_rules_udp_options_source_port_range_min())
                            .build())
                        .build())
                    .build())
                .freeformTags(Map.of("Department", "Finance"))
                .ingressSecurityRules(SecurityListIngressSecurityRuleArgs.builder()
                    .protocol(var_.security_list_ingress_security_rules_protocol())
                    .source(var_.security_list_ingress_security_rules_source())
                    .description(var_.security_list_ingress_security_rules_description())
                    .icmpOptions(SecurityListIngressSecurityRuleIcmpOptionsArgs.builder()
                        .type(var_.security_list_ingress_security_rules_icmp_options_type())
                        .code(var_.security_list_ingress_security_rules_icmp_options_code())
                        .build())
                    .sourceType(var_.security_list_ingress_security_rules_source_type())
                    .stateless(var_.security_list_ingress_security_rules_stateless())
                    .tcpOptions(SecurityListIngressSecurityRuleTcpOptionsArgs.builder()
                        .max(var_.security_list_ingress_security_rules_tcp_options_destination_port_range_max())
                        .min(var_.security_list_ingress_security_rules_tcp_options_destination_port_range_min())
                        .sourcePortRange(SecurityListIngressSecurityRuleTcpOptionsSourcePortRangeArgs.builder()
                            .max(var_.security_list_ingress_security_rules_tcp_options_source_port_range_max())
                            .min(var_.security_list_ingress_security_rules_tcp_options_source_port_range_min())
                            .build())
                        .build())
                    .udpOptions(SecurityListIngressSecurityRuleUdpOptionsArgs.builder()
                        .max(var_.security_list_ingress_security_rules_udp_options_destination_port_range_max())
                        .min(var_.security_list_ingress_security_rules_udp_options_destination_port_range_min())
                        .sourcePortRange(SecurityListIngressSecurityRuleUdpOptionsSourcePortRangeArgs.builder()
                            .max(var_.security_list_ingress_security_rules_udp_options_source_port_range_max())
                            .min(var_.security_list_ingress_security_rules_udp_options_source_port_range_min())
                            .build())
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      testSecurityList:
        type: oci:Core:SecurityList
        properties:
          #Required
          compartmentId: ${var.compartment_id}
          vcnId: ${oci_core_vcn.test_vcn.id}
          #Optional
          definedTags:
            Operations.CostCenter: '42'
          displayName: ${var.security_list_display_name}
          egressSecurityRules:
            - destination: ${var.security_list_egress_security_rules_destination}
              protocol: ${var.security_list_egress_security_rules_protocol}
              description: ${var.security_list_egress_security_rules_description}
              destinationType: ${var.security_list_egress_security_rules_destination_type}
              icmpOptions:
                type: ${var.security_list_egress_security_rules_icmp_options_type}
                code: ${var.security_list_egress_security_rules_icmp_options_code}
              stateless: ${var.security_list_egress_security_rules_stateless}
              tcpOptions:
                max: ${var.security_list_egress_security_rules_tcp_options_destination_port_range_max}
                min: ${var.security_list_egress_security_rules_tcp_options_destination_port_range_min}
                sourcePortRange:
                  max: ${var.security_list_egress_security_rules_tcp_options_source_port_range_max}
                  min: ${var.security_list_egress_security_rules_tcp_options_source_port_range_min}
              udpOptions:
                max: ${var.security_list_egress_security_rules_udp_options_destination_port_range_max}
                min: ${var.security_list_egress_security_rules_udp_options_destination_port_range_min}
                sourcePortRange:
                  max: ${var.security_list_egress_security_rules_udp_options_source_port_range_max}
                  min: ${var.security_list_egress_security_rules_udp_options_source_port_range_min}
          freeformTags:
            Department: Finance
          ingressSecurityRules:
            - protocol: ${var.security_list_ingress_security_rules_protocol}
              source: ${var.security_list_ingress_security_rules_source}
              description: ${var.security_list_ingress_security_rules_description}
              icmpOptions:
                type: ${var.security_list_ingress_security_rules_icmp_options_type}
                code: ${var.security_list_ingress_security_rules_icmp_options_code}
              sourceType: ${var.security_list_ingress_security_rules_source_type}
              stateless: ${var.security_list_ingress_security_rules_stateless}
              tcpOptions:
                max: ${var.security_list_ingress_security_rules_tcp_options_destination_port_range_max}
                min: ${var.security_list_ingress_security_rules_tcp_options_destination_port_range_min}
                sourcePortRange:
                  max: ${var.security_list_ingress_security_rules_tcp_options_source_port_range_max}
                  min: ${var.security_list_ingress_security_rules_tcp_options_source_port_range_min}
              udpOptions:
                max: ${var.security_list_ingress_security_rules_udp_options_destination_port_range_max}
                min: ${var.security_list_ingress_security_rules_udp_options_destination_port_range_min}
                sourcePortRange:
                  max: ${var.security_list_ingress_security_rules_udp_options_source_port_range_max}
                  min: ${var.security_list_ingress_security_rules_udp_options_source_port_range_min}
    

    Create SecurityList Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SecurityList(name: string, args: SecurityListArgs, opts?: CustomResourceOptions);
    @overload
    def SecurityList(resource_name: str,
                     args: SecurityListArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def SecurityList(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     compartment_id: Optional[str] = None,
                     vcn_id: Optional[str] = None,
                     defined_tags: Optional[Mapping[str, Any]] = None,
                     display_name: Optional[str] = None,
                     egress_security_rules: Optional[Sequence[_core.SecurityListEgressSecurityRuleArgs]] = None,
                     freeform_tags: Optional[Mapping[str, Any]] = None,
                     ingress_security_rules: Optional[Sequence[_core.SecurityListIngressSecurityRuleArgs]] = None)
    func NewSecurityList(ctx *Context, name string, args SecurityListArgs, opts ...ResourceOption) (*SecurityList, error)
    public SecurityList(string name, SecurityListArgs args, CustomResourceOptions? opts = null)
    public SecurityList(String name, SecurityListArgs args)
    public SecurityList(String name, SecurityListArgs args, CustomResourceOptions options)
    
    type: oci:Core:SecurityList
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args SecurityListArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args SecurityListArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args SecurityListArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SecurityListArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SecurityListArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var securityListResource = new Oci.Core.SecurityList("securityListResource", new()
    {
        CompartmentId = "string",
        VcnId = "string",
        DefinedTags = 
        {
            { "string", "any" },
        },
        DisplayName = "string",
        EgressSecurityRules = new[]
        {
            new Oci.Core.Inputs.SecurityListEgressSecurityRuleArgs
            {
                Destination = "string",
                Protocol = "string",
                Description = "string",
                DestinationType = "string",
                IcmpOptions = new Oci.Core.Inputs.SecurityListEgressSecurityRuleIcmpOptionsArgs
                {
                    Type = 0,
                    Code = 0,
                },
                Stateless = false,
                TcpOptions = new Oci.Core.Inputs.SecurityListEgressSecurityRuleTcpOptionsArgs
                {
                    Max = 0,
                    Min = 0,
                    SourcePortRange = new Oci.Core.Inputs.SecurityListEgressSecurityRuleTcpOptionsSourcePortRangeArgs
                    {
                        Max = 0,
                        Min = 0,
                    },
                },
                UdpOptions = new Oci.Core.Inputs.SecurityListEgressSecurityRuleUdpOptionsArgs
                {
                    Max = 0,
                    Min = 0,
                    SourcePortRange = new Oci.Core.Inputs.SecurityListEgressSecurityRuleUdpOptionsSourcePortRangeArgs
                    {
                        Max = 0,
                        Min = 0,
                    },
                },
            },
        },
        FreeformTags = 
        {
            { "string", "any" },
        },
        IngressSecurityRules = new[]
        {
            new Oci.Core.Inputs.SecurityListIngressSecurityRuleArgs
            {
                Protocol = "string",
                Source = "string",
                Description = "string",
                IcmpOptions = new Oci.Core.Inputs.SecurityListIngressSecurityRuleIcmpOptionsArgs
                {
                    Type = 0,
                    Code = 0,
                },
                SourceType = "string",
                Stateless = false,
                TcpOptions = new Oci.Core.Inputs.SecurityListIngressSecurityRuleTcpOptionsArgs
                {
                    Max = 0,
                    Min = 0,
                    SourcePortRange = new Oci.Core.Inputs.SecurityListIngressSecurityRuleTcpOptionsSourcePortRangeArgs
                    {
                        Max = 0,
                        Min = 0,
                    },
                },
                UdpOptions = new Oci.Core.Inputs.SecurityListIngressSecurityRuleUdpOptionsArgs
                {
                    Max = 0,
                    Min = 0,
                    SourcePortRange = new Oci.Core.Inputs.SecurityListIngressSecurityRuleUdpOptionsSourcePortRangeArgs
                    {
                        Max = 0,
                        Min = 0,
                    },
                },
            },
        },
    });
    
    example, err := Core.NewSecurityList(ctx, "securityListResource", &Core.SecurityListArgs{
    	CompartmentId: pulumi.String("string"),
    	VcnId:         pulumi.String("string"),
    	DefinedTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	DisplayName: pulumi.String("string"),
    	EgressSecurityRules: core.SecurityListEgressSecurityRuleArray{
    		&core.SecurityListEgressSecurityRuleArgs{
    			Destination:     pulumi.String("string"),
    			Protocol:        pulumi.String("string"),
    			Description:     pulumi.String("string"),
    			DestinationType: pulumi.String("string"),
    			IcmpOptions: &core.SecurityListEgressSecurityRuleIcmpOptionsArgs{
    				Type: pulumi.Int(0),
    				Code: pulumi.Int(0),
    			},
    			Stateless: pulumi.Bool(false),
    			TcpOptions: &core.SecurityListEgressSecurityRuleTcpOptionsArgs{
    				Max: pulumi.Int(0),
    				Min: pulumi.Int(0),
    				SourcePortRange: &core.SecurityListEgressSecurityRuleTcpOptionsSourcePortRangeArgs{
    					Max: pulumi.Int(0),
    					Min: pulumi.Int(0),
    				},
    			},
    			UdpOptions: &core.SecurityListEgressSecurityRuleUdpOptionsArgs{
    				Max: pulumi.Int(0),
    				Min: pulumi.Int(0),
    				SourcePortRange: &core.SecurityListEgressSecurityRuleUdpOptionsSourcePortRangeArgs{
    					Max: pulumi.Int(0),
    					Min: pulumi.Int(0),
    				},
    			},
    		},
    	},
    	FreeformTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	IngressSecurityRules: core.SecurityListIngressSecurityRuleArray{
    		&core.SecurityListIngressSecurityRuleArgs{
    			Protocol:    pulumi.String("string"),
    			Source:      pulumi.String("string"),
    			Description: pulumi.String("string"),
    			IcmpOptions: &core.SecurityListIngressSecurityRuleIcmpOptionsArgs{
    				Type: pulumi.Int(0),
    				Code: pulumi.Int(0),
    			},
    			SourceType: pulumi.String("string"),
    			Stateless:  pulumi.Bool(false),
    			TcpOptions: &core.SecurityListIngressSecurityRuleTcpOptionsArgs{
    				Max: pulumi.Int(0),
    				Min: pulumi.Int(0),
    				SourcePortRange: &core.SecurityListIngressSecurityRuleTcpOptionsSourcePortRangeArgs{
    					Max: pulumi.Int(0),
    					Min: pulumi.Int(0),
    				},
    			},
    			UdpOptions: &core.SecurityListIngressSecurityRuleUdpOptionsArgs{
    				Max: pulumi.Int(0),
    				Min: pulumi.Int(0),
    				SourcePortRange: &core.SecurityListIngressSecurityRuleUdpOptionsSourcePortRangeArgs{
    					Max: pulumi.Int(0),
    					Min: pulumi.Int(0),
    				},
    			},
    		},
    	},
    })
    
    var securityListResource = new SecurityList("securityListResource", SecurityListArgs.builder()        
        .compartmentId("string")
        .vcnId("string")
        .definedTags(Map.of("string", "any"))
        .displayName("string")
        .egressSecurityRules(SecurityListEgressSecurityRuleArgs.builder()
            .destination("string")
            .protocol("string")
            .description("string")
            .destinationType("string")
            .icmpOptions(SecurityListEgressSecurityRuleIcmpOptionsArgs.builder()
                .type(0)
                .code(0)
                .build())
            .stateless(false)
            .tcpOptions(SecurityListEgressSecurityRuleTcpOptionsArgs.builder()
                .max(0)
                .min(0)
                .sourcePortRange(SecurityListEgressSecurityRuleTcpOptionsSourcePortRangeArgs.builder()
                    .max(0)
                    .min(0)
                    .build())
                .build())
            .udpOptions(SecurityListEgressSecurityRuleUdpOptionsArgs.builder()
                .max(0)
                .min(0)
                .sourcePortRange(SecurityListEgressSecurityRuleUdpOptionsSourcePortRangeArgs.builder()
                    .max(0)
                    .min(0)
                    .build())
                .build())
            .build())
        .freeformTags(Map.of("string", "any"))
        .ingressSecurityRules(SecurityListIngressSecurityRuleArgs.builder()
            .protocol("string")
            .source("string")
            .description("string")
            .icmpOptions(SecurityListIngressSecurityRuleIcmpOptionsArgs.builder()
                .type(0)
                .code(0)
                .build())
            .sourceType("string")
            .stateless(false)
            .tcpOptions(SecurityListIngressSecurityRuleTcpOptionsArgs.builder()
                .max(0)
                .min(0)
                .sourcePortRange(SecurityListIngressSecurityRuleTcpOptionsSourcePortRangeArgs.builder()
                    .max(0)
                    .min(0)
                    .build())
                .build())
            .udpOptions(SecurityListIngressSecurityRuleUdpOptionsArgs.builder()
                .max(0)
                .min(0)
                .sourcePortRange(SecurityListIngressSecurityRuleUdpOptionsSourcePortRangeArgs.builder()
                    .max(0)
                    .min(0)
                    .build())
                .build())
            .build())
        .build());
    
    security_list_resource = oci.core.SecurityList("securityListResource",
        compartment_id="string",
        vcn_id="string",
        defined_tags={
            "string": "any",
        },
        display_name="string",
        egress_security_rules=[oci.core.SecurityListEgressSecurityRuleArgs(
            destination="string",
            protocol="string",
            description="string",
            destination_type="string",
            icmp_options=oci.core.SecurityListEgressSecurityRuleIcmpOptionsArgs(
                type=0,
                code=0,
            ),
            stateless=False,
            tcp_options=oci.core.SecurityListEgressSecurityRuleTcpOptionsArgs(
                max=0,
                min=0,
                source_port_range=oci.core.SecurityListEgressSecurityRuleTcpOptionsSourcePortRangeArgs(
                    max=0,
                    min=0,
                ),
            ),
            udp_options=oci.core.SecurityListEgressSecurityRuleUdpOptionsArgs(
                max=0,
                min=0,
                source_port_range=oci.core.SecurityListEgressSecurityRuleUdpOptionsSourcePortRangeArgs(
                    max=0,
                    min=0,
                ),
            ),
        )],
        freeform_tags={
            "string": "any",
        },
        ingress_security_rules=[oci.core.SecurityListIngressSecurityRuleArgs(
            protocol="string",
            source="string",
            description="string",
            icmp_options=oci.core.SecurityListIngressSecurityRuleIcmpOptionsArgs(
                type=0,
                code=0,
            ),
            source_type="string",
            stateless=False,
            tcp_options=oci.core.SecurityListIngressSecurityRuleTcpOptionsArgs(
                max=0,
                min=0,
                source_port_range=oci.core.SecurityListIngressSecurityRuleTcpOptionsSourcePortRangeArgs(
                    max=0,
                    min=0,
                ),
            ),
            udp_options=oci.core.SecurityListIngressSecurityRuleUdpOptionsArgs(
                max=0,
                min=0,
                source_port_range=oci.core.SecurityListIngressSecurityRuleUdpOptionsSourcePortRangeArgs(
                    max=0,
                    min=0,
                ),
            ),
        )])
    
    const securityListResource = new oci.core.SecurityList("securityListResource", {
        compartmentId: "string",
        vcnId: "string",
        definedTags: {
            string: "any",
        },
        displayName: "string",
        egressSecurityRules: [{
            destination: "string",
            protocol: "string",
            description: "string",
            destinationType: "string",
            icmpOptions: {
                type: 0,
                code: 0,
            },
            stateless: false,
            tcpOptions: {
                max: 0,
                min: 0,
                sourcePortRange: {
                    max: 0,
                    min: 0,
                },
            },
            udpOptions: {
                max: 0,
                min: 0,
                sourcePortRange: {
                    max: 0,
                    min: 0,
                },
            },
        }],
        freeformTags: {
            string: "any",
        },
        ingressSecurityRules: [{
            protocol: "string",
            source: "string",
            description: "string",
            icmpOptions: {
                type: 0,
                code: 0,
            },
            sourceType: "string",
            stateless: false,
            tcpOptions: {
                max: 0,
                min: 0,
                sourcePortRange: {
                    max: 0,
                    min: 0,
                },
            },
            udpOptions: {
                max: 0,
                min: 0,
                sourcePortRange: {
                    max: 0,
                    min: 0,
                },
            },
        }],
    });
    
    type: oci:Core:SecurityList
    properties:
        compartmentId: string
        definedTags:
            string: any
        displayName: string
        egressSecurityRules:
            - description: string
              destination: string
              destinationType: string
              icmpOptions:
                code: 0
                type: 0
              protocol: string
              stateless: false
              tcpOptions:
                max: 0
                min: 0
                sourcePortRange:
                    max: 0
                    min: 0
              udpOptions:
                max: 0
                min: 0
                sourcePortRange:
                    max: 0
                    min: 0
        freeformTags:
            string: any
        ingressSecurityRules:
            - description: string
              icmpOptions:
                code: 0
                type: 0
              protocol: string
              source: string
              sourceType: string
              stateless: false
              tcpOptions:
                max: 0
                min: 0
                sourcePortRange:
                    max: 0
                    min: 0
              udpOptions:
                max: 0
                min: 0
                sourcePortRange:
                    max: 0
                    min: 0
        vcnId: string
    

    SecurityList Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The SecurityList resource accepts the following input properties:

    CompartmentId string
    (Updatable) The OCID of the compartment to contain the security list.
    VcnId string

    The OCID of the VCN the security list belongs to.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    DefinedTags Dictionary<string, object>
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    EgressSecurityRules List<SecurityListEgressSecurityRule>
    (Updatable) Rules for allowing egress IP packets.
    FreeformTags Dictionary<string, object>
    (Updatable) 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"}
    IngressSecurityRules List<SecurityListIngressSecurityRule>
    (Updatable) Rules for allowing ingress IP packets.
    CompartmentId string
    (Updatable) The OCID of the compartment to contain the security list.
    VcnId string

    The OCID of the VCN the security list belongs to.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    DefinedTags map[string]interface{}
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    EgressSecurityRules []SecurityListEgressSecurityRuleArgs
    (Updatable) Rules for allowing egress IP packets.
    FreeformTags map[string]interface{}
    (Updatable) 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"}
    IngressSecurityRules []SecurityListIngressSecurityRuleArgs
    (Updatable) Rules for allowing ingress IP packets.
    compartmentId String
    (Updatable) The OCID of the compartment to contain the security list.
    vcnId String

    The OCID of the VCN the security list belongs to.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    definedTags Map<String,Object>
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    egressSecurityRules List<SecurityListEgressSecurityRule>
    (Updatable) Rules for allowing egress IP packets.
    freeformTags Map<String,Object>
    (Updatable) 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"}
    ingressSecurityRules List<SecurityListIngressSecurityRule>
    (Updatable) Rules for allowing ingress IP packets.
    compartmentId string
    (Updatable) The OCID of the compartment to contain the security list.
    vcnId string

    The OCID of the VCN the security list belongs to.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    definedTags {[key: string]: any}
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    egressSecurityRules SecurityListEgressSecurityRule[]
    (Updatable) Rules for allowing egress IP packets.
    freeformTags {[key: string]: any}
    (Updatable) 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"}
    ingressSecurityRules SecurityListIngressSecurityRule[]
    (Updatable) Rules for allowing ingress IP packets.
    compartment_id str
    (Updatable) The OCID of the compartment to contain the security list.
    vcn_id str

    The OCID of the VCN the security list belongs to.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    defined_tags Mapping[str, Any]
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    egress_security_rules Sequence[core.SecurityListEgressSecurityRuleArgs]
    (Updatable) Rules for allowing egress IP packets.
    freeform_tags Mapping[str, Any]
    (Updatable) 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"}
    ingress_security_rules Sequence[core.SecurityListIngressSecurityRuleArgs]
    (Updatable) Rules for allowing ingress IP packets.
    compartmentId String
    (Updatable) The OCID of the compartment to contain the security list.
    vcnId String

    The OCID of the VCN the security list belongs to.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    definedTags Map<Any>
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    egressSecurityRules List<Property Map>
    (Updatable) Rules for allowing egress IP packets.
    freeformTags Map<Any>
    (Updatable) 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"}
    ingressSecurityRules List<Property Map>
    (Updatable) Rules for allowing ingress IP packets.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SecurityList resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The security list's current state.
    TimeCreated string
    The date and time the security list was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The security list's current state.
    TimeCreated string
    The date and time the security list was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The security list's current state.
    timeCreated String
    The date and time the security list was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    id string
    The provider-assigned unique ID for this managed resource.
    state string
    The security list's current state.
    timeCreated string
    The date and time the security list was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    id str
    The provider-assigned unique ID for this managed resource.
    state str
    The security list's current state.
    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
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The security list's current state.
    timeCreated String
    The date and time the security list was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

    Look up Existing SecurityList Resource

    Get an existing SecurityList resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: SecurityListState, opts?: CustomResourceOptions): SecurityList
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, Any]] = None,
            display_name: Optional[str] = None,
            egress_security_rules: Optional[Sequence[_core.SecurityListEgressSecurityRuleArgs]] = None,
            freeform_tags: Optional[Mapping[str, Any]] = None,
            ingress_security_rules: Optional[Sequence[_core.SecurityListIngressSecurityRuleArgs]] = None,
            state: Optional[str] = None,
            time_created: Optional[str] = None,
            vcn_id: Optional[str] = None) -> SecurityList
    func GetSecurityList(ctx *Context, name string, id IDInput, state *SecurityListState, opts ...ResourceOption) (*SecurityList, error)
    public static SecurityList Get(string name, Input<string> id, SecurityListState? state, CustomResourceOptions? opts = null)
    public static SecurityList get(String name, Output<String> id, SecurityListState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CompartmentId string
    (Updatable) The OCID of the compartment to contain the security list.
    DefinedTags Dictionary<string, object>
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    EgressSecurityRules List<SecurityListEgressSecurityRule>
    (Updatable) Rules for allowing egress IP packets.
    FreeformTags Dictionary<string, object>
    (Updatable) 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"}
    IngressSecurityRules List<SecurityListIngressSecurityRule>
    (Updatable) Rules for allowing ingress IP packets.
    State string
    The security list's current state.
    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 the security list belongs to.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    CompartmentId string
    (Updatable) The OCID of the compartment to contain the security list.
    DefinedTags map[string]interface{}
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    EgressSecurityRules []SecurityListEgressSecurityRuleArgs
    (Updatable) Rules for allowing egress IP packets.
    FreeformTags map[string]interface{}
    (Updatable) 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"}
    IngressSecurityRules []SecurityListIngressSecurityRuleArgs
    (Updatable) Rules for allowing ingress IP packets.
    State string
    The security list's current state.
    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 the security list belongs to.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId String
    (Updatable) The OCID of the compartment to contain the security list.
    definedTags Map<String,Object>
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    egressSecurityRules List<SecurityListEgressSecurityRule>
    (Updatable) Rules for allowing egress IP packets.
    freeformTags Map<String,Object>
    (Updatable) 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"}
    ingressSecurityRules List<SecurityListIngressSecurityRule>
    (Updatable) Rules for allowing ingress IP packets.
    state String
    The security list's current state.
    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 the security list belongs to.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId string
    (Updatable) The OCID of the compartment to contain the security list.
    definedTags {[key: string]: any}
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    egressSecurityRules SecurityListEgressSecurityRule[]
    (Updatable) Rules for allowing egress IP packets.
    freeformTags {[key: string]: any}
    (Updatable) 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"}
    ingressSecurityRules SecurityListIngressSecurityRule[]
    (Updatable) Rules for allowing ingress IP packets.
    state string
    The security list's current state.
    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 the security list belongs to.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartment_id str
    (Updatable) The OCID of the compartment to contain the security list.
    defined_tags Mapping[str, Any]
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    egress_security_rules Sequence[core.SecurityListEgressSecurityRuleArgs]
    (Updatable) Rules for allowing egress IP packets.
    freeform_tags Mapping[str, Any]
    (Updatable) 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"}
    ingress_security_rules Sequence[core.SecurityListIngressSecurityRuleArgs]
    (Updatable) Rules for allowing ingress IP packets.
    state str
    The security list's current state.
    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 the security list belongs to.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId String
    (Updatable) The OCID of the compartment to contain the security list.
    definedTags Map<Any>
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    egressSecurityRules List<Property Map>
    (Updatable) Rules for allowing egress IP packets.
    freeformTags Map<Any>
    (Updatable) 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"}
    ingressSecurityRules List<Property Map>
    (Updatable) Rules for allowing ingress IP packets.
    state String
    The security list's current state.
    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 the security list belongs to.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Supporting Types

    SecurityListEgressSecurityRule, SecurityListEgressSecurityRuleArgs

    Destination string

    (Updatable) Conceptually, this is the range of IP addresses that a packet originating from the instance can go to.

    Allowed values:

    • IP address range in CIDR notation. For example: 192.168.1.0/24 or 2001:0db8:0123:45::/56 Note that IPv6 addressing is currently supported only in certain regions. See IPv6 Addresses.
    • The cidrBlock value for a Service, if you're setting up a security list rule for traffic destined for a particular Service through a service gateway. For example: oci-phx-objectstorage.
    Protocol string
    (Updatable) 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").
    Description string
    (Updatable) An optional description of your choice for the rule.
    DestinationType string

    (Updatable) Type of destination for the rule. The default is CIDR_BLOCK.

    Allowed values:

    IcmpOptions SecurityListEgressSecurityRuleIcmpOptions

    (Updatable) Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:

    If you specify ICMP or ICMPv6 as the protocol but omit this object, then all ICMP types and codes are allowed. If you do provide this object, the type is required and the code is optional. To enable MTU negotiation for ingress internet traffic via IPv4, make sure to allow type 3 ("Destination Unreachable") code 4 ("Fragmentation Needed and Don't Fragment was Set"). If you need to specify multiple codes for a single type, create a separate security list rule for each.

    Stateless bool
    (Updatable) 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 SecurityListEgressSecurityRuleTcpOptions
    (Updatable) 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.
    UdpOptions SecurityListEgressSecurityRuleUdpOptions
    (Updatable) 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.
    Destination string

    (Updatable) Conceptually, this is the range of IP addresses that a packet originating from the instance can go to.

    Allowed values:

    • IP address range in CIDR notation. For example: 192.168.1.0/24 or 2001:0db8:0123:45::/56 Note that IPv6 addressing is currently supported only in certain regions. See IPv6 Addresses.
    • The cidrBlock value for a Service, if you're setting up a security list rule for traffic destined for a particular Service through a service gateway. For example: oci-phx-objectstorage.
    Protocol string
    (Updatable) 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").
    Description string
    (Updatable) An optional description of your choice for the rule.
    DestinationType string

    (Updatable) Type of destination for the rule. The default is CIDR_BLOCK.

    Allowed values:

    IcmpOptions SecurityListEgressSecurityRuleIcmpOptions

    (Updatable) Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:

    If you specify ICMP or ICMPv6 as the protocol but omit this object, then all ICMP types and codes are allowed. If you do provide this object, the type is required and the code is optional. To enable MTU negotiation for ingress internet traffic via IPv4, make sure to allow type 3 ("Destination Unreachable") code 4 ("Fragmentation Needed and Don't Fragment was Set"). If you need to specify multiple codes for a single type, create a separate security list rule for each.

    Stateless bool
    (Updatable) 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 SecurityListEgressSecurityRuleTcpOptions
    (Updatable) 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.
    UdpOptions SecurityListEgressSecurityRuleUdpOptions
    (Updatable) 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.
    destination String

    (Updatable) Conceptually, this is the range of IP addresses that a packet originating from the instance can go to.

    Allowed values:

    • IP address range in CIDR notation. For example: 192.168.1.0/24 or 2001:0db8:0123:45::/56 Note that IPv6 addressing is currently supported only in certain regions. See IPv6 Addresses.
    • The cidrBlock value for a Service, if you're setting up a security list rule for traffic destined for a particular Service through a service gateway. For example: oci-phx-objectstorage.
    protocol String
    (Updatable) 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").
    description String
    (Updatable) An optional description of your choice for the rule.
    destinationType String

    (Updatable) Type of destination for the rule. The default is CIDR_BLOCK.

    Allowed values:

    icmpOptions SecurityListEgressSecurityRuleIcmpOptions

    (Updatable) Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:

    If you specify ICMP or ICMPv6 as the protocol but omit this object, then all ICMP types and codes are allowed. If you do provide this object, the type is required and the code is optional. To enable MTU negotiation for ingress internet traffic via IPv4, make sure to allow type 3 ("Destination Unreachable") code 4 ("Fragmentation Needed and Don't Fragment was Set"). If you need to specify multiple codes for a single type, create a separate security list rule for each.

    stateless Boolean
    (Updatable) 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 SecurityListEgressSecurityRuleTcpOptions
    (Updatable) 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.
    udpOptions SecurityListEgressSecurityRuleUdpOptions
    (Updatable) 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.
    destination string

    (Updatable) Conceptually, this is the range of IP addresses that a packet originating from the instance can go to.

    Allowed values:

    • IP address range in CIDR notation. For example: 192.168.1.0/24 or 2001:0db8:0123:45::/56 Note that IPv6 addressing is currently supported only in certain regions. See IPv6 Addresses.
    • The cidrBlock value for a Service, if you're setting up a security list rule for traffic destined for a particular Service through a service gateway. For example: oci-phx-objectstorage.
    protocol string
    (Updatable) 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").
    description string
    (Updatable) An optional description of your choice for the rule.
    destinationType string

    (Updatable) Type of destination for the rule. The default is CIDR_BLOCK.

    Allowed values:

    icmpOptions SecurityListEgressSecurityRuleIcmpOptions

    (Updatable) Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:

    If you specify ICMP or ICMPv6 as the protocol but omit this object, then all ICMP types and codes are allowed. If you do provide this object, the type is required and the code is optional. To enable MTU negotiation for ingress internet traffic via IPv4, make sure to allow type 3 ("Destination Unreachable") code 4 ("Fragmentation Needed and Don't Fragment was Set"). If you need to specify multiple codes for a single type, create a separate security list rule for each.

    stateless boolean
    (Updatable) 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 SecurityListEgressSecurityRuleTcpOptions
    (Updatable) 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.
    udpOptions SecurityListEgressSecurityRuleUdpOptions
    (Updatable) 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.
    destination str

    (Updatable) Conceptually, this is the range of IP addresses that a packet originating from the instance can go to.

    Allowed values:

    • IP address range in CIDR notation. For example: 192.168.1.0/24 or 2001:0db8:0123:45::/56 Note that IPv6 addressing is currently supported only in certain regions. See IPv6 Addresses.
    • The cidrBlock value for a Service, if you're setting up a security list rule for traffic destined for a particular Service through a service gateway. For example: oci-phx-objectstorage.
    protocol str
    (Updatable) 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").
    description str
    (Updatable) An optional description of your choice for the rule.
    destination_type str

    (Updatable) Type of destination for the rule. The default is CIDR_BLOCK.

    Allowed values:

    icmp_options core.SecurityListEgressSecurityRuleIcmpOptions

    (Updatable) Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:

    If you specify ICMP or ICMPv6 as the protocol but omit this object, then all ICMP types and codes are allowed. If you do provide this object, the type is required and the code is optional. To enable MTU negotiation for ingress internet traffic via IPv4, make sure to allow type 3 ("Destination Unreachable") code 4 ("Fragmentation Needed and Don't Fragment was Set"). If you need to specify multiple codes for a single type, create a separate security list rule for each.

    stateless bool
    (Updatable) 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 core.SecurityListEgressSecurityRuleTcpOptions
    (Updatable) 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.
    udp_options core.SecurityListEgressSecurityRuleUdpOptions
    (Updatable) 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.
    destination String

    (Updatable) Conceptually, this is the range of IP addresses that a packet originating from the instance can go to.

    Allowed values:

    • IP address range in CIDR notation. For example: 192.168.1.0/24 or 2001:0db8:0123:45::/56 Note that IPv6 addressing is currently supported only in certain regions. See IPv6 Addresses.
    • The cidrBlock value for a Service, if you're setting up a security list rule for traffic destined for a particular Service through a service gateway. For example: oci-phx-objectstorage.
    protocol String
    (Updatable) 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").
    description String
    (Updatable) An optional description of your choice for the rule.
    destinationType String

    (Updatable) Type of destination for the rule. The default is CIDR_BLOCK.

    Allowed values:

    icmpOptions Property Map

    (Updatable) Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:

    If you specify ICMP or ICMPv6 as the protocol but omit this object, then all ICMP types and codes are allowed. If you do provide this object, the type is required and the code is optional. To enable MTU negotiation for ingress internet traffic via IPv4, make sure to allow type 3 ("Destination Unreachable") code 4 ("Fragmentation Needed and Don't Fragment was Set"). If you need to specify multiple codes for a single type, create a separate security list rule for each.

    stateless Boolean
    (Updatable) 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 Property Map
    (Updatable) 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.
    udpOptions Property Map
    (Updatable) 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.

    SecurityListEgressSecurityRuleIcmpOptions, SecurityListEgressSecurityRuleIcmpOptionsArgs

    Type int
    (Updatable) The ICMP type.
    Code int
    (Updatable) The ICMP code (optional).
    Type int
    (Updatable) The ICMP type.
    Code int
    (Updatable) The ICMP code (optional).
    type Integer
    (Updatable) The ICMP type.
    code Integer
    (Updatable) The ICMP code (optional).
    type number
    (Updatable) The ICMP type.
    code number
    (Updatable) The ICMP code (optional).
    type int
    (Updatable) The ICMP type.
    code int
    (Updatable) The ICMP code (optional).
    type Number
    (Updatable) The ICMP type.
    code Number
    (Updatable) The ICMP code (optional).

    SecurityListEgressSecurityRuleTcpOptions, SecurityListEgressSecurityRuleTcpOptionsArgs

    Max int
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    Min int
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    SourcePortRange SecurityListEgressSecurityRuleTcpOptionsSourcePortRange
    (Updatable)
    Max int
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    Min int
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    SourcePortRange SecurityListEgressSecurityRuleTcpOptionsSourcePortRange
    (Updatable)
    max Integer
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min Integer
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    sourcePortRange SecurityListEgressSecurityRuleTcpOptionsSourcePortRange
    (Updatable)
    max number
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min number
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    sourcePortRange SecurityListEgressSecurityRuleTcpOptionsSourcePortRange
    (Updatable)
    max int
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min int
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    source_port_range core.SecurityListEgressSecurityRuleTcpOptionsSourcePortRange
    (Updatable)
    max Number
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min Number
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    sourcePortRange Property Map
    (Updatable)

    SecurityListEgressSecurityRuleTcpOptionsSourcePortRange, SecurityListEgressSecurityRuleTcpOptionsSourcePortRangeArgs

    Max int
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    Min int
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    Max int
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    Min int
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    max Integer
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min Integer
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    max number
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min number
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    max int
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min int
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    max Number
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min Number
    (Updatable) The minimum port number, which must not be greater than the maximum port number.

    SecurityListEgressSecurityRuleUdpOptions, SecurityListEgressSecurityRuleUdpOptionsArgs

    Max int
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    Min int
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    SourcePortRange SecurityListEgressSecurityRuleUdpOptionsSourcePortRange
    (Updatable)
    Max int
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    Min int
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    SourcePortRange SecurityListEgressSecurityRuleUdpOptionsSourcePortRange
    (Updatable)
    max Integer
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min Integer
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    sourcePortRange SecurityListEgressSecurityRuleUdpOptionsSourcePortRange
    (Updatable)
    max number
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min number
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    sourcePortRange SecurityListEgressSecurityRuleUdpOptionsSourcePortRange
    (Updatable)
    max int
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min int
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    source_port_range core.SecurityListEgressSecurityRuleUdpOptionsSourcePortRange
    (Updatable)
    max Number
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min Number
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    sourcePortRange Property Map
    (Updatable)

    SecurityListEgressSecurityRuleUdpOptionsSourcePortRange, SecurityListEgressSecurityRuleUdpOptionsSourcePortRangeArgs

    Max int
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    Min int
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    Max int
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    Min int
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    max Integer
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min Integer
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    max number
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min number
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    max int
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min int
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    max Number
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min Number
    (Updatable) The minimum port number, which must not be greater than the maximum port number.

    SecurityListIngressSecurityRule, SecurityListIngressSecurityRuleArgs

    Protocol string
    (Updatable) 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

    (Updatable) Conceptually, this is the range of IP addresses that a packet coming into the instance can come from.

    Allowed values:

    • IP address range in CIDR notation. For example: 192.168.1.0/24 or 2001:0db8:0123:45::/56. IPv6 addressing is supported for all commercial and government regions. See IPv6 Addresses.
    • The cidrBlock value for a Service, if you're setting up a security list rule for traffic coming from a particular Service through a service gateway. For example: oci-phx-objectstorage.
    Description string
    (Updatable) An optional description of your choice for the rule.
    IcmpOptions SecurityListIngressSecurityRuleIcmpOptions

    (Updatable) Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:

    If you specify ICMP or ICMPv6 as the protocol but omit this object, then all ICMP types and codes are allowed. If you do provide this object, the type is required and the code is optional. To enable MTU negotiation for ingress internet traffic via IPv4, make sure to allow type 3 ("Destination Unreachable") code 4 ("Fragmentation Needed and Don't Fragment was Set"). If you need to specify multiple codes for a single type, create a separate security list rule for each.

    SourceType string
    (Updatable) Type of source for the rule. The default is CIDR_BLOCK.
    Stateless bool
    (Updatable) 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 SecurityListIngressSecurityRuleTcpOptions
    (Updatable) 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.
    UdpOptions SecurityListIngressSecurityRuleUdpOptions
    (Updatable) 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.
    Protocol string
    (Updatable) 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

    (Updatable) Conceptually, this is the range of IP addresses that a packet coming into the instance can come from.

    Allowed values:

    • IP address range in CIDR notation. For example: 192.168.1.0/24 or 2001:0db8:0123:45::/56. IPv6 addressing is supported for all commercial and government regions. See IPv6 Addresses.
    • The cidrBlock value for a Service, if you're setting up a security list rule for traffic coming from a particular Service through a service gateway. For example: oci-phx-objectstorage.
    Description string
    (Updatable) An optional description of your choice for the rule.
    IcmpOptions SecurityListIngressSecurityRuleIcmpOptions

    (Updatable) Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:

    If you specify ICMP or ICMPv6 as the protocol but omit this object, then all ICMP types and codes are allowed. If you do provide this object, the type is required and the code is optional. To enable MTU negotiation for ingress internet traffic via IPv4, make sure to allow type 3 ("Destination Unreachable") code 4 ("Fragmentation Needed and Don't Fragment was Set"). If you need to specify multiple codes for a single type, create a separate security list rule for each.

    SourceType string
    (Updatable) Type of source for the rule. The default is CIDR_BLOCK.
    Stateless bool
    (Updatable) 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 SecurityListIngressSecurityRuleTcpOptions
    (Updatable) 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.
    UdpOptions SecurityListIngressSecurityRuleUdpOptions
    (Updatable) 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.
    protocol String
    (Updatable) 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

    (Updatable) Conceptually, this is the range of IP addresses that a packet coming into the instance can come from.

    Allowed values:

    • IP address range in CIDR notation. For example: 192.168.1.0/24 or 2001:0db8:0123:45::/56. IPv6 addressing is supported for all commercial and government regions. See IPv6 Addresses.
    • The cidrBlock value for a Service, if you're setting up a security list rule for traffic coming from a particular Service through a service gateway. For example: oci-phx-objectstorage.
    description String
    (Updatable) An optional description of your choice for the rule.
    icmpOptions SecurityListIngressSecurityRuleIcmpOptions

    (Updatable) Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:

    If you specify ICMP or ICMPv6 as the protocol but omit this object, then all ICMP types and codes are allowed. If you do provide this object, the type is required and the code is optional. To enable MTU negotiation for ingress internet traffic via IPv4, make sure to allow type 3 ("Destination Unreachable") code 4 ("Fragmentation Needed and Don't Fragment was Set"). If you need to specify multiple codes for a single type, create a separate security list rule for each.

    sourceType String
    (Updatable) Type of source for the rule. The default is CIDR_BLOCK.
    stateless Boolean
    (Updatable) 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 SecurityListIngressSecurityRuleTcpOptions
    (Updatable) 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.
    udpOptions SecurityListIngressSecurityRuleUdpOptions
    (Updatable) 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.
    protocol string
    (Updatable) 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

    (Updatable) Conceptually, this is the range of IP addresses that a packet coming into the instance can come from.

    Allowed values:

    • IP address range in CIDR notation. For example: 192.168.1.0/24 or 2001:0db8:0123:45::/56. IPv6 addressing is supported for all commercial and government regions. See IPv6 Addresses.
    • The cidrBlock value for a Service, if you're setting up a security list rule for traffic coming from a particular Service through a service gateway. For example: oci-phx-objectstorage.
    description string
    (Updatable) An optional description of your choice for the rule.
    icmpOptions SecurityListIngressSecurityRuleIcmpOptions

    (Updatable) Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:

    If you specify ICMP or ICMPv6 as the protocol but omit this object, then all ICMP types and codes are allowed. If you do provide this object, the type is required and the code is optional. To enable MTU negotiation for ingress internet traffic via IPv4, make sure to allow type 3 ("Destination Unreachable") code 4 ("Fragmentation Needed and Don't Fragment was Set"). If you need to specify multiple codes for a single type, create a separate security list rule for each.

    sourceType string
    (Updatable) Type of source for the rule. The default is CIDR_BLOCK.
    stateless boolean
    (Updatable) 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 SecurityListIngressSecurityRuleTcpOptions
    (Updatable) 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.
    udpOptions SecurityListIngressSecurityRuleUdpOptions
    (Updatable) 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.
    protocol str
    (Updatable) 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

    (Updatable) Conceptually, this is the range of IP addresses that a packet coming into the instance can come from.

    Allowed values:

    • IP address range in CIDR notation. For example: 192.168.1.0/24 or 2001:0db8:0123:45::/56. IPv6 addressing is supported for all commercial and government regions. See IPv6 Addresses.
    • The cidrBlock value for a Service, if you're setting up a security list rule for traffic coming from a particular Service through a service gateway. For example: oci-phx-objectstorage.
    description str
    (Updatable) An optional description of your choice for the rule.
    icmp_options core.SecurityListIngressSecurityRuleIcmpOptions

    (Updatable) Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:

    If you specify ICMP or ICMPv6 as the protocol but omit this object, then all ICMP types and codes are allowed. If you do provide this object, the type is required and the code is optional. To enable MTU negotiation for ingress internet traffic via IPv4, make sure to allow type 3 ("Destination Unreachable") code 4 ("Fragmentation Needed and Don't Fragment was Set"). If you need to specify multiple codes for a single type, create a separate security list rule for each.

    source_type str
    (Updatable) Type of source for the rule. The default is CIDR_BLOCK.
    stateless bool
    (Updatable) 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 core.SecurityListIngressSecurityRuleTcpOptions
    (Updatable) 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.
    udp_options core.SecurityListIngressSecurityRuleUdpOptions
    (Updatable) 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.
    protocol String
    (Updatable) 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

    (Updatable) Conceptually, this is the range of IP addresses that a packet coming into the instance can come from.

    Allowed values:

    • IP address range in CIDR notation. For example: 192.168.1.0/24 or 2001:0db8:0123:45::/56. IPv6 addressing is supported for all commercial and government regions. See IPv6 Addresses.
    • The cidrBlock value for a Service, if you're setting up a security list rule for traffic coming from a particular Service through a service gateway. For example: oci-phx-objectstorage.
    description String
    (Updatable) An optional description of your choice for the rule.
    icmpOptions Property Map

    (Updatable) Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in:

    If you specify ICMP or ICMPv6 as the protocol but omit this object, then all ICMP types and codes are allowed. If you do provide this object, the type is required and the code is optional. To enable MTU negotiation for ingress internet traffic via IPv4, make sure to allow type 3 ("Destination Unreachable") code 4 ("Fragmentation Needed and Don't Fragment was Set"). If you need to specify multiple codes for a single type, create a separate security list rule for each.

    sourceType String
    (Updatable) Type of source for the rule. The default is CIDR_BLOCK.
    stateless Boolean
    (Updatable) 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 Property Map
    (Updatable) 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.
    udpOptions Property Map
    (Updatable) 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.

    SecurityListIngressSecurityRuleIcmpOptions, SecurityListIngressSecurityRuleIcmpOptionsArgs

    Type int
    (Updatable) The ICMP type.
    Code int
    (Updatable) The ICMP code (optional).
    Type int
    (Updatable) The ICMP type.
    Code int
    (Updatable) The ICMP code (optional).
    type Integer
    (Updatable) The ICMP type.
    code Integer
    (Updatable) The ICMP code (optional).
    type number
    (Updatable) The ICMP type.
    code number
    (Updatable) The ICMP code (optional).
    type int
    (Updatable) The ICMP type.
    code int
    (Updatable) The ICMP code (optional).
    type Number
    (Updatable) The ICMP type.
    code Number
    (Updatable) The ICMP code (optional).

    SecurityListIngressSecurityRuleTcpOptions, SecurityListIngressSecurityRuleTcpOptionsArgs

    Max int
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    Min int
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    SourcePortRange SecurityListIngressSecurityRuleTcpOptionsSourcePortRange
    (Updatable)
    Max int
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    Min int
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    SourcePortRange SecurityListIngressSecurityRuleTcpOptionsSourcePortRange
    (Updatable)
    max Integer
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min Integer
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    sourcePortRange SecurityListIngressSecurityRuleTcpOptionsSourcePortRange
    (Updatable)
    max number
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min number
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    sourcePortRange SecurityListIngressSecurityRuleTcpOptionsSourcePortRange
    (Updatable)
    max int
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min int
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    source_port_range core.SecurityListIngressSecurityRuleTcpOptionsSourcePortRange
    (Updatable)
    max Number
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min Number
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    sourcePortRange Property Map
    (Updatable)

    SecurityListIngressSecurityRuleTcpOptionsSourcePortRange, SecurityListIngressSecurityRuleTcpOptionsSourcePortRangeArgs

    Max int
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    Min int
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    Max int
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    Min int
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    max Integer
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min Integer
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    max number
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min number
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    max int
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min int
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    max Number
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min Number
    (Updatable) The minimum port number, which must not be greater than the maximum port number.

    SecurityListIngressSecurityRuleUdpOptions, SecurityListIngressSecurityRuleUdpOptionsArgs

    Max int
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    Min int
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    SourcePortRange SecurityListIngressSecurityRuleUdpOptionsSourcePortRange
    (Updatable)
    Max int
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    Min int
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    SourcePortRange SecurityListIngressSecurityRuleUdpOptionsSourcePortRange
    (Updatable)
    max Integer
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min Integer
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    sourcePortRange SecurityListIngressSecurityRuleUdpOptionsSourcePortRange
    (Updatable)
    max number
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min number
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    sourcePortRange SecurityListIngressSecurityRuleUdpOptionsSourcePortRange
    (Updatable)
    max int
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min int
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    source_port_range core.SecurityListIngressSecurityRuleUdpOptionsSourcePortRange
    (Updatable)
    max Number
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min Number
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    sourcePortRange Property Map
    (Updatable)

    SecurityListIngressSecurityRuleUdpOptionsSourcePortRange, SecurityListIngressSecurityRuleUdpOptionsSourcePortRangeArgs

    Max int
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    Min int
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    Max int
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    Min int
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    max Integer
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min Integer
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    max number
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min number
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    max int
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min int
    (Updatable) The minimum port number, which must not be greater than the maximum port number.
    max Number
    (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.
    min Number
    (Updatable) The minimum port number, which must not be greater than the maximum port number.

    Import

    SecurityLists can be imported using the id, e.g.

    $ pulumi import oci:Core/securityList:SecurityList test_security_list "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi