1. Packages
  2. Vantage Provider
  3. API Docs
  4. getResourceReportColumns
vantage 0.1.65 published on Wednesday, Sep 10, 2025 by vantage-sh

vantage.getResourceReportColumns

Explore with Pulumi AI

vantage logo
vantage 0.1.65 published on Wednesday, Sep 10, 2025 by vantage-sh

    Data source for retrieving available columns for a specific resource type in resource reports.

    Using getResourceReportColumns

    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 getResourceReportColumns(args: GetResourceReportColumnsArgs, opts?: InvokeOptions): Promise<GetResourceReportColumnsResult>
    function getResourceReportColumnsOutput(args: GetResourceReportColumnsOutputArgs, opts?: InvokeOptions): Output<GetResourceReportColumnsResult>
    def get_resource_report_columns(resource_type: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetResourceReportColumnsResult
    def get_resource_report_columns_output(resource_type: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetResourceReportColumnsResult]
    func GetResourceReportColumns(ctx *Context, args *GetResourceReportColumnsArgs, opts ...InvokeOption) (*GetResourceReportColumnsResult, error)
    func GetResourceReportColumnsOutput(ctx *Context, args *GetResourceReportColumnsOutputArgs, opts ...InvokeOption) GetResourceReportColumnsResultOutput

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

    public static class GetResourceReportColumns 
    {
        public static Task<GetResourceReportColumnsResult> InvokeAsync(GetResourceReportColumnsArgs args, InvokeOptions? opts = null)
        public static Output<GetResourceReportColumnsResult> Invoke(GetResourceReportColumnsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetResourceReportColumnsResult> getResourceReportColumns(GetResourceReportColumnsArgs args, InvokeOptions options)
    public static Output<GetResourceReportColumnsResult> getResourceReportColumns(GetResourceReportColumnsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: vantage:index/getResourceReportColumns:getResourceReportColumns
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ResourceType string
    VQL resource type name (e.g., 'awsinstance', 'awsebsvolume'). See https://docs.vantage.sh/vqlresource_report#resource-type for available types.
    ResourceType string
    VQL resource type name (e.g., 'awsinstance', 'awsebsvolume'). See https://docs.vantage.sh/vqlresource_report#resource-type for available types.
    resourceType String
    VQL resource type name (e.g., 'awsinstance', 'awsebsvolume'). See https://docs.vantage.sh/vqlresource_report#resource-type for available types.
    resourceType string
    VQL resource type name (e.g., 'awsinstance', 'awsebsvolume'). See https://docs.vantage.sh/vqlresource_report#resource-type for available types.
    resource_type str
    VQL resource type name (e.g., 'awsinstance', 'awsebsvolume'). See https://docs.vantage.sh/vqlresource_report#resource-type for available types.
    resourceType String
    VQL resource type name (e.g., 'awsinstance', 'awsebsvolume'). See https://docs.vantage.sh/vqlresource_report#resource-type for available types.

    getResourceReportColumns Result

    The following output properties are available:

    Columns List<string>
    Array of available column names for the specified resource type.
    Id string
    The provider-assigned unique ID for this managed resource.
    ResourceType string
    VQL resource type name (e.g., 'awsinstance', 'awsebsvolume'). See https://docs.vantage.sh/vqlresource_report#resource-type for available types.
    Columns []string
    Array of available column names for the specified resource type.
    Id string
    The provider-assigned unique ID for this managed resource.
    ResourceType string
    VQL resource type name (e.g., 'awsinstance', 'awsebsvolume'). See https://docs.vantage.sh/vqlresource_report#resource-type for available types.
    columns List<String>
    Array of available column names for the specified resource type.
    id String
    The provider-assigned unique ID for this managed resource.
    resourceType String
    VQL resource type name (e.g., 'awsinstance', 'awsebsvolume'). See https://docs.vantage.sh/vqlresource_report#resource-type for available types.
    columns string[]
    Array of available column names for the specified resource type.
    id string
    The provider-assigned unique ID for this managed resource.
    resourceType string
    VQL resource type name (e.g., 'awsinstance', 'awsebsvolume'). See https://docs.vantage.sh/vqlresource_report#resource-type for available types.
    columns Sequence[str]
    Array of available column names for the specified resource type.
    id str
    The provider-assigned unique ID for this managed resource.
    resource_type str
    VQL resource type name (e.g., 'awsinstance', 'awsebsvolume'). See https://docs.vantage.sh/vqlresource_report#resource-type for available types.
    columns List<String>
    Array of available column names for the specified resource type.
    id String
    The provider-assigned unique ID for this managed resource.
    resourceType String
    VQL resource type name (e.g., 'awsinstance', 'awsebsvolume'). See https://docs.vantage.sh/vqlresource_report#resource-type for available types.

    Package Details

    Repository
    vantage vantage-sh/terraform-provider-vantage
    License
    Notes
    This Pulumi package is based on the vantage Terraform Provider.
    vantage logo
    vantage 0.1.65 published on Wednesday, Sep 10, 2025 by vantage-sh