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

88 lines (87 loc) 2.15 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get a markup rule by its rule name. * * Uses Azure REST API version 2022-10-05-preview. */ export declare function getMarkupRule(args: GetMarkupRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetMarkupRuleResult>; export interface GetMarkupRuleArgs { /** * BillingAccount ID */ billingAccountId: string; /** * BillingProfile ID */ billingProfileId: string; /** * Markup rule name. */ name: string; } /** * Markup rule */ export interface GetMarkupRuleResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Customer information for the markup rule. */ readonly customerDetails: outputs.costmanagement.CustomerMetadataResponse; /** * The description of the markup rule. */ readonly description?: string; /** * eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not. */ readonly eTag?: string; /** * Ending date of the markup rule. */ readonly endDate?: string; /** * Resource Id. */ readonly id: string; /** * Resource name. */ readonly name: string; /** * The markup percentage of the rule. */ readonly percentage: number; /** * Starting date of the markup rule. */ readonly startDate: string; /** * Resource type. */ readonly type: string; } /** * Get a markup rule by its rule name. * * Uses Azure REST API version 2022-10-05-preview. */ export declare function getMarkupRuleOutput(args: GetMarkupRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMarkupRuleResult>; export interface GetMarkupRuleOutputArgs { /** * BillingAccount ID */ billingAccountId: pulumi.Input<string>; /** * BillingProfile ID */ billingProfileId: pulumi.Input<string>; /** * Markup rule name. */ name: pulumi.Input<string>; }