1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. FleetAppsManagement
  5. getReportMetadata
Oracle Cloud Infrastructure v3.11.1 published on Friday, Nov 14, 2025 by Pulumi
oci logo
Oracle Cloud Infrastructure v3.11.1 published on Friday, Nov 14, 2025 by Pulumi

    This data source provides the list of Report Metadata in Oracle Cloud Infrastructure Fleet Apps Management service.

    Returns a list of all the report metadata.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testReportMetadata = oci.FleetAppsManagement.getReportMetadata({
        compartmentId: compartmentId,
        reportName: reportName,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_report_metadata = oci.FleetAppsManagement.get_report_metadata(compartment_id=compartment_id,
        report_name=report_name)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/fleetappsmanagement"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := fleetappsmanagement.GetReportMetadata(ctx, &fleetappsmanagement.GetReportMetadataArgs{
    			CompartmentId: compartmentId,
    			ReportName:    pulumi.StringRef(reportName),
    		}, 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 testReportMetadata = Oci.FleetAppsManagement.GetReportMetadata.Invoke(new()
        {
            CompartmentId = compartmentId,
            ReportName = reportName,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.FleetAppsManagement.FleetAppsManagementFunctions;
    import com.pulumi.oci.FleetAppsManagement.inputs.GetReportMetadataArgs;
    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 testReportMetadata = FleetAppsManagementFunctions.getReportMetadata(GetReportMetadataArgs.builder()
                .compartmentId(compartmentId)
                .reportName(reportName)
                .build());
    
        }
    }
    
    variables:
      testReportMetadata:
        fn::invoke:
          function: oci:FleetAppsManagement:getReportMetadata
          arguments:
            compartmentId: ${compartmentId}
            reportName: ${reportName}
    

    Using getReportMetadata

    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 getReportMetadata(args: GetReportMetadataArgs, opts?: InvokeOptions): Promise<GetReportMetadataResult>
    function getReportMetadataOutput(args: GetReportMetadataOutputArgs, opts?: InvokeOptions): Output<GetReportMetadataResult>
    def get_report_metadata(compartment_id: Optional[str] = None,
                            filters: Optional[Sequence[GetReportMetadataFilter]] = None,
                            report_name: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetReportMetadataResult
    def get_report_metadata_output(compartment_id: Optional[pulumi.Input[str]] = None,
                            filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetReportMetadataFilterArgs]]]] = None,
                            report_name: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetReportMetadataResult]
    func GetReportMetadata(ctx *Context, args *GetReportMetadataArgs, opts ...InvokeOption) (*GetReportMetadataResult, error)
    func GetReportMetadataOutput(ctx *Context, args *GetReportMetadataOutputArgs, opts ...InvokeOption) GetReportMetadataResultOutput

    > Note: This function is named GetReportMetadata in the Go SDK.

    public static class GetReportMetadata 
    {
        public static Task<GetReportMetadataResult> InvokeAsync(GetReportMetadataArgs args, InvokeOptions? opts = null)
        public static Output<GetReportMetadataResult> Invoke(GetReportMetadataInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetReportMetadataResult> getReportMetadata(GetReportMetadataArgs args, InvokeOptions options)
    public static Output<GetReportMetadataResult> getReportMetadata(GetReportMetadataArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:FleetAppsManagement/getReportMetadata:getReportMetadata
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The ID of the compartment in which to list resources.
    Filters List<GetReportMetadataFilter>
    ReportName string
    A filter to return data for given report name.
    CompartmentId string
    The ID of the compartment in which to list resources.
    Filters []GetReportMetadataFilter
    ReportName string
    A filter to return data for given report name.
    compartmentId String
    The ID of the compartment in which to list resources.
    filters List<GetReportMetadataFilter>
    reportName String
    A filter to return data for given report name.
    compartmentId string
    The ID of the compartment in which to list resources.
    filters GetReportMetadataFilter[]
    reportName string
    A filter to return data for given report name.
    compartment_id str
    The ID of the compartment in which to list resources.
    filters Sequence[GetReportMetadataFilter]
    report_name str
    A filter to return data for given report name.
    compartmentId String
    The ID of the compartment in which to list resources.
    filters List<Property Map>
    reportName String
    A filter to return data for given report name.

    getReportMetadata Result

    The following output properties are available:

    CompartmentId string
    Id string
    The provider-assigned unique ID for this managed resource.
    ReportMetadataCollections List<GetReportMetadataReportMetadataCollection>
    The list of report_metadata_collection.
    Filters List<GetReportMetadataFilter>
    ReportName string
    CompartmentId string
    Id string
    The provider-assigned unique ID for this managed resource.
    ReportMetadataCollections []GetReportMetadataReportMetadataCollection
    The list of report_metadata_collection.
    Filters []GetReportMetadataFilter
    ReportName string
    compartmentId String
    id String
    The provider-assigned unique ID for this managed resource.
    reportMetadataCollections List<GetReportMetadataReportMetadataCollection>
    The list of report_metadata_collection.
    filters List<GetReportMetadataFilter>
    reportName String
    compartmentId string
    id string
    The provider-assigned unique ID for this managed resource.
    reportMetadataCollections GetReportMetadataReportMetadataCollection[]
    The list of report_metadata_collection.
    filters GetReportMetadataFilter[]
    reportName string
    compartment_id str
    id str
    The provider-assigned unique ID for this managed resource.
    report_metadata_collections Sequence[GetReportMetadataReportMetadataCollection]
    The list of report_metadata_collection.
    filters Sequence[GetReportMetadataFilter]
    report_name str
    compartmentId String
    id String
    The provider-assigned unique ID for this managed resource.
    reportMetadataCollections List<Property Map>
    The list of report_metadata_collection.
    filters List<Property Map>
    reportName String

    Supporting Types

    GetReportMetadataFilter

    Name string
    Name of Report.
    Values List<string>
    Regex bool
    Name string
    Name of Report.
    Values []string
    Regex bool
    name String
    Name of Report.
    values List<String>
    regex Boolean
    name string
    Name of Report.
    values string[]
    regex boolean
    name str
    Name of Report.
    values Sequence[str]
    regex bool
    name String
    Name of Report.
    values List<String>
    regex Boolean

    GetReportMetadataReportMetadataCollection

    items List<Property Map>
    List of ReportMetadata.

    GetReportMetadataReportMetadataCollectionItem

    columnMetadatas List<Property Map>
    Column Metadata.
    defaultOrderClauses List<Property Map>
    default order clause for reports.
    description String
    Filter description.
    filters List<Property Map>
    metricMetadata.
    metric String
    Metric Name.
    name String
    Name of Report.

    GetReportMetadataReportMetadataCollectionItemColumnMetadata

    Description string
    Filter description.
    Name string
    Name of Report.
    Type string
    Column value type.
    Description string
    Filter description.
    Name string
    Name of Report.
    Type string
    Column value type.
    description String
    Filter description.
    name String
    Name of Report.
    type String
    Column value type.
    description string
    Filter description.
    name string
    Name of Report.
    type string
    Column value type.
    description str
    Filter description.
    name str
    Name of Report.
    type str
    Column value type.
    description String
    Filter description.
    name String
    Name of Report.
    type String
    Column value type.

    GetReportMetadataReportMetadataCollectionItemDefaultOrderClause

    SortBy string
    Column to sort by.
    SortOrder string
    Sort direction either ASC or DESC.
    SortBy string
    Column to sort by.
    SortOrder string
    Sort direction either ASC or DESC.
    sortBy String
    Column to sort by.
    sortOrder String
    Sort direction either ASC or DESC.
    sortBy string
    Column to sort by.
    sortOrder string
    Sort direction either ASC or DESC.
    sort_by str
    Column to sort by.
    sort_order str
    Sort direction either ASC or DESC.
    sortBy String
    Column to sort by.
    sortOrder String
    Sort direction either ASC or DESC.

    GetReportMetadataReportMetadataCollectionItemFilter

    Description string
    Filter description.
    Name string
    Name of Report.
    ValueSource string
    Filter value source.
    Description string
    Filter description.
    Name string
    Name of Report.
    ValueSource string
    Filter value source.
    description String
    Filter description.
    name String
    Name of Report.
    valueSource String
    Filter value source.
    description string
    Filter description.
    name string
    Name of Report.
    valueSource string
    Filter value source.
    description str
    Filter description.
    name str
    Name of Report.
    value_source str
    Filter value source.
    description String
    Filter description.
    name String
    Name of Report.
    valueSource String
    Filter value source.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v3.11.1 published on Friday, Nov 14, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate