import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a Datadog Azure Usage Cost configuration resource. This can be used to create and manage Azure Cost Export configurations for Cloud Cost Management. Azure configurations require both actual and amortized cost export settings. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * // Create new Azure Usage Cost configuration resource * const example = new datadog.AzureUcConfig("example", { * accountId: "12345678-1234-abcd-1234-123456789012", * clientId: "87654321-4321-dcba-4321-210987654321", * scope: "/subscriptions/12345678-1234-abcd-1234-123456789012", * actualBillConfig: [{ * exportName: "my-actual-export", * exportPath: "exports/actual", * storageAccount: "mystorageaccount", * storageContainer: "cost-exports", * }], * amortizedBillConfig: [{ * exportName: "my-amortized-export", * exportPath: "exports/amortized", * storageAccount: "mystorageaccount", * storageContainer: "cost-exports", * }], * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * ```sh * $ pulumi import datadog:index/azureUcConfig:AzureUcConfig example * ``` */ export declare class AzureUcConfig extends pulumi.CustomResource { /** * Get an existing AzureUcConfig resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: AzureUcConfigState, opts?: pulumi.CustomResourceOptions): AzureUcConfig; /** * Returns true if the given object is an instance of AzureUcConfig. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is AzureUcConfig; /** * The tenant ID of the Azure account. */ readonly accountId: pulumi.Output; /** * Configuration for the actual cost export. */ readonly actualBillConfig: pulumi.Output; /** * Configuration for the amortized cost export. */ readonly amortizedBillConfig: pulumi.Output; /** * The client ID of the Azure account. */ readonly clientId: pulumi.Output; /** * The timestamp when the Azure Usage Cost configuration was created. */ readonly createdAt: pulumi.Output; /** * List of error messages if the Azure Usage Cost configuration encountered any issues during setup or data processing. */ readonly errorMessages: pulumi.Output; /** * The scope of your observed subscription. */ readonly scope: pulumi.Output; /** * The current status of the Azure Usage Cost configuration. */ readonly status: pulumi.Output; /** * The timestamp when the configuration status was last updated. */ readonly statusUpdatedAt: pulumi.Output; /** * The timestamp when the Azure Usage Cost configuration was last modified. */ readonly updatedAt: pulumi.Output; /** * Create a AzureUcConfig resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: AzureUcConfigArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AzureUcConfig resources. */ export interface AzureUcConfigState { /** * The tenant ID of the Azure account. */ accountId?: pulumi.Input; /** * Configuration for the actual cost export. */ actualBillConfig?: pulumi.Input; /** * Configuration for the amortized cost export. */ amortizedBillConfig?: pulumi.Input; /** * The client ID of the Azure account. */ clientId?: pulumi.Input; /** * The timestamp when the Azure Usage Cost configuration was created. */ createdAt?: pulumi.Input; /** * List of error messages if the Azure Usage Cost configuration encountered any issues during setup or data processing. */ errorMessages?: pulumi.Input[]>; /** * The scope of your observed subscription. */ scope?: pulumi.Input; /** * The current status of the Azure Usage Cost configuration. */ status?: pulumi.Input; /** * The timestamp when the configuration status was last updated. */ statusUpdatedAt?: pulumi.Input; /** * The timestamp when the Azure Usage Cost configuration was last modified. */ updatedAt?: pulumi.Input; } /** * The set of arguments for constructing a AzureUcConfig resource. */ export interface AzureUcConfigArgs { /** * The tenant ID of the Azure account. */ accountId: pulumi.Input; /** * Configuration for the actual cost export. */ actualBillConfig?: pulumi.Input; /** * Configuration for the amortized cost export. */ amortizedBillConfig?: pulumi.Input; /** * The client ID of the Azure account. */ clientId: pulumi.Input; /** * The scope of your observed subscription. */ scope: pulumi.Input; }