oci.DataSafe.SecurityPolicyDeployment
Explore with Pulumi AI
This resource provides the Security Policy Deployment resource in Oracle Cloud Infrastructure Data Safe service.
Creates a Data Safe security policy deployment in the Data Safe Console.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testSecurityPolicyDeployment = new oci.datasafe.SecurityPolicyDeployment("test_security_policy_deployment", {
compartmentId: compartmentId,
securityPolicyId: testSecurityPolicy.id,
targetId: testTarget.id,
targetType: securityPolicyDeploymentTargetType,
definedTags: {
"Operations.CostCenter": "42",
},
description: securityPolicyDeploymentDescription,
displayName: securityPolicyDeploymentDisplayName,
freeformTags: {
Department: "Finance",
},
});
import pulumi
import pulumi_oci as oci
test_security_policy_deployment = oci.datasafe.SecurityPolicyDeployment("test_security_policy_deployment",
compartment_id=compartment_id,
security_policy_id=test_security_policy["id"],
target_id=test_target["id"],
target_type=security_policy_deployment_target_type,
defined_tags={
"Operations.CostCenter": "42",
},
description=security_policy_deployment_description,
display_name=security_policy_deployment_display_name,
freeform_tags={
"Department": "Finance",
})
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/datasafe"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := datasafe.NewSecurityPolicyDeployment(ctx, "test_security_policy_deployment", &datasafe.SecurityPolicyDeploymentArgs{
CompartmentId: pulumi.Any(compartmentId),
SecurityPolicyId: pulumi.Any(testSecurityPolicy.Id),
TargetId: pulumi.Any(testTarget.Id),
TargetType: pulumi.Any(securityPolicyDeploymentTargetType),
DefinedTags: pulumi.StringMap{
"Operations.CostCenter": pulumi.String("42"),
},
Description: pulumi.Any(securityPolicyDeploymentDescription),
DisplayName: pulumi.Any(securityPolicyDeploymentDisplayName),
FreeformTags: pulumi.StringMap{
"Department": pulumi.String("Finance"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testSecurityPolicyDeployment = new Oci.DataSafe.SecurityPolicyDeployment("test_security_policy_deployment", new()
{
CompartmentId = compartmentId,
SecurityPolicyId = testSecurityPolicy.Id,
TargetId = testTarget.Id,
TargetType = securityPolicyDeploymentTargetType,
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
Description = securityPolicyDeploymentDescription,
DisplayName = securityPolicyDeploymentDisplayName,
FreeformTags =
{
{ "Department", "Finance" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DataSafe.SecurityPolicyDeployment;
import com.pulumi.oci.DataSafe.SecurityPolicyDeploymentArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testSecurityPolicyDeployment = new SecurityPolicyDeployment("testSecurityPolicyDeployment", SecurityPolicyDeploymentArgs.builder()
.compartmentId(compartmentId)
.securityPolicyId(testSecurityPolicy.id())
.targetId(testTarget.id())
.targetType(securityPolicyDeploymentTargetType)
.definedTags(Map.of("Operations.CostCenter", "42"))
.description(securityPolicyDeploymentDescription)
.displayName(securityPolicyDeploymentDisplayName)
.freeformTags(Map.of("Department", "Finance"))
.build());
}
}
resources:
testSecurityPolicyDeployment:
type: oci:DataSafe:SecurityPolicyDeployment
name: test_security_policy_deployment
properties:
compartmentId: ${compartmentId}
securityPolicyId: ${testSecurityPolicy.id}
targetId: ${testTarget.id}
targetType: ${securityPolicyDeploymentTargetType}
definedTags:
Operations.CostCenter: '42'
description: ${securityPolicyDeploymentDescription}
displayName: ${securityPolicyDeploymentDisplayName}
freeformTags:
Department: Finance
Create SecurityPolicyDeployment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SecurityPolicyDeployment(name: string, args: SecurityPolicyDeploymentArgs, opts?: CustomResourceOptions);
@overload
def SecurityPolicyDeployment(resource_name: str,
args: SecurityPolicyDeploymentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SecurityPolicyDeployment(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
security_policy_id: Optional[str] = None,
target_id: Optional[str] = None,
target_type: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
deploy_trigger: Optional[int] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
refresh_trigger: Optional[int] = None)
func NewSecurityPolicyDeployment(ctx *Context, name string, args SecurityPolicyDeploymentArgs, opts ...ResourceOption) (*SecurityPolicyDeployment, error)
public SecurityPolicyDeployment(string name, SecurityPolicyDeploymentArgs args, CustomResourceOptions? opts = null)
public SecurityPolicyDeployment(String name, SecurityPolicyDeploymentArgs args)
public SecurityPolicyDeployment(String name, SecurityPolicyDeploymentArgs args, CustomResourceOptions options)
type: oci:DataSafe:SecurityPolicyDeployment
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 SecurityPolicyDeploymentArgs
- 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 SecurityPolicyDeploymentArgs
- 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 SecurityPolicyDeploymentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SecurityPolicyDeploymentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SecurityPolicyDeploymentArgs
- 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 securityPolicyDeploymentResource = new Oci.DataSafe.SecurityPolicyDeployment("securityPolicyDeploymentResource", new()
{
CompartmentId = "string",
SecurityPolicyId = "string",
TargetId = "string",
TargetType = "string",
DefinedTags =
{
{ "string", "string" },
},
DeployTrigger = 0,
Description = "string",
DisplayName = "string",
FreeformTags =
{
{ "string", "string" },
},
RefreshTrigger = 0,
});
example, err := datasafe.NewSecurityPolicyDeployment(ctx, "securityPolicyDeploymentResource", &datasafe.SecurityPolicyDeploymentArgs{
CompartmentId: pulumi.String("string"),
SecurityPolicyId: pulumi.String("string"),
TargetId: pulumi.String("string"),
TargetType: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
DeployTrigger: pulumi.Int(0),
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
RefreshTrigger: pulumi.Int(0),
})
var securityPolicyDeploymentResource = new SecurityPolicyDeployment("securityPolicyDeploymentResource", SecurityPolicyDeploymentArgs.builder()
.compartmentId("string")
.securityPolicyId("string")
.targetId("string")
.targetType("string")
.definedTags(Map.of("string", "string"))
.deployTrigger(0)
.description("string")
.displayName("string")
.freeformTags(Map.of("string", "string"))
.refreshTrigger(0)
.build());
security_policy_deployment_resource = oci.datasafe.SecurityPolicyDeployment("securityPolicyDeploymentResource",
compartment_id="string",
security_policy_id="string",
target_id="string",
target_type="string",
defined_tags={
"string": "string",
},
deploy_trigger=0,
description="string",
display_name="string",
freeform_tags={
"string": "string",
},
refresh_trigger=0)
const securityPolicyDeploymentResource = new oci.datasafe.SecurityPolicyDeployment("securityPolicyDeploymentResource", {
compartmentId: "string",
securityPolicyId: "string",
targetId: "string",
targetType: "string",
definedTags: {
string: "string",
},
deployTrigger: 0,
description: "string",
displayName: "string",
freeformTags: {
string: "string",
},
refreshTrigger: 0,
});
type: oci:DataSafe:SecurityPolicyDeployment
properties:
compartmentId: string
definedTags:
string: string
deployTrigger: 0
description: string
displayName: string
freeformTags:
string: string
refreshTrigger: 0
securityPolicyId: string
targetId: string
targetType: string
SecurityPolicyDeployment Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SecurityPolicyDeployment resource accepts the following input properties:
- Compartment
Id string - (Updatable) The OCID of the compartment in which to create the unified audit policy.
- Security
Policy stringId - The OCID of the security policy corresponding to the security policy deployment.
- Target
Id string - The OCID of the target where the security policy is deployed.
- Target
Type string - Indicates whether the security policy deployment is for a target database or a target database group.
- 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"}
- Deploy
Trigger int - (Updatable) An optional property when incremented triggers Deploy. Could be set to any integer value.
- Description string
- (Updatable) The description of the security policy.
- Display
Name string - (Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable.
- 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"}
- 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
- Compartment
Id string - (Updatable) The OCID of the compartment in which to create the unified audit policy.
- Security
Policy stringId - The OCID of the security policy corresponding to the security policy deployment.
- Target
Id string - The OCID of the target where the security policy is deployed.
- Target
Type string - Indicates whether the security policy deployment is for a target database or a target database group.
- 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"}
- Deploy
Trigger int - (Updatable) An optional property when incremented triggers Deploy. Could be set to any integer value.
- Description string
- (Updatable) The description of the security policy.
- Display
Name string - (Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable.
- 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"}
- 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
- compartment
Id String - (Updatable) The OCID of the compartment in which to create the unified audit policy.
- security
Policy StringId - The OCID of the security policy corresponding to the security policy deployment.
- target
Id String - The OCID of the target where the security policy is deployed.
- target
Type String - Indicates whether the security policy deployment is for a target database or a target database group.
- 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"}
- deploy
Trigger Integer - (Updatable) An optional property when incremented triggers Deploy. Could be set to any integer value.
- description String
- (Updatable) The description of the security policy.
- display
Name String - (Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable.
- 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"}
- refresh
Trigger 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
- compartment
Id string - (Updatable) The OCID of the compartment in which to create the unified audit policy.
- security
Policy stringId - The OCID of the security policy corresponding to the security policy deployment.
- target
Id string - The OCID of the target where the security policy is deployed.
- target
Type string - Indicates whether the security policy deployment is for a target database or a target database group.
- {[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"}
- deploy
Trigger number - (Updatable) An optional property when incremented triggers Deploy. Could be set to any integer value.
- description string
- (Updatable) The description of the security policy.
- display
Name string - (Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable.
- {[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"}
- refresh
Trigger 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
- compartment_
id str - (Updatable) The OCID of the compartment in which to create the unified audit policy.
- security_
policy_ strid - The OCID of the security policy corresponding to the security policy deployment.
- target_
id str - The OCID of the target where the security policy is deployed.
- target_
type str - Indicates whether the security policy deployment is for a target database or a target database group.
- 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"}
- deploy_
trigger int - (Updatable) An optional property when incremented triggers Deploy. Could be set to any integer value.
- description str
- (Updatable) The description of the security policy.
- display_
name str - (Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable.
- 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
- compartment
Id String - (Updatable) The OCID of the compartment in which to create the unified audit policy.
- security
Policy StringId - The OCID of the security policy corresponding to the security policy deployment.
- target
Id String - The OCID of the target where the security policy is deployed.
- target
Type String - Indicates whether the security policy deployment is for a target database or a target database group.
- 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"}
- deploy
Trigger Number - (Updatable) An optional property when incremented triggers Deploy. Could be set to any integer value.
- description String
- (Updatable) The description of the security policy.
- display
Name String - (Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable.
- 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"}
- refresh
Trigger 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
Outputs
All input properties are implicitly available as output properties. Additionally, the SecurityPolicyDeployment resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - Details about the current state of the security policy deployment in Data Safe.
- State string
- The current state of the security policy deployment.
- 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"}
- Time
Created string - The time that the security policy deployment was created, in the format defined by RFC3339.
- Time
Deployed string - The last date and time the security policy was deployed, in the format defined by RFC3339.
- Time
Updated string - The last date and time the security policy deployment was updated, in the format defined by RFC3339.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - Details about the current state of the security policy deployment in Data Safe.
- State string
- The current state of the security policy deployment.
- 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"}
- Time
Created string - The time that the security policy deployment was created, in the format defined by RFC3339.
- Time
Deployed string - The last date and time the security policy was deployed, in the format defined by RFC3339.
- Time
Updated string - The last date and time the security policy deployment was updated, in the format defined by RFC3339.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - Details about the current state of the security policy deployment in Data Safe.
- state String
- The current state of the security policy deployment.
- 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"}
- time
Created String - The time that the security policy deployment was created, in the format defined by RFC3339.
- time
Deployed String - The last date and time the security policy was deployed, in the format defined by RFC3339.
- time
Updated String - The last date and time the security policy deployment was updated, in the format defined by RFC3339.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details string - Details about the current state of the security policy deployment in Data Safe.
- state string
- The current state of the security policy deployment.
- {[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"}
- time
Created string - The time that the security policy deployment was created, in the format defined by RFC3339.
- time
Deployed string - The last date and time the security policy was deployed, in the format defined by RFC3339.
- time
Updated string - The last date and time the security policy deployment was 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 security policy deployment in Data Safe.
- state str
- The current state of the security policy deployment.
- 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"}
- time_
created str - The time that the security policy deployment was created, in the format defined by RFC3339.
- time_
deployed str - The last date and time the security policy was deployed, in the format defined by RFC3339.
- time_
updated str - The last date and time the security policy deployment was updated, in the format defined by RFC3339.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - Details about the current state of the security policy deployment in Data Safe.
- state String
- The current state of the security policy deployment.
- 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"}
- time
Created String - The time that the security policy deployment was created, in the format defined by RFC3339.
- time
Deployed String - The last date and time the security policy was deployed, in the format defined by RFC3339.
- time
Updated String - The last date and time the security policy deployment was updated, in the format defined by RFC3339.
Look up Existing SecurityPolicyDeployment Resource
Get an existing SecurityPolicyDeployment 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?: SecurityPolicyDeploymentState, opts?: CustomResourceOptions): SecurityPolicyDeployment
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
deploy_trigger: Optional[int] = 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,
security_policy_id: Optional[str] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = None,
target_id: Optional[str] = None,
target_type: Optional[str] = None,
time_created: Optional[str] = None,
time_deployed: Optional[str] = None,
time_updated: Optional[str] = None) -> SecurityPolicyDeployment
func GetSecurityPolicyDeployment(ctx *Context, name string, id IDInput, state *SecurityPolicyDeploymentState, opts ...ResourceOption) (*SecurityPolicyDeployment, error)
public static SecurityPolicyDeployment Get(string name, Input<string> id, SecurityPolicyDeploymentState? state, CustomResourceOptions? opts = null)
public static SecurityPolicyDeployment get(String name, Output<String> id, SecurityPolicyDeploymentState state, CustomResourceOptions options)
resources: _: type: oci:DataSafe:SecurityPolicyDeployment get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Compartment
Id string - (Updatable) The OCID of the compartment in which to create the unified audit policy.
- 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"}
- Deploy
Trigger int - (Updatable) An optional property when incremented triggers Deploy. Could be set to any integer value.
- Description string
- (Updatable) The description of the security policy.
- Display
Name string - (Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable.
- 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"}
- Lifecycle
Details string - Details about the current state of the security policy deployment 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
- Security
Policy stringId - The OCID of the security policy corresponding to the security policy deployment.
- State string
- The current state of the security policy deployment.
- 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 string - The OCID of the target where the security policy is deployed.
- Target
Type string - Indicates whether the security policy deployment is for a target database or a target database group.
- Time
Created string - The time that the security policy deployment was created, in the format defined by RFC3339.
- Time
Deployed string - The last date and time the security policy was deployed, in the format defined by RFC3339.
- Time
Updated string - The last date and time the security policy deployment was updated, in the format defined by RFC3339.
- Compartment
Id string - (Updatable) The OCID of the compartment in which to create the unified audit policy.
- 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"}
- Deploy
Trigger int - (Updatable) An optional property when incremented triggers Deploy. Could be set to any integer value.
- Description string
- (Updatable) The description of the security policy.
- Display
Name string - (Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable.
- 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"}
- Lifecycle
Details string - Details about the current state of the security policy deployment 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
- Security
Policy stringId - The OCID of the security policy corresponding to the security policy deployment.
- State string
- The current state of the security policy deployment.
- 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 string - The OCID of the target where the security policy is deployed.
- Target
Type string - Indicates whether the security policy deployment is for a target database or a target database group.
- Time
Created string - The time that the security policy deployment was created, in the format defined by RFC3339.
- Time
Deployed string - The last date and time the security policy was deployed, in the format defined by RFC3339.
- Time
Updated string - The last date and time the security policy deployment was updated, in the format defined by RFC3339.
- compartment
Id String - (Updatable) The OCID of the compartment in which to create the unified audit policy.
- 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"}
- deploy
Trigger Integer - (Updatable) An optional property when incremented triggers Deploy. Could be set to any integer value.
- description String
- (Updatable) The description of the security policy.
- display
Name String - (Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable.
- 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"}
- lifecycle
Details String - Details about the current state of the security policy deployment in Data Safe.
- refresh
Trigger 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
- security
Policy StringId - The OCID of the security policy corresponding to the security policy deployment.
- state String
- The current state of the security policy deployment.
- 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 String - The OCID of the target where the security policy is deployed.
- target
Type String - Indicates whether the security policy deployment is for a target database or a target database group.
- time
Created String - The time that the security policy deployment was created, in the format defined by RFC3339.
- time
Deployed String - The last date and time the security policy was deployed, in the format defined by RFC3339.
- time
Updated String - The last date and time the security policy deployment was updated, in the format defined by RFC3339.
- compartment
Id string - (Updatable) The OCID of the compartment in which to create the unified audit policy.
- {[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"}
- deploy
Trigger number - (Updatable) An optional property when incremented triggers Deploy. Could be set to any integer value.
- description string
- (Updatable) The description of the security policy.
- display
Name string - (Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable.
- {[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"}
- lifecycle
Details string - Details about the current state of the security policy deployment in Data Safe.
- refresh
Trigger 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
- security
Policy stringId - The OCID of the security policy corresponding to the security policy deployment.
- state string
- The current state of the security policy deployment.
- {[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 string - The OCID of the target where the security policy is deployed.
- target
Type string - Indicates whether the security policy deployment is for a target database or a target database group.
- time
Created string - The time that the security policy deployment was created, in the format defined by RFC3339.
- time
Deployed string - The last date and time the security policy was deployed, in the format defined by RFC3339.
- time
Updated string - The last date and time the security policy deployment was updated, in the format defined by RFC3339.
- compartment_
id str - (Updatable) The OCID of the compartment in which to create the unified audit policy.
- 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"}
- deploy_
trigger int - (Updatable) An optional property when incremented triggers Deploy. Could be set to any integer value.
- description str
- (Updatable) The description of the security policy.
- display_
name str - (Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable.
- 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 security policy deployment 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
- security_
policy_ strid - The OCID of the security policy corresponding to the security policy deployment.
- state str
- The current state of the security policy deployment.
- 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 OCID of the target where the security policy is deployed.
- target_
type str - Indicates whether the security policy deployment is for a target database or a target database group.
- time_
created str - The time that the security policy deployment was created, in the format defined by RFC3339.
- time_
deployed str - The last date and time the security policy was deployed, in the format defined by RFC3339.
- time_
updated str - The last date and time the security policy deployment was updated, in the format defined by RFC3339.
- compartment
Id String - (Updatable) The OCID of the compartment in which to create the unified audit policy.
- 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"}
- deploy
Trigger Number - (Updatable) An optional property when incremented triggers Deploy. Could be set to any integer value.
- description String
- (Updatable) The description of the security policy.
- display
Name String - (Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable.
- 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"}
- lifecycle
Details String - Details about the current state of the security policy deployment in Data Safe.
- refresh
Trigger 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
- security
Policy StringId - The OCID of the security policy corresponding to the security policy deployment.
- state String
- The current state of the security policy deployment.
- 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 String - The OCID of the target where the security policy is deployed.
- target
Type String - Indicates whether the security policy deployment is for a target database or a target database group.
- time
Created String - The time that the security policy deployment was created, in the format defined by RFC3339.
- time
Deployed String - The last date and time the security policy was deployed, in the format defined by RFC3339.
- time
Updated String - The last date and time the security policy deployment was updated, in the format defined by RFC3339.
Import
SecurityPolicyDeployments can be imported using the id
, e.g.
$ pulumi import oci:DataSafe/securityPolicyDeployment:SecurityPolicyDeployment test_security_policy_deployment "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.