Viewing docs for Oracle Cloud Infrastructure v4.2.0
published on Friday, Mar 6, 2026 by Pulumi
published on Friday, Mar 6, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.2.0
published on Friday, Mar 6, 2026 by Pulumi
published on Friday, Mar 6, 2026 by Pulumi
This data source provides details about a specific Security Policy Deployment resource in Oracle Cloud Infrastructure Data Safe service.
Gets a security policy deployment by identifier.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testSecurityPolicyDeployment = oci.DataSafe.getSecurityPolicyDeployment({
securityPolicyDeploymentId: testSecurityPolicyDeploymentOciDataSafeSecurityPolicyDeployment.id,
});
import pulumi
import pulumi_oci as oci
test_security_policy_deployment = oci.DataSafe.get_security_policy_deployment(security_policy_deployment_id=test_security_policy_deployment_oci_data_safe_security_policy_deployment["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/datasafe"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := datasafe.GetSecurityPolicyDeployment(ctx, &datasafe.GetSecurityPolicyDeploymentArgs{
SecurityPolicyDeploymentId: testSecurityPolicyDeploymentOciDataSafeSecurityPolicyDeployment.Id,
}, 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 testSecurityPolicyDeployment = Oci.DataSafe.GetSecurityPolicyDeployment.Invoke(new()
{
SecurityPolicyDeploymentId = testSecurityPolicyDeploymentOciDataSafeSecurityPolicyDeployment.Id,
});
});
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.GetSecurityPolicyDeploymentArgs;
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 testSecurityPolicyDeployment = DataSafeFunctions.getSecurityPolicyDeployment(GetSecurityPolicyDeploymentArgs.builder()
.securityPolicyDeploymentId(testSecurityPolicyDeploymentOciDataSafeSecurityPolicyDeployment.id())
.build());
}
}
variables:
testSecurityPolicyDeployment:
fn::invoke:
function: oci:DataSafe:getSecurityPolicyDeployment
arguments:
securityPolicyDeploymentId: ${testSecurityPolicyDeploymentOciDataSafeSecurityPolicyDeployment.id}
Using getSecurityPolicyDeployment
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 getSecurityPolicyDeployment(args: GetSecurityPolicyDeploymentArgs, opts?: InvokeOptions): Promise<GetSecurityPolicyDeploymentResult>
function getSecurityPolicyDeploymentOutput(args: GetSecurityPolicyDeploymentOutputArgs, opts?: InvokeOptions): Output<GetSecurityPolicyDeploymentResult>def get_security_policy_deployment(security_policy_deployment_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSecurityPolicyDeploymentResult
def get_security_policy_deployment_output(security_policy_deployment_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSecurityPolicyDeploymentResult]func LookupSecurityPolicyDeployment(ctx *Context, args *LookupSecurityPolicyDeploymentArgs, opts ...InvokeOption) (*LookupSecurityPolicyDeploymentResult, error)
func LookupSecurityPolicyDeploymentOutput(ctx *Context, args *LookupSecurityPolicyDeploymentOutputArgs, opts ...InvokeOption) LookupSecurityPolicyDeploymentResultOutput> Note: This function is named LookupSecurityPolicyDeployment in the Go SDK.
public static class GetSecurityPolicyDeployment
{
public static Task<GetSecurityPolicyDeploymentResult> InvokeAsync(GetSecurityPolicyDeploymentArgs args, InvokeOptions? opts = null)
public static Output<GetSecurityPolicyDeploymentResult> Invoke(GetSecurityPolicyDeploymentInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSecurityPolicyDeploymentResult> getSecurityPolicyDeployment(GetSecurityPolicyDeploymentArgs args, InvokeOptions options)
public static Output<GetSecurityPolicyDeploymentResult> getSecurityPolicyDeployment(GetSecurityPolicyDeploymentArgs args, InvokeOptions options)
fn::invoke:
function: oci:DataSafe/getSecurityPolicyDeployment:getSecurityPolicyDeployment
arguments:
# arguments dictionaryThe following arguments are supported:
- Security
Policy stringDeployment Id - The OCID of the security policy deployment resource.
- Security
Policy stringDeployment Id - The OCID of the security policy deployment resource.
- security
Policy StringDeployment Id - The OCID of the security policy deployment resource.
- security
Policy stringDeployment Id - The OCID of the security policy deployment resource.
- security_
policy_ strdeployment_ id - The OCID of the security policy deployment resource.
- security
Policy StringDeployment Id - The OCID of the security policy deployment resource.
getSecurityPolicyDeployment Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment containing the security policy deployment.
- 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"} - Deploy
Trigger int - Description string
- The description of the security policy deployment.
- Display
Name string - The display name of the security policy deployment.
- 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 string
- The OCID of the security policy deployment.
- Lifecycle
Details string - Details about the current state of the security policy deployment in Data Safe.
- Refresh
Trigger int - Security
Policy stringDeployment Id - 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/target group 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 - The OCID of the compartment containing the security policy deployment.
- 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"} - Deploy
Trigger int - Description string
- The description of the security policy deployment.
- Display
Name string - The display name of the security policy deployment.
- 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 string
- The OCID of the security policy deployment.
- Lifecycle
Details string - Details about the current state of the security policy deployment in Data Safe.
- Refresh
Trigger int - Security
Policy stringDeployment Id - 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/target group 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 - The OCID of the compartment containing the security policy deployment.
- 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"} - deploy
Trigger Integer - description String
- The description of the security policy deployment.
- display
Name String - The display name of the security policy deployment.
- 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 String
- The OCID of the security policy deployment.
- lifecycle
Details String - Details about the current state of the security policy deployment in Data Safe.
- refresh
Trigger Integer - security
Policy StringDeployment Id - 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/target group 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 - The OCID of the compartment containing the security policy deployment.
- {[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"} - deploy
Trigger number - description string
- The description of the security policy deployment.
- display
Name string - The display name of the security policy deployment.
- {[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 string
- The OCID of the security policy deployment.
- lifecycle
Details string - Details about the current state of the security policy deployment in Data Safe.
- refresh
Trigger number - security
Policy stringDeployment Id - 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/target group 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 - The OCID of the compartment containing the security policy deployment.
- 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"} - deploy_
trigger int - description str
- The description of the security policy deployment.
- display_
name str - The display name of the security policy deployment.
- 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 str
- The OCID of the security policy deployment.
- lifecycle_
details str - Details about the current state of the security policy deployment in Data Safe.
- refresh_
trigger int - security_
policy_ strdeployment_ id - 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/target group 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 - The OCID of the compartment containing the security policy deployment.
- 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"} - deploy
Trigger Number - description String
- The description of the security policy deployment.
- display
Name String - The display name of the security policy deployment.
- 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 String
- The OCID of the security policy deployment.
- lifecycle
Details String - Details about the current state of the security policy deployment in Data Safe.
- refresh
Trigger Number - security
Policy StringDeployment Id - 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/target group 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.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Viewing docs for Oracle Cloud Infrastructure v4.2.0
published on Friday, Mar 6, 2026 by Pulumi
published on Friday, Mar 6, 2026 by Pulumi
