Viewing docs for Oracle Cloud Infrastructure v5.3.1
published on Tuesday, Oct 13, 2026 by Pulumi
published on Tuesday, Oct 13, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v5.3.1
published on Tuesday, Oct 13, 2026 by Pulumi
published on Tuesday, Oct 13, 2026 by Pulumi
This data source provides details about a specific Subsetting Policy Health Report resource in Oracle Cloud Infrastructure Data Safe service.
Gets the details of the specified subsetting policy health report.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testSubsettingPolicyHealthReport = oci.datasafe.getSubsettingPolicyHealthReport({
subsettingPolicyHealthReportId: testSubsettingPolicyHealthReportOciDataSafeSubsettingPolicyHealthReport.id,
});
import pulumi
import pulumi_oci as oci
test_subsetting_policy_health_report = oci.datasafe.get_subsetting_policy_health_report(subsetting_policy_health_report_id=test_subsetting_policy_health_report_oci_data_safe_subsetting_policy_health_report["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v5/go/oci/datasafe"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := datasafe.GetSubsettingPolicyHealthReport(ctx, &datasafe.GetSubsettingPolicyHealthReportArgs{
SubsettingPolicyHealthReportId: testSubsettingPolicyHealthReportOciDataSafeSubsettingPolicyHealthReport.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 testSubsettingPolicyHealthReport = Oci.DataSafe.GetSubsettingPolicyHealthReport.Invoke(new()
{
SubsettingPolicyHealthReportId = testSubsettingPolicyHealthReportOciDataSafeSubsettingPolicyHealthReport.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.GetSubsettingPolicyHealthReportArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 testSubsettingPolicyHealthReport = DataSafeFunctions.getSubsettingPolicyHealthReport(GetSubsettingPolicyHealthReportArgs.builder()
.subsettingPolicyHealthReportId(testSubsettingPolicyHealthReportOciDataSafeSubsettingPolicyHealthReport.get("id"))
.build());
}
}
variables:
testSubsettingPolicyHealthReport:
fn::invoke:
function: oci:DataSafe:getSubsettingPolicyHealthReport
arguments:
subsettingPolicyHealthReportId: ${testSubsettingPolicyHealthReportOciDataSafeSubsettingPolicyHealthReport.id}
terraform {
required_providers {
oci = {
source = "pulumi/oci"
}
}
}
data "oci_data_safe_subsetting_policy_health_report" "testSubsettingPolicyHealthReport" {
subsetting_policy_health_report_id = testSubsettingPolicyHealthReportOciDataSafeSubsettingPolicyHealthReport.id
}
Using getSubsettingPolicyHealthReport
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 getSubsettingPolicyHealthReport(args: GetSubsettingPolicyHealthReportArgs, opts?: InvokeOptions): Promise<GetSubsettingPolicyHealthReportResult>
function getSubsettingPolicyHealthReportOutput(args: GetSubsettingPolicyHealthReportOutputArgs, opts?: InvokeOutputOptions): Output<GetSubsettingPolicyHealthReportResult>def get_subsetting_policy_health_report(subsetting_policy_health_report_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSubsettingPolicyHealthReportResult
def get_subsetting_policy_health_report_output(subsetting_policy_health_report_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetSubsettingPolicyHealthReportResult]func GetSubsettingPolicyHealthReport(ctx *Context, args *GetSubsettingPolicyHealthReportArgs, opts ...InvokeOption) (*GetSubsettingPolicyHealthReportResult, error)
func GetSubsettingPolicyHealthReportOutput(ctx *Context, args *GetSubsettingPolicyHealthReportOutputArgs, opts ...InvokeOption) GetSubsettingPolicyHealthReportResultOutput> Note: This function is named GetSubsettingPolicyHealthReport in the Go SDK.
public static class GetSubsettingPolicyHealthReport
{
public static Task<GetSubsettingPolicyHealthReportResult> InvokeAsync(GetSubsettingPolicyHealthReportArgs args, InvokeOptions? opts = null)
public static Output<GetSubsettingPolicyHealthReportResult> Invoke(GetSubsettingPolicyHealthReportInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetSubsettingPolicyHealthReportResult> Invoke(GetSubsettingPolicyHealthReportInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetSubsettingPolicyHealthReportResult> getSubsettingPolicyHealthReport(GetSubsettingPolicyHealthReportArgs args, InvokeOptions options)
public static Output<GetSubsettingPolicyHealthReportResult> getSubsettingPolicyHealthReport(GetSubsettingPolicyHealthReportArgs args, InvokeOptions options)
public static Output<GetSubsettingPolicyHealthReportResult> getSubsettingPolicyHealthReport(GetSubsettingPolicyHealthReportArgs args, InvokeOutputOptions options)
fn::invoke:
function: oci:DataSafe/getSubsettingPolicyHealthReport:getSubsettingPolicyHealthReport
arguments:
# arguments dictionarydata "oci_data_safe_get_subsetting_policy_health_report" "name" {
# arguments
}The following arguments are supported:
- Subsetting
Policy stringHealth Report Id - The OCID of the subsetting health report.
- Subsetting
Policy stringHealth Report Id - The OCID of the subsetting health report.
- subsetting_
policy_ stringhealth_ report_ id - The OCID of the subsetting health report.
- subsetting
Policy StringHealth Report Id - The OCID of the subsetting health report.
- subsetting
Policy stringHealth Report Id - The OCID of the subsetting health report.
- subsetting_
policy_ strhealth_ report_ id - The OCID of the subsetting health report.
- subsetting
Policy StringHealth Report Id - The OCID of the subsetting health report.
getSubsettingPolicyHealthReport Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment that contains the health report.
- 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"} - Display
Name string - The display name of the health report.
- Error
Count string - The count of errors in the subsetting health report.
- 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 provider-assigned unique ID for this managed resource.
- State string
- The current state of the health report.
- Subsetting
Policy stringHealth Report Id - Subsetting
Policy stringId - The OCID of the subsetting policy.
- Target
Id string - The OCID of the target database for which this report was created.
- Time
Created string - The date and time the report was created, in the format defined by RFC3339.
- Time
Updated string - The date and time the report was last updated, in the format defined by RFC3339
- Warning
Count string - The count of warnings in the subsetting health report.
- Compartment
Id string - The OCID of the compartment that contains the health report.
- 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"} - Display
Name string - The display name of the health report.
- Error
Count string - The count of errors in the subsetting health report.
- 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 provider-assigned unique ID for this managed resource.
- State string
- The current state of the health report.
- Subsetting
Policy stringHealth Report Id - Subsetting
Policy stringId - The OCID of the subsetting policy.
- Target
Id string - The OCID of the target database for which this report was created.
- Time
Created string - The date and time the report was created, in the format defined by RFC3339.
- Time
Updated string - The date and time the report was last updated, in the format defined by RFC3339
- Warning
Count string - The count of warnings in the subsetting health report.
- compartment_
id string - The OCID of the compartment that contains the health report.
- 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"} - display_
name string - The display name of the health report.
- error_
count string - The count of errors in the subsetting health report.
- 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 provider-assigned unique ID for this managed resource.
- state string
- The current state of the health report.
- subsetting_
policy_ stringhealth_ report_ id - subsetting_
policy_ stringid - The OCID of the subsetting policy.
- target_
id string - The OCID of the target database for which this report was created.
- time_
created string - The date and time the report was created, in the format defined by RFC3339.
- time_
updated string - The date and time the report was last updated, in the format defined by RFC3339
- warning_
count string - The count of warnings in the subsetting health report.
- compartment
Id String - The OCID of the compartment that contains the health report.
- 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"} - display
Name String - The display name of the health report.
- error
Count String - The count of errors in the subsetting health report.
- 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 provider-assigned unique ID for this managed resource.
- state String
- The current state of the health report.
- subsetting
Policy StringHealth Report Id - subsetting
Policy StringId - The OCID of the subsetting policy.
- target
Id String - The OCID of the target database for which this report was created.
- time
Created String - The date and time the report was created, in the format defined by RFC3339.
- time
Updated String - The date and time the report was last updated, in the format defined by RFC3339
- warning
Count String - The count of warnings in the subsetting health report.
- compartment
Id string - The OCID of the compartment that contains the health report.
- {[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"} - display
Name string - The display name of the health report.
- error
Count string - The count of errors in the subsetting health report.
- {[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 provider-assigned unique ID for this managed resource.
- state string
- The current state of the health report.
- subsetting
Policy stringHealth Report Id - subsetting
Policy stringId - The OCID of the subsetting policy.
- target
Id string - The OCID of the target database for which this report was created.
- time
Created string - The date and time the report was created, in the format defined by RFC3339.
- time
Updated string - The date and time the report was last updated, in the format defined by RFC3339
- warning
Count string - The count of warnings in the subsetting health report.
- compartment_
id str - The OCID of the compartment that contains the health report.
- 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"} - display_
name str - The display name of the health report.
- error_
count str - The count of errors in the subsetting health report.
- 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 provider-assigned unique ID for this managed resource.
- state str
- The current state of the health report.
- subsetting_
policy_ strhealth_ report_ id - subsetting_
policy_ strid - The OCID of the subsetting policy.
- target_
id str - The OCID of the target database for which this report was created.
- time_
created str - The date and time the report was created, in the format defined by RFC3339.
- time_
updated str - The date and time the report was last updated, in the format defined by RFC3339
- warning_
count str - The count of warnings in the subsetting health report.
- compartment
Id String - The OCID of the compartment that contains the health report.
- 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"} - display
Name String - The display name of the health report.
- error
Count String - The count of errors in the subsetting health report.
- 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 provider-assigned unique ID for this managed resource.
- state String
- The current state of the health report.
- subsetting
Policy StringHealth Report Id - subsetting
Policy StringId - The OCID of the subsetting policy.
- target
Id String - The OCID of the target database for which this report was created.
- time
Created String - The date and time the report was created, in the format defined by RFC3339.
- time
Updated String - The date and time the report was last updated, in the format defined by RFC3339
- warning
Count String - The count of warnings in the subsetting health report.
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 v5.3.1
published on Tuesday, Oct 13, 2026 by Pulumi
published on Tuesday, Oct 13, 2026 by Pulumi