oci.CloudGuard.SecurityZone
Explore with Pulumi AI
This resource provides the Security Zone resource in Oracle Cloud Infrastructure Cloud Guard service.
Creates a security zone (SecurityZone resource) for a compartment. Pass parameters through a CreateSecurityZoneDetails resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testSecurityZone = new oci.cloudguard.SecurityZone("test_security_zone", {
compartmentId: compartmentId,
displayName: securityZoneDisplayName,
securityZoneRecipeId: testSecurityZoneRecipe.id,
definedTags: {
"foo-namespace.bar-key": "value",
},
description: securityZoneDescription,
freeformTags: {
"bar-key": "value",
},
});
import pulumi
import pulumi_oci as oci
test_security_zone = oci.cloud_guard.SecurityZone("test_security_zone",
compartment_id=compartment_id,
display_name=security_zone_display_name,
security_zone_recipe_id=test_security_zone_recipe["id"],
defined_tags={
"foo-namespace.bar-key": "value",
},
description=security_zone_description,
freeform_tags={
"bar-key": "value",
})
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/CloudGuard"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := CloudGuard.NewSecurityZone(ctx, "test_security_zone", &CloudGuard.SecurityZoneArgs{
CompartmentId: pulumi.Any(compartmentId),
DisplayName: pulumi.Any(securityZoneDisplayName),
SecurityZoneRecipeId: pulumi.Any(testSecurityZoneRecipe.Id),
DefinedTags: pulumi.StringMap{
"foo-namespace.bar-key": pulumi.String("value"),
},
Description: pulumi.Any(securityZoneDescription),
FreeformTags: pulumi.StringMap{
"bar-key": pulumi.String("value"),
},
})
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 testSecurityZone = new Oci.CloudGuard.SecurityZone("test_security_zone", new()
{
CompartmentId = compartmentId,
DisplayName = securityZoneDisplayName,
SecurityZoneRecipeId = testSecurityZoneRecipe.Id,
DefinedTags =
{
{ "foo-namespace.bar-key", "value" },
},
Description = securityZoneDescription,
FreeformTags =
{
{ "bar-key", "value" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.CloudGuard.SecurityZone;
import com.pulumi.oci.CloudGuard.SecurityZoneArgs;
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 testSecurityZone = new SecurityZone("testSecurityZone", SecurityZoneArgs.builder()
.compartmentId(compartmentId)
.displayName(securityZoneDisplayName)
.securityZoneRecipeId(testSecurityZoneRecipe.id())
.definedTags(Map.of("foo-namespace.bar-key", "value"))
.description(securityZoneDescription)
.freeformTags(Map.of("bar-key", "value"))
.build());
}
}
resources:
testSecurityZone:
type: oci:CloudGuard:SecurityZone
name: test_security_zone
properties:
compartmentId: ${compartmentId}
displayName: ${securityZoneDisplayName}
securityZoneRecipeId: ${testSecurityZoneRecipe.id}
definedTags:
foo-namespace.bar-key: value
description: ${securityZoneDescription}
freeformTags:
bar-key: value
Create SecurityZone Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SecurityZone(name: string, args: SecurityZoneArgs, opts?: CustomResourceOptions);
@overload
def SecurityZone(resource_name: str,
args: SecurityZoneArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SecurityZone(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
security_zone_recipe_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None)
func NewSecurityZone(ctx *Context, name string, args SecurityZoneArgs, opts ...ResourceOption) (*SecurityZone, error)
public SecurityZone(string name, SecurityZoneArgs args, CustomResourceOptions? opts = null)
public SecurityZone(String name, SecurityZoneArgs args)
public SecurityZone(String name, SecurityZoneArgs args, CustomResourceOptions options)
type: oci:CloudGuard:SecurityZone
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 SecurityZoneArgs
- 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 SecurityZoneArgs
- 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 SecurityZoneArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SecurityZoneArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SecurityZoneArgs
- 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 securityZoneResource = new Oci.CloudGuard.SecurityZone("securityZoneResource", new()
{
CompartmentId = "string",
DisplayName = "string",
SecurityZoneRecipeId = "string",
DefinedTags =
{
{ "string", "string" },
},
Description = "string",
FreeformTags =
{
{ "string", "string" },
},
});
example, err := CloudGuard.NewSecurityZone(ctx, "securityZoneResource", &CloudGuard.SecurityZoneArgs{
CompartmentId: pulumi.String("string"),
DisplayName: pulumi.String("string"),
SecurityZoneRecipeId: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Description: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var securityZoneResource = new SecurityZone("securityZoneResource", SecurityZoneArgs.builder()
.compartmentId("string")
.displayName("string")
.securityZoneRecipeId("string")
.definedTags(Map.of("string", "string"))
.description("string")
.freeformTags(Map.of("string", "string"))
.build());
security_zone_resource = oci.cloud_guard.SecurityZone("securityZoneResource",
compartment_id="string",
display_name="string",
security_zone_recipe_id="string",
defined_tags={
"string": "string",
},
description="string",
freeform_tags={
"string": "string",
})
const securityZoneResource = new oci.cloudguard.SecurityZone("securityZoneResource", {
compartmentId: "string",
displayName: "string",
securityZoneRecipeId: "string",
definedTags: {
string: "string",
},
description: "string",
freeformTags: {
string: "string",
},
});
type: oci:CloudGuard:SecurityZone
properties:
compartmentId: string
definedTags:
string: string
description: string
displayName: string
freeformTags:
string: string
securityZoneRecipeId: string
SecurityZone 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 SecurityZone resource accepts the following input properties:
- Compartment
Id string - (Updatable) The OCID of the compartment for the security zone
- Display
Name string - (Updatable) The security zone's display name
- Security
Zone stringRecipe Id (Updatable) The OCID of the security zone recipe (
SecurityRecipe
resource) for the security zone** 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>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) The security zone's description
- Dictionary<string, string>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
Avoid entering confidential information.
- Compartment
Id string - (Updatable) The OCID of the compartment for the security zone
- Display
Name string - (Updatable) The security zone's display name
- Security
Zone stringRecipe Id (Updatable) The OCID of the security zone recipe (
SecurityRecipe
resource) for the security zone** 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
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) The security zone's description
- map[string]string
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
Avoid entering confidential information.
- compartment
Id String - (Updatable) The OCID of the compartment for the security zone
- display
Name String - (Updatable) The security zone's display name
- security
Zone StringRecipe Id (Updatable) The OCID of the security zone recipe (
SecurityRecipe
resource) for the security zone** 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>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) The security zone's description
- Map<String,String>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
Avoid entering confidential information.
- compartment
Id string - (Updatable) The OCID of the compartment for the security zone
- display
Name string - (Updatable) The security zone's display name
- security
Zone stringRecipe Id (Updatable) The OCID of the security zone recipe (
SecurityRecipe
resource) for the security zone** 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}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description string
- (Updatable) The security zone's description
- {[key: string]: string}
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
Avoid entering confidential information.
- compartment_
id str - (Updatable) The OCID of the compartment for the security zone
- display_
name str - (Updatable) The security zone's display name
- security_
zone_ strrecipe_ id (Updatable) The OCID of the security zone recipe (
SecurityRecipe
resource) for the security zone** 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]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description str
- (Updatable) The security zone's description
- Mapping[str, str]
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
Avoid entering confidential information.
- compartment
Id String - (Updatable) The OCID of the compartment for the security zone
- display
Name String - (Updatable) The security zone's display name
- security
Zone StringRecipe Id (Updatable) The OCID of the security zone recipe (
SecurityRecipe
resource) for the security zone** 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>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) The security zone's description
- Map<String>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
Avoid entering confidential information.
Outputs
All input properties are implicitly available as output properties. Additionally, the SecurityZone resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Inherited
By List<string>Compartments - List of inherited compartments
- Lifecycle
Details string - A message describing the current state in more detail. For example, this can be used to provide actionable information for a zone in the
Failed
state. - Security
Zone stringTarget Id - The OCID of the target associated with the security zone
- State string
- The current lifecycle state of the security zone
- Time
Created string - The time the security zone was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time the security zone was last updated. An RFC3339 formatted datetime string.
- Id string
- The provider-assigned unique ID for this managed resource.
- Inherited
By []stringCompartments - List of inherited compartments
- Lifecycle
Details string - A message describing the current state in more detail. For example, this can be used to provide actionable information for a zone in the
Failed
state. - Security
Zone stringTarget Id - The OCID of the target associated with the security zone
- State string
- The current lifecycle state of the security zone
- Time
Created string - The time the security zone was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time the security zone was last updated. An RFC3339 formatted datetime string.
- id String
- The provider-assigned unique ID for this managed resource.
- inherited
By List<String>Compartments - List of inherited compartments
- lifecycle
Details String - A message describing the current state in more detail. For example, this can be used to provide actionable information for a zone in the
Failed
state. - security
Zone StringTarget Id - The OCID of the target associated with the security zone
- state String
- The current lifecycle state of the security zone
- time
Created String - The time the security zone was created. An RFC3339 formatted datetime string.
- time
Updated String - The time the security zone was last updated. An RFC3339 formatted datetime string.
- id string
- The provider-assigned unique ID for this managed resource.
- inherited
By string[]Compartments - List of inherited compartments
- lifecycle
Details string - A message describing the current state in more detail. For example, this can be used to provide actionable information for a zone in the
Failed
state. - security
Zone stringTarget Id - The OCID of the target associated with the security zone
- state string
- The current lifecycle state of the security zone
- time
Created string - The time the security zone was created. An RFC3339 formatted datetime string.
- time
Updated string - The time the security zone was last updated. An RFC3339 formatted datetime string.
- id str
- The provider-assigned unique ID for this managed resource.
- inherited_
by_ Sequence[str]compartments - List of inherited compartments
- lifecycle_
details str - A message describing the current state in more detail. For example, this can be used to provide actionable information for a zone in the
Failed
state. - security_
zone_ strtarget_ id - The OCID of the target associated with the security zone
- state str
- The current lifecycle state of the security zone
- time_
created str - The time the security zone was created. An RFC3339 formatted datetime string.
- time_
updated str - The time the security zone was last updated. An RFC3339 formatted datetime string.
- id String
- The provider-assigned unique ID for this managed resource.
- inherited
By List<String>Compartments - List of inherited compartments
- lifecycle
Details String - A message describing the current state in more detail. For example, this can be used to provide actionable information for a zone in the
Failed
state. - security
Zone StringTarget Id - The OCID of the target associated with the security zone
- state String
- The current lifecycle state of the security zone
- time
Created String - The time the security zone was created. An RFC3339 formatted datetime string.
- time
Updated String - The time the security zone was last updated. An RFC3339 formatted datetime string.
Look up Existing SecurityZone Resource
Get an existing SecurityZone 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?: SecurityZoneState, opts?: CustomResourceOptions): SecurityZone
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
inherited_by_compartments: Optional[Sequence[str]] = None,
lifecycle_details: Optional[str] = None,
security_zone_recipe_id: Optional[str] = None,
security_zone_target_id: Optional[str] = None,
state: Optional[str] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None) -> SecurityZone
func GetSecurityZone(ctx *Context, name string, id IDInput, state *SecurityZoneState, opts ...ResourceOption) (*SecurityZone, error)
public static SecurityZone Get(string name, Input<string> id, SecurityZoneState? state, CustomResourceOptions? opts = null)
public static SecurityZone get(String name, Output<String> id, SecurityZoneState 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 - (Updatable) The OCID of the compartment for the security zone
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) The security zone's description
- Display
Name string - (Updatable) The security zone's display name
- Dictionary<string, string>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
Avoid entering confidential information.
- Inherited
By List<string>Compartments - List of inherited compartments
- Lifecycle
Details string - A message describing the current state in more detail. For example, this can be used to provide actionable information for a zone in the
Failed
state. - Security
Zone stringRecipe Id (Updatable) The OCID of the security zone recipe (
SecurityRecipe
resource) for the security zone** 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
- Security
Zone stringTarget Id - The OCID of the target associated with the security zone
- State string
- The current lifecycle state of the security zone
- Time
Created string - The time the security zone was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time the security zone was last updated. An RFC3339 formatted datetime string.
- Compartment
Id string - (Updatable) The OCID of the compartment for the security zone
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) The security zone's description
- Display
Name string - (Updatable) The security zone's display name
- map[string]string
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
Avoid entering confidential information.
- Inherited
By []stringCompartments - List of inherited compartments
- Lifecycle
Details string - A message describing the current state in more detail. For example, this can be used to provide actionable information for a zone in the
Failed
state. - Security
Zone stringRecipe Id (Updatable) The OCID of the security zone recipe (
SecurityRecipe
resource) for the security zone** 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
- Security
Zone stringTarget Id - The OCID of the target associated with the security zone
- State string
- The current lifecycle state of the security zone
- Time
Created string - The time the security zone was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time the security zone was last updated. An RFC3339 formatted datetime string.
- compartment
Id String - (Updatable) The OCID of the compartment for the security zone
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) The security zone's description
- display
Name String - (Updatable) The security zone's display name
- Map<String,String>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
Avoid entering confidential information.
- inherited
By List<String>Compartments - List of inherited compartments
- lifecycle
Details String - A message describing the current state in more detail. For example, this can be used to provide actionable information for a zone in the
Failed
state. - security
Zone StringRecipe Id (Updatable) The OCID of the security zone recipe (
SecurityRecipe
resource) for the security zone** 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
- security
Zone StringTarget Id - The OCID of the target associated with the security zone
- state String
- The current lifecycle state of the security zone
- time
Created String - The time the security zone was created. An RFC3339 formatted datetime string.
- time
Updated String - The time the security zone was last updated. An RFC3339 formatted datetime string.
- compartment
Id string - (Updatable) The OCID of the compartment for the security zone
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description string
- (Updatable) The security zone's description
- display
Name string - (Updatable) The security zone's display name
- {[key: string]: string}
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
Avoid entering confidential information.
- inherited
By string[]Compartments - List of inherited compartments
- lifecycle
Details string - A message describing the current state in more detail. For example, this can be used to provide actionable information for a zone in the
Failed
state. - security
Zone stringRecipe Id (Updatable) The OCID of the security zone recipe (
SecurityRecipe
resource) for the security zone** 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
- security
Zone stringTarget Id - The OCID of the target associated with the security zone
- state string
- The current lifecycle state of the security zone
- time
Created string - The time the security zone was created. An RFC3339 formatted datetime string.
- time
Updated string - The time the security zone was last updated. An RFC3339 formatted datetime string.
- compartment_
id str - (Updatable) The OCID of the compartment for the security zone
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description str
- (Updatable) The security zone's description
- display_
name str - (Updatable) The security zone's display name
- Mapping[str, str]
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
Avoid entering confidential information.
- inherited_
by_ Sequence[str]compartments - List of inherited compartments
- lifecycle_
details str - A message describing the current state in more detail. For example, this can be used to provide actionable information for a zone in the
Failed
state. - security_
zone_ strrecipe_ id (Updatable) The OCID of the security zone recipe (
SecurityRecipe
resource) for the security zone** 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
- security_
zone_ strtarget_ id - The OCID of the target associated with the security zone
- state str
- The current lifecycle state of the security zone
- time_
created str - The time the security zone was created. An RFC3339 formatted datetime string.
- time_
updated str - The time the security zone was last updated. An RFC3339 formatted datetime string.
- compartment
Id String - (Updatable) The OCID of the compartment for the security zone
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) The security zone's description
- display
Name String - (Updatable) The security zone's display name
- Map<String>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
Avoid entering confidential information.
- inherited
By List<String>Compartments - List of inherited compartments
- lifecycle
Details String - A message describing the current state in more detail. For example, this can be used to provide actionable information for a zone in the
Failed
state. - security
Zone StringRecipe Id (Updatable) The OCID of the security zone recipe (
SecurityRecipe
resource) for the security zone** 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
- security
Zone StringTarget Id - The OCID of the target associated with the security zone
- state String
- The current lifecycle state of the security zone
- time
Created String - The time the security zone was created. An RFC3339 formatted datetime string.
- time
Updated String - The time the security zone was last updated. An RFC3339 formatted datetime string.
Import
SecurityZones can be imported using the id
, e.g.
$ pulumi import oci:CloudGuard/securityZone:SecurityZone test_security_zone "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.