@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.15 kB
TypeScript
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>;
}