oci.DataSafe.getDatabaseSecurityConfigs
Explore with Pulumi AI
This data source provides the list of Database Security Configs in Oracle Cloud Infrastructure Data Safe service.
Retrieves a list of all database security configurations in Data Safe.
The ListDatabaseSecurityConfigs operation returns only the database security configurations in the specified compartmentId
.
The parameter accessLevel
specifies whether to return only those compartments for which the
requestor has INSPECT permissions on at least one resource directly
or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if
Principal doesn’t have access to even one of the child compartments. This is valid only when
compartmentIdInSubtree
is set to true
.
The parameter compartmentIdInSubtree
applies when you perform ListDatabaseSecurityConfigs on the
compartmentId
passed and when it is set to true, the entire hierarchy of compartments can be returned.
To get a full list of all compartments and subcompartments in the tenancy (root compartment),
set the parameter compartmentIdInSubtree
to true and accessLevel
to ACCESSIBLE.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDatabaseSecurityConfigs = oci.DataSafe.getDatabaseSecurityConfigs({
compartmentId: compartmentId,
accessLevel: databaseSecurityConfigAccessLevel,
compartmentIdInSubtree: databaseSecurityConfigCompartmentIdInSubtree,
databaseSecurityConfigId: testDatabaseSecurityConfig.id,
displayName: databaseSecurityConfigDisplayName,
state: databaseSecurityConfigState,
targetId: testTarget.id,
timeCreatedGreaterThanOrEqualTo: databaseSecurityConfigTimeCreatedGreaterThanOrEqualTo,
timeCreatedLessThan: databaseSecurityConfigTimeCreatedLessThan,
});
import pulumi
import pulumi_oci as oci
test_database_security_configs = oci.DataSafe.get_database_security_configs(compartment_id=compartment_id,
access_level=database_security_config_access_level,
compartment_id_in_subtree=database_security_config_compartment_id_in_subtree,
database_security_config_id=test_database_security_config["id"],
display_name=database_security_config_display_name,
state=database_security_config_state,
target_id=test_target["id"],
time_created_greater_than_or_equal_to=database_security_config_time_created_greater_than_or_equal_to,
time_created_less_than=database_security_config_time_created_less_than)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/datasafe"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := datasafe.GetDatabaseSecurityConfigs(ctx, &datasafe.GetDatabaseSecurityConfigsArgs{
CompartmentId: compartmentId,
AccessLevel: pulumi.StringRef(databaseSecurityConfigAccessLevel),
CompartmentIdInSubtree: pulumi.BoolRef(databaseSecurityConfigCompartmentIdInSubtree),
DatabaseSecurityConfigId: pulumi.StringRef(testDatabaseSecurityConfig.Id),
DisplayName: pulumi.StringRef(databaseSecurityConfigDisplayName),
State: pulumi.StringRef(databaseSecurityConfigState),
TargetId: pulumi.StringRef(testTarget.Id),
TimeCreatedGreaterThanOrEqualTo: pulumi.StringRef(databaseSecurityConfigTimeCreatedGreaterThanOrEqualTo),
TimeCreatedLessThan: pulumi.StringRef(databaseSecurityConfigTimeCreatedLessThan),
}, nil)
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 testDatabaseSecurityConfigs = Oci.DataSafe.GetDatabaseSecurityConfigs.Invoke(new()
{
CompartmentId = compartmentId,
AccessLevel = databaseSecurityConfigAccessLevel,
CompartmentIdInSubtree = databaseSecurityConfigCompartmentIdInSubtree,
DatabaseSecurityConfigId = testDatabaseSecurityConfig.Id,
DisplayName = databaseSecurityConfigDisplayName,
State = databaseSecurityConfigState,
TargetId = testTarget.Id,
TimeCreatedGreaterThanOrEqualTo = databaseSecurityConfigTimeCreatedGreaterThanOrEqualTo,
TimeCreatedLessThan = databaseSecurityConfigTimeCreatedLessThan,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DataSafe.DataSafeFunctions;
import com.pulumi.oci.DataSafe.inputs.GetDatabaseSecurityConfigsArgs;
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) {
final var testDatabaseSecurityConfigs = DataSafeFunctions.getDatabaseSecurityConfigs(GetDatabaseSecurityConfigsArgs.builder()
.compartmentId(compartmentId)
.accessLevel(databaseSecurityConfigAccessLevel)
.compartmentIdInSubtree(databaseSecurityConfigCompartmentIdInSubtree)
.databaseSecurityConfigId(testDatabaseSecurityConfig.id())
.displayName(databaseSecurityConfigDisplayName)
.state(databaseSecurityConfigState)
.targetId(testTarget.id())
.timeCreatedGreaterThanOrEqualTo(databaseSecurityConfigTimeCreatedGreaterThanOrEqualTo)
.timeCreatedLessThan(databaseSecurityConfigTimeCreatedLessThan)
.build());
}
}
variables:
testDatabaseSecurityConfigs:
fn::invoke:
function: oci:DataSafe:getDatabaseSecurityConfigs
arguments:
compartmentId: ${compartmentId}
accessLevel: ${databaseSecurityConfigAccessLevel}
compartmentIdInSubtree: ${databaseSecurityConfigCompartmentIdInSubtree}
databaseSecurityConfigId: ${testDatabaseSecurityConfig.id}
displayName: ${databaseSecurityConfigDisplayName}
state: ${databaseSecurityConfigState}
targetId: ${testTarget.id}
timeCreatedGreaterThanOrEqualTo: ${databaseSecurityConfigTimeCreatedGreaterThanOrEqualTo}
timeCreatedLessThan: ${databaseSecurityConfigTimeCreatedLessThan}
Using getDatabaseSecurityConfigs
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDatabaseSecurityConfigs(args: GetDatabaseSecurityConfigsArgs, opts?: InvokeOptions): Promise<GetDatabaseSecurityConfigsResult>
function getDatabaseSecurityConfigsOutput(args: GetDatabaseSecurityConfigsOutputArgs, opts?: InvokeOptions): Output<GetDatabaseSecurityConfigsResult>
def get_database_security_configs(access_level: Optional[str] = None,
compartment_id: Optional[str] = None,
compartment_id_in_subtree: Optional[bool] = None,
database_security_config_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[_datasafe.GetDatabaseSecurityConfigsFilter]] = None,
state: Optional[str] = None,
target_id: Optional[str] = None,
time_created_greater_than_or_equal_to: Optional[str] = None,
time_created_less_than: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDatabaseSecurityConfigsResult
def get_database_security_configs_output(access_level: Optional[pulumi.Input[str]] = None,
compartment_id: Optional[pulumi.Input[str]] = None,
compartment_id_in_subtree: Optional[pulumi.Input[bool]] = None,
database_security_config_id: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_datasafe.GetDatabaseSecurityConfigsFilterArgs]]]] = None,
state: Optional[pulumi.Input[str]] = None,
target_id: Optional[pulumi.Input[str]] = None,
time_created_greater_than_or_equal_to: Optional[pulumi.Input[str]] = None,
time_created_less_than: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDatabaseSecurityConfigsResult]
func GetDatabaseSecurityConfigs(ctx *Context, args *GetDatabaseSecurityConfigsArgs, opts ...InvokeOption) (*GetDatabaseSecurityConfigsResult, error)
func GetDatabaseSecurityConfigsOutput(ctx *Context, args *GetDatabaseSecurityConfigsOutputArgs, opts ...InvokeOption) GetDatabaseSecurityConfigsResultOutput
> Note: This function is named GetDatabaseSecurityConfigs
in the Go SDK.
public static class GetDatabaseSecurityConfigs
{
public static Task<GetDatabaseSecurityConfigsResult> InvokeAsync(GetDatabaseSecurityConfigsArgs args, InvokeOptions? opts = null)
public static Output<GetDatabaseSecurityConfigsResult> Invoke(GetDatabaseSecurityConfigsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDatabaseSecurityConfigsResult> getDatabaseSecurityConfigs(GetDatabaseSecurityConfigsArgs args, InvokeOptions options)
public static Output<GetDatabaseSecurityConfigsResult> getDatabaseSecurityConfigs(GetDatabaseSecurityConfigsArgs args, InvokeOptions options)
fn::invoke:
function: oci:DataSafe/getDatabaseSecurityConfigs:getDatabaseSecurityConfigs
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id This property is required. string - A filter to return only resources that match the specified compartment OCID.
- Access
Level string - Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
- Compartment
Id boolIn Subtree - Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
- Database
Security stringConfig Id - An optional filter to return only resources that match the specified OCID of the database security configuration resource.
- Display
Name string - A filter to return only resources that match the specified display name.
- Filters
Changes to this property will trigger replacement.
Database Security Configs Filter> - State string
- The current state of the database security configuration.
- Target
Id string - A filter to return only items related to a specific target OCID.
- Time
Created stringGreater Than Or Equal To A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.
Example: 2016-12-19T16:39:57.600Z
- Time
Created stringLess Than Search for resources that were created before a specific date. Specifying this parameter corresponding
timeCreatedLessThan
parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.Example: 2016-12-19T16:39:57.600Z
- Compartment
Id This property is required. string - A filter to return only resources that match the specified compartment OCID.
- Access
Level string - Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
- Compartment
Id boolIn Subtree - Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
- Database
Security stringConfig Id - An optional filter to return only resources that match the specified OCID of the database security configuration resource.
- Display
Name string - A filter to return only resources that match the specified display name.
- Filters
Changes to this property will trigger replacement.
Database Security Configs Filter - State string
- The current state of the database security configuration.
- Target
Id string - A filter to return only items related to a specific target OCID.
- Time
Created stringGreater Than Or Equal To A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.
Example: 2016-12-19T16:39:57.600Z
- Time
Created stringLess Than Search for resources that were created before a specific date. Specifying this parameter corresponding
timeCreatedLessThan
parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.Example: 2016-12-19T16:39:57.600Z
- compartment
Id This property is required. String - A filter to return only resources that match the specified compartment OCID.
- access
Level String - Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
- compartment
Id BooleanIn Subtree - Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
- database
Security StringConfig Id - An optional filter to return only resources that match the specified OCID of the database security configuration resource.
- display
Name String - A filter to return only resources that match the specified display name.
- filters
Changes to this property will trigger replacement.
Database Security Configs Filter> - state String
- The current state of the database security configuration.
- target
Id String - A filter to return only items related to a specific target OCID.
- time
Created StringGreater Than Or Equal To A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.
Example: 2016-12-19T16:39:57.600Z
- time
Created StringLess Than Search for resources that were created before a specific date. Specifying this parameter corresponding
timeCreatedLessThan
parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.Example: 2016-12-19T16:39:57.600Z
- compartment
Id This property is required. string - A filter to return only resources that match the specified compartment OCID.
- access
Level string - Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
- compartment
Id booleanIn Subtree - Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
- database
Security stringConfig Id - An optional filter to return only resources that match the specified OCID of the database security configuration resource.
- display
Name string - A filter to return only resources that match the specified display name.
- filters
Changes to this property will trigger replacement.
Database Security Configs Filter[] - state string
- The current state of the database security configuration.
- target
Id string - A filter to return only items related to a specific target OCID.
- time
Created stringGreater Than Or Equal To A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.
Example: 2016-12-19T16:39:57.600Z
- time
Created stringLess Than Search for resources that were created before a specific date. Specifying this parameter corresponding
timeCreatedLessThan
parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.Example: 2016-12-19T16:39:57.600Z
- compartment_
id This property is required. str - A filter to return only resources that match the specified compartment OCID.
- access_
level str - Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
- compartment_
id_ boolin_ subtree - Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
- database_
security_ strconfig_ id - An optional filter to return only resources that match the specified OCID of the database security configuration resource.
- display_
name str - A filter to return only resources that match the specified display name.
- filters
Changes to this property will trigger replacement.
Get Database Security Configs Filter] - state str
- The current state of the database security configuration.
- target_
id str - A filter to return only items related to a specific target OCID.
- time_
created_ strgreater_ than_ or_ equal_ to A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.
Example: 2016-12-19T16:39:57.600Z
- time_
created_ strless_ than Search for resources that were created before a specific date. Specifying this parameter corresponding
timeCreatedLessThan
parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.Example: 2016-12-19T16:39:57.600Z
- compartment
Id This property is required. String - A filter to return only resources that match the specified compartment OCID.
- access
Level String - Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
- compartment
Id BooleanIn Subtree - Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
- database
Security StringConfig Id - An optional filter to return only resources that match the specified OCID of the database security configuration resource.
- display
Name String - A filter to return only resources that match the specified display name.
- filters
Changes to this property will trigger replacement.
- state String
- The current state of the database security configuration.
- target
Id String - A filter to return only items related to a specific target OCID.
- time
Created StringGreater Than Or Equal To A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.
Example: 2016-12-19T16:39:57.600Z
- time
Created StringLess Than Search for resources that were created before a specific date. Specifying this parameter corresponding
timeCreatedLessThan
parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.Example: 2016-12-19T16:39:57.600Z
getDatabaseSecurityConfigs Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment containing the database security config.
- Database
Security List<GetConfig Collections Database Security Configs Database Security Config Collection> - The list of database_security_config_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Access
Level string - Compartment
Id boolIn Subtree - Database
Security stringConfig Id - Display
Name string - The display name of the database security config.
- Filters
List<Get
Database Security Configs Filter> - State string
- The current state of the database security config.
- Target
Id string - The target OCID corresponding to the database security config.
- Time
Created stringGreater Than Or Equal To - Time
Created stringLess Than
- Compartment
Id string - The OCID of the compartment containing the database security config.
- Database
Security []GetConfig Collections Database Security Configs Database Security Config Collection - The list of database_security_config_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Access
Level string - Compartment
Id boolIn Subtree - Database
Security stringConfig Id - Display
Name string - The display name of the database security config.
- Filters
[]Get
Database Security Configs Filter - State string
- The current state of the database security config.
- Target
Id string - The target OCID corresponding to the database security config.
- Time
Created stringGreater Than Or Equal To - Time
Created stringLess Than
- compartment
Id String - The OCID of the compartment containing the database security config.
- database
Security List<GetConfig Collections Database Security Configs Database Security Config Collection> - The list of database_security_config_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- access
Level String - compartment
Id BooleanIn Subtree - database
Security StringConfig Id - display
Name String - The display name of the database security config.
- filters
List<Get
Database Security Configs Filter> - state String
- The current state of the database security config.
- target
Id String - The target OCID corresponding to the database security config.
- time
Created StringGreater Than Or Equal To - time
Created StringLess Than
- compartment
Id string - The OCID of the compartment containing the database security config.
- database
Security GetConfig Collections Database Security Configs Database Security Config Collection[] - The list of database_security_config_collection.
- id string
- The provider-assigned unique ID for this managed resource.
- access
Level string - compartment
Id booleanIn Subtree - database
Security stringConfig Id - display
Name string - The display name of the database security config.
- filters
Get
Database Security Configs Filter[] - state string
- The current state of the database security config.
- target
Id string - The target OCID corresponding to the database security config.
- time
Created stringGreater Than Or Equal To - time
Created stringLess Than
- compartment_
id str - The OCID of the compartment containing the database security config.
- database_
security_ Sequence[datasafe.config_ collections Get Database Security Configs Database Security Config Collection] - The list of database_security_config_collection.
- id str
- The provider-assigned unique ID for this managed resource.
- access_
level str - compartment_
id_ boolin_ subtree - database_
security_ strconfig_ id - display_
name str - The display name of the database security config.
- filters
Sequence[datasafe.
Get Database Security Configs Filter] - state str
- The current state of the database security config.
- target_
id str - The target OCID corresponding to the database security config.
- time_
created_ strgreater_ than_ or_ equal_ to - time_
created_ strless_ than
- compartment
Id String - The OCID of the compartment containing the database security config.
- database
Security List<Property Map>Config Collections - The list of database_security_config_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- access
Level String - compartment
Id BooleanIn Subtree - database
Security StringConfig Id - display
Name String - The display name of the database security config.
- filters List<Property Map>
- state String
- The current state of the database security config.
- target
Id String - The target OCID corresponding to the database security config.
- time
Created StringGreater Than Or Equal To - time
Created StringLess Than
Supporting Types
GetDatabaseSecurityConfigsDatabaseSecurityConfigCollection
- Items
This property is required. List<GetDatabase Security Configs Database Security Config Collection Item>
- Items
This property is required. []GetDatabase Security Configs Database Security Config Collection Item
- items
This property is required. List<GetDatabase Security Configs Database Security Config Collection Item>
- items
This property is required. GetDatabase Security Configs Database Security Config Collection Item[]
- items
This property is required. Sequence[datasafe.Get Database Security Configs Database Security Config Collection Item]
- items
This property is required. List<Property Map>
GetDatabaseSecurityConfigsDatabaseSecurityConfigCollectionItem
- Compartment
Id This property is required. string - A filter to return only resources that match the specified compartment OCID.
- Database
Security Config Id This property is required. string - An optional filter to return only resources that match the specified OCID of the database security configuration resource.
This property is required. Dictionary<string, string>- 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
This property is required. string - The description of the database security config.
- Display
Name This property is required. string - A filter to return only resources that match the specified display name.
This property is required. Dictionary<string, string>- 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"}
- Id
This property is required. string - The OCID of the database security config.
- Lifecycle
Details This property is required. string - Details about the current state of the database security config in Data Safe.
- Refresh
Trigger This property is required. int - Sql
Firewall Configs This property is required. List<GetDatabase Security Configs Database Security Config Collection Item Sql Firewall Config> - The SQL Firewall related configurations.
- State
This property is required. string - The current state of the database security configuration.
This property is required. 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"}
- Target
Id This property is required. string - A filter to return only items related to a specific target OCID.
- Time
Created This property is required. string - The time that the database security config was created, in the format defined by RFC3339.
- Time
Last Refreshed This property is required. string - The last date and time the database security config was refreshed, in the format defined by RFC3339.
- Time
Updated This property is required. string - The date and time the database security configuration was last updated, in the format defined by RFC3339.
- Compartment
Id This property is required. string - A filter to return only resources that match the specified compartment OCID.
- Database
Security Config Id This property is required. string - An optional filter to return only resources that match the specified OCID of the database security configuration resource.
This property is required. map[string]string- 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
This property is required. string - The description of the database security config.
- Display
Name This property is required. string - A filter to return only resources that match the specified display name.
This property is required. map[string]string- 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"}
- Id
This property is required. string - The OCID of the database security config.
- Lifecycle
Details This property is required. string - Details about the current state of the database security config in Data Safe.
- Refresh
Trigger This property is required. int - Sql
Firewall Configs This property is required. []GetDatabase Security Configs Database Security Config Collection Item Sql Firewall Config - The SQL Firewall related configurations.
- State
This property is required. string - The current state of the database security configuration.
This property is required. 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"}
- Target
Id This property is required. string - A filter to return only items related to a specific target OCID.
- Time
Created This property is required. string - The time that the database security config was created, in the format defined by RFC3339.
- Time
Last Refreshed This property is required. string - The last date and time the database security config was refreshed, in the format defined by RFC3339.
- Time
Updated This property is required. string - The date and time the database security configuration was last updated, in the format defined by RFC3339.
- compartment
Id This property is required. String - A filter to return only resources that match the specified compartment OCID.
- database
Security Config Id This property is required. String - An optional filter to return only resources that match the specified OCID of the database security configuration resource.
This property is required. Map<String,String>- 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
This property is required. String - The description of the database security config.
- display
Name This property is required. String - A filter to return only resources that match the specified display name.
This property is required. Map<String,String>- 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"}
- id
This property is required. String - The OCID of the database security config.
- lifecycle
Details This property is required. String - Details about the current state of the database security config in Data Safe.
- refresh
Trigger This property is required. Integer - sql
Firewall Configs This property is required. List<GetDatabase Security Configs Database Security Config Collection Item Sql Firewall Config> - The SQL Firewall related configurations.
- state
This property is required. String - The current state of the database security configuration.
This property is required. 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"}
- target
Id This property is required. String - A filter to return only items related to a specific target OCID.
- time
Created This property is required. String - The time that the database security config was created, in the format defined by RFC3339.
- time
Last Refreshed This property is required. String - The last date and time the database security config was refreshed, in the format defined by RFC3339.
- time
Updated This property is required. String - The date and time the database security configuration was last updated, in the format defined by RFC3339.
- compartment
Id This property is required. string - A filter to return only resources that match the specified compartment OCID.
- database
Security Config Id This property is required. string - An optional filter to return only resources that match the specified OCID of the database security configuration resource.
This property is required. {[key: string]: string}- 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
This property is required. string - The description of the database security config.
- display
Name This property is required. string - A filter to return only resources that match the specified display name.
This property is required. {[key: string]: string}- 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"}
- id
This property is required. string - The OCID of the database security config.
- lifecycle
Details This property is required. string - Details about the current state of the database security config in Data Safe.
- refresh
Trigger This property is required. number - sql
Firewall Configs This property is required. GetDatabase Security Configs Database Security Config Collection Item Sql Firewall Config[] - The SQL Firewall related configurations.
- state
This property is required. string - The current state of the database security configuration.
This property is required. {[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"}
- target
Id This property is required. string - A filter to return only items related to a specific target OCID.
- time
Created This property is required. string - The time that the database security config was created, in the format defined by RFC3339.
- time
Last Refreshed This property is required. string - The last date and time the database security config was refreshed, in the format defined by RFC3339.
- time
Updated This property is required. string - The date and time the database security configuration was last updated, in the format defined by RFC3339.
- compartment_
id This property is required. str - A filter to return only resources that match the specified compartment OCID.
- database_
security_ config_ id This property is required. str - An optional filter to return only resources that match the specified OCID of the database security configuration resource.
This property is required. Mapping[str, str]- 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
This property is required. str - The description of the database security config.
- display_
name This property is required. str - A filter to return only resources that match the specified display name.
This property is required. Mapping[str, str]- 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"}
- id
This property is required. str - The OCID of the database security config.
- lifecycle_
details This property is required. str - Details about the current state of the database security config in Data Safe.
- refresh_
trigger This property is required. int - sql_
firewall_ configs This property is required. Sequence[datasafe.Get Database Security Configs Database Security Config Collection Item Sql Firewall Config] - The SQL Firewall related configurations.
- state
This property is required. str - The current state of the database security configuration.
This property is required. 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 This property is required. str - A filter to return only items related to a specific target OCID.
- time_
created This property is required. str - The time that the database security config was created, in the format defined by RFC3339.
- time_
last_ refreshed This property is required. str - The last date and time the database security config was refreshed, in the format defined by RFC3339.
- time_
updated This property is required. str - The date and time the database security configuration was last updated, in the format defined by RFC3339.
- compartment
Id This property is required. String - A filter to return only resources that match the specified compartment OCID.
- database
Security Config Id This property is required. String - An optional filter to return only resources that match the specified OCID of the database security configuration resource.
This property is required. Map<String>- 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
This property is required. String - The description of the database security config.
- display
Name This property is required. String - A filter to return only resources that match the specified display name.
This property is required. Map<String>- 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"}
- id
This property is required. String - The OCID of the database security config.
- lifecycle
Details This property is required. String - Details about the current state of the database security config in Data Safe.
- refresh
Trigger This property is required. Number - sql
Firewall Configs This property is required. List<Property Map> - The SQL Firewall related configurations.
- state
This property is required. String - The current state of the database security configuration.
This property is required. 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"}
- target
Id This property is required. String - A filter to return only items related to a specific target OCID.
- time
Created This property is required. String - The time that the database security config was created, in the format defined by RFC3339.
- time
Last Refreshed This property is required. String - The last date and time the database security config was refreshed, in the format defined by RFC3339.
- time
Updated This property is required. String - The date and time the database security configuration was last updated, in the format defined by RFC3339.
GetDatabaseSecurityConfigsDatabaseSecurityConfigCollectionItemSqlFirewallConfig
- Exclude
Job This property is required. string - Specifies whether the firewall should include or exclude the database internal job activities.
- Status
This property is required. string - Specifies if the firewall is enabled or disabled on the target database.
- Time
Status Updated This property is required. string - The most recent time when the firewall status is updated, in the format defined by RFC3339.
- Violation
Log Auto Purge This property is required. string - 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 This property is required. string - Specifies whether the firewall should include or exclude the database internal job activities.
- Status
This property is required. string - Specifies if the firewall is enabled or disabled on the target database.
- Time
Status Updated This property is required. string - The most recent time when the firewall status is updated, in the format defined by RFC3339.
- Violation
Log Auto Purge This property is required. string - 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 This property is required. String - Specifies whether the firewall should include or exclude the database internal job activities.
- status
This property is required. String - Specifies if the firewall is enabled or disabled on the target database.
- time
Status Updated This property is required. String - The most recent time when the firewall status is updated, in the format defined by RFC3339.
- violation
Log Auto Purge This property is required. String - 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 This property is required. string - Specifies whether the firewall should include or exclude the database internal job activities.
- status
This property is required. string - Specifies if the firewall is enabled or disabled on the target database.
- time
Status Updated This property is required. string - The most recent time when the firewall status is updated, in the format defined by RFC3339.
- violation
Log Auto Purge This property is required. string - 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 This property is required. str - Specifies whether the firewall should include or exclude the database internal job activities.
- status
This property is required. str - Specifies if the firewall is enabled or disabled on the target database.
- time_
status_ updated This property is required. str - The most recent time when the firewall status is updated, in the format defined by RFC3339.
- violation_
log_ auto_ purge This property is required. str - 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 This property is required. String - Specifies whether the firewall should include or exclude the database internal job activities.
- status
This property is required. String - Specifies if the firewall is enabled or disabled on the target database.
- time
Status Updated This property is required. String - The most recent time when the firewall status is updated, in the format defined by RFC3339.
- violation
Log Auto Purge This property is required. String - Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting on Data Safe.
GetDatabaseSecurityConfigsFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.