Viewing docs for Oracle Cloud Infrastructure v4.3.0
published on Thursday, Mar 19, 2026 by Pulumi
published on Thursday, Mar 19, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.3.0
published on Thursday, Mar 19, 2026 by Pulumi
published on Thursday, Mar 19, 2026 by Pulumi
This data source provides details about a specific Report resource in Oracle Cloud Infrastructure Data Safe service.
Gets a report by identifier
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testReport = oci.DataSafe.getReport({
reportId: testReportOciDataSafeReport.id,
});
import pulumi
import pulumi_oci as oci
test_report = oci.DataSafe.get_report(report_id=test_report_oci_data_safe_report["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.GetReport(ctx, &datasafe.GetReportArgs{
ReportId: testReportOciDataSafeReport.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 testReport = Oci.DataSafe.GetReport.Invoke(new()
{
ReportId = testReportOciDataSafeReport.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.GetReportArgs;
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 testReport = DataSafeFunctions.getReport(GetReportArgs.builder()
.reportId(testReportOciDataSafeReport.id())
.build());
}
}
variables:
testReport:
fn::invoke:
function: oci:DataSafe:getReport
arguments:
reportId: ${testReportOciDataSafeReport.id}
Using getReport
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 getReport(args: GetReportArgs, opts?: InvokeOptions): Promise<GetReportResult>
function getReportOutput(args: GetReportOutputArgs, opts?: InvokeOptions): Output<GetReportResult>def get_report(report_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetReportResult
def get_report_output(report_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetReportResult]func LookupReport(ctx *Context, args *LookupReportArgs, opts ...InvokeOption) (*LookupReportResult, error)
func LookupReportOutput(ctx *Context, args *LookupReportOutputArgs, opts ...InvokeOption) LookupReportResultOutput> Note: This function is named LookupReport in the Go SDK.
public static class GetReport
{
public static Task<GetReportResult> InvokeAsync(GetReportArgs args, InvokeOptions? opts = null)
public static Output<GetReportResult> Invoke(GetReportInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetReportResult> getReport(GetReportArgs args, InvokeOptions options)
public static Output<GetReportResult> getReport(GetReportArgs args, InvokeOptions options)
fn::invoke:
function: oci:DataSafe/getReport:getReport
arguments:
# arguments dictionaryThe following arguments are supported:
- Report
Id string - Unique report identifier
- Report
Id string - Unique report identifier
- report
Id String - Unique report identifier
- report
Id string - Unique report identifier
- report_
id str - Unique report identifier
- report
Id String - Unique report identifier
getReport Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment containing the report.
- Data
Source string - Specifies the name of a resource that provides data for the report. For example alerts, events.
- 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 string
- Specifies a description of the report.
- Display
Name string - Name of the 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 OCID of the report.
- Lifecycle
Details string - Details about the current state of the report in Data Safe.
- Mime
Type string - Specifies the format of report to be .xls or .pdf or .json
- Report
Definition stringId - The OCID of the report definition.
- Report
Id string - State string
- The current state of the audit report.
- 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 - Specifies the time at which the report was created.
- Time
Generated string - Specifies the date and time the report was generated.
- Time
Updated string - The date and time of the report update in Data Safe.
- Type string
- The type of the audit report.
- Compartment
Id string - The OCID of the compartment containing the report.
- Data
Source string - Specifies the name of a resource that provides data for the report. For example alerts, events.
- 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 string
- Specifies a description of the report.
- Display
Name string - Name of the 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 OCID of the report.
- Lifecycle
Details string - Details about the current state of the report in Data Safe.
- Mime
Type string - Specifies the format of report to be .xls or .pdf or .json
- Report
Definition stringId - The OCID of the report definition.
- Report
Id string - State string
- The current state of the audit report.
- 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 - Specifies the time at which the report was created.
- Time
Generated string - Specifies the date and time the report was generated.
- Time
Updated string - The date and time of the report update in Data Safe.
- Type string
- The type of the audit report.
- compartment
Id String - The OCID of the compartment containing the report.
- data
Source String - Specifies the name of a resource that provides data for the report. For example alerts, events.
- 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 String
- Specifies a description of the report.
- display
Name String - Name of the 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 OCID of the report.
- lifecycle
Details String - Details about the current state of the report in Data Safe.
- mime
Type String - Specifies the format of report to be .xls or .pdf or .json
- report
Definition StringId - The OCID of the report definition.
- report
Id String - state String
- The current state of the audit report.
- 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 - Specifies the time at which the report was created.
- time
Generated String - Specifies the date and time the report was generated.
- time
Updated String - The date and time of the report update in Data Safe.
- type String
- The type of the audit report.
- compartment
Id string - The OCID of the compartment containing the report.
- data
Source string - Specifies the name of a resource that provides data for the report. For example alerts, events.
- {[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 string
- Specifies a description of the report.
- display
Name string - Name of the 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 OCID of the report.
- lifecycle
Details string - Details about the current state of the report in Data Safe.
- mime
Type string - Specifies the format of report to be .xls or .pdf or .json
- report
Definition stringId - The OCID of the report definition.
- report
Id string - state string
- The current state of the audit report.
- {[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 - Specifies the time at which the report was created.
- time
Generated string - Specifies the date and time the report was generated.
- time
Updated string - The date and time of the report update in Data Safe.
- type string
- The type of the audit report.
- compartment_
id str - The OCID of the compartment containing the report.
- data_
source str - Specifies the name of a resource that provides data for the report. For example alerts, events.
- 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 str
- Specifies a description of the report.
- display_
name str - Name of the 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 OCID of the report.
- lifecycle_
details str - Details about the current state of the report in Data Safe.
- mime_
type str - Specifies the format of report to be .xls or .pdf or .json
- report_
definition_ strid - The OCID of the report definition.
- report_
id str - state str
- The current state of the audit report.
- 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 - Specifies the time at which the report was created.
- time_
generated str - Specifies the date and time the report was generated.
- time_
updated str - The date and time of the report update in Data Safe.
- type str
- The type of the audit report.
- compartment
Id String - The OCID of the compartment containing the report.
- data
Source String - Specifies the name of a resource that provides data for the report. For example alerts, events.
- 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 String
- Specifies a description of the report.
- display
Name String - Name of the 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 OCID of the report.
- lifecycle
Details String - Details about the current state of the report in Data Safe.
- mime
Type String - Specifies the format of report to be .xls or .pdf or .json
- report
Definition StringId - The OCID of the report definition.
- report
Id String - state String
- The current state of the audit report.
- 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 - Specifies the time at which the report was created.
- time
Generated String - Specifies the date and time the report was generated.
- time
Updated String - The date and time of the report update in Data Safe.
- type String
- The type of the audit 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 v4.3.0
published on Thursday, Mar 19, 2026 by Pulumi
published on Thursday, Mar 19, 2026 by Pulumi
