@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.12 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets the report for a resource group under a subscription by report name.
*
* Uses Azure REST API version 2018-08-01-preview.
*/
export declare function getReportByResourceGroupName(args: GetReportByResourceGroupNameArgs, opts?: pulumi.InvokeOptions): Promise<GetReportByResourceGroupNameResult>;
export interface GetReportByResourceGroupNameArgs {
/**
* Report Name.
*/
reportName: string;
/**
* Azure Resource Group Name.
*/
resourceGroupName: string;
}
/**
* A report resource.
*/
export interface GetReportByResourceGroupNameResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Has definition for the report.
*/
readonly definition: outputs.costmanagement.ReportDefinitionResponse;
/**
* Has delivery information for the report.
*/
readonly deliveryInfo: outputs.costmanagement.ReportDeliveryInfoResponse;
/**
* The format of the report being delivered.
*/
readonly format?: string;
/**
* Resource Id.
*/
readonly id: string;
/**
* Resource name.
*/
readonly name: string;
/**
* Has schedule information for the report.
*/
readonly schedule?: outputs.costmanagement.ReportScheduleResponse;
/**
* Resource tags.
*/
readonly tags: {
[key: string]: string;
};
/**
* Resource type.
*/
readonly type: string;
}
/**
* Gets the report for a resource group under a subscription by report name.
*
* Uses Azure REST API version 2018-08-01-preview.
*/
export declare function getReportByResourceGroupNameOutput(args: GetReportByResourceGroupNameOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetReportByResourceGroupNameResult>;
export interface GetReportByResourceGroupNameOutputArgs {
/**
* Report Name.
*/
reportName: pulumi.Input<string>;
/**
* Azure Resource Group Name.
*/
resourceGroupName: pulumi.Input<string>;
}