1. Packages
  2. Azure Native v1
  3. API Docs
  4. costmanagement
  5. Export
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.costmanagement.Export

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    An export resource. API Version: 2020-06-01.

    Example Usage

    ExportCreateOrUpdateByBillingAccount

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var export = new AzureNative.CostManagement.Export("export", new()
        {
            Definition = new AzureNative.CostManagement.Inputs.ExportDefinitionArgs
            {
                DataSet = new AzureNative.CostManagement.Inputs.ExportDatasetArgs
                {
                    Configuration = new AzureNative.CostManagement.Inputs.ExportDatasetConfigurationArgs
                    {
                        Columns = new[]
                        {
                            "Date",
                            "MeterId",
                            "ResourceId",
                            "ResourceLocation",
                            "Quantity",
                        },
                    },
                    Granularity = "Daily",
                },
                Timeframe = "MonthToDate",
                Type = "ActualCost",
            },
            DeliveryInfo = new AzureNative.CostManagement.Inputs.ExportDeliveryInfoArgs
            {
                Destination = new AzureNative.CostManagement.Inputs.ExportDeliveryDestinationArgs
                {
                    Container = "exports",
                    ResourceId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
                    RootFolderPath = "ad-hoc",
                },
            },
            ExportName = "TestExport",
            Format = "Csv",
            Schedule = new AzureNative.CostManagement.Inputs.ExportScheduleArgs
            {
                Recurrence = "Weekly",
                RecurrencePeriod = new AzureNative.CostManagement.Inputs.ExportRecurrencePeriodArgs
                {
                    From = "2020-06-01T00:00:00Z",
                    To = "2020-10-31T00:00:00Z",
                },
                Status = "Active",
            },
            Scope = "providers/Microsoft.Billing/billingAccounts/123456",
        });
    
    });
    

    Coming soon!

    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.costmanagement.Export;
    import com.pulumi.azurenative.costmanagement.ExportArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var export = new Export("export", ExportArgs.builder()        
                .definition(Map.ofEntries(
                    Map.entry("dataSet", Map.ofEntries(
                        Map.entry("configuration", Map.of("columns",                     
                            "Date",
                            "MeterId",
                            "ResourceId",
                            "ResourceLocation",
                            "Quantity")),
                        Map.entry("granularity", "Daily")
                    )),
                    Map.entry("timeframe", "MonthToDate"),
                    Map.entry("type", "ActualCost")
                ))
                .deliveryInfo(Map.of("destination", Map.ofEntries(
                    Map.entry("container", "exports"),
                    Map.entry("resourceId", "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182"),
                    Map.entry("rootFolderPath", "ad-hoc")
                )))
                .exportName("TestExport")
                .format("Csv")
                .schedule(Map.ofEntries(
                    Map.entry("recurrence", "Weekly"),
                    Map.entry("recurrencePeriod", Map.ofEntries(
                        Map.entry("from", "2020-06-01T00:00:00Z"),
                        Map.entry("to", "2020-10-31T00:00:00Z")
                    )),
                    Map.entry("status", "Active")
                ))
                .scope("providers/Microsoft.Billing/billingAccounts/123456")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    export = azure_native.costmanagement.Export("export",
        definition=azure_native.costmanagement.ExportDefinitionResponseArgs(
            data_set={
                "configuration": azure_native.costmanagement.ExportDatasetConfigurationArgs(
                    columns=[
                        "Date",
                        "MeterId",
                        "ResourceId",
                        "ResourceLocation",
                        "Quantity",
                    ],
                ),
                "granularity": "Daily",
            },
            timeframe="MonthToDate",
            type="ActualCost",
        ),
        delivery_info=azure_native.costmanagement.ExportDeliveryInfoResponseArgs(
            destination=azure_native.costmanagement.ExportDeliveryDestinationArgs(
                container="exports",
                resource_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
                root_folder_path="ad-hoc",
            ),
        ),
        export_name="TestExport",
        format="Csv",
        schedule=azure_native.costmanagement.ExportScheduleResponseArgs(
            recurrence="Weekly",
            recurrence_period=azure_native.costmanagement.ExportRecurrencePeriodArgs(
                from_="2020-06-01T00:00:00Z",
                to="2020-10-31T00:00:00Z",
            ),
            status="Active",
        ),
        scope="providers/Microsoft.Billing/billingAccounts/123456")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const _export = new azure_native.costmanagement.Export("export", {
        definition: {
            dataSet: {
                configuration: {
                    columns: [
                        "Date",
                        "MeterId",
                        "ResourceId",
                        "ResourceLocation",
                        "Quantity",
                    ],
                },
                granularity: "Daily",
            },
            timeframe: "MonthToDate",
            type: "ActualCost",
        },
        deliveryInfo: {
            destination: {
                container: "exports",
                resourceId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
                rootFolderPath: "ad-hoc",
            },
        },
        exportName: "TestExport",
        format: "Csv",
        schedule: {
            recurrence: "Weekly",
            recurrencePeriod: {
                from: "2020-06-01T00:00:00Z",
                to: "2020-10-31T00:00:00Z",
            },
            status: "Active",
        },
        scope: "providers/Microsoft.Billing/billingAccounts/123456",
    });
    
    resources:
      export:
        type: azure-native:costmanagement:Export
        properties:
          definition:
            dataSet:
              configuration:
                columns:
                  - Date
                  - MeterId
                  - ResourceId
                  - ResourceLocation
                  - Quantity
              granularity: Daily
            timeframe: MonthToDate
            type: ActualCost
          deliveryInfo:
            destination:
              container: exports
              resourceId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182
              rootFolderPath: ad-hoc
          exportName: TestExport
          format: Csv
          schedule:
            recurrence: Weekly
            recurrencePeriod:
              from: 2020-06-01T00:00:00Z
              to: 2020-10-31T00:00:00Z
            status: Active
          scope: providers/Microsoft.Billing/billingAccounts/123456
    

    ExportCreateOrUpdateByDepartment

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var export = new AzureNative.CostManagement.Export("export", new()
        {
            Definition = new AzureNative.CostManagement.Inputs.ExportDefinitionArgs
            {
                DataSet = new AzureNative.CostManagement.Inputs.ExportDatasetArgs
                {
                    Configuration = new AzureNative.CostManagement.Inputs.ExportDatasetConfigurationArgs
                    {
                        Columns = new[]
                        {
                            "Date",
                            "MeterId",
                            "ResourceId",
                            "ResourceLocation",
                            "Quantity",
                        },
                    },
                    Granularity = "Daily",
                },
                Timeframe = "MonthToDate",
                Type = "ActualCost",
            },
            DeliveryInfo = new AzureNative.CostManagement.Inputs.ExportDeliveryInfoArgs
            {
                Destination = new AzureNative.CostManagement.Inputs.ExportDeliveryDestinationArgs
                {
                    Container = "exports",
                    ResourceId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
                    RootFolderPath = "ad-hoc",
                },
            },
            ExportName = "TestExport",
            Format = "Csv",
            Schedule = new AzureNative.CostManagement.Inputs.ExportScheduleArgs
            {
                Recurrence = "Weekly",
                RecurrencePeriod = new AzureNative.CostManagement.Inputs.ExportRecurrencePeriodArgs
                {
                    From = "2020-06-01T00:00:00Z",
                    To = "2020-10-31T00:00:00Z",
                },
                Status = "Active",
            },
            Scope = "providers/Microsoft.Billing/billingAccounts/12/departments/1234",
        });
    
    });
    

    Coming soon!

    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.costmanagement.Export;
    import com.pulumi.azurenative.costmanagement.ExportArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var export = new Export("export", ExportArgs.builder()        
                .definition(Map.ofEntries(
                    Map.entry("dataSet", Map.ofEntries(
                        Map.entry("configuration", Map.of("columns",                     
                            "Date",
                            "MeterId",
                            "ResourceId",
                            "ResourceLocation",
                            "Quantity")),
                        Map.entry("granularity", "Daily")
                    )),
                    Map.entry("timeframe", "MonthToDate"),
                    Map.entry("type", "ActualCost")
                ))
                .deliveryInfo(Map.of("destination", Map.ofEntries(
                    Map.entry("container", "exports"),
                    Map.entry("resourceId", "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182"),
                    Map.entry("rootFolderPath", "ad-hoc")
                )))
                .exportName("TestExport")
                .format("Csv")
                .schedule(Map.ofEntries(
                    Map.entry("recurrence", "Weekly"),
                    Map.entry("recurrencePeriod", Map.ofEntries(
                        Map.entry("from", "2020-06-01T00:00:00Z"),
                        Map.entry("to", "2020-10-31T00:00:00Z")
                    )),
                    Map.entry("status", "Active")
                ))
                .scope("providers/Microsoft.Billing/billingAccounts/12/departments/1234")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    export = azure_native.costmanagement.Export("export",
        definition=azure_native.costmanagement.ExportDefinitionResponseArgs(
            data_set={
                "configuration": azure_native.costmanagement.ExportDatasetConfigurationArgs(
                    columns=[
                        "Date",
                        "MeterId",
                        "ResourceId",
                        "ResourceLocation",
                        "Quantity",
                    ],
                ),
                "granularity": "Daily",
            },
            timeframe="MonthToDate",
            type="ActualCost",
        ),
        delivery_info=azure_native.costmanagement.ExportDeliveryInfoResponseArgs(
            destination=azure_native.costmanagement.ExportDeliveryDestinationArgs(
                container="exports",
                resource_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
                root_folder_path="ad-hoc",
            ),
        ),
        export_name="TestExport",
        format="Csv",
        schedule=azure_native.costmanagement.ExportScheduleResponseArgs(
            recurrence="Weekly",
            recurrence_period=azure_native.costmanagement.ExportRecurrencePeriodArgs(
                from_="2020-06-01T00:00:00Z",
                to="2020-10-31T00:00:00Z",
            ),
            status="Active",
        ),
        scope="providers/Microsoft.Billing/billingAccounts/12/departments/1234")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const _export = new azure_native.costmanagement.Export("export", {
        definition: {
            dataSet: {
                configuration: {
                    columns: [
                        "Date",
                        "MeterId",
                        "ResourceId",
                        "ResourceLocation",
                        "Quantity",
                    ],
                },
                granularity: "Daily",
            },
            timeframe: "MonthToDate",
            type: "ActualCost",
        },
        deliveryInfo: {
            destination: {
                container: "exports",
                resourceId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
                rootFolderPath: "ad-hoc",
            },
        },
        exportName: "TestExport",
        format: "Csv",
        schedule: {
            recurrence: "Weekly",
            recurrencePeriod: {
                from: "2020-06-01T00:00:00Z",
                to: "2020-10-31T00:00:00Z",
            },
            status: "Active",
        },
        scope: "providers/Microsoft.Billing/billingAccounts/12/departments/1234",
    });
    
    resources:
      export:
        type: azure-native:costmanagement:Export
        properties:
          definition:
            dataSet:
              configuration:
                columns:
                  - Date
                  - MeterId
                  - ResourceId
                  - ResourceLocation
                  - Quantity
              granularity: Daily
            timeframe: MonthToDate
            type: ActualCost
          deliveryInfo:
            destination:
              container: exports
              resourceId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182
              rootFolderPath: ad-hoc
          exportName: TestExport
          format: Csv
          schedule:
            recurrence: Weekly
            recurrencePeriod:
              from: 2020-06-01T00:00:00Z
              to: 2020-10-31T00:00:00Z
            status: Active
          scope: providers/Microsoft.Billing/billingAccounts/12/departments/1234
    

    ExportCreateOrUpdateByEnrollmentAccount

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var export = new AzureNative.CostManagement.Export("export", new()
        {
            Definition = new AzureNative.CostManagement.Inputs.ExportDefinitionArgs
            {
                DataSet = new AzureNative.CostManagement.Inputs.ExportDatasetArgs
                {
                    Configuration = new AzureNative.CostManagement.Inputs.ExportDatasetConfigurationArgs
                    {
                        Columns = new[]
                        {
                            "Date",
                            "MeterId",
                            "ResourceId",
                            "ResourceLocation",
                            "Quantity",
                        },
                    },
                    Granularity = "Daily",
                },
                Timeframe = "MonthToDate",
                Type = "ActualCost",
            },
            DeliveryInfo = new AzureNative.CostManagement.Inputs.ExportDeliveryInfoArgs
            {
                Destination = new AzureNative.CostManagement.Inputs.ExportDeliveryDestinationArgs
                {
                    Container = "exports",
                    ResourceId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
                    RootFolderPath = "ad-hoc",
                },
            },
            ExportName = "TestExport",
            Format = "Csv",
            Schedule = new AzureNative.CostManagement.Inputs.ExportScheduleArgs
            {
                Recurrence = "Weekly",
                RecurrencePeriod = new AzureNative.CostManagement.Inputs.ExportRecurrencePeriodArgs
                {
                    From = "2020-06-01T00:00:00Z",
                    To = "2020-10-31T00:00:00Z",
                },
                Status = "Active",
            },
            Scope = "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456",
        });
    
    });
    

    Coming soon!

    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.costmanagement.Export;
    import com.pulumi.azurenative.costmanagement.ExportArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var export = new Export("export", ExportArgs.builder()        
                .definition(Map.ofEntries(
                    Map.entry("dataSet", Map.ofEntries(
                        Map.entry("configuration", Map.of("columns",                     
                            "Date",
                            "MeterId",
                            "ResourceId",
                            "ResourceLocation",
                            "Quantity")),
                        Map.entry("granularity", "Daily")
                    )),
                    Map.entry("timeframe", "MonthToDate"),
                    Map.entry("type", "ActualCost")
                ))
                .deliveryInfo(Map.of("destination", Map.ofEntries(
                    Map.entry("container", "exports"),
                    Map.entry("resourceId", "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182"),
                    Map.entry("rootFolderPath", "ad-hoc")
                )))
                .exportName("TestExport")
                .format("Csv")
                .schedule(Map.ofEntries(
                    Map.entry("recurrence", "Weekly"),
                    Map.entry("recurrencePeriod", Map.ofEntries(
                        Map.entry("from", "2020-06-01T00:00:00Z"),
                        Map.entry("to", "2020-10-31T00:00:00Z")
                    )),
                    Map.entry("status", "Active")
                ))
                .scope("providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    export = azure_native.costmanagement.Export("export",
        definition=azure_native.costmanagement.ExportDefinitionResponseArgs(
            data_set={
                "configuration": azure_native.costmanagement.ExportDatasetConfigurationArgs(
                    columns=[
                        "Date",
                        "MeterId",
                        "ResourceId",
                        "ResourceLocation",
                        "Quantity",
                    ],
                ),
                "granularity": "Daily",
            },
            timeframe="MonthToDate",
            type="ActualCost",
        ),
        delivery_info=azure_native.costmanagement.ExportDeliveryInfoResponseArgs(
            destination=azure_native.costmanagement.ExportDeliveryDestinationArgs(
                container="exports",
                resource_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
                root_folder_path="ad-hoc",
            ),
        ),
        export_name="TestExport",
        format="Csv",
        schedule=azure_native.costmanagement.ExportScheduleResponseArgs(
            recurrence="Weekly",
            recurrence_period=azure_native.costmanagement.ExportRecurrencePeriodArgs(
                from_="2020-06-01T00:00:00Z",
                to="2020-10-31T00:00:00Z",
            ),
            status="Active",
        ),
        scope="providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const _export = new azure_native.costmanagement.Export("export", {
        definition: {
            dataSet: {
                configuration: {
                    columns: [
                        "Date",
                        "MeterId",
                        "ResourceId",
                        "ResourceLocation",
                        "Quantity",
                    ],
                },
                granularity: "Daily",
            },
            timeframe: "MonthToDate",
            type: "ActualCost",
        },
        deliveryInfo: {
            destination: {
                container: "exports",
                resourceId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
                rootFolderPath: "ad-hoc",
            },
        },
        exportName: "TestExport",
        format: "Csv",
        schedule: {
            recurrence: "Weekly",
            recurrencePeriod: {
                from: "2020-06-01T00:00:00Z",
                to: "2020-10-31T00:00:00Z",
            },
            status: "Active",
        },
        scope: "providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456",
    });
    
    resources:
      export:
        type: azure-native:costmanagement:Export
        properties:
          definition:
            dataSet:
              configuration:
                columns:
                  - Date
                  - MeterId
                  - ResourceId
                  - ResourceLocation
                  - Quantity
              granularity: Daily
            timeframe: MonthToDate
            type: ActualCost
          deliveryInfo:
            destination:
              container: exports
              resourceId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182
              rootFolderPath: ad-hoc
          exportName: TestExport
          format: Csv
          schedule:
            recurrence: Weekly
            recurrencePeriod:
              from: 2020-06-01T00:00:00Z
              to: 2020-10-31T00:00:00Z
            status: Active
          scope: providers/Microsoft.Billing/billingAccounts/100/enrollmentAccounts/456
    

    ExportCreateOrUpdateByManagementGroup

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var export = new AzureNative.CostManagement.Export("export", new()
        {
            Definition = new AzureNative.CostManagement.Inputs.ExportDefinitionArgs
            {
                DataSet = new AzureNative.CostManagement.Inputs.ExportDatasetArgs
                {
                    Configuration = new AzureNative.CostManagement.Inputs.ExportDatasetConfigurationArgs
                    {
                        Columns = new[]
                        {
                            "Date",
                            "MeterId",
                            "ResourceId",
                            "ResourceLocation",
                            "Quantity",
                        },
                    },
                    Granularity = "Daily",
                },
                Timeframe = "MonthToDate",
                Type = "ActualCost",
            },
            DeliveryInfo = new AzureNative.CostManagement.Inputs.ExportDeliveryInfoArgs
            {
                Destination = new AzureNative.CostManagement.Inputs.ExportDeliveryDestinationArgs
                {
                    Container = "exports",
                    ResourceId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
                    RootFolderPath = "ad-hoc",
                },
            },
            ExportName = "TestExport",
            Format = "Csv",
            Schedule = new AzureNative.CostManagement.Inputs.ExportScheduleArgs
            {
                Recurrence = "Weekly",
                RecurrencePeriod = new AzureNative.CostManagement.Inputs.ExportRecurrencePeriodArgs
                {
                    From = "2020-06-01T00:00:00Z",
                    To = "2020-10-31T00:00:00Z",
                },
                Status = "Active",
            },
            Scope = "providers/Microsoft.Management/managementGroups/TestMG",
        });
    
    });
    

    Coming soon!

    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.costmanagement.Export;
    import com.pulumi.azurenative.costmanagement.ExportArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var export = new Export("export", ExportArgs.builder()        
                .definition(Map.ofEntries(
                    Map.entry("dataSet", Map.ofEntries(
                        Map.entry("configuration", Map.of("columns",                     
                            "Date",
                            "MeterId",
                            "ResourceId",
                            "ResourceLocation",
                            "Quantity")),
                        Map.entry("granularity", "Daily")
                    )),
                    Map.entry("timeframe", "MonthToDate"),
                    Map.entry("type", "ActualCost")
                ))
                .deliveryInfo(Map.of("destination", Map.ofEntries(
                    Map.entry("container", "exports"),
                    Map.entry("resourceId", "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182"),
                    Map.entry("rootFolderPath", "ad-hoc")
                )))
                .exportName("TestExport")
                .format("Csv")
                .schedule(Map.ofEntries(
                    Map.entry("recurrence", "Weekly"),
                    Map.entry("recurrencePeriod", Map.ofEntries(
                        Map.entry("from", "2020-06-01T00:00:00Z"),
                        Map.entry("to", "2020-10-31T00:00:00Z")
                    )),
                    Map.entry("status", "Active")
                ))
                .scope("providers/Microsoft.Management/managementGroups/TestMG")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    export = azure_native.costmanagement.Export("export",
        definition=azure_native.costmanagement.ExportDefinitionResponseArgs(
            data_set={
                "configuration": azure_native.costmanagement.ExportDatasetConfigurationArgs(
                    columns=[
                        "Date",
                        "MeterId",
                        "ResourceId",
                        "ResourceLocation",
                        "Quantity",
                    ],
                ),
                "granularity": "Daily",
            },
            timeframe="MonthToDate",
            type="ActualCost",
        ),
        delivery_info=azure_native.costmanagement.ExportDeliveryInfoResponseArgs(
            destination=azure_native.costmanagement.ExportDeliveryDestinationArgs(
                container="exports",
                resource_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
                root_folder_path="ad-hoc",
            ),
        ),
        export_name="TestExport",
        format="Csv",
        schedule=azure_native.costmanagement.ExportScheduleResponseArgs(
            recurrence="Weekly",
            recurrence_period=azure_native.costmanagement.ExportRecurrencePeriodArgs(
                from_="2020-06-01T00:00:00Z",
                to="2020-10-31T00:00:00Z",
            ),
            status="Active",
        ),
        scope="providers/Microsoft.Management/managementGroups/TestMG")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const _export = new azure_native.costmanagement.Export("export", {
        definition: {
            dataSet: {
                configuration: {
                    columns: [
                        "Date",
                        "MeterId",
                        "ResourceId",
                        "ResourceLocation",
                        "Quantity",
                    ],
                },
                granularity: "Daily",
            },
            timeframe: "MonthToDate",
            type: "ActualCost",
        },
        deliveryInfo: {
            destination: {
                container: "exports",
                resourceId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
                rootFolderPath: "ad-hoc",
            },
        },
        exportName: "TestExport",
        format: "Csv",
        schedule: {
            recurrence: "Weekly",
            recurrencePeriod: {
                from: "2020-06-01T00:00:00Z",
                to: "2020-10-31T00:00:00Z",
            },
            status: "Active",
        },
        scope: "providers/Microsoft.Management/managementGroups/TestMG",
    });
    
    resources:
      export:
        type: azure-native:costmanagement:Export
        properties:
          definition:
            dataSet:
              configuration:
                columns:
                  - Date
                  - MeterId
                  - ResourceId
                  - ResourceLocation
                  - Quantity
              granularity: Daily
            timeframe: MonthToDate
            type: ActualCost
          deliveryInfo:
            destination:
              container: exports
              resourceId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182
              rootFolderPath: ad-hoc
          exportName: TestExport
          format: Csv
          schedule:
            recurrence: Weekly
            recurrencePeriod:
              from: 2020-06-01T00:00:00Z
              to: 2020-10-31T00:00:00Z
            status: Active
          scope: providers/Microsoft.Management/managementGroups/TestMG
    

    ExportCreateOrUpdateByResourceGroup

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var export = new AzureNative.CostManagement.Export("export", new()
        {
            Definition = new AzureNative.CostManagement.Inputs.ExportDefinitionArgs
            {
                DataSet = new AzureNative.CostManagement.Inputs.ExportDatasetArgs
                {
                    Configuration = new AzureNative.CostManagement.Inputs.ExportDatasetConfigurationArgs
                    {
                        Columns = new[]
                        {
                            "Date",
                            "MeterId",
                            "ResourceId",
                            "ResourceLocation",
                            "Quantity",
                        },
                    },
                    Granularity = "Daily",
                },
                Timeframe = "MonthToDate",
                Type = "ActualCost",
            },
            DeliveryInfo = new AzureNative.CostManagement.Inputs.ExportDeliveryInfoArgs
            {
                Destination = new AzureNative.CostManagement.Inputs.ExportDeliveryDestinationArgs
                {
                    Container = "exports",
                    ResourceId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
                    RootFolderPath = "ad-hoc",
                },
            },
            ExportName = "TestExport",
            Format = "Csv",
            Schedule = new AzureNative.CostManagement.Inputs.ExportScheduleArgs
            {
                Recurrence = "Weekly",
                RecurrencePeriod = new AzureNative.CostManagement.Inputs.ExportRecurrencePeriodArgs
                {
                    From = "2020-06-01T00:00:00Z",
                    To = "2020-10-31T00:00:00Z",
                },
                Status = "Active",
            },
            Scope = "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG",
        });
    
    });
    

    Coming soon!

    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.costmanagement.Export;
    import com.pulumi.azurenative.costmanagement.ExportArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var export = new Export("export", ExportArgs.builder()        
                .definition(Map.ofEntries(
                    Map.entry("dataSet", Map.ofEntries(
                        Map.entry("configuration", Map.of("columns",                     
                            "Date",
                            "MeterId",
                            "ResourceId",
                            "ResourceLocation",
                            "Quantity")),
                        Map.entry("granularity", "Daily")
                    )),
                    Map.entry("timeframe", "MonthToDate"),
                    Map.entry("type", "ActualCost")
                ))
                .deliveryInfo(Map.of("destination", Map.ofEntries(
                    Map.entry("container", "exports"),
                    Map.entry("resourceId", "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182"),
                    Map.entry("rootFolderPath", "ad-hoc")
                )))
                .exportName("TestExport")
                .format("Csv")
                .schedule(Map.ofEntries(
                    Map.entry("recurrence", "Weekly"),
                    Map.entry("recurrencePeriod", Map.ofEntries(
                        Map.entry("from", "2020-06-01T00:00:00Z"),
                        Map.entry("to", "2020-10-31T00:00:00Z")
                    )),
                    Map.entry("status", "Active")
                ))
                .scope("subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    export = azure_native.costmanagement.Export("export",
        definition=azure_native.costmanagement.ExportDefinitionResponseArgs(
            data_set={
                "configuration": azure_native.costmanagement.ExportDatasetConfigurationArgs(
                    columns=[
                        "Date",
                        "MeterId",
                        "ResourceId",
                        "ResourceLocation",
                        "Quantity",
                    ],
                ),
                "granularity": "Daily",
            },
            timeframe="MonthToDate",
            type="ActualCost",
        ),
        delivery_info=azure_native.costmanagement.ExportDeliveryInfoResponseArgs(
            destination=azure_native.costmanagement.ExportDeliveryDestinationArgs(
                container="exports",
                resource_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
                root_folder_path="ad-hoc",
            ),
        ),
        export_name="TestExport",
        format="Csv",
        schedule=azure_native.costmanagement.ExportScheduleResponseArgs(
            recurrence="Weekly",
            recurrence_period=azure_native.costmanagement.ExportRecurrencePeriodArgs(
                from_="2020-06-01T00:00:00Z",
                to="2020-10-31T00:00:00Z",
            ),
            status="Active",
        ),
        scope="subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const _export = new azure_native.costmanagement.Export("export", {
        definition: {
            dataSet: {
                configuration: {
                    columns: [
                        "Date",
                        "MeterId",
                        "ResourceId",
                        "ResourceLocation",
                        "Quantity",
                    ],
                },
                granularity: "Daily",
            },
            timeframe: "MonthToDate",
            type: "ActualCost",
        },
        deliveryInfo: {
            destination: {
                container: "exports",
                resourceId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
                rootFolderPath: "ad-hoc",
            },
        },
        exportName: "TestExport",
        format: "Csv",
        schedule: {
            recurrence: "Weekly",
            recurrencePeriod: {
                from: "2020-06-01T00:00:00Z",
                to: "2020-10-31T00:00:00Z",
            },
            status: "Active",
        },
        scope: "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG",
    });
    
    resources:
      export:
        type: azure-native:costmanagement:Export
        properties:
          definition:
            dataSet:
              configuration:
                columns:
                  - Date
                  - MeterId
                  - ResourceId
                  - ResourceLocation
                  - Quantity
              granularity: Daily
            timeframe: MonthToDate
            type: ActualCost
          deliveryInfo:
            destination:
              container: exports
              resourceId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182
              rootFolderPath: ad-hoc
          exportName: TestExport
          format: Csv
          schedule:
            recurrence: Weekly
            recurrencePeriod:
              from: 2020-06-01T00:00:00Z
              to: 2020-10-31T00:00:00Z
            status: Active
          scope: subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG
    

    ExportCreateOrUpdateBySubscription

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var export = new AzureNative.CostManagement.Export("export", new()
        {
            Definition = new AzureNative.CostManagement.Inputs.ExportDefinitionArgs
            {
                DataSet = new AzureNative.CostManagement.Inputs.ExportDatasetArgs
                {
                    Configuration = new AzureNative.CostManagement.Inputs.ExportDatasetConfigurationArgs
                    {
                        Columns = new[]
                        {
                            "Date",
                            "MeterId",
                            "ResourceId",
                            "ResourceLocation",
                            "Quantity",
                        },
                    },
                    Granularity = "Daily",
                },
                Timeframe = "MonthToDate",
                Type = "ActualCost",
            },
            DeliveryInfo = new AzureNative.CostManagement.Inputs.ExportDeliveryInfoArgs
            {
                Destination = new AzureNative.CostManagement.Inputs.ExportDeliveryDestinationArgs
                {
                    Container = "exports",
                    ResourceId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
                    RootFolderPath = "ad-hoc",
                },
            },
            ExportName = "TestExport",
            Format = "Csv",
            Schedule = new AzureNative.CostManagement.Inputs.ExportScheduleArgs
            {
                Recurrence = "Weekly",
                RecurrencePeriod = new AzureNative.CostManagement.Inputs.ExportRecurrencePeriodArgs
                {
                    From = "2020-06-01T00:00:00Z",
                    To = "2020-10-31T00:00:00Z",
                },
                Status = "Active",
            },
            Scope = "subscriptions/00000000-0000-0000-0000-000000000000",
        });
    
    });
    

    Coming soon!

    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.costmanagement.Export;
    import com.pulumi.azurenative.costmanagement.ExportArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var export = new Export("export", ExportArgs.builder()        
                .definition(Map.ofEntries(
                    Map.entry("dataSet", Map.ofEntries(
                        Map.entry("configuration", Map.of("columns",                     
                            "Date",
                            "MeterId",
                            "ResourceId",
                            "ResourceLocation",
                            "Quantity")),
                        Map.entry("granularity", "Daily")
                    )),
                    Map.entry("timeframe", "MonthToDate"),
                    Map.entry("type", "ActualCost")
                ))
                .deliveryInfo(Map.of("destination", Map.ofEntries(
                    Map.entry("container", "exports"),
                    Map.entry("resourceId", "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182"),
                    Map.entry("rootFolderPath", "ad-hoc")
                )))
                .exportName("TestExport")
                .format("Csv")
                .schedule(Map.ofEntries(
                    Map.entry("recurrence", "Weekly"),
                    Map.entry("recurrencePeriod", Map.ofEntries(
                        Map.entry("from", "2020-06-01T00:00:00Z"),
                        Map.entry("to", "2020-10-31T00:00:00Z")
                    )),
                    Map.entry("status", "Active")
                ))
                .scope("subscriptions/00000000-0000-0000-0000-000000000000")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    export = azure_native.costmanagement.Export("export",
        definition=azure_native.costmanagement.ExportDefinitionResponseArgs(
            data_set={
                "configuration": azure_native.costmanagement.ExportDatasetConfigurationArgs(
                    columns=[
                        "Date",
                        "MeterId",
                        "ResourceId",
                        "ResourceLocation",
                        "Quantity",
                    ],
                ),
                "granularity": "Daily",
            },
            timeframe="MonthToDate",
            type="ActualCost",
        ),
        delivery_info=azure_native.costmanagement.ExportDeliveryInfoResponseArgs(
            destination=azure_native.costmanagement.ExportDeliveryDestinationArgs(
                container="exports",
                resource_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
                root_folder_path="ad-hoc",
            ),
        ),
        export_name="TestExport",
        format="Csv",
        schedule=azure_native.costmanagement.ExportScheduleResponseArgs(
            recurrence="Weekly",
            recurrence_period=azure_native.costmanagement.ExportRecurrencePeriodArgs(
                from_="2020-06-01T00:00:00Z",
                to="2020-10-31T00:00:00Z",
            ),
            status="Active",
        ),
        scope="subscriptions/00000000-0000-0000-0000-000000000000")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const _export = new azure_native.costmanagement.Export("export", {
        definition: {
            dataSet: {
                configuration: {
                    columns: [
                        "Date",
                        "MeterId",
                        "ResourceId",
                        "ResourceLocation",
                        "Quantity",
                    ],
                },
                granularity: "Daily",
            },
            timeframe: "MonthToDate",
            type: "ActualCost",
        },
        deliveryInfo: {
            destination: {
                container: "exports",
                resourceId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182",
                rootFolderPath: "ad-hoc",
            },
        },
        exportName: "TestExport",
        format: "Csv",
        schedule: {
            recurrence: "Weekly",
            recurrencePeriod: {
                from: "2020-06-01T00:00:00Z",
                to: "2020-10-31T00:00:00Z",
            },
            status: "Active",
        },
        scope: "subscriptions/00000000-0000-0000-0000-000000000000",
    });
    
    resources:
      export:
        type: azure-native:costmanagement:Export
        properties:
          definition:
            dataSet:
              configuration:
                columns:
                  - Date
                  - MeterId
                  - ResourceId
                  - ResourceLocation
                  - Quantity
              granularity: Daily
            timeframe: MonthToDate
            type: ActualCost
          deliveryInfo:
            destination:
              container: exports
              resourceId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MYDEVTESTRG/providers/Microsoft.Storage/storageAccounts/ccmeastusdiag182
              rootFolderPath: ad-hoc
          exportName: TestExport
          format: Csv
          schedule:
            recurrence: Weekly
            recurrencePeriod:
              from: 2020-06-01T00:00:00Z
              to: 2020-10-31T00:00:00Z
            status: Active
          scope: subscriptions/00000000-0000-0000-0000-000000000000
    

    Create Export Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Export(name: string, args: ExportArgs, opts?: CustomResourceOptions);
    @overload
    def Export(resource_name: str,
               args: ExportArgs,
               opts: Optional[ResourceOptions] = None)
    
    @overload
    def Export(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               definition: Optional[ExportDefinitionArgs] = None,
               delivery_info: Optional[ExportDeliveryInfoArgs] = None,
               scope: Optional[str] = None,
               e_tag: Optional[str] = None,
               export_name: Optional[str] = None,
               format: Optional[Union[str, FormatType]] = None,
               schedule: Optional[ExportScheduleArgs] = None)
    func NewExport(ctx *Context, name string, args ExportArgs, opts ...ResourceOption) (*Export, error)
    public Export(string name, ExportArgs args, CustomResourceOptions? opts = null)
    public Export(String name, ExportArgs args)
    public Export(String name, ExportArgs args, CustomResourceOptions options)
    
    type: azure-native:costmanagement:Export
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ExportArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ExportArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ExportArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ExportArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ExportArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var exportResource = new AzureNative.Costmanagement.Export("exportResource", new()
    {
        Definition = 
        {
            { "timeframe", "string" },
            { "type", "string" },
            { "dataSet", 
            {
                { "configuration", 
                {
                    { "columns", new[]
                    {
                        "string",
                    } },
                } },
                { "granularity", "string" },
            } },
            { "timePeriod", 
            {
                { "from", "string" },
                { "to", "string" },
            } },
        },
        DeliveryInfo = 
        {
            { "destination", 
            {
                { "container", "string" },
                { "resourceId", "string" },
                { "rootFolderPath", "string" },
            } },
        },
        Scope = "string",
        ETag = "string",
        ExportName = "string",
        Format = "string",
        Schedule = 
        {
            { "recurrence", "string" },
            { "recurrencePeriod", 
            {
                { "from", "string" },
                { "to", "string" },
            } },
            { "status", "string" },
        },
    });
    
    example, err := costmanagement.NewExport(ctx, "exportResource", &costmanagement.ExportArgs{
    	Definition: map[string]interface{}{
    		"timeframe": "string",
    		"type":      "string",
    		"dataSet": map[string]interface{}{
    			"configuration": map[string]interface{}{
    				"columns": []string{
    					"string",
    				},
    			},
    			"granularity": "string",
    		},
    		"timePeriod": map[string]interface{}{
    			"from": "string",
    			"to":   "string",
    		},
    	},
    	DeliveryInfo: map[string]interface{}{
    		"destination": map[string]interface{}{
    			"container":      "string",
    			"resourceId":     "string",
    			"rootFolderPath": "string",
    		},
    	},
    	Scope:      "string",
    	ETag:       "string",
    	ExportName: "string",
    	Format:     "string",
    	Schedule: map[string]interface{}{
    		"recurrence": "string",
    		"recurrencePeriod": map[string]interface{}{
    			"from": "string",
    			"to":   "string",
    		},
    		"status": "string",
    	},
    })
    
    var exportResource = new Export("exportResource", ExportArgs.builder()
        .definition(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .deliveryInfo(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .scope("string")
        .eTag("string")
        .exportName("string")
        .format("string")
        .schedule(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .build());
    
    export_resource = azure_native.costmanagement.Export("exportResource",
        definition={
            timeframe: string,
            type: string,
            dataSet: {
                configuration: {
                    columns: [string],
                },
                granularity: string,
            },
            timePeriod: {
                from: string,
                to: string,
            },
        },
        delivery_info={
            destination: {
                container: string,
                resourceId: string,
                rootFolderPath: string,
            },
        },
        scope=string,
        e_tag=string,
        export_name=string,
        format=string,
        schedule={
            recurrence: string,
            recurrencePeriod: {
                from: string,
                to: string,
            },
            status: string,
        })
    
    const exportResource = new azure_native.costmanagement.Export("exportResource", {
        definition: {
            timeframe: "string",
            type: "string",
            dataSet: {
                configuration: {
                    columns: ["string"],
                },
                granularity: "string",
            },
            timePeriod: {
                from: "string",
                to: "string",
            },
        },
        deliveryInfo: {
            destination: {
                container: "string",
                resourceId: "string",
                rootFolderPath: "string",
            },
        },
        scope: "string",
        eTag: "string",
        exportName: "string",
        format: "string",
        schedule: {
            recurrence: "string",
            recurrencePeriod: {
                from: "string",
                to: "string",
            },
            status: "string",
        },
    });
    
    type: azure-native:costmanagement:Export
    properties:
        definition:
            dataSet:
                configuration:
                    columns:
                        - string
                granularity: string
            timePeriod:
                from: string
                to: string
            timeframe: string
            type: string
        deliveryInfo:
            destination:
                container: string
                resourceId: string
                rootFolderPath: string
        eTag: string
        exportName: string
        format: string
        schedule:
            recurrence: string
            recurrencePeriod:
                from: string
                to: string
            status: string
        scope: string
    

    Export Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Export resource accepts the following input properties:

    Definition Pulumi.AzureNative.CostManagement.Inputs.ExportDefinition
    Has the definition for the export.
    DeliveryInfo Pulumi.AzureNative.CostManagement.Inputs.ExportDeliveryInfo
    Has delivery information for the export.
    Scope string
    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.
    ETag 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.
    ExportName string
    Export Name.
    Format string | Pulumi.AzureNative.CostManagement.FormatType
    The format of the export being delivered. Currently only 'Csv' is supported.
    Schedule Pulumi.AzureNative.CostManagement.Inputs.ExportSchedule
    Has schedule information for the export.
    Definition ExportDefinitionArgs
    Has the definition for the export.
    DeliveryInfo ExportDeliveryInfoArgs
    Has delivery information for the export.
    Scope string
    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.
    ETag 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.
    ExportName string
    Export Name.
    Format string | FormatType
    The format of the export being delivered. Currently only 'Csv' is supported.
    Schedule ExportScheduleArgs
    Has schedule information for the export.
    definition ExportDefinition
    Has the definition for the export.
    deliveryInfo ExportDeliveryInfo
    Has delivery information for the export.
    scope String
    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.
    eTag 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.
    exportName String
    Export Name.
    format String | FormatType
    The format of the export being delivered. Currently only 'Csv' is supported.
    schedule ExportSchedule
    Has schedule information for the export.
    definition ExportDefinition
    Has the definition for the export.
    deliveryInfo ExportDeliveryInfo
    Has delivery information for the export.
    scope string
    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.
    eTag 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.
    exportName string
    Export Name.
    format string | FormatType
    The format of the export being delivered. Currently only 'Csv' is supported.
    schedule ExportSchedule
    Has schedule information for the export.
    definition ExportDefinitionArgs
    Has the definition for the export.
    delivery_info ExportDeliveryInfoArgs
    Has delivery information for the export.
    scope str
    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.
    e_tag str
    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.
    export_name str
    Export Name.
    format str | FormatType
    The format of the export being delivered. Currently only 'Csv' is supported.
    schedule ExportScheduleArgs
    Has schedule information for the export.
    definition Property Map
    Has the definition for the export.
    deliveryInfo Property Map
    Has delivery information for the export.
    scope String
    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.
    eTag 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.
    exportName String
    Export Name.
    format String | "Csv"
    The format of the export being delivered. Currently only 'Csv' is supported.
    schedule Property Map
    Has schedule information for the export.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Export resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Resource name.
    NextRunTimeEstimate string
    If the export has an active schedule, provides an estimate of the next execution time.
    Type string
    Resource type.
    RunHistory Pulumi.AzureNative.CostManagement.Outputs.ExportExecutionListResultResponse
    If requested, has the most recent execution history for the export.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Resource name.
    NextRunTimeEstimate string
    If the export has an active schedule, provides an estimate of the next execution time.
    Type string
    Resource type.
    RunHistory ExportExecutionListResultResponse
    If requested, has the most recent execution history for the export.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Resource name.
    nextRunTimeEstimate String
    If the export has an active schedule, provides an estimate of the next execution time.
    type String
    Resource type.
    runHistory ExportExecutionListResultResponse
    If requested, has the most recent execution history for the export.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Resource name.
    nextRunTimeEstimate string
    If the export has an active schedule, provides an estimate of the next execution time.
    type string
    Resource type.
    runHistory ExportExecutionListResultResponse
    If requested, has the most recent execution history for the export.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Resource name.
    next_run_time_estimate str
    If the export has an active schedule, provides an estimate of the next execution time.
    type str
    Resource type.
    run_history ExportExecutionListResultResponse
    If requested, has the most recent execution history for the export.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Resource name.
    nextRunTimeEstimate String
    If the export has an active schedule, provides an estimate of the next execution time.
    type String
    Resource type.
    runHistory Property Map
    If requested, has the most recent execution history for the export.

    Supporting Types

    CommonExportPropertiesResponse, CommonExportPropertiesResponseArgs

    Definition Pulumi.AzureNative.CostManagement.Inputs.ExportDefinitionResponse
    Has the definition for the export.
    DeliveryInfo Pulumi.AzureNative.CostManagement.Inputs.ExportDeliveryInfoResponse
    Has delivery information for the export.
    NextRunTimeEstimate string
    If the export has an active schedule, provides an estimate of the next execution time.
    Format string
    The format of the export being delivered. Currently only 'Csv' is supported.
    RunHistory Pulumi.AzureNative.CostManagement.Inputs.ExportExecutionListResultResponse
    If requested, has the most recent execution history for the export.
    Definition ExportDefinitionResponse
    Has the definition for the export.
    DeliveryInfo ExportDeliveryInfoResponse
    Has delivery information for the export.
    NextRunTimeEstimate string
    If the export has an active schedule, provides an estimate of the next execution time.
    Format string
    The format of the export being delivered. Currently only 'Csv' is supported.
    RunHistory ExportExecutionListResultResponse
    If requested, has the most recent execution history for the export.
    definition ExportDefinitionResponse
    Has the definition for the export.
    deliveryInfo ExportDeliveryInfoResponse
    Has delivery information for the export.
    nextRunTimeEstimate String
    If the export has an active schedule, provides an estimate of the next execution time.
    format String
    The format of the export being delivered. Currently only 'Csv' is supported.
    runHistory ExportExecutionListResultResponse
    If requested, has the most recent execution history for the export.
    definition ExportDefinitionResponse
    Has the definition for the export.
    deliveryInfo ExportDeliveryInfoResponse
    Has delivery information for the export.
    nextRunTimeEstimate string
    If the export has an active schedule, provides an estimate of the next execution time.
    format string
    The format of the export being delivered. Currently only 'Csv' is supported.
    runHistory ExportExecutionListResultResponse
    If requested, has the most recent execution history for the export.
    definition ExportDefinitionResponse
    Has the definition for the export.
    delivery_info ExportDeliveryInfoResponse
    Has delivery information for the export.
    next_run_time_estimate str
    If the export has an active schedule, provides an estimate of the next execution time.
    format str
    The format of the export being delivered. Currently only 'Csv' is supported.
    run_history ExportExecutionListResultResponse
    If requested, has the most recent execution history for the export.
    definition Property Map
    Has the definition for the export.
    deliveryInfo Property Map
    Has delivery information for the export.
    nextRunTimeEstimate String
    If the export has an active schedule, provides an estimate of the next execution time.
    format String
    The format of the export being delivered. Currently only 'Csv' is supported.
    runHistory Property Map
    If requested, has the most recent execution history for the export.

    ErrorDetailsResponse, ErrorDetailsResponseArgs

    Code string
    Error code.
    Message string
    Error message indicating why the operation failed.
    Code string
    Error code.
    Message string
    Error message indicating why the operation failed.
    code String
    Error code.
    message String
    Error message indicating why the operation failed.
    code string
    Error code.
    message string
    Error message indicating why the operation failed.
    code str
    Error code.
    message str
    Error message indicating why the operation failed.
    code String
    Error code.
    message String
    Error message indicating why the operation failed.

    ExportDataset, ExportDatasetArgs

    Configuration Pulumi.AzureNative.CostManagement.Inputs.ExportDatasetConfiguration
    The export dataset configuration.
    Granularity string | Pulumi.AzureNative.CostManagement.GranularityType
    The granularity of rows in the export. Currently only 'Daily' is supported.
    Configuration ExportDatasetConfiguration
    The export dataset configuration.
    Granularity string | GranularityType
    The granularity of rows in the export. Currently only 'Daily' is supported.
    configuration ExportDatasetConfiguration
    The export dataset configuration.
    granularity String | GranularityType
    The granularity of rows in the export. Currently only 'Daily' is supported.
    configuration ExportDatasetConfiguration
    The export dataset configuration.
    granularity string | GranularityType
    The granularity of rows in the export. Currently only 'Daily' is supported.
    configuration ExportDatasetConfiguration
    The export dataset configuration.
    granularity str | GranularityType
    The granularity of rows in the export. Currently only 'Daily' is supported.
    configuration Property Map
    The export dataset configuration.
    granularity String | "Daily" | "Hourly"
    The granularity of rows in the export. Currently only 'Daily' is supported.

    ExportDatasetConfiguration, ExportDatasetConfigurationArgs

    Columns List<string>
    Array of column names to be included in the export. If not provided then the export will include all available columns. The available columns can vary by customer channel (see examples).
    Columns []string
    Array of column names to be included in the export. If not provided then the export will include all available columns. The available columns can vary by customer channel (see examples).
    columns List<String>
    Array of column names to be included in the export. If not provided then the export will include all available columns. The available columns can vary by customer channel (see examples).
    columns string[]
    Array of column names to be included in the export. If not provided then the export will include all available columns. The available columns can vary by customer channel (see examples).
    columns Sequence[str]
    Array of column names to be included in the export. If not provided then the export will include all available columns. The available columns can vary by customer channel (see examples).
    columns List<String>
    Array of column names to be included in the export. If not provided then the export will include all available columns. The available columns can vary by customer channel (see examples).

    ExportDatasetConfigurationResponse, ExportDatasetConfigurationResponseArgs

    Columns List<string>
    Array of column names to be included in the export. If not provided then the export will include all available columns. The available columns can vary by customer channel (see examples).
    Columns []string
    Array of column names to be included in the export. If not provided then the export will include all available columns. The available columns can vary by customer channel (see examples).
    columns List<String>
    Array of column names to be included in the export. If not provided then the export will include all available columns. The available columns can vary by customer channel (see examples).
    columns string[]
    Array of column names to be included in the export. If not provided then the export will include all available columns. The available columns can vary by customer channel (see examples).
    columns Sequence[str]
    Array of column names to be included in the export. If not provided then the export will include all available columns. The available columns can vary by customer channel (see examples).
    columns List<String>
    Array of column names to be included in the export. If not provided then the export will include all available columns. The available columns can vary by customer channel (see examples).

    ExportDatasetResponse, ExportDatasetResponseArgs

    Configuration Pulumi.AzureNative.CostManagement.Inputs.ExportDatasetConfigurationResponse
    The export dataset configuration.
    Granularity string
    The granularity of rows in the export. Currently only 'Daily' is supported.
    Configuration ExportDatasetConfigurationResponse
    The export dataset configuration.
    Granularity string
    The granularity of rows in the export. Currently only 'Daily' is supported.
    configuration ExportDatasetConfigurationResponse
    The export dataset configuration.
    granularity String
    The granularity of rows in the export. Currently only 'Daily' is supported.
    configuration ExportDatasetConfigurationResponse
    The export dataset configuration.
    granularity string
    The granularity of rows in the export. Currently only 'Daily' is supported.
    configuration ExportDatasetConfigurationResponse
    The export dataset configuration.
    granularity str
    The granularity of rows in the export. Currently only 'Daily' is supported.
    configuration Property Map
    The export dataset configuration.
    granularity String
    The granularity of rows in the export. Currently only 'Daily' is supported.

    ExportDefinition, ExportDefinitionArgs

    Timeframe string | Pulumi.AzureNative.CostManagement.TimeframeType
    The time frame for pulling data for the export. If custom, then a specific time period must be provided.
    Type string | Pulumi.AzureNative.CostManagement.ExportType
    The type of the export. Note that 'Usage' is equivalent to 'ActualCost' and is applicable to exports that do not yet provide data for charges or amortization for service reservations.
    DataSet Pulumi.AzureNative.CostManagement.Inputs.ExportDataset
    The definition for data in the export.
    TimePeriod Pulumi.AzureNative.CostManagement.Inputs.ExportTimePeriod
    Has time period for pulling data for the export.
    Timeframe string | TimeframeType
    The time frame for pulling data for the export. If custom, then a specific time period must be provided.
    Type string | ExportType
    The type of the export. Note that 'Usage' is equivalent to 'ActualCost' and is applicable to exports that do not yet provide data for charges or amortization for service reservations.
    DataSet ExportDataset
    The definition for data in the export.
    TimePeriod ExportTimePeriod
    Has time period for pulling data for the export.
    timeframe String | TimeframeType
    The time frame for pulling data for the export. If custom, then a specific time period must be provided.
    type String | ExportType
    The type of the export. Note that 'Usage' is equivalent to 'ActualCost' and is applicable to exports that do not yet provide data for charges or amortization for service reservations.
    dataSet ExportDataset
    The definition for data in the export.
    timePeriod ExportTimePeriod
    Has time period for pulling data for the export.
    timeframe string | TimeframeType
    The time frame for pulling data for the export. If custom, then a specific time period must be provided.
    type string | ExportType
    The type of the export. Note that 'Usage' is equivalent to 'ActualCost' and is applicable to exports that do not yet provide data for charges or amortization for service reservations.
    dataSet ExportDataset
    The definition for data in the export.
    timePeriod ExportTimePeriod
    Has time period for pulling data for the export.
    timeframe str | TimeframeType
    The time frame for pulling data for the export. If custom, then a specific time period must be provided.
    type str | ExportType
    The type of the export. Note that 'Usage' is equivalent to 'ActualCost' and is applicable to exports that do not yet provide data for charges or amortization for service reservations.
    data_set ExportDataset
    The definition for data in the export.
    time_period ExportTimePeriod
    Has time period for pulling data for the export.
    timeframe String | "WeekToDate" | "MonthToDate" | "Custom"
    The time frame for pulling data for the export. If custom, then a specific time period must be provided.
    type String | "Usage" | "ActualCost" | "AmortizedCost"
    The type of the export. Note that 'Usage' is equivalent to 'ActualCost' and is applicable to exports that do not yet provide data for charges or amortization for service reservations.
    dataSet Property Map
    The definition for data in the export.
    timePeriod Property Map
    Has time period for pulling data for the export.

    ExportDefinitionResponse, ExportDefinitionResponseArgs

    Timeframe string
    The time frame for pulling data for the export. If custom, then a specific time period must be provided.
    Type string
    The type of the export. Note that 'Usage' is equivalent to 'ActualCost' and is applicable to exports that do not yet provide data for charges or amortization for service reservations.
    DataSet Pulumi.AzureNative.CostManagement.Inputs.ExportDatasetResponse
    The definition for data in the export.
    TimePeriod Pulumi.AzureNative.CostManagement.Inputs.ExportTimePeriodResponse
    Has time period for pulling data for the export.
    Timeframe string
    The time frame for pulling data for the export. If custom, then a specific time period must be provided.
    Type string
    The type of the export. Note that 'Usage' is equivalent to 'ActualCost' and is applicable to exports that do not yet provide data for charges or amortization for service reservations.
    DataSet ExportDatasetResponse
    The definition for data in the export.
    TimePeriod ExportTimePeriodResponse
    Has time period for pulling data for the export.
    timeframe String
    The time frame for pulling data for the export. If custom, then a specific time period must be provided.
    type String
    The type of the export. Note that 'Usage' is equivalent to 'ActualCost' and is applicable to exports that do not yet provide data for charges or amortization for service reservations.
    dataSet ExportDatasetResponse
    The definition for data in the export.
    timePeriod ExportTimePeriodResponse
    Has time period for pulling data for the export.
    timeframe string
    The time frame for pulling data for the export. If custom, then a specific time period must be provided.
    type string
    The type of the export. Note that 'Usage' is equivalent to 'ActualCost' and is applicable to exports that do not yet provide data for charges or amortization for service reservations.
    dataSet ExportDatasetResponse
    The definition for data in the export.
    timePeriod ExportTimePeriodResponse
    Has time period for pulling data for the export.
    timeframe str
    The time frame for pulling data for the export. If custom, then a specific time period must be provided.
    type str
    The type of the export. Note that 'Usage' is equivalent to 'ActualCost' and is applicable to exports that do not yet provide data for charges or amortization for service reservations.
    data_set ExportDatasetResponse
    The definition for data in the export.
    time_period ExportTimePeriodResponse
    Has time period for pulling data for the export.
    timeframe String
    The time frame for pulling data for the export. If custom, then a specific time period must be provided.
    type String
    The type of the export. Note that 'Usage' is equivalent to 'ActualCost' and is applicable to exports that do not yet provide data for charges or amortization for service reservations.
    dataSet Property Map
    The definition for data in the export.
    timePeriod Property Map
    Has time period for pulling data for the export.

    ExportDeliveryDestination, ExportDeliveryDestinationArgs

    Container string
    The name of the container where exports will be uploaded.
    ResourceId string
    The resource id of the storage account where exports will be delivered.
    RootFolderPath string
    The name of the directory where exports will be uploaded.
    Container string
    The name of the container where exports will be uploaded.
    ResourceId string
    The resource id of the storage account where exports will be delivered.
    RootFolderPath string
    The name of the directory where exports will be uploaded.
    container String
    The name of the container where exports will be uploaded.
    resourceId String
    The resource id of the storage account where exports will be delivered.
    rootFolderPath String
    The name of the directory where exports will be uploaded.
    container string
    The name of the container where exports will be uploaded.
    resourceId string
    The resource id of the storage account where exports will be delivered.
    rootFolderPath string
    The name of the directory where exports will be uploaded.
    container str
    The name of the container where exports will be uploaded.
    resource_id str
    The resource id of the storage account where exports will be delivered.
    root_folder_path str
    The name of the directory where exports will be uploaded.
    container String
    The name of the container where exports will be uploaded.
    resourceId String
    The resource id of the storage account where exports will be delivered.
    rootFolderPath String
    The name of the directory where exports will be uploaded.

    ExportDeliveryDestinationResponse, ExportDeliveryDestinationResponseArgs

    Container string
    The name of the container where exports will be uploaded.
    ResourceId string
    The resource id of the storage account where exports will be delivered.
    RootFolderPath string
    The name of the directory where exports will be uploaded.
    Container string
    The name of the container where exports will be uploaded.
    ResourceId string
    The resource id of the storage account where exports will be delivered.
    RootFolderPath string
    The name of the directory where exports will be uploaded.
    container String
    The name of the container where exports will be uploaded.
    resourceId String
    The resource id of the storage account where exports will be delivered.
    rootFolderPath String
    The name of the directory where exports will be uploaded.
    container string
    The name of the container where exports will be uploaded.
    resourceId string
    The resource id of the storage account where exports will be delivered.
    rootFolderPath string
    The name of the directory where exports will be uploaded.
    container str
    The name of the container where exports will be uploaded.
    resource_id str
    The resource id of the storage account where exports will be delivered.
    root_folder_path str
    The name of the directory where exports will be uploaded.
    container String
    The name of the container where exports will be uploaded.
    resourceId String
    The resource id of the storage account where exports will be delivered.
    rootFolderPath String
    The name of the directory where exports will be uploaded.

    ExportDeliveryInfo, ExportDeliveryInfoArgs

    Destination ExportDeliveryDestination
    Has destination for the export being delivered.
    destination ExportDeliveryDestination
    Has destination for the export being delivered.
    destination ExportDeliveryDestination
    Has destination for the export being delivered.
    destination ExportDeliveryDestination
    Has destination for the export being delivered.
    destination Property Map
    Has destination for the export being delivered.

    ExportDeliveryInfoResponse, ExportDeliveryInfoResponseArgs

    Destination ExportDeliveryDestinationResponse
    Has destination for the export being delivered.
    destination ExportDeliveryDestinationResponse
    Has destination for the export being delivered.
    destination ExportDeliveryDestinationResponse
    Has destination for the export being delivered.
    destination ExportDeliveryDestinationResponse
    Has destination for the export being delivered.
    destination Property Map
    Has destination for the export being delivered.

    ExportExecutionListResultResponse, ExportExecutionListResultResponseArgs

    Value []ExportExecutionResponse
    A list of export executions.
    value List<ExportExecutionResponse>
    A list of export executions.
    value ExportExecutionResponse[]
    A list of export executions.
    value Sequence[ExportExecutionResponse]
    A list of export executions.
    value List<Property Map>
    A list of export executions.

    ExportExecutionResponse, ExportExecutionResponseArgs

    Id string
    Resource Id.
    Name string
    Resource name.
    Type string
    Resource type.
    ETag 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.
    Error Pulumi.AzureNative.CostManagement.Inputs.ErrorDetailsResponse
    The details of any error.
    ExecutionType string
    The type of the export execution.
    FileName string
    The name of the exported file.
    ProcessingEndTime string
    The time when the export execution finished.
    ProcessingStartTime string
    The time when export was picked up to be executed.
    RunSettings Pulumi.AzureNative.CostManagement.Inputs.CommonExportPropertiesResponse
    The export settings that were in effect for this execution.
    Status string
    The last known status of the export execution.
    SubmittedBy string
    The identifier for the entity that executed the export. For OnDemand executions it is the user email. For scheduled executions it is 'System'.
    SubmittedTime string
    The time when export was queued to be executed.
    Id string
    Resource Id.
    Name string
    Resource name.
    Type string
    Resource type.
    ETag 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.
    Error ErrorDetailsResponse
    The details of any error.
    ExecutionType string
    The type of the export execution.
    FileName string
    The name of the exported file.
    ProcessingEndTime string
    The time when the export execution finished.
    ProcessingStartTime string
    The time when export was picked up to be executed.
    RunSettings CommonExportPropertiesResponse
    The export settings that were in effect for this execution.
    Status string
    The last known status of the export execution.
    SubmittedBy string
    The identifier for the entity that executed the export. For OnDemand executions it is the user email. For scheduled executions it is 'System'.
    SubmittedTime string
    The time when export was queued to be executed.
    id String
    Resource Id.
    name String
    Resource name.
    type String
    Resource type.
    eTag 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.
    error ErrorDetailsResponse
    The details of any error.
    executionType String
    The type of the export execution.
    fileName String
    The name of the exported file.
    processingEndTime String
    The time when the export execution finished.
    processingStartTime String
    The time when export was picked up to be executed.
    runSettings CommonExportPropertiesResponse
    The export settings that were in effect for this execution.
    status String
    The last known status of the export execution.
    submittedBy String
    The identifier for the entity that executed the export. For OnDemand executions it is the user email. For scheduled executions it is 'System'.
    submittedTime String
    The time when export was queued to be executed.
    id string
    Resource Id.
    name string
    Resource name.
    type string
    Resource type.
    eTag 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.
    error ErrorDetailsResponse
    The details of any error.
    executionType string
    The type of the export execution.
    fileName string
    The name of the exported file.
    processingEndTime string
    The time when the export execution finished.
    processingStartTime string
    The time when export was picked up to be executed.
    runSettings CommonExportPropertiesResponse
    The export settings that were in effect for this execution.
    status string
    The last known status of the export execution.
    submittedBy string
    The identifier for the entity that executed the export. For OnDemand executions it is the user email. For scheduled executions it is 'System'.
    submittedTime string
    The time when export was queued to be executed.
    id str
    Resource Id.
    name str
    Resource name.
    type str
    Resource type.
    e_tag str
    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.
    error ErrorDetailsResponse
    The details of any error.
    execution_type str
    The type of the export execution.
    file_name str
    The name of the exported file.
    processing_end_time str
    The time when the export execution finished.
    processing_start_time str
    The time when export was picked up to be executed.
    run_settings CommonExportPropertiesResponse
    The export settings that were in effect for this execution.
    status str
    The last known status of the export execution.
    submitted_by str
    The identifier for the entity that executed the export. For OnDemand executions it is the user email. For scheduled executions it is 'System'.
    submitted_time str
    The time when export was queued to be executed.
    id String
    Resource Id.
    name String
    Resource name.
    type String
    Resource type.
    eTag 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.
    error Property Map
    The details of any error.
    executionType String
    The type of the export execution.
    fileName String
    The name of the exported file.
    processingEndTime String
    The time when the export execution finished.
    processingStartTime String
    The time when export was picked up to be executed.
    runSettings Property Map
    The export settings that were in effect for this execution.
    status String
    The last known status of the export execution.
    submittedBy String
    The identifier for the entity that executed the export. For OnDemand executions it is the user email. For scheduled executions it is 'System'.
    submittedTime String
    The time when export was queued to be executed.

    ExportRecurrencePeriod, ExportRecurrencePeriodArgs

    From string
    The start date of recurrence.
    To string
    The end date of recurrence.
    From string
    The start date of recurrence.
    To string
    The end date of recurrence.
    from String
    The start date of recurrence.
    to String
    The end date of recurrence.
    from string
    The start date of recurrence.
    to string
    The end date of recurrence.
    from_ str
    The start date of recurrence.
    to str
    The end date of recurrence.
    from String
    The start date of recurrence.
    to String
    The end date of recurrence.

    ExportRecurrencePeriodResponse, ExportRecurrencePeriodResponseArgs

    From string
    The start date of recurrence.
    To string
    The end date of recurrence.
    From string
    The start date of recurrence.
    To string
    The end date of recurrence.
    from String
    The start date of recurrence.
    to String
    The end date of recurrence.
    from string
    The start date of recurrence.
    to string
    The end date of recurrence.
    from_ str
    The start date of recurrence.
    to str
    The end date of recurrence.
    from String
    The start date of recurrence.
    to String
    The end date of recurrence.

    ExportSchedule, ExportScheduleArgs

    Recurrence string | Pulumi.AzureNative.CostManagement.RecurrenceType
    The schedule recurrence.
    RecurrencePeriod Pulumi.AzureNative.CostManagement.Inputs.ExportRecurrencePeriod
    Has start and end date of the recurrence. The start date must be in future. If present, the end date must be greater than start date.
    Status string | Pulumi.AzureNative.CostManagement.StatusType
    The status of the export's schedule. If 'Inactive', the export's schedule is paused.
    Recurrence string | RecurrenceType
    The schedule recurrence.
    RecurrencePeriod ExportRecurrencePeriod
    Has start and end date of the recurrence. The start date must be in future. If present, the end date must be greater than start date.
    Status string | StatusType
    The status of the export's schedule. If 'Inactive', the export's schedule is paused.
    recurrence String | RecurrenceType
    The schedule recurrence.
    recurrencePeriod ExportRecurrencePeriod
    Has start and end date of the recurrence. The start date must be in future. If present, the end date must be greater than start date.
    status String | StatusType
    The status of the export's schedule. If 'Inactive', the export's schedule is paused.
    recurrence string | RecurrenceType
    The schedule recurrence.
    recurrencePeriod ExportRecurrencePeriod
    Has start and end date of the recurrence. The start date must be in future. If present, the end date must be greater than start date.
    status string | StatusType
    The status of the export's schedule. If 'Inactive', the export's schedule is paused.
    recurrence str | RecurrenceType
    The schedule recurrence.
    recurrence_period ExportRecurrencePeriod
    Has start and end date of the recurrence. The start date must be in future. If present, the end date must be greater than start date.
    status str | StatusType
    The status of the export's schedule. If 'Inactive', the export's schedule is paused.
    recurrence String | "Daily" | "Weekly" | "Monthly" | "Annually"
    The schedule recurrence.
    recurrencePeriod Property Map
    Has start and end date of the recurrence. The start date must be in future. If present, the end date must be greater than start date.
    status String | "Active" | "Inactive"
    The status of the export's schedule. If 'Inactive', the export's schedule is paused.

    ExportScheduleResponse, ExportScheduleResponseArgs

    Recurrence string
    The schedule recurrence.
    RecurrencePeriod Pulumi.AzureNative.CostManagement.Inputs.ExportRecurrencePeriodResponse
    Has start and end date of the recurrence. The start date must be in future. If present, the end date must be greater than start date.
    Status string
    The status of the export's schedule. If 'Inactive', the export's schedule is paused.
    Recurrence string
    The schedule recurrence.
    RecurrencePeriod ExportRecurrencePeriodResponse
    Has start and end date of the recurrence. The start date must be in future. If present, the end date must be greater than start date.
    Status string
    The status of the export's schedule. If 'Inactive', the export's schedule is paused.
    recurrence String
    The schedule recurrence.
    recurrencePeriod ExportRecurrencePeriodResponse
    Has start and end date of the recurrence. The start date must be in future. If present, the end date must be greater than start date.
    status String
    The status of the export's schedule. If 'Inactive', the export's schedule is paused.
    recurrence string
    The schedule recurrence.
    recurrencePeriod ExportRecurrencePeriodResponse
    Has start and end date of the recurrence. The start date must be in future. If present, the end date must be greater than start date.
    status string
    The status of the export's schedule. If 'Inactive', the export's schedule is paused.
    recurrence str
    The schedule recurrence.
    recurrence_period ExportRecurrencePeriodResponse
    Has start and end date of the recurrence. The start date must be in future. If present, the end date must be greater than start date.
    status str
    The status of the export's schedule. If 'Inactive', the export's schedule is paused.
    recurrence String
    The schedule recurrence.
    recurrencePeriod Property Map
    Has start and end date of the recurrence. The start date must be in future. If present, the end date must be greater than start date.
    status String
    The status of the export's schedule. If 'Inactive', the export's schedule is paused.

    ExportTimePeriod, ExportTimePeriodArgs

    From string
    The start date for export data.
    To string
    The end date for export data.
    From string
    The start date for export data.
    To string
    The end date for export data.
    from String
    The start date for export data.
    to String
    The end date for export data.
    from string
    The start date for export data.
    to string
    The end date for export data.
    from_ str
    The start date for export data.
    to str
    The end date for export data.
    from String
    The start date for export data.
    to String
    The end date for export data.

    ExportTimePeriodResponse, ExportTimePeriodResponseArgs

    From string
    The start date for export data.
    To string
    The end date for export data.
    From string
    The start date for export data.
    To string
    The end date for export data.
    from String
    The start date for export data.
    to String
    The end date for export data.
    from string
    The start date for export data.
    to string
    The end date for export data.
    from_ str
    The start date for export data.
    to str
    The end date for export data.
    from String
    The start date for export data.
    to String
    The end date for export data.

    ExportType, ExportTypeArgs

    Usage
    Usage
    ActualCost
    ActualCost
    AmortizedCost
    AmortizedCost
    ExportTypeUsage
    Usage
    ExportTypeActualCost
    ActualCost
    ExportTypeAmortizedCost
    AmortizedCost
    Usage
    Usage
    ActualCost
    ActualCost
    AmortizedCost
    AmortizedCost
    Usage
    Usage
    ActualCost
    ActualCost
    AmortizedCost
    AmortizedCost
    USAGE
    Usage
    ACTUAL_COST
    ActualCost
    AMORTIZED_COST
    AmortizedCost
    "Usage"
    Usage
    "ActualCost"
    ActualCost
    "AmortizedCost"
    AmortizedCost

    FormatType, FormatTypeArgs

    Csv
    Csv
    FormatTypeCsv
    Csv
    Csv
    Csv
    Csv
    Csv
    CSV
    Csv
    "Csv"
    Csv

    GranularityType, GranularityTypeArgs

    Daily
    Daily
    Hourly
    Hourly
    GranularityTypeDaily
    Daily
    GranularityTypeHourly
    Hourly
    Daily
    Daily
    Hourly
    Hourly
    Daily
    Daily
    Hourly
    Hourly
    DAILY
    Daily
    HOURLY
    Hourly
    "Daily"
    Daily
    "Hourly"
    Hourly

    RecurrenceType, RecurrenceTypeArgs

    Daily
    Daily
    Weekly
    Weekly
    Monthly
    Monthly
    Annually
    Annually
    RecurrenceTypeDaily
    Daily
    RecurrenceTypeWeekly
    Weekly
    RecurrenceTypeMonthly
    Monthly
    RecurrenceTypeAnnually
    Annually
    Daily
    Daily
    Weekly
    Weekly
    Monthly
    Monthly
    Annually
    Annually
    Daily
    Daily
    Weekly
    Weekly
    Monthly
    Monthly
    Annually
    Annually
    DAILY
    Daily
    WEEKLY
    Weekly
    MONTHLY
    Monthly
    ANNUALLY
    Annually
    "Daily"
    Daily
    "Weekly"
    Weekly
    "Monthly"
    Monthly
    "Annually"
    Annually

    StatusType, StatusTypeArgs

    Active
    Active
    Inactive
    Inactive
    StatusTypeActive
    Active
    StatusTypeInactive
    Inactive
    Active
    Active
    Inactive
    Inactive
    Active
    Active
    Inactive
    Inactive
    ACTIVE
    Active
    INACTIVE
    Inactive
    "Active"
    Active
    "Inactive"
    Inactive

    TimeframeType, TimeframeTypeArgs

    WeekToDate
    WeekToDate
    MonthToDate
    MonthToDate
    Custom
    Custom
    TimeframeTypeWeekToDate
    WeekToDate
    TimeframeTypeMonthToDate
    MonthToDate
    TimeframeTypeCustom
    Custom
    WeekToDate
    WeekToDate
    MonthToDate
    MonthToDate
    Custom
    Custom
    WeekToDate
    WeekToDate
    MonthToDate
    MonthToDate
    Custom
    Custom
    WEEK_TO_DATE
    WeekToDate
    MONTH_TO_DATE
    MonthToDate
    CUSTOM
    Custom
    "WeekToDate"
    WeekToDate
    "MonthToDate"
    MonthToDate
    "Custom"
    Custom

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:costmanagement:Export TestExport subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/exports/TestExport 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi