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