Oracle Cloud Infrastructure

v0.5.0 published on Monday, Sep 12, 2022 by Pulumi

DefaultSecurityList

Create a DefaultSecurityList Resource

new DefaultSecurityList(name: string, args: DefaultSecurityListArgs, opts?: CustomResourceOptions);
@overload
def DefaultSecurityList(resource_name: 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.DefaultSecurityListEgressSecurityRuleArgs]] = None,
                        freeform_tags: Optional[Mapping[str, Any]] = None,
                        ingress_security_rules: Optional[Sequence[_core.DefaultSecurityListIngressSecurityRuleArgs]] = None,
                        manage_default_resource_id: Optional[str] = None)
@overload
def DefaultSecurityList(resource_name: str,
                        args: DefaultSecurityListArgs,
                        opts: Optional[ResourceOptions] = None)
func NewDefaultSecurityList(ctx *Context, name string, args DefaultSecurityListArgs, opts ...ResourceOption) (*DefaultSecurityList, error)
public DefaultSecurityList(string name, DefaultSecurityListArgs args, CustomResourceOptions? opts = null)
public DefaultSecurityList(String name, DefaultSecurityListArgs args)
public DefaultSecurityList(String name, DefaultSecurityListArgs args, CustomResourceOptions options)
type: oci:Core:DefaultSecurityList
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args DefaultSecurityListArgs
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 DefaultSecurityListArgs
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 DefaultSecurityListArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DefaultSecurityListArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args DefaultSecurityListArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

DefaultSecurityList 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 DefaultSecurityList resource accepts the following input properties:

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

State string
TimeCreated string
Id string

The provider-assigned unique ID for this managed resource.

State string
TimeCreated string
id String

The provider-assigned unique ID for this managed resource.

state String
timeCreated String
id string

The provider-assigned unique ID for this managed resource.

state string
timeCreated string
id str

The provider-assigned unique ID for this managed resource.

state str
time_created str
id String

The provider-assigned unique ID for this managed resource.

state String
timeCreated String

Look up an Existing DefaultSecurityList Resource

Get an existing DefaultSecurityList 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?: DefaultSecurityListState, opts?: CustomResourceOptions): DefaultSecurityList
@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.DefaultSecurityListEgressSecurityRuleArgs]] = None,
        freeform_tags: Optional[Mapping[str, Any]] = None,
        ingress_security_rules: Optional[Sequence[_core.DefaultSecurityListIngressSecurityRuleArgs]] = None,
        manage_default_resource_id: Optional[str] = None,
        state: Optional[str] = None,
        time_created: Optional[str] = None) -> DefaultSecurityList
func GetDefaultSecurityList(ctx *Context, name string, id IDInput, state *DefaultSecurityListState, opts ...ResourceOption) (*DefaultSecurityList, error)
public static DefaultSecurityList Get(string name, Input<string> id, DefaultSecurityListState? state, CustomResourceOptions? opts = null)
public static DefaultSecurityList get(String name, Output<String> id, DefaultSecurityListState 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:

Supporting Types

DefaultSecurityListEgressSecurityRule

DefaultSecurityListEgressSecurityRuleIcmpOptions

Type int
Code int
Type int
Code int
type Integer
code Integer
type number
code number
type int
code int
type Number
code Number

DefaultSecurityListEgressSecurityRuleTcpOptions

DefaultSecurityListEgressSecurityRuleTcpOptionsSourcePortRange

Max int
Min int
Max int
Min int
max Integer
min Integer
max number
min number
max int
min int
max Number
min Number

DefaultSecurityListEgressSecurityRuleUdpOptions

DefaultSecurityListEgressSecurityRuleUdpOptionsSourcePortRange

Max int
Min int
Max int
Min int
max Integer
min Integer
max number
min number
max int
min int
max Number
min Number

DefaultSecurityListIngressSecurityRule

DefaultSecurityListIngressSecurityRuleIcmpOptions

Type int
Code int
Type int
Code int
type Integer
code Integer
type number
code number
type int
code int
type Number
code Number

DefaultSecurityListIngressSecurityRuleTcpOptions

DefaultSecurityListIngressSecurityRuleTcpOptionsSourcePortRange

Max int
Min int
Max int
Min int
max Integer
min Integer
max number
min number
max int
min int
max Number
min Number

DefaultSecurityListIngressSecurityRuleUdpOptions

DefaultSecurityListIngressSecurityRuleUdpOptionsSourcePortRange

Max int
Min int
Max int
Min int
max Integer
min Integer
max number
min number
max int
min int
max Number
min Number

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.