oci.DataSafe.DatabaseSecurityConfigManagement
Explore with Pulumi AI
Create DatabaseSecurityConfigManagement Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DatabaseSecurityConfigManagement(name: string, args?: DatabaseSecurityConfigManagementArgs, opts?: CustomResourceOptions);
@overload
def DatabaseSecurityConfigManagement(resource_name: str,
args: Optional[DatabaseSecurityConfigManagementArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def DatabaseSecurityConfigManagement(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
refresh_trigger: Optional[bool] = None,
sql_firewall_config: Optional[_datasafe.DatabaseSecurityConfigManagementSqlFirewallConfigArgs] = None,
target_id: Optional[str] = None)
func NewDatabaseSecurityConfigManagement(ctx *Context, name string, args *DatabaseSecurityConfigManagementArgs, opts ...ResourceOption) (*DatabaseSecurityConfigManagement, error)
public DatabaseSecurityConfigManagement(string name, DatabaseSecurityConfigManagementArgs? args = null, CustomResourceOptions? opts = null)
public DatabaseSecurityConfigManagement(String name, DatabaseSecurityConfigManagementArgs args)
public DatabaseSecurityConfigManagement(String name, DatabaseSecurityConfigManagementArgs args, CustomResourceOptions options)
type: oci:DataSafe:DatabaseSecurityConfigManagement
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 DatabaseSecurityConfigManagementArgs
- 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 DatabaseSecurityConfigManagementArgs
- 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 DatabaseSecurityConfigManagementArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DatabaseSecurityConfigManagementArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DatabaseSecurityConfigManagementArgs
- 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 databaseSecurityConfigManagementResource = new Oci.DataSafe.DatabaseSecurityConfigManagement("databaseSecurityConfigManagementResource", new()
{
CompartmentId = "string",
DefinedTags =
{
{ "string", "any" },
},
Description = "string",
DisplayName = "string",
FreeformTags =
{
{ "string", "any" },
},
RefreshTrigger = false,
SqlFirewallConfig = new Oci.DataSafe.Inputs.DatabaseSecurityConfigManagementSqlFirewallConfigArgs
{
ExcludeJob = "string",
Status = "string",
TimeStatusUpdated = "string",
ViolationLogAutoPurge = "string",
},
TargetId = "string",
});
example, err := DataSafe.NewDatabaseSecurityConfigManagement(ctx, "databaseSecurityConfigManagementResource", &DataSafe.DatabaseSecurityConfigManagementArgs{
CompartmentId: pulumi.String("string"),
DefinedTags: pulumi.Map{
"string": pulumi.Any("any"),
},
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.Map{
"string": pulumi.Any("any"),
},
RefreshTrigger: pulumi.Bool(false),
SqlFirewallConfig: &datasafe.DatabaseSecurityConfigManagementSqlFirewallConfigArgs{
ExcludeJob: pulumi.String("string"),
Status: pulumi.String("string"),
TimeStatusUpdated: pulumi.String("string"),
ViolationLogAutoPurge: pulumi.String("string"),
},
TargetId: pulumi.String("string"),
})
var databaseSecurityConfigManagementResource = new DatabaseSecurityConfigManagement("databaseSecurityConfigManagementResource", DatabaseSecurityConfigManagementArgs.builder()
.compartmentId("string")
.definedTags(Map.of("string", "any"))
.description("string")
.displayName("string")
.freeformTags(Map.of("string", "any"))
.refreshTrigger(false)
.sqlFirewallConfig(DatabaseSecurityConfigManagementSqlFirewallConfigArgs.builder()
.excludeJob("string")
.status("string")
.timeStatusUpdated("string")
.violationLogAutoPurge("string")
.build())
.targetId("string")
.build());
database_security_config_management_resource = oci.data_safe.DatabaseSecurityConfigManagement("databaseSecurityConfigManagementResource",
compartment_id="string",
defined_tags={
"string": "any",
},
description="string",
display_name="string",
freeform_tags={
"string": "any",
},
refresh_trigger=False,
sql_firewall_config=oci.data_safe.DatabaseSecurityConfigManagementSqlFirewallConfigArgs(
exclude_job="string",
status="string",
time_status_updated="string",
violation_log_auto_purge="string",
),
target_id="string")
const databaseSecurityConfigManagementResource = new oci.datasafe.DatabaseSecurityConfigManagement("databaseSecurityConfigManagementResource", {
compartmentId: "string",
definedTags: {
string: "any",
},
description: "string",
displayName: "string",
freeformTags: {
string: "any",
},
refreshTrigger: false,
sqlFirewallConfig: {
excludeJob: "string",
status: "string",
timeStatusUpdated: "string",
violationLogAutoPurge: "string",
},
targetId: "string",
});
type: oci:DataSafe:DatabaseSecurityConfigManagement
properties:
compartmentId: string
definedTags:
string: any
description: string
displayName: string
freeformTags:
string: any
refreshTrigger: false
sqlFirewallConfig:
excludeJob: string
status: string
timeStatusUpdated: string
violationLogAutoPurge: string
targetId: string
DatabaseSecurityConfigManagement 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 DatabaseSecurityConfigManagement resource accepts the following input properties:
- Compartment
Id string - Dictionary<string, object>
- Description string
- Display
Name string - Dictionary<string, object>
- Refresh
Trigger bool - Sql
Firewall DatabaseConfig Security Config Management Sql Firewall Config - Target
Id string
- Compartment
Id string - map[string]interface{}
- Description string
- Display
Name string - map[string]interface{}
- Refresh
Trigger bool - Sql
Firewall DatabaseConfig Security Config Management Sql Firewall Config Args - Target
Id string
- compartment
Id String - Map<String,Object>
- description String
- display
Name String - Map<String,Object>
- refresh
Trigger Boolean - sql
Firewall DatabaseConfig Security Config Management Sql Firewall Config - target
Id String
- compartment
Id string - {[key: string]: any}
- description string
- display
Name string - {[key: string]: any}
- refresh
Trigger boolean - sql
Firewall DatabaseConfig Security Config Management Sql Firewall Config - target
Id string
- compartment_
id str - Mapping[str, Any]
- description str
- display_
name str - Mapping[str, Any]
- refresh_
trigger bool - sql_
firewall_ datasafe.config Database Security Config Management Sql Firewall Config Args - target_
id str
- compartment
Id String - Map<Any>
- description String
- display
Name String - Map<Any>
- refresh
Trigger Boolean - sql
Firewall Property MapConfig - target
Id String
Outputs
All input properties are implicitly available as output properties. Additionally, the DatabaseSecurityConfigManagement resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - State string
- Dictionary<string, object>
- Time
Created string - Time
Last stringRefreshed - Time
Updated string
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - State string
- map[string]interface{}
- Time
Created string - Time
Last stringRefreshed - Time
Updated string
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - state String
- Map<String,Object>
- time
Created String - time
Last StringRefreshed - time
Updated String
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details string - state string
- {[key: string]: any}
- time
Created string - time
Last stringRefreshed - time
Updated string
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_
details str - state str
- Mapping[str, Any]
- time_
created str - time_
last_ strrefreshed - time_
updated str
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - state String
- Map<Any>
- time
Created String - time
Last StringRefreshed - time
Updated String
Look up Existing DatabaseSecurityConfigManagement Resource
Get an existing DatabaseSecurityConfigManagement 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?: DatabaseSecurityConfigManagementState, opts?: CustomResourceOptions): DatabaseSecurityConfigManagement
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
lifecycle_details: Optional[str] = None,
refresh_trigger: Optional[bool] = None,
sql_firewall_config: Optional[_datasafe.DatabaseSecurityConfigManagementSqlFirewallConfigArgs] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, Any]] = None,
target_id: Optional[str] = None,
time_created: Optional[str] = None,
time_last_refreshed: Optional[str] = None,
time_updated: Optional[str] = None) -> DatabaseSecurityConfigManagement
func GetDatabaseSecurityConfigManagement(ctx *Context, name string, id IDInput, state *DatabaseSecurityConfigManagementState, opts ...ResourceOption) (*DatabaseSecurityConfigManagement, error)
public static DatabaseSecurityConfigManagement Get(string name, Input<string> id, DatabaseSecurityConfigManagementState? state, CustomResourceOptions? opts = null)
public static DatabaseSecurityConfigManagement get(String name, Output<String> id, DatabaseSecurityConfigManagementState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Compartment
Id string - Dictionary<string, object>
- Description string
- Display
Name string - Dictionary<string, object>
- Lifecycle
Details string - Refresh
Trigger bool - Sql
Firewall DatabaseConfig Security Config Management Sql Firewall Config - State string
- Dictionary<string, object>
- Target
Id string - Time
Created string - Time
Last stringRefreshed - Time
Updated string
- Compartment
Id string - map[string]interface{}
- Description string
- Display
Name string - map[string]interface{}
- Lifecycle
Details string - Refresh
Trigger bool - Sql
Firewall DatabaseConfig Security Config Management Sql Firewall Config Args - State string
- map[string]interface{}
- Target
Id string - Time
Created string - Time
Last stringRefreshed - Time
Updated string
- compartment
Id String - Map<String,Object>
- description String
- display
Name String - Map<String,Object>
- lifecycle
Details String - refresh
Trigger Boolean - sql
Firewall DatabaseConfig Security Config Management Sql Firewall Config - state String
- Map<String,Object>
- target
Id String - time
Created String - time
Last StringRefreshed - time
Updated String
- compartment
Id string - {[key: string]: any}
- description string
- display
Name string - {[key: string]: any}
- lifecycle
Details string - refresh
Trigger boolean - sql
Firewall DatabaseConfig Security Config Management Sql Firewall Config - state string
- {[key: string]: any}
- target
Id string - time
Created string - time
Last stringRefreshed - time
Updated string
- compartment_
id str - Mapping[str, Any]
- description str
- display_
name str - Mapping[str, Any]
- lifecycle_
details str - refresh_
trigger bool - sql_
firewall_ datasafe.config Database Security Config Management Sql Firewall Config Args - state str
- Mapping[str, Any]
- target_
id str - time_
created str - time_
last_ strrefreshed - time_
updated str
- compartment
Id String - Map<Any>
- description String
- display
Name String - Map<Any>
- lifecycle
Details String - refresh
Trigger Boolean - sql
Firewall Property MapConfig - state String
- Map<Any>
- target
Id String - time
Created String - time
Last StringRefreshed - time
Updated String
Supporting Types
DatabaseSecurityConfigManagementSqlFirewallConfig, DatabaseSecurityConfigManagementSqlFirewallConfigArgs
- Exclude
Job string - Status string
- Time
Status stringUpdated - Violation
Log stringAuto Purge
- Exclude
Job string - Status string
- Time
Status stringUpdated - Violation
Log stringAuto Purge
- exclude
Job String - status String
- time
Status StringUpdated - violation
Log StringAuto Purge
- exclude
Job string - status string
- time
Status stringUpdated - violation
Log stringAuto Purge
- exclude_
job str - status str
- time_
status_ strupdated - violation_
log_ strauto_ purge
- exclude
Job String - status String
- time
Status StringUpdated - violation
Log StringAuto Purge
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.