oci.NetworkFirewall.NetworkFirewall
Explore with Pulumi AI
This resource provides the Network Firewall resource in Oracle Cloud Infrastructure Network Firewall service.
Creates a new NetworkFirewall.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testNetworkFirewall = new oci.networkfirewall.NetworkFirewall("test_network_firewall", {
compartmentId: compartmentId,
networkFirewallPolicyId: testNetworkFirewallPolicy.id,
subnetId: testSubnet.id,
availabilityDomain: networkFirewallAvailabilityDomain,
definedTags: {
"Operations.CostCenter": "42",
},
displayName: networkFirewallDisplayName,
freeformTags: {
Department: "Finance",
},
ipv4address: networkFirewallIpv4address,
ipv6address: networkFirewallIpv6address,
networkSecurityGroupIds: networkFirewallNetworkSecurityGroupIds,
});
import pulumi
import pulumi_oci as oci
test_network_firewall = oci.network_firewall.NetworkFirewall("test_network_firewall",
compartment_id=compartment_id,
network_firewall_policy_id=test_network_firewall_policy["id"],
subnet_id=test_subnet["id"],
availability_domain=network_firewall_availability_domain,
defined_tags={
"Operations.CostCenter": "42",
},
display_name=network_firewall_display_name,
freeform_tags={
"Department": "Finance",
},
ipv4address=network_firewall_ipv4address,
ipv6address=network_firewall_ipv6address,
network_security_group_ids=network_firewall_network_security_group_ids)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/NetworkFirewall"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := NetworkFirewall.NewNetworkFirewall(ctx, "test_network_firewall", &NetworkFirewall.NetworkFirewallArgs{
CompartmentId: pulumi.Any(compartmentId),
NetworkFirewallPolicyId: pulumi.Any(testNetworkFirewallPolicy.Id),
SubnetId: pulumi.Any(testSubnet.Id),
AvailabilityDomain: pulumi.Any(networkFirewallAvailabilityDomain),
DefinedTags: pulumi.StringMap{
"Operations.CostCenter": pulumi.String("42"),
},
DisplayName: pulumi.Any(networkFirewallDisplayName),
FreeformTags: pulumi.StringMap{
"Department": pulumi.String("Finance"),
},
Ipv4address: pulumi.Any(networkFirewallIpv4address),
Ipv6address: pulumi.Any(networkFirewallIpv6address),
NetworkSecurityGroupIds: pulumi.Any(networkFirewallNetworkSecurityGroupIds),
})
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 testNetworkFirewall = new Oci.NetworkFirewall.NetworkFirewall("test_network_firewall", new()
{
CompartmentId = compartmentId,
NetworkFirewallPolicyId = testNetworkFirewallPolicy.Id,
SubnetId = testSubnet.Id,
AvailabilityDomain = networkFirewallAvailabilityDomain,
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
DisplayName = networkFirewallDisplayName,
FreeformTags =
{
{ "Department", "Finance" },
},
Ipv4address = networkFirewallIpv4address,
Ipv6address = networkFirewallIpv6address,
NetworkSecurityGroupIds = networkFirewallNetworkSecurityGroupIds,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.NetworkFirewall.NetworkFirewall;
import com.pulumi.oci.NetworkFirewall.NetworkFirewallArgs;
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 testNetworkFirewall = new NetworkFirewall("testNetworkFirewall", NetworkFirewallArgs.builder()
.compartmentId(compartmentId)
.networkFirewallPolicyId(testNetworkFirewallPolicy.id())
.subnetId(testSubnet.id())
.availabilityDomain(networkFirewallAvailabilityDomain)
.definedTags(Map.of("Operations.CostCenter", "42"))
.displayName(networkFirewallDisplayName)
.freeformTags(Map.of("Department", "Finance"))
.ipv4address(networkFirewallIpv4address)
.ipv6address(networkFirewallIpv6address)
.networkSecurityGroupIds(networkFirewallNetworkSecurityGroupIds)
.build());
}
}
resources:
testNetworkFirewall:
type: oci:NetworkFirewall:NetworkFirewall
name: test_network_firewall
properties:
compartmentId: ${compartmentId}
networkFirewallPolicyId: ${testNetworkFirewallPolicy.id}
subnetId: ${testSubnet.id}
availabilityDomain: ${networkFirewallAvailabilityDomain}
definedTags:
Operations.CostCenter: '42'
displayName: ${networkFirewallDisplayName}
freeformTags:
Department: Finance
ipv4address: ${networkFirewallIpv4address}
ipv6address: ${networkFirewallIpv6address}
networkSecurityGroupIds: ${networkFirewallNetworkSecurityGroupIds}
Create NetworkFirewall Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NetworkFirewall(name: string, args: NetworkFirewallArgs, opts?: CustomResourceOptions);
@overload
def NetworkFirewall(resource_name: str,
args: NetworkFirewallArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NetworkFirewall(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
network_firewall_policy_id: Optional[str] = None,
subnet_id: Optional[str] = None,
availability_domain: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
ipv4address: Optional[str] = None,
ipv6address: Optional[str] = None,
network_security_group_ids: Optional[Sequence[str]] = None)
func NewNetworkFirewall(ctx *Context, name string, args NetworkFirewallArgs, opts ...ResourceOption) (*NetworkFirewall, error)
public NetworkFirewall(string name, NetworkFirewallArgs args, CustomResourceOptions? opts = null)
public NetworkFirewall(String name, NetworkFirewallArgs args)
public NetworkFirewall(String name, NetworkFirewallArgs args, CustomResourceOptions options)
type: oci:NetworkFirewall:NetworkFirewall
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 NetworkFirewallArgs
- 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 NetworkFirewallArgs
- 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 NetworkFirewallArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NetworkFirewallArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NetworkFirewallArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var networkFirewallResource = new Oci.NetworkFirewall.NetworkFirewall("networkFirewallResource", new()
{
CompartmentId = "string",
NetworkFirewallPolicyId = "string",
SubnetId = "string",
AvailabilityDomain = "string",
DefinedTags =
{
{ "string", "string" },
},
DisplayName = "string",
FreeformTags =
{
{ "string", "string" },
},
Ipv4address = "string",
Ipv6address = "string",
NetworkSecurityGroupIds = new[]
{
"string",
},
});
example, err := NetworkFirewall.NewNetworkFirewall(ctx, "networkFirewallResource", &NetworkFirewall.NetworkFirewallArgs{
CompartmentId: pulumi.String("string"),
NetworkFirewallPolicyId: pulumi.String("string"),
SubnetId: pulumi.String("string"),
AvailabilityDomain: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Ipv4address: pulumi.String("string"),
Ipv6address: pulumi.String("string"),
NetworkSecurityGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
})
var networkFirewallResource = new NetworkFirewall("networkFirewallResource", NetworkFirewallArgs.builder()
.compartmentId("string")
.networkFirewallPolicyId("string")
.subnetId("string")
.availabilityDomain("string")
.definedTags(Map.of("string", "string"))
.displayName("string")
.freeformTags(Map.of("string", "string"))
.ipv4address("string")
.ipv6address("string")
.networkSecurityGroupIds("string")
.build());
network_firewall_resource = oci.network_firewall.NetworkFirewall("networkFirewallResource",
compartment_id="string",
network_firewall_policy_id="string",
subnet_id="string",
availability_domain="string",
defined_tags={
"string": "string",
},
display_name="string",
freeform_tags={
"string": "string",
},
ipv4address="string",
ipv6address="string",
network_security_group_ids=["string"])
const networkFirewallResource = new oci.networkfirewall.NetworkFirewall("networkFirewallResource", {
compartmentId: "string",
networkFirewallPolicyId: "string",
subnetId: "string",
availabilityDomain: "string",
definedTags: {
string: "string",
},
displayName: "string",
freeformTags: {
string: "string",
},
ipv4address: "string",
ipv6address: "string",
networkSecurityGroupIds: ["string"],
});
type: oci:NetworkFirewall:NetworkFirewall
properties:
availabilityDomain: string
compartmentId: string
definedTags:
string: string
displayName: string
freeformTags:
string: string
ipv4address: string
ipv6address: string
networkFirewallPolicyId: string
networkSecurityGroupIds:
- string
subnetId: string
NetworkFirewall Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The NetworkFirewall resource accepts the following input properties:
- Compartment
Id string - (Updatable) The OCID of the compartment containing the Network Firewall.
- Network
Firewall stringPolicy Id - (Updatable) The OCID of the Network Firewall Policy.
- Subnet
Id string The OCID of the subnet associated with the Network Firewall.
** 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
- Availability
Domain string - Availability Domain where Network Firewall instance is created. To get a list of availability domains for a tenancy, use ListAvailabilityDomains operation. Example:
kIdk:PHX-AD-1
- Dictionary<string, string>
- (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 string - (Updatable) A user-friendly name for the Network Firewall. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Dictionary<string, string>
- (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"}
- Ipv4address string
- IPv4 address for the Network Firewall.
- Ipv6address string
- IPv6 address for the Network Firewall.
- Network
Security List<string>Group Ids - (Updatable) An array of network security groups OCID associated with the Network Firewall.
- Compartment
Id string - (Updatable) The OCID of the compartment containing the Network Firewall.
- Network
Firewall stringPolicy Id - (Updatable) The OCID of the Network Firewall Policy.
- Subnet
Id string The OCID of the subnet associated with the Network Firewall.
** 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
- Availability
Domain string - Availability Domain where Network Firewall instance is created. To get a list of availability domains for a tenancy, use ListAvailabilityDomains operation. Example:
kIdk:PHX-AD-1
- map[string]string
- (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 string - (Updatable) A user-friendly name for the Network Firewall. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- map[string]string
- (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"}
- Ipv4address string
- IPv4 address for the Network Firewall.
- Ipv6address string
- IPv6 address for the Network Firewall.
- Network
Security []stringGroup Ids - (Updatable) An array of network security groups OCID associated with the Network Firewall.
- compartment
Id String - (Updatable) The OCID of the compartment containing the Network Firewall.
- network
Firewall StringPolicy Id - (Updatable) The OCID of the Network Firewall Policy.
- subnet
Id String The OCID of the subnet associated with the Network Firewall.
** 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
- availability
Domain String - Availability Domain where Network Firewall instance is created. To get a list of availability domains for a tenancy, use ListAvailabilityDomains operation. Example:
kIdk:PHX-AD-1
- Map<String,String>
- (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 String - (Updatable) A user-friendly name for the Network Firewall. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String,String>
- (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"}
- ipv4address String
- IPv4 address for the Network Firewall.
- ipv6address String
- IPv6 address for the Network Firewall.
- network
Security List<String>Group Ids - (Updatable) An array of network security groups OCID associated with the Network Firewall.
- compartment
Id string - (Updatable) The OCID of the compartment containing the Network Firewall.
- network
Firewall stringPolicy Id - (Updatable) The OCID of the Network Firewall Policy.
- subnet
Id string The OCID of the subnet associated with the Network Firewall.
** 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
- availability
Domain string - Availability Domain where Network Firewall instance is created. To get a list of availability domains for a tenancy, use ListAvailabilityDomains operation. Example:
kIdk:PHX-AD-1
- {[key: string]: string}
- (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 string - (Updatable) A user-friendly name for the Network Firewall. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- {[key: string]: string}
- (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"}
- ipv4address string
- IPv4 address for the Network Firewall.
- ipv6address string
- IPv6 address for the Network Firewall.
- network
Security string[]Group Ids - (Updatable) An array of network security groups OCID associated with the Network Firewall.
- compartment_
id str - (Updatable) The OCID of the compartment containing the Network Firewall.
- network_
firewall_ strpolicy_ id - (Updatable) The OCID of the Network Firewall Policy.
- subnet_
id str The OCID of the subnet associated with the Network Firewall.
** 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
- availability_
domain str - Availability Domain where Network Firewall instance is created. To get a list of availability domains for a tenancy, use ListAvailabilityDomains operation. Example:
kIdk:PHX-AD-1
- Mapping[str, str]
- (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 for the Network Firewall. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Mapping[str, str]
- (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"}
- ipv4address str
- IPv4 address for the Network Firewall.
- ipv6address str
- IPv6 address for the Network Firewall.
- network_
security_ Sequence[str]group_ ids - (Updatable) An array of network security groups OCID associated with the Network Firewall.
- compartment
Id String - (Updatable) The OCID of the compartment containing the Network Firewall.
- network
Firewall StringPolicy Id - (Updatable) The OCID of the Network Firewall Policy.
- subnet
Id String The OCID of the subnet associated with the Network Firewall.
** 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
- availability
Domain String - Availability Domain where Network Firewall instance is created. To get a list of availability domains for a tenancy, use ListAvailabilityDomains operation. Example:
kIdk:PHX-AD-1
- Map<String>
- (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 String - (Updatable) A user-friendly name for the Network Firewall. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String>
- (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"}
- ipv4address String
- IPv4 address for the Network Firewall.
- ipv6address String
- IPv6 address for the Network Firewall.
- network
Security List<String>Group Ids - (Updatable) An array of network security groups OCID associated with the Network Firewall.
Outputs
All input properties are implicitly available as output properties. Additionally, the NetworkFirewall resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in 'FAILED' state.
- State string
- The current state of the Network Firewall.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time at which the Network Firewall was created in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- Time
Updated string - The time at which the Network Firewall was updated in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in 'FAILED' state.
- State string
- The current state of the Network Firewall.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time at which the Network Firewall was created in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- Time
Updated string - The time at which the Network Firewall was updated in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in 'FAILED' state.
- state String
- The current state of the Network Firewall.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time at which the Network Firewall was created in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- time
Updated String - The time at which the Network Firewall was updated in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details string - A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in 'FAILED' state.
- state string
- The current state of the Network Firewall.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time at which the Network Firewall was created in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- time
Updated string - The time at which the Network Firewall was updated in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_
details str - A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in 'FAILED' state.
- state str
- The current state of the Network Firewall.
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The time at which the Network Firewall was created in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- time_
updated str - The time at which the Network Firewall was updated in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in 'FAILED' state.
- state String
- The current state of the Network Firewall.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time at which the Network Firewall was created in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- time
Updated String - The time at which the Network Firewall was updated in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
Look up Existing NetworkFirewall Resource
Get an existing NetworkFirewall 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?: NetworkFirewallState, opts?: CustomResourceOptions): NetworkFirewall
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
availability_domain: Optional[str] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
ipv4address: Optional[str] = None,
ipv6address: Optional[str] = None,
lifecycle_details: Optional[str] = None,
network_firewall_policy_id: Optional[str] = None,
network_security_group_ids: Optional[Sequence[str]] = None,
state: Optional[str] = None,
subnet_id: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None) -> NetworkFirewall
func GetNetworkFirewall(ctx *Context, name string, id IDInput, state *NetworkFirewallState, opts ...ResourceOption) (*NetworkFirewall, error)
public static NetworkFirewall Get(string name, Input<string> id, NetworkFirewallState? state, CustomResourceOptions? opts = null)
public static NetworkFirewall get(String name, Output<String> id, NetworkFirewallState 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.
- Availability
Domain string - Availability Domain where Network Firewall instance is created. To get a list of availability domains for a tenancy, use ListAvailabilityDomains operation. Example:
kIdk:PHX-AD-1
- Compartment
Id string - (Updatable) The OCID of the compartment containing the Network Firewall.
- Dictionary<string, string>
- (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 string - (Updatable) A user-friendly name for the Network Firewall. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Dictionary<string, string>
- (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"}
- Ipv4address string
- IPv4 address for the Network Firewall.
- Ipv6address string
- IPv6 address for the Network Firewall.
- Lifecycle
Details string - A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in 'FAILED' state.
- Network
Firewall stringPolicy Id - (Updatable) The OCID of the Network Firewall Policy.
- Network
Security List<string>Group Ids - (Updatable) An array of network security groups OCID associated with the Network Firewall.
- State string
- The current state of the Network Firewall.
- Subnet
Id string The OCID of the subnet associated with the Network Firewall.
** 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
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time at which the Network Firewall was created in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- Time
Updated string - The time at which the Network Firewall was updated in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- Availability
Domain string - Availability Domain where Network Firewall instance is created. To get a list of availability domains for a tenancy, use ListAvailabilityDomains operation. Example:
kIdk:PHX-AD-1
- Compartment
Id string - (Updatable) The OCID of the compartment containing the Network Firewall.
- map[string]string
- (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 string - (Updatable) A user-friendly name for the Network Firewall. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- map[string]string
- (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"}
- Ipv4address string
- IPv4 address for the Network Firewall.
- Ipv6address string
- IPv6 address for the Network Firewall.
- Lifecycle
Details string - A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in 'FAILED' state.
- Network
Firewall stringPolicy Id - (Updatable) The OCID of the Network Firewall Policy.
- Network
Security []stringGroup Ids - (Updatable) An array of network security groups OCID associated with the Network Firewall.
- State string
- The current state of the Network Firewall.
- Subnet
Id string The OCID of the subnet associated with the Network Firewall.
** 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
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time at which the Network Firewall was created in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- Time
Updated string - The time at which the Network Firewall was updated in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- availability
Domain String - Availability Domain where Network Firewall instance is created. To get a list of availability domains for a tenancy, use ListAvailabilityDomains operation. Example:
kIdk:PHX-AD-1
- compartment
Id String - (Updatable) The OCID of the compartment containing the Network Firewall.
- Map<String,String>
- (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 String - (Updatable) A user-friendly name for the Network Firewall. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String,String>
- (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"}
- ipv4address String
- IPv4 address for the Network Firewall.
- ipv6address String
- IPv6 address for the Network Firewall.
- lifecycle
Details String - A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in 'FAILED' state.
- network
Firewall StringPolicy Id - (Updatable) The OCID of the Network Firewall Policy.
- network
Security List<String>Group Ids - (Updatable) An array of network security groups OCID associated with the Network Firewall.
- state String
- The current state of the Network Firewall.
- subnet
Id String The OCID of the subnet associated with the Network Firewall.
** 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
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time at which the Network Firewall was created in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- time
Updated String - The time at which the Network Firewall was updated in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- availability
Domain string - Availability Domain where Network Firewall instance is created. To get a list of availability domains for a tenancy, use ListAvailabilityDomains operation. Example:
kIdk:PHX-AD-1
- compartment
Id string - (Updatable) The OCID of the compartment containing the Network Firewall.
- {[key: string]: string}
- (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 string - (Updatable) A user-friendly name for the Network Firewall. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- {[key: string]: string}
- (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"}
- ipv4address string
- IPv4 address for the Network Firewall.
- ipv6address string
- IPv6 address for the Network Firewall.
- lifecycle
Details string - A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in 'FAILED' state.
- network
Firewall stringPolicy Id - (Updatable) The OCID of the Network Firewall Policy.
- network
Security string[]Group Ids - (Updatable) An array of network security groups OCID associated with the Network Firewall.
- state string
- The current state of the Network Firewall.
- subnet
Id string The OCID of the subnet associated with the Network Firewall.
** 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
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time at which the Network Firewall was created in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- time
Updated string - The time at which the Network Firewall was updated in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- availability_
domain str - Availability Domain where Network Firewall instance is created. To get a list of availability domains for a tenancy, use ListAvailabilityDomains operation. Example:
kIdk:PHX-AD-1
- compartment_
id str - (Updatable) The OCID of the compartment containing the Network Firewall.
- Mapping[str, str]
- (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 for the Network Firewall. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Mapping[str, str]
- (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"}
- ipv4address str
- IPv4 address for the Network Firewall.
- ipv6address str
- IPv6 address for the Network Firewall.
- lifecycle_
details str - A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in 'FAILED' state.
- network_
firewall_ strpolicy_ id - (Updatable) The OCID of the Network Firewall Policy.
- network_
security_ Sequence[str]group_ ids - (Updatable) An array of network security groups OCID associated with the Network Firewall.
- state str
- The current state of the Network Firewall.
- subnet_
id str The OCID of the subnet associated with the Network Firewall.
** 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
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The time at which the Network Firewall was created in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- time_
updated str - The time at which the Network Firewall was updated in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- availability
Domain String - Availability Domain where Network Firewall instance is created. To get a list of availability domains for a tenancy, use ListAvailabilityDomains operation. Example:
kIdk:PHX-AD-1
- compartment
Id String - (Updatable) The OCID of the compartment containing the Network Firewall.
- Map<String>
- (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 String - (Updatable) A user-friendly name for the Network Firewall. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String>
- (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"}
- ipv4address String
- IPv4 address for the Network Firewall.
- ipv6address String
- IPv6 address for the Network Firewall.
- lifecycle
Details String - A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in 'FAILED' state.
- network
Firewall StringPolicy Id - (Updatable) The OCID of the Network Firewall Policy.
- network
Security List<String>Group Ids - (Updatable) An array of network security groups OCID associated with the Network Firewall.
- state String
- The current state of the Network Firewall.
- subnet
Id String The OCID of the subnet associated with the Network Firewall.
** 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
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time at which the Network Firewall was created in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- time
Updated String - The time at which the Network Firewall was updated in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
Import
NetworkFirewalls can be imported using the id
, e.g.
$ pulumi import oci:NetworkFirewall/networkFirewall:NetworkFirewall test_network_firewall "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.