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.79 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets an invoice section by its ID. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement. * * Uses Azure REST API version 2024-04-01. */ export declare function getInvoiceSection(args: GetInvoiceSectionArgs, opts?: pulumi.InvokeOptions): Promise<GetInvoiceSectionResult>; export interface GetInvoiceSectionArgs { /** * The ID that uniquely identifies a billing account. */ billingAccountName: string; /** * The ID that uniquely identifies a billing profile. */ billingProfileName: string; /** * The ID that uniquely identifies an invoice section. */ invoiceSectionName: string; } /** * An invoice section. */ export interface GetInvoiceSectionResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ readonly id: string; /** * The name of the resource */ readonly name: string; /** * An invoice section. */ readonly properties: outputs.billing.InvoiceSectionPropertiesResponse; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.billing.SystemDataResponse; /** * Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? / */ readonly tags?: { [key: string]: string; }; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; } /** * Gets an invoice section by its ID. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement. * * Uses Azure REST API version 2024-04-01. */ export declare function getInvoiceSectionOutput(args: GetInvoiceSectionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetInvoiceSectionResult>; export interface GetInvoiceSectionOutputArgs { /** * The ID that uniquely identifies a billing account. */ billingAccountName: pulumi.Input<string>; /** * The ID that uniquely identifies a billing profile. */ billingProfileName: pulumi.Input<string>; /** * The ID that uniquely identifies an invoice section. */ invoiceSectionName: pulumi.Input<string>; }