Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

getReport

This data source provides details about a specific Report resource in Oracle Cloud Infrastructure Data Safe service.

Gets a report by identifier

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testReport = Output.Create(Oci.DataSafe.GetReport.InvokeAsync(new Oci.DataSafe.GetReportArgs
        {
            ReportId = oci_data_safe_report.Test_report.Id,
        }));
    }

}
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/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: oci_data_safe_report.Test_report.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_report = oci.DataSafe.get_report(report_id=oci_data_safe_report["test_report"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testReport = oci.DataSafe.getReport({
    reportId: oci_data_safe_report.test_report.id,
});

Coming soon!

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 GetReport(ctx *Context, args *GetReportArgs, opts ...InvokeOption) (*GetReportResult, error)
func GetReportOutput(ctx *Context, args *GetReportOutputArgs, opts ...InvokeOption) GetReportResultOutput

> Note: This function is named GetReport 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)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:DataSafe/getReport:getReport
  Arguments:
    # Arguments dictionary

The following arguments are supported:

ReportId string

Unique report identifier

ReportId string

Unique report identifier

reportId String

Unique report identifier

reportId string

Unique report identifier

report_id str

Unique report identifier

reportId String

Unique report identifier

getReport Result

The following output properties are available:

CompartmentId string

The OCID of the compartment containing the report.

DefinedTags Dictionary<string, object>

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.

DisplayName string

Name of the report.

FreeformTags Dictionary<string, object>

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.

MimeType string

Specifies the format of report to be excel or pdf

ReportDefinitionId string

The OCID of the report definition.

ReportId string
State string

The current state of the report.

SystemTags Dictionary<string, object>

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"}

TimeGenerated string

Specifies the time at which the report was generated.

CompartmentId string

The OCID of the compartment containing the report.

DefinedTags map[string]interface{}

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.

DisplayName string

Name of the report.

FreeformTags map[string]interface{}

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.

MimeType string

Specifies the format of report to be excel or pdf

ReportDefinitionId string

The OCID of the report definition.

ReportId string
State string

The current state of the report.

SystemTags map[string]interface{}

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"}

TimeGenerated string

Specifies the time at which the report was generated.

compartmentId String

The OCID of the compartment containing the report.

definedTags Map<String,Object>

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.

displayName String

Name of the report.

freeformTags Map<String,Object>

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.

mimeType String

Specifies the format of report to be excel or pdf

reportDefinitionId String

The OCID of the report definition.

reportId String
state String

The current state of the report.

systemTags Map<String,Object>

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"}

timeGenerated String

Specifies the time at which the report was generated.

compartmentId string

The OCID of the compartment containing the report.

definedTags {[key: string]: any}

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.

displayName string

Name of the report.

freeformTags {[key: string]: any}

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.

mimeType string

Specifies the format of report to be excel or pdf

reportDefinitionId string

The OCID of the report definition.

reportId string
state string

The current state of the report.

systemTags {[key: string]: any}

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"}

timeGenerated string

Specifies the time at which the report was generated.

compartment_id str

The OCID of the compartment containing the report.

defined_tags Mapping[str, Any]

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.

freeform_tags Mapping[str, Any]

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.

mime_type str

Specifies the format of report to be excel or pdf

report_definition_id str

The OCID of the report definition.

report_id str
state str

The current state of the report.

system_tags Mapping[str, Any]

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_generated str

Specifies the time at which the report was generated.

compartmentId String

The OCID of the compartment containing the report.

definedTags Map<Any>

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.

displayName String

Name of the report.

freeformTags Map<Any>

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.

mimeType String

Specifies the format of report to be excel or pdf

reportDefinitionId String

The OCID of the report definition.

reportId String
state String

The current state of the report.

systemTags Map<Any>

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"}

timeGenerated String

Specifies the time at which the report was generated.

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.