1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. SecurityAttribute
  5. SecurityAttributeNamespace
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.SecurityAttribute.SecurityAttributeNamespace

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    This resource provides the Security Attribute Namespace resource in Oracle Cloud Infrastructure Security Attribute service.

    Creates a new security attribute namespace in the specified compartment.

    You must specify the compartment ID in the request object (remember that the tenancy is simply the root compartment).

    You must also specify a name for the namespace, which must be unique across all namespaces in your tenancy and cannot be changed. The only valid characters for security attribute names are:  0-9, A-Z, a-z, -, _ characters. Names are case insensitive. That means, for example, “myNamespace” and “mynamespace” are not allowed in the same tenancy. Once you created a namespace, you cannot change the name. If you specify a name that’s already in use in the tenancy, a 409 error is returned.

    You must also specify a description for the namespace. It does not have to be unique, and you can change it with UpdateSecurityAttributeNamespace.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testSecurityAttributeNamespace = new oci.securityattribute.SecurityAttributeNamespace("test_security_attribute_namespace", {
        compartmentId: compartmentId,
        description: securityAttributeNamespaceDescription,
        name: securityAttributeNamespaceName,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        freeformTags: {
            Department: "Finance",
        },
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_security_attribute_namespace = oci.security_attribute.SecurityAttributeNamespace("test_security_attribute_namespace",
        compartment_id=compartment_id,
        description=security_attribute_namespace_description,
        name=security_attribute_namespace_name,
        defined_tags={
            "Operations.CostCenter": "42",
        },
        freeform_tags={
            "Department": "Finance",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/SecurityAttribute"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := SecurityAttribute.NewSecurityAttributeNamespace(ctx, "test_security_attribute_namespace", &SecurityAttribute.SecurityAttributeNamespaceArgs{
    			CompartmentId: pulumi.Any(compartmentId),
    			Description:   pulumi.Any(securityAttributeNamespaceDescription),
    			Name:          pulumi.Any(securityAttributeNamespaceName),
    			DefinedTags: pulumi.StringMap{
    				"Operations.CostCenter": pulumi.String("42"),
    			},
    			FreeformTags: pulumi.StringMap{
    				"Department": pulumi.String("Finance"),
    			},
    		})
    		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 testSecurityAttributeNamespace = new Oci.SecurityAttribute.SecurityAttributeNamespace("test_security_attribute_namespace", new()
        {
            CompartmentId = compartmentId,
            Description = securityAttributeNamespaceDescription,
            Name = securityAttributeNamespaceName,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.SecurityAttribute.SecurityAttributeNamespace;
    import com.pulumi.oci.SecurityAttribute.SecurityAttributeNamespaceArgs;
    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 testSecurityAttributeNamespace = new SecurityAttributeNamespace("testSecurityAttributeNamespace", SecurityAttributeNamespaceArgs.builder()
                .compartmentId(compartmentId)
                .description(securityAttributeNamespaceDescription)
                .name(securityAttributeNamespaceName)
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .freeformTags(Map.of("Department", "Finance"))
                .build());
    
        }
    }
    
    resources:
      testSecurityAttributeNamespace:
        type: oci:SecurityAttribute:SecurityAttributeNamespace
        name: test_security_attribute_namespace
        properties:
          compartmentId: ${compartmentId}
          description: ${securityAttributeNamespaceDescription}
          name: ${securityAttributeNamespaceName}
          definedTags:
            Operations.CostCenter: '42'
          freeformTags:
            Department: Finance
    

    Create SecurityAttributeNamespace Resource

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

    Constructor syntax

    new SecurityAttributeNamespace(name: string, args: SecurityAttributeNamespaceArgs, opts?: CustomResourceOptions);
    @overload
    def SecurityAttributeNamespace(resource_name: str,
                                   args: SecurityAttributeNamespaceArgs,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def SecurityAttributeNamespace(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   compartment_id: Optional[str] = None,
                                   description: Optional[str] = None,
                                   defined_tags: Optional[Mapping[str, str]] = None,
                                   freeform_tags: Optional[Mapping[str, str]] = None,
                                   is_retired: Optional[bool] = None,
                                   name: Optional[str] = None)
    func NewSecurityAttributeNamespace(ctx *Context, name string, args SecurityAttributeNamespaceArgs, opts ...ResourceOption) (*SecurityAttributeNamespace, error)
    public SecurityAttributeNamespace(string name, SecurityAttributeNamespaceArgs args, CustomResourceOptions? opts = null)
    public SecurityAttributeNamespace(String name, SecurityAttributeNamespaceArgs args)
    public SecurityAttributeNamespace(String name, SecurityAttributeNamespaceArgs args, CustomResourceOptions options)
    
    type: oci:SecurityAttribute:SecurityAttributeNamespace
    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 SecurityAttributeNamespaceArgs
    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 SecurityAttributeNamespaceArgs
    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 SecurityAttributeNamespaceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SecurityAttributeNamespaceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SecurityAttributeNamespaceArgs
    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 securityAttributeNamespaceResource = new Oci.SecurityAttribute.SecurityAttributeNamespace("securityAttributeNamespaceResource", new()
    {
        CompartmentId = "string",
        Description = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        FreeformTags = 
        {
            { "string", "string" },
        },
        IsRetired = false,
        Name = "string",
    });
    
    example, err := SecurityAttribute.NewSecurityAttributeNamespace(ctx, "securityAttributeNamespaceResource", &SecurityAttribute.SecurityAttributeNamespaceArgs{
    	CompartmentId: pulumi.String("string"),
    	Description:   pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	IsRetired: pulumi.Bool(false),
    	Name:      pulumi.String("string"),
    })
    
    var securityAttributeNamespaceResource = new SecurityAttributeNamespace("securityAttributeNamespaceResource", SecurityAttributeNamespaceArgs.builder()
        .compartmentId("string")
        .description("string")
        .definedTags(Map.of("string", "string"))
        .freeformTags(Map.of("string", "string"))
        .isRetired(false)
        .name("string")
        .build());
    
    security_attribute_namespace_resource = oci.security_attribute.SecurityAttributeNamespace("securityAttributeNamespaceResource",
        compartment_id="string",
        description="string",
        defined_tags={
            "string": "string",
        },
        freeform_tags={
            "string": "string",
        },
        is_retired=False,
        name="string")
    
    const securityAttributeNamespaceResource = new oci.securityattribute.SecurityAttributeNamespace("securityAttributeNamespaceResource", {
        compartmentId: "string",
        description: "string",
        definedTags: {
            string: "string",
        },
        freeformTags: {
            string: "string",
        },
        isRetired: false,
        name: "string",
    });
    
    type: oci:SecurityAttribute:SecurityAttributeNamespace
    properties:
        compartmentId: string
        definedTags:
            string: string
        description: string
        freeformTags:
            string: string
        isRetired: false
        name: string
    

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

    CompartmentId string
    (Updatable) The OCID of the tenancy containing the security attribute namespace.
    Description string
    (Updatable) The description you assign to the security attribute namespace during creation.
    DefinedTags 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"}
    FreeformTags 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"}
    IsRetired bool
    Indicates whether the security attribute namespace is retired. See Managing Security Attribute Namespaces.
    Name string

    The name you assign to the security attribute namespace during creation. The name must be unique across all namespaces in the tenancy and cannot be changed.

    ** 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 tenancy containing the security attribute namespace.
    Description string
    (Updatable) The description you assign to the security attribute namespace during creation.
    DefinedTags 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"}
    FreeformTags 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"}
    IsRetired bool
    Indicates whether the security attribute namespace is retired. See Managing Security Attribute Namespaces.
    Name string

    The name you assign to the security attribute namespace during creation. The name must be unique across all namespaces in the tenancy and cannot be changed.

    ** 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 tenancy containing the security attribute namespace.
    description String
    (Updatable) The description you assign to the security attribute namespace during creation.
    definedTags 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"}
    freeformTags 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"}
    isRetired Boolean
    Indicates whether the security attribute namespace is retired. See Managing Security Attribute Namespaces.
    name String

    The name you assign to the security attribute namespace during creation. The name must be unique across all namespaces in the tenancy and cannot be changed.

    ** 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 tenancy containing the security attribute namespace.
    description string
    (Updatable) The description you assign to the security attribute namespace during creation.
    definedTags {[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"}
    freeformTags {[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"}
    isRetired boolean
    Indicates whether the security attribute namespace is retired. See Managing Security Attribute Namespaces.
    name string

    The name you assign to the security attribute namespace during creation. The name must be unique across all namespaces in the tenancy and cannot be changed.

    ** 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 tenancy containing the security attribute namespace.
    description str
    (Updatable) The description you assign to the security attribute namespace during creation.
    defined_tags 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"}
    freeform_tags 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"}
    is_retired bool
    Indicates whether the security attribute namespace is retired. See Managing Security Attribute Namespaces.
    name str

    The name you assign to the security attribute namespace during creation. The name must be unique across all namespaces in the tenancy and cannot be changed.

    ** 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 tenancy containing the security attribute namespace.
    description String
    (Updatable) The description you assign to the security attribute namespace during creation.
    definedTags 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"}
    freeformTags 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"}
    isRetired Boolean
    Indicates whether the security attribute namespace is retired. See Managing Security Attribute Namespaces.
    name String

    The name you assign to the security attribute namespace during creation. The name must be unique across all namespaces in the tenancy and cannot be changed.

    ** 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

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Modes List<string>
    Indicates possible modes the security attributes in this namespace can be set to. This is not accepted from the user. Currently the supported values are enforce and audit.
    State string
    The security attribute namespace's current state. After creating a security attribute namespace, make sure its lifecycleState is ACTIVE before using it. After retiring a security attribute namespace, make sure its lifecycleState is INACTIVE.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    Date and time the security attribute namespace 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.
    Modes []string
    Indicates possible modes the security attributes in this namespace can be set to. This is not accepted from the user. Currently the supported values are enforce and audit.
    State string
    The security attribute namespace's current state. After creating a security attribute namespace, make sure its lifecycleState is ACTIVE before using it. After retiring a security attribute namespace, make sure its lifecycleState is INACTIVE.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    Date and time the security attribute namespace 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.
    modes List<String>
    Indicates possible modes the security attributes in this namespace can be set to. This is not accepted from the user. Currently the supported values are enforce and audit.
    state String
    The security attribute namespace's current state. After creating a security attribute namespace, make sure its lifecycleState is ACTIVE before using it. After retiring a security attribute namespace, make sure its lifecycleState is INACTIVE.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    Date and time the security attribute namespace 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.
    modes string[]
    Indicates possible modes the security attributes in this namespace can be set to. This is not accepted from the user. Currently the supported values are enforce and audit.
    state string
    The security attribute namespace's current state. After creating a security attribute namespace, make sure its lifecycleState is ACTIVE before using it. After retiring a security attribute namespace, make sure its lifecycleState is INACTIVE.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    Date and time the security attribute namespace 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.
    modes Sequence[str]
    Indicates possible modes the security attributes in this namespace can be set to. This is not accepted from the user. Currently the supported values are enforce and audit.
    state str
    The security attribute namespace's current state. After creating a security attribute namespace, make sure its lifecycleState is ACTIVE before using it. After retiring a security attribute namespace, make sure its lifecycleState is INACTIVE.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    Date and time the security attribute namespace 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.
    modes List<String>
    Indicates possible modes the security attributes in this namespace can be set to. This is not accepted from the user. Currently the supported values are enforce and audit.
    state String
    The security attribute namespace's current state. After creating a security attribute namespace, make sure its lifecycleState is ACTIVE before using it. After retiring a security attribute namespace, make sure its lifecycleState is INACTIVE.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    Date and time the security attribute namespace was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

    Look up Existing SecurityAttributeNamespace Resource

    Get an existing SecurityAttributeNamespace 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?: SecurityAttributeNamespaceState, opts?: CustomResourceOptions): SecurityAttributeNamespace
    @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,
            freeform_tags: Optional[Mapping[str, str]] = None,
            is_retired: Optional[bool] = None,
            modes: Optional[Sequence[str]] = None,
            name: Optional[str] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            time_created: Optional[str] = None) -> SecurityAttributeNamespace
    func GetSecurityAttributeNamespace(ctx *Context, name string, id IDInput, state *SecurityAttributeNamespaceState, opts ...ResourceOption) (*SecurityAttributeNamespace, error)
    public static SecurityAttributeNamespace Get(string name, Input<string> id, SecurityAttributeNamespaceState? state, CustomResourceOptions? opts = null)
    public static SecurityAttributeNamespace get(String name, Output<String> id, SecurityAttributeNamespaceState 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 tenancy containing the security attribute namespace.
    DefinedTags 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"}
    Description string
    (Updatable) The description you assign to the security attribute namespace during creation.
    FreeformTags 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"}
    IsRetired bool
    Indicates whether the security attribute namespace is retired. See Managing Security Attribute Namespaces.
    Modes List<string>
    Indicates possible modes the security attributes in this namespace can be set to. This is not accepted from the user. Currently the supported values are enforce and audit.
    Name string

    The name you assign to the security attribute namespace during creation. The name must be unique across all namespaces in the tenancy and cannot be changed.

    ** 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

    State string
    The security attribute namespace's current state. After creating a security attribute namespace, make sure its lifecycleState is ACTIVE before using it. After retiring a security attribute namespace, make sure its lifecycleState is INACTIVE.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    Date and time the security attribute namespace was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    CompartmentId string
    (Updatable) The OCID of the tenancy containing the security attribute namespace.
    DefinedTags 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"}
    Description string
    (Updatable) The description you assign to the security attribute namespace during creation.
    FreeformTags 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"}
    IsRetired bool
    Indicates whether the security attribute namespace is retired. See Managing Security Attribute Namespaces.
    Modes []string
    Indicates possible modes the security attributes in this namespace can be set to. This is not accepted from the user. Currently the supported values are enforce and audit.
    Name string

    The name you assign to the security attribute namespace during creation. The name must be unique across all namespaces in the tenancy and cannot be changed.

    ** 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

    State string
    The security attribute namespace's current state. After creating a security attribute namespace, make sure its lifecycleState is ACTIVE before using it. After retiring a security attribute namespace, make sure its lifecycleState is INACTIVE.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    Date and time the security attribute namespace was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    compartmentId String
    (Updatable) The OCID of the tenancy containing the security attribute namespace.
    definedTags 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"}
    description String
    (Updatable) The description you assign to the security attribute namespace during creation.
    freeformTags 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"}
    isRetired Boolean
    Indicates whether the security attribute namespace is retired. See Managing Security Attribute Namespaces.
    modes List<String>
    Indicates possible modes the security attributes in this namespace can be set to. This is not accepted from the user. Currently the supported values are enforce and audit.
    name String

    The name you assign to the security attribute namespace during creation. The name must be unique across all namespaces in the tenancy and cannot be changed.

    ** 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

    state String
    The security attribute namespace's current state. After creating a security attribute namespace, make sure its lifecycleState is ACTIVE before using it. After retiring a security attribute namespace, make sure its lifecycleState is INACTIVE.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    Date and time the security attribute namespace was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    compartmentId string
    (Updatable) The OCID of the tenancy containing the security attribute namespace.
    definedTags {[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"}
    description string
    (Updatable) The description you assign to the security attribute namespace during creation.
    freeformTags {[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"}
    isRetired boolean
    Indicates whether the security attribute namespace is retired. See Managing Security Attribute Namespaces.
    modes string[]
    Indicates possible modes the security attributes in this namespace can be set to. This is not accepted from the user. Currently the supported values are enforce and audit.
    name string

    The name you assign to the security attribute namespace during creation. The name must be unique across all namespaces in the tenancy and cannot be changed.

    ** 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

    state string
    The security attribute namespace's current state. After creating a security attribute namespace, make sure its lifecycleState is ACTIVE before using it. After retiring a security attribute namespace, make sure its lifecycleState is INACTIVE.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    Date and time the security attribute namespace was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    compartment_id str
    (Updatable) The OCID of the tenancy containing the security attribute namespace.
    defined_tags 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"}
    description str
    (Updatable) The description you assign to the security attribute namespace during creation.
    freeform_tags 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"}
    is_retired bool
    Indicates whether the security attribute namespace is retired. See Managing Security Attribute Namespaces.
    modes Sequence[str]
    Indicates possible modes the security attributes in this namespace can be set to. This is not accepted from the user. Currently the supported values are enforce and audit.
    name str

    The name you assign to the security attribute namespace during creation. The name must be unique across all namespaces in the tenancy and cannot be changed.

    ** 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

    state str
    The security attribute namespace's current state. After creating a security attribute namespace, make sure its lifecycleState is ACTIVE before using it. After retiring a security attribute namespace, make sure its lifecycleState is INACTIVE.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    Date and time the security attribute namespace was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    compartmentId String
    (Updatable) The OCID of the tenancy containing the security attribute namespace.
    definedTags 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"}
    description String
    (Updatable) The description you assign to the security attribute namespace during creation.
    freeformTags 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"}
    isRetired Boolean
    Indicates whether the security attribute namespace is retired. See Managing Security Attribute Namespaces.
    modes List<String>
    Indicates possible modes the security attributes in this namespace can be set to. This is not accepted from the user. Currently the supported values are enforce and audit.
    name String

    The name you assign to the security attribute namespace during creation. The name must be unique across all namespaces in the tenancy and cannot be changed.

    ** 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

    state String
    The security attribute namespace's current state. After creating a security attribute namespace, make sure its lifecycleState is ACTIVE before using it. After retiring a security attribute namespace, make sure its lifecycleState is INACTIVE.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    Date and time the security attribute namespace was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

    Import

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

    $ pulumi import oci:SecurityAttribute/securityAttributeNamespace:SecurityAttributeNamespace test_security_attribute_namespace "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 v2.17.0 published on Friday, Nov 15, 2024 by Pulumi