UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

78 lines (77 loc) 2.12 kB
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>; }