1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataSafe
  5. DatabaseSecurityConfig
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.DataSafe.DatabaseSecurityConfig

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

    This resource provides the Database Security Config resource in Oracle Cloud Infrastructure Data Safe service.

    Updates the database security configuration.

    Create DatabaseSecurityConfig Resource

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

    Constructor syntax

    new DatabaseSecurityConfig(name: string, args: DatabaseSecurityConfigArgs, opts?: CustomResourceOptions);
    @overload
    def DatabaseSecurityConfig(resource_name: str,
                               args: DatabaseSecurityConfigArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def DatabaseSecurityConfig(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               database_security_config_id: Optional[str] = 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,
                               refresh_trigger: Optional[int] = None,
                               sql_firewall_config: Optional[_datasafe.DatabaseSecurityConfigSqlFirewallConfigArgs] = None)
    func NewDatabaseSecurityConfig(ctx *Context, name string, args DatabaseSecurityConfigArgs, opts ...ResourceOption) (*DatabaseSecurityConfig, error)
    public DatabaseSecurityConfig(string name, DatabaseSecurityConfigArgs args, CustomResourceOptions? opts = null)
    public DatabaseSecurityConfig(String name, DatabaseSecurityConfigArgs args)
    public DatabaseSecurityConfig(String name, DatabaseSecurityConfigArgs args, CustomResourceOptions options)
    
    type: oci:DataSafe:DatabaseSecurityConfig
    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 DatabaseSecurityConfigArgs
    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 DatabaseSecurityConfigArgs
    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 DatabaseSecurityConfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DatabaseSecurityConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DatabaseSecurityConfigArgs
    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 databaseSecurityConfigResource = new Oci.DataSafe.DatabaseSecurityConfig("databaseSecurityConfigResource", new()
    {
        DatabaseSecurityConfigId = "string",
        CompartmentId = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        Description = "string",
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "string" },
        },
        RefreshTrigger = 0,
        SqlFirewallConfig = new Oci.DataSafe.Inputs.DatabaseSecurityConfigSqlFirewallConfigArgs
        {
            ExcludeJob = "string",
            Status = "string",
            TimeStatusUpdated = "string",
            ViolationLogAutoPurge = "string",
        },
    });
    
    example, err := DataSafe.NewDatabaseSecurityConfig(ctx, "databaseSecurityConfigResource", &DataSafe.DatabaseSecurityConfigArgs{
    	DatabaseSecurityConfigId: pulumi.String("string"),
    	CompartmentId:            pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	DisplayName: pulumi.String("string"),
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	RefreshTrigger: pulumi.Int(0),
    	SqlFirewallConfig: &datasafe.DatabaseSecurityConfigSqlFirewallConfigArgs{
    		ExcludeJob:            pulumi.String("string"),
    		Status:                pulumi.String("string"),
    		TimeStatusUpdated:     pulumi.String("string"),
    		ViolationLogAutoPurge: pulumi.String("string"),
    	},
    })
    
    var databaseSecurityConfigResource = new DatabaseSecurityConfig("databaseSecurityConfigResource", DatabaseSecurityConfigArgs.builder()
        .databaseSecurityConfigId("string")
        .compartmentId("string")
        .definedTags(Map.of("string", "string"))
        .description("string")
        .displayName("string")
        .freeformTags(Map.of("string", "string"))
        .refreshTrigger(0)
        .sqlFirewallConfig(DatabaseSecurityConfigSqlFirewallConfigArgs.builder()
            .excludeJob("string")
            .status("string")
            .timeStatusUpdated("string")
            .violationLogAutoPurge("string")
            .build())
        .build());
    
    database_security_config_resource = oci.data_safe.DatabaseSecurityConfig("databaseSecurityConfigResource",
        database_security_config_id="string",
        compartment_id="string",
        defined_tags={
            "string": "string",
        },
        description="string",
        display_name="string",
        freeform_tags={
            "string": "string",
        },
        refresh_trigger=0,
        sql_firewall_config=oci.data_safe.DatabaseSecurityConfigSqlFirewallConfigArgs(
            exclude_job="string",
            status="string",
            time_status_updated="string",
            violation_log_auto_purge="string",
        ))
    
    const databaseSecurityConfigResource = new oci.datasafe.DatabaseSecurityConfig("databaseSecurityConfigResource", {
        databaseSecurityConfigId: "string",
        compartmentId: "string",
        definedTags: {
            string: "string",
        },
        description: "string",
        displayName: "string",
        freeformTags: {
            string: "string",
        },
        refreshTrigger: 0,
        sqlFirewallConfig: {
            excludeJob: "string",
            status: "string",
            timeStatusUpdated: "string",
            violationLogAutoPurge: "string",
        },
    });
    
    type: oci:DataSafe:DatabaseSecurityConfig
    properties:
        compartmentId: string
        databaseSecurityConfigId: string
        definedTags:
            string: string
        description: string
        displayName: string
        freeformTags:
            string: string
        refreshTrigger: 0
        sqlFirewallConfig:
            excludeJob: string
            status: string
            timeStatusUpdated: string
            violationLogAutoPurge: string
    

    DatabaseSecurityConfig Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The DatabaseSecurityConfig resource accepts the following input properties:

    DatabaseSecurityConfigId string
    The OCID of the database security configuration resource.
    CompartmentId string
    (Updatable) The OCID of the compartment containing the database security config.
    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 of the security policy.
    DisplayName string
    (Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable.
    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"}
    RefreshTrigger int

    (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer value.

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

    SqlFirewallConfig DatabaseSecurityConfigSqlFirewallConfig
    (Updatable) Details to update the SQL Firewall config.
    DatabaseSecurityConfigId string
    The OCID of the database security configuration resource.
    CompartmentId string
    (Updatable) The OCID of the compartment containing the database security config.
    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 of the security policy.
    DisplayName string
    (Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable.
    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"}
    RefreshTrigger int

    (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer value.

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

    SqlFirewallConfig DatabaseSecurityConfigSqlFirewallConfigArgs
    (Updatable) Details to update the SQL Firewall config.
    databaseSecurityConfigId String
    The OCID of the database security configuration resource.
    compartmentId String
    (Updatable) The OCID of the compartment containing the database security config.
    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 of the security policy.
    displayName String
    (Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable.
    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"}
    refreshTrigger Integer

    (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer value.

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

    sqlFirewallConfig DatabaseSecurityConfigSqlFirewallConfig
    (Updatable) Details to update the SQL Firewall config.
    databaseSecurityConfigId string
    The OCID of the database security configuration resource.
    compartmentId string
    (Updatable) The OCID of the compartment containing the database security config.
    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 of the security policy.
    displayName string
    (Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable.
    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"}
    refreshTrigger number

    (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer value.

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

    sqlFirewallConfig DatabaseSecurityConfigSqlFirewallConfig
    (Updatable) Details to update the SQL Firewall config.
    database_security_config_id str
    The OCID of the database security configuration resource.
    compartment_id str
    (Updatable) The OCID of the compartment containing the database security config.
    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 of the security policy.
    display_name str
    (Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable.
    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"}
    refresh_trigger int

    (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer value.

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

    sql_firewall_config datasafe.DatabaseSecurityConfigSqlFirewallConfigArgs
    (Updatable) Details to update the SQL Firewall config.
    databaseSecurityConfigId String
    The OCID of the database security configuration resource.
    compartmentId String
    (Updatable) The OCID of the compartment containing the database security config.
    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 of the security policy.
    displayName String
    (Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable.
    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"}
    refreshTrigger Number

    (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer value.

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

    sqlFirewallConfig Property Map
    (Updatable) Details to update the SQL Firewall config.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    Details about the current state of the database security config in Data Safe.
    State string
    The current state of the database security config.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TargetId string
    The target OCID corresponding to the database security config.
    TimeCreated string
    The time that the database security config was created, in the format defined by RFC3339.
    TimeLastRefreshed string
    The last date and time the database security config was refreshed, in the format defined by RFC3339.
    TimeUpdated string
    The date and time the database security configuration was last updated, in the format defined by RFC3339.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    Details about the current state of the database security config in Data Safe.
    State string
    The current state of the database security config.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TargetId string
    The target OCID corresponding to the database security config.
    TimeCreated string
    The time that the database security config was created, in the format defined by RFC3339.
    TimeLastRefreshed string
    The last date and time the database security config was refreshed, in the format defined by RFC3339.
    TimeUpdated string
    The date and time the database security configuration was last updated, in the format defined by RFC3339.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    Details about the current state of the database security config in Data Safe.
    state String
    The current state of the database security config.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    targetId String
    The target OCID corresponding to the database security config.
    timeCreated String
    The time that the database security config was created, in the format defined by RFC3339.
    timeLastRefreshed String
    The last date and time the database security config was refreshed, in the format defined by RFC3339.
    timeUpdated String
    The date and time the database security configuration was last updated, in the format defined by RFC3339.
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails string
    Details about the current state of the database security config in Data Safe.
    state string
    The current state of the database security config.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    targetId string
    The target OCID corresponding to the database security config.
    timeCreated string
    The time that the database security config was created, in the format defined by RFC3339.
    timeLastRefreshed string
    The last date and time the database security config was refreshed, in the format defined by RFC3339.
    timeUpdated string
    The date and time the database security configuration was last updated, in the format defined by RFC3339.
    id str
    The provider-assigned unique ID for this managed resource.
    lifecycle_details str
    Details about the current state of the database security config in Data Safe.
    state str
    The current state of the database security config.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    target_id str
    The target OCID corresponding to the database security config.
    time_created str
    The time that the database security config was created, in the format defined by RFC3339.
    time_last_refreshed str
    The last date and time the database security config was refreshed, in the format defined by RFC3339.
    time_updated str
    The date and time the database security configuration was last updated, in the format defined by RFC3339.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    Details about the current state of the database security config in Data Safe.
    state String
    The current state of the database security config.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    targetId String
    The target OCID corresponding to the database security config.
    timeCreated String
    The time that the database security config was created, in the format defined by RFC3339.
    timeLastRefreshed String
    The last date and time the database security config was refreshed, in the format defined by RFC3339.
    timeUpdated String
    The date and time the database security configuration was last updated, in the format defined by RFC3339.

    Look up Existing DatabaseSecurityConfig Resource

    Get an existing DatabaseSecurityConfig 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?: DatabaseSecurityConfigState, opts?: CustomResourceOptions): DatabaseSecurityConfig
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            database_security_config_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,
            lifecycle_details: Optional[str] = None,
            refresh_trigger: Optional[int] = None,
            sql_firewall_config: Optional[_datasafe.DatabaseSecurityConfigSqlFirewallConfigArgs] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            target_id: Optional[str] = None,
            time_created: Optional[str] = None,
            time_last_refreshed: Optional[str] = None,
            time_updated: Optional[str] = None) -> DatabaseSecurityConfig
    func GetDatabaseSecurityConfig(ctx *Context, name string, id IDInput, state *DatabaseSecurityConfigState, opts ...ResourceOption) (*DatabaseSecurityConfig, error)
    public static DatabaseSecurityConfig Get(string name, Input<string> id, DatabaseSecurityConfigState? state, CustomResourceOptions? opts = null)
    public static DatabaseSecurityConfig get(String name, Output<String> id, DatabaseSecurityConfigState 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 compartment containing the database security config.
    DatabaseSecurityConfigId string
    The OCID of the database security configuration resource.
    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 of the security policy.
    DisplayName string
    (Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable.
    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"}
    LifecycleDetails string
    Details about the current state of the database security config in Data Safe.
    RefreshTrigger int

    (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer value.

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

    SqlFirewallConfig DatabaseSecurityConfigSqlFirewallConfig
    (Updatable) Details to update the SQL Firewall config.
    State string
    The current state of the database security config.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TargetId string
    The target OCID corresponding to the database security config.
    TimeCreated string
    The time that the database security config was created, in the format defined by RFC3339.
    TimeLastRefreshed string
    The last date and time the database security config was refreshed, in the format defined by RFC3339.
    TimeUpdated string
    The date and time the database security configuration was last updated, in the format defined by RFC3339.
    CompartmentId string
    (Updatable) The OCID of the compartment containing the database security config.
    DatabaseSecurityConfigId string
    The OCID of the database security configuration resource.
    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 of the security policy.
    DisplayName string
    (Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable.
    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"}
    LifecycleDetails string
    Details about the current state of the database security config in Data Safe.
    RefreshTrigger int

    (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer value.

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

    SqlFirewallConfig DatabaseSecurityConfigSqlFirewallConfigArgs
    (Updatable) Details to update the SQL Firewall config.
    State string
    The current state of the database security config.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TargetId string
    The target OCID corresponding to the database security config.
    TimeCreated string
    The time that the database security config was created, in the format defined by RFC3339.
    TimeLastRefreshed string
    The last date and time the database security config was refreshed, in the format defined by RFC3339.
    TimeUpdated string
    The date and time the database security configuration was last updated, in the format defined by RFC3339.
    compartmentId String
    (Updatable) The OCID of the compartment containing the database security config.
    databaseSecurityConfigId String
    The OCID of the database security configuration resource.
    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 of the security policy.
    displayName String
    (Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable.
    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"}
    lifecycleDetails String
    Details about the current state of the database security config in Data Safe.
    refreshTrigger Integer

    (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer value.

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

    sqlFirewallConfig DatabaseSecurityConfigSqlFirewallConfig
    (Updatable) Details to update the SQL Firewall config.
    state String
    The current state of the database security config.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    targetId String
    The target OCID corresponding to the database security config.
    timeCreated String
    The time that the database security config was created, in the format defined by RFC3339.
    timeLastRefreshed String
    The last date and time the database security config was refreshed, in the format defined by RFC3339.
    timeUpdated String
    The date and time the database security configuration was last updated, in the format defined by RFC3339.
    compartmentId string
    (Updatable) The OCID of the compartment containing the database security config.
    databaseSecurityConfigId string
    The OCID of the database security configuration resource.
    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 of the security policy.
    displayName string
    (Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable.
    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"}
    lifecycleDetails string
    Details about the current state of the database security config in Data Safe.
    refreshTrigger number

    (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer value.

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

    sqlFirewallConfig DatabaseSecurityConfigSqlFirewallConfig
    (Updatable) Details to update the SQL Firewall config.
    state string
    The current state of the database security config.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    targetId string
    The target OCID corresponding to the database security config.
    timeCreated string
    The time that the database security config was created, in the format defined by RFC3339.
    timeLastRefreshed string
    The last date and time the database security config was refreshed, in the format defined by RFC3339.
    timeUpdated string
    The date and time the database security configuration was last updated, in the format defined by RFC3339.
    compartment_id str
    (Updatable) The OCID of the compartment containing the database security config.
    database_security_config_id str
    The OCID of the database security configuration resource.
    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 of the security policy.
    display_name str
    (Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable.
    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"}
    lifecycle_details str
    Details about the current state of the database security config in Data Safe.
    refresh_trigger int

    (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer value.

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

    sql_firewall_config datasafe.DatabaseSecurityConfigSqlFirewallConfigArgs
    (Updatable) Details to update the SQL Firewall config.
    state str
    The current state of the database security config.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    target_id str
    The target OCID corresponding to the database security config.
    time_created str
    The time that the database security config was created, in the format defined by RFC3339.
    time_last_refreshed str
    The last date and time the database security config was refreshed, in the format defined by RFC3339.
    time_updated str
    The date and time the database security configuration was last updated, in the format defined by RFC3339.
    compartmentId String
    (Updatable) The OCID of the compartment containing the database security config.
    databaseSecurityConfigId String
    The OCID of the database security configuration resource.
    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 of the security policy.
    displayName String
    (Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable.
    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"}
    lifecycleDetails String
    Details about the current state of the database security config in Data Safe.
    refreshTrigger Number

    (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer value.

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

    sqlFirewallConfig Property Map
    (Updatable) Details to update the SQL Firewall config.
    state String
    The current state of the database security config.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    targetId String
    The target OCID corresponding to the database security config.
    timeCreated String
    The time that the database security config was created, in the format defined by RFC3339.
    timeLastRefreshed String
    The last date and time the database security config was refreshed, in the format defined by RFC3339.
    timeUpdated String
    The date and time the database security configuration was last updated, in the format defined by RFC3339.

    Supporting Types

    DatabaseSecurityConfigSqlFirewallConfig, DatabaseSecurityConfigSqlFirewallConfigArgs

    ExcludeJob string
    (Updatable) Specifies whether the firewall should include or exclude the database internal job activities.
    Status string
    (Updatable) Specifies whether the firewall is enabled or disabled on the target database.
    TimeStatusUpdated string
    The most recent time when the firewall status is updated, in the format defined by RFC3339.
    ViolationLogAutoPurge string
    (Updatable) Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting on Data Safe.
    ExcludeJob string
    (Updatable) Specifies whether the firewall should include or exclude the database internal job activities.
    Status string
    (Updatable) Specifies whether the firewall is enabled or disabled on the target database.
    TimeStatusUpdated string
    The most recent time when the firewall status is updated, in the format defined by RFC3339.
    ViolationLogAutoPurge string
    (Updatable) Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting on Data Safe.
    excludeJob String
    (Updatable) Specifies whether the firewall should include or exclude the database internal job activities.
    status String
    (Updatable) Specifies whether the firewall is enabled or disabled on the target database.
    timeStatusUpdated String
    The most recent time when the firewall status is updated, in the format defined by RFC3339.
    violationLogAutoPurge String
    (Updatable) Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting on Data Safe.
    excludeJob string
    (Updatable) Specifies whether the firewall should include or exclude the database internal job activities.
    status string
    (Updatable) Specifies whether the firewall is enabled or disabled on the target database.
    timeStatusUpdated string
    The most recent time when the firewall status is updated, in the format defined by RFC3339.
    violationLogAutoPurge string
    (Updatable) Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting on Data Safe.
    exclude_job str
    (Updatable) Specifies whether the firewall should include or exclude the database internal job activities.
    status str
    (Updatable) Specifies whether the firewall is enabled or disabled on the target database.
    time_status_updated str
    The most recent time when the firewall status is updated, in the format defined by RFC3339.
    violation_log_auto_purge str
    (Updatable) Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting on Data Safe.
    excludeJob String
    (Updatable) Specifies whether the firewall should include or exclude the database internal job activities.
    status String
    (Updatable) Specifies whether the firewall is enabled or disabled on the target database.
    timeStatusUpdated String
    The most recent time when the firewall status is updated, in the format defined by RFC3339.
    violationLogAutoPurge String
    (Updatable) Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting on Data Safe.

    Import

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

    $ pulumi import oci:DataSafe/databaseSecurityConfig:DatabaseSecurityConfig test_database_security_config "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.11.0 published on Thursday, Sep 19, 2024 by Pulumi