Oracle Cloud Infrastructure v0.20.0, May 31 23
Oracle Cloud Infrastructure v0.20.0, May 31 23
oci.Core.DefaultSecurityList
Explore with Pulumi AI
Create 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:
- Manage
Default stringResource Id - Compartment
Id string - Dictionary<string, object>
- Display
Name string - Egress
Security List<DefaultRules Security List Egress Security Rule Args> - Dictionary<string, object>
- Ingress
Security List<DefaultRules Security List Ingress Security Rule Args>
- Manage
Default stringResource Id - Compartment
Id string - map[string]interface{}
- Display
Name string - Egress
Security []DefaultRules Security List Egress Security Rule Args - map[string]interface{}
- Ingress
Security []DefaultRules Security List Ingress Security Rule Args
- manage
Default StringResource Id - compartment
Id String - Map<String,Object>
- display
Name String - egress
Security List<DefaultRules Security List Egress Security Rule Args> - Map<String,Object>
- ingress
Security List<DefaultRules Security List Ingress Security Rule Args>
- manage
Default stringResource Id - compartment
Id string - {[key: string]: any}
- display
Name string - egress
Security DefaultRules Security List Egress Security Rule Args[] - {[key: string]: any}
- ingress
Security DefaultRules Security List Ingress Security Rule Args[]
- manage_
default_ strresource_ id - compartment_
id str - Mapping[str, Any]
- display_
name str - egress_
security_ Defaultrules Security List Egress Security Rule Args] - Mapping[str, Any]
- ingress_
security_ Defaultrules Security List Ingress Security Rule Args]
- manage
Default StringResource Id - compartment
Id String - Map<Any>
- display
Name String - egress
Security List<Property Map>Rules - Map<Any>
- ingress
Security List<Property Map>Rules
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
- Time
Created string
- Id string
The provider-assigned unique ID for this managed resource.
- State string
- Time
Created string
- id String
The provider-assigned unique ID for this managed resource.
- state String
- time
Created String
- id string
The provider-assigned unique ID for this managed resource.
- state string
- time
Created 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
- time
Created String
Look up 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.
- Compartment
Id string - Dictionary<string, object>
- Display
Name string - Egress
Security List<DefaultRules Security List Egress Security Rule Args> - Dictionary<string, object>
- Ingress
Security List<DefaultRules Security List Ingress Security Rule Args> - Manage
Default stringResource Id - State string
- Time
Created string
- Compartment
Id string - map[string]interface{}
- Display
Name string - Egress
Security []DefaultRules Security List Egress Security Rule Args - map[string]interface{}
- Ingress
Security []DefaultRules Security List Ingress Security Rule Args - Manage
Default stringResource Id - State string
- Time
Created string
- compartment
Id String - Map<String,Object>
- display
Name String - egress
Security List<DefaultRules Security List Egress Security Rule Args> - Map<String,Object>
- ingress
Security List<DefaultRules Security List Ingress Security Rule Args> - manage
Default StringResource Id - state String
- time
Created String
- compartment
Id string - {[key: string]: any}
- display
Name string - egress
Security DefaultRules Security List Egress Security Rule Args[] - {[key: string]: any}
- ingress
Security DefaultRules Security List Ingress Security Rule Args[] - manage
Default stringResource Id - state string
- time
Created string
- compartment_
id str - Mapping[str, Any]
- display_
name str - egress_
security_ Defaultrules Security List Egress Security Rule Args] - Mapping[str, Any]
- ingress_
security_ Defaultrules Security List Ingress Security Rule Args] - manage_
default_ strresource_ id - state str
- time_
created str
- compartment
Id String - Map<Any>
- display
Name String - egress
Security List<Property Map>Rules - Map<Any>
- ingress
Security List<Property Map>Rules - manage
Default StringResource Id - state String
- time
Created String
Supporting Types
DefaultSecurityListEgressSecurityRule
- destination String
- protocol String
- description String
- destination
Type String - icmp
Options Property Map - stateless Boolean
- tcp
Options Property Map - udp
Options Property Map
DefaultSecurityListEgressSecurityRuleIcmpOptions
DefaultSecurityListEgressSecurityRuleTcpOptions
- max Number
- min Number
- source
Port Property MapRange
DefaultSecurityListEgressSecurityRuleTcpOptionsSourcePortRange
DefaultSecurityListEgressSecurityRuleUdpOptions
- max Number
- min Number
- source
Port Property MapRange
DefaultSecurityListEgressSecurityRuleUdpOptionsSourcePortRange
DefaultSecurityListIngressSecurityRule
- protocol String
- source String
- description String
- icmp
Options Property Map - source
Type String - stateless Boolean
- tcp
Options Property Map - udp
Options Property Map
DefaultSecurityListIngressSecurityRuleIcmpOptions
DefaultSecurityListIngressSecurityRuleTcpOptions
- max Number
- min Number
- source
Port Property MapRange
DefaultSecurityListIngressSecurityRuleTcpOptionsSourcePortRange
DefaultSecurityListIngressSecurityRuleUdpOptions
- max Number
- min Number
- source
Port Property MapRange
DefaultSecurityListIngressSecurityRuleUdpOptionsSourcePortRange
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.