@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 1.73 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets the report for a subscription by report name.
*
* Uses Azure REST API version 2018-08-01-preview.
*/
export declare function getReport(args: GetReportArgs, opts?: pulumi.InvokeOptions): Promise<GetReportResult>;
export interface GetReportArgs {
/**
* Report Name.
*/
reportName: string;
}
/**
* A report resource.
*/
export interface GetReportResult {
/**
* 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 subscription by report name.
*
* Uses Azure REST API version 2018-08-01-preview.
*/
export declare function getReportOutput(args: GetReportOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetReportResult>;
export interface GetReportOutputArgs {
/**
* Report Name.
*/
reportName: pulumi.Input<string>;
}