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

133 lines (132 loc) 6.84 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * An export resource. * * Uses Azure REST API version 2024-08-01. In version 2.x of the Azure Native provider, it used API version 2023-03-01. * * Other available API versions: 2019-01-01, 2019-09-01, 2019-10-01, 2019-11-01, 2020-06-01, 2020-12-01-preview, 2021-01-01, 2021-10-01, 2022-10-01, 2023-03-01, 2023-04-01-preview, 2023-07-01-preview, 2023-08-01, 2023-09-01, 2023-11-01, 2024-10-01-preview, 2025-03-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native costmanagement [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare class Export extends pulumi.CustomResource { /** * Get an existing Export 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 opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Export; /** * Returns true if the given object is an instance of Export. 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 Export; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output<string>; /** * Has the definition for the export. */ readonly definition: pulumi.Output<outputs.costmanagement.ExportDefinitionResponse>; /** * Has delivery information for the export. */ readonly deliveryInfo: pulumi.Output<outputs.costmanagement.ExportDeliveryInfoResponse>; /** * 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: pulumi.Output<string | undefined>; /** * The format of the export being delivered. Currently only 'Csv' is supported. */ readonly format: pulumi.Output<string | undefined>; /** * The managed identity associated with Export */ readonly identity: pulumi.Output<outputs.costmanagement.SystemAssignedServiceIdentityResponse | undefined>; /** * The location of the Export's managed identity. Only required when utilizing managed identity. */ readonly location: pulumi.Output<string | undefined>; /** * Resource name. */ readonly name: pulumi.Output<string>; /** * If the export has an active schedule, provides an estimate of the next run time. */ readonly nextRunTimeEstimate: pulumi.Output<string>; /** * If set to true, exported data will be partitioned by size and placed in a blob directory together with a manifest file. Note: this option is currently available only for Microsoft Customer Agreement commerce scopes. */ readonly partitionData: pulumi.Output<boolean | undefined>; /** * If requested, has the most recent run history for the export. */ readonly runHistory: pulumi.Output<outputs.costmanagement.ExportExecutionListResultResponse | undefined>; /** * Has schedule information for the export. */ readonly schedule: pulumi.Output<outputs.costmanagement.ExportScheduleResponse | undefined>; /** * Resource type. */ readonly type: pulumi.Output<string>; /** * Create a Export 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: ExportArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Export resource. */ export interface ExportArgs { /** * Has the definition for the export. */ definition: pulumi.Input<inputs.costmanagement.ExportDefinitionArgs>; /** * Has delivery information for the export. */ deliveryInfo: pulumi.Input<inputs.costmanagement.ExportDeliveryInfoArgs>; /** * 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. */ eTag?: pulumi.Input<string>; /** * Export Name. */ exportName?: pulumi.Input<string>; /** * The format of the export being delivered. Currently only 'Csv' is supported. */ format?: pulumi.Input<string | enums.costmanagement.FormatType>; /** * The managed identity associated with Export */ identity?: pulumi.Input<inputs.costmanagement.SystemAssignedServiceIdentityArgs>; /** * The location of the Export's managed identity. Only required when utilizing managed identity. */ location?: pulumi.Input<string>; /** * If set to true, exported data will be partitioned by size and placed in a blob directory together with a manifest file. Note: this option is currently available only for Microsoft Customer Agreement commerce scopes. */ partitionData?: pulumi.Input<boolean>; /** * Has schedule information for the export. */ schedule?: pulumi.Input<inputs.costmanagement.ExportScheduleArgs>; /** * The scope associated with export operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, '/providers/Microsoft.Management/managementGroups/{managementGroupId} for Management Group scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope, and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' specific for partners. */ scope: pulumi.Input<string>; }