Azure Classic

v5.24.0 published on Wednesday, Nov 9, 2022 by Pulumi

SubscriptionCostManagementExport

Manages a Cost Management Export for a Subscription.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Azure = Pulumi.Azure;

return await Deployment.RunAsync(() => 
{
    var exampleSubscription = Azure.Core.GetSubscription.Invoke();

    var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new()
    {
        Location = "West Europe",
    });

    var exampleAccount = new Azure.Storage.Account("exampleAccount", new()
    {
        ResourceGroupName = exampleResourceGroup.Name,
        Location = exampleResourceGroup.Location,
        AccountTier = "Standard",
        AccountReplicationType = "LRS",
    });

    var exampleContainer = new Azure.Storage.Container("exampleContainer", new()
    {
        StorageAccountName = exampleAccount.Name,
    });

    var exampleSubscriptionCostManagementExport = new Azure.Core.SubscriptionCostManagementExport("exampleSubscriptionCostManagementExport", new()
    {
        SubscriptionId = exampleSubscription.Apply(getBudgetSubscriptionResult => getBudgetSubscriptionResult.Id),
        RecurrenceType = "Monthly",
        RecurrencePeriodStartDate = "2020-08-18T00:00:00Z",
        RecurrencePeriodEndDate = "2020-09-18T00:00:00Z",
        ExportDataStorageLocation = new Azure.Core.Inputs.SubscriptionCostManagementExportExportDataStorageLocationArgs
        {
            ContainerId = exampleContainer.ResourceManagerId,
            RootFolderPath = "/root/updated",
        },
        ExportDataOptions = new Azure.Core.Inputs.SubscriptionCostManagementExportExportDataOptionsArgs
        {
            Type = "Usage",
            TimeFrame = "WeekToDate",
        },
    });

});
package main

import (
	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleSubscription, err := core.LookupSubscription(ctx, nil, nil)
		if err != nil {
			return err
		}
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		exampleContainer, err := storage.NewContainer(ctx, "exampleContainer", &storage.ContainerArgs{
			StorageAccountName: exampleAccount.Name,
		})
		if err != nil {
			return err
		}
		_, err = core.NewSubscriptionCostManagementExport(ctx, "exampleSubscriptionCostManagementExport", &core.SubscriptionCostManagementExportArgs{
			SubscriptionId:            pulumi.String(exampleSubscription.Id),
			RecurrenceType:            pulumi.String("Monthly"),
			RecurrencePeriodStartDate: pulumi.String("2020-08-18T00:00:00Z"),
			RecurrencePeriodEndDate:   pulumi.String("2020-09-18T00:00:00Z"),
			ExportDataStorageLocation: &core.SubscriptionCostManagementExportExportDataStorageLocationArgs{
				ContainerId:    exampleContainer.ResourceManagerId,
				RootFolderPath: pulumi.String("/root/updated"),
			},
			ExportDataOptions: &core.SubscriptionCostManagementExportExportDataOptionsArgs{
				Type:      pulumi.String("Usage"),
				TimeFrame: pulumi.String("WeekToDate"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.CoreFunctions;
import com.pulumi.azure.consumption.inputs.GetBudgetSubscriptionArgs;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.storage.Account;
import com.pulumi.azure.storage.AccountArgs;
import com.pulumi.azure.storage.Container;
import com.pulumi.azure.storage.ContainerArgs;
import com.pulumi.azure.core.SubscriptionCostManagementExport;
import com.pulumi.azure.core.SubscriptionCostManagementExportArgs;
import com.pulumi.azure.core.inputs.SubscriptionCostManagementExportExportDataStorageLocationArgs;
import com.pulumi.azure.core.inputs.SubscriptionCostManagementExportExportDataOptionsArgs;
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) {
        final var exampleSubscription = CoreFunctions.getSubscription();

        var exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()        
            .location("West Europe")
            .build());

        var exampleAccount = new Account("exampleAccount", AccountArgs.builder()        
            .resourceGroupName(exampleResourceGroup.name())
            .location(exampleResourceGroup.location())
            .accountTier("Standard")
            .accountReplicationType("LRS")
            .build());

        var exampleContainer = new Container("exampleContainer", ContainerArgs.builder()        
            .storageAccountName(exampleAccount.name())
            .build());

        var exampleSubscriptionCostManagementExport = new SubscriptionCostManagementExport("exampleSubscriptionCostManagementExport", SubscriptionCostManagementExportArgs.builder()        
            .subscriptionId(exampleSubscription.applyValue(getBudgetSubscriptionResult -> getBudgetSubscriptionResult.id()))
            .recurrenceType("Monthly")
            .recurrencePeriodStartDate("2020-08-18T00:00:00Z")
            .recurrencePeriodEndDate("2020-09-18T00:00:00Z")
            .exportDataStorageLocation(SubscriptionCostManagementExportExportDataStorageLocationArgs.builder()
                .containerId(exampleContainer.resourceManagerId())
                .rootFolderPath("/root/updated")
                .build())
            .exportDataOptions(SubscriptionCostManagementExportExportDataOptionsArgs.builder()
                .type("Usage")
                .timeFrame("WeekToDate")
                .build())
            .build());

    }
}
import pulumi
import pulumi_azure as azure

example_subscription = azure.core.get_subscription()
example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_account = azure.storage.Account("exampleAccount",
    resource_group_name=example_resource_group.name,
    location=example_resource_group.location,
    account_tier="Standard",
    account_replication_type="LRS")
example_container = azure.storage.Container("exampleContainer", storage_account_name=example_account.name)
example_subscription_cost_management_export = azure.core.SubscriptionCostManagementExport("exampleSubscriptionCostManagementExport",
    subscription_id=example_subscription.id,
    recurrence_type="Monthly",
    recurrence_period_start_date="2020-08-18T00:00:00Z",
    recurrence_period_end_date="2020-09-18T00:00:00Z",
    export_data_storage_location=azure.core.SubscriptionCostManagementExportExportDataStorageLocationArgs(
        container_id=example_container.resource_manager_id,
        root_folder_path="/root/updated",
    ),
    export_data_options=azure.core.SubscriptionCostManagementExportExportDataOptionsArgs(
        type="Usage",
        time_frame="WeekToDate",
    ))
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const exampleSubscription = azure.core.getSubscription({});
const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
const exampleAccount = new azure.storage.Account("exampleAccount", {
    resourceGroupName: exampleResourceGroup.name,
    location: exampleResourceGroup.location,
    accountTier: "Standard",
    accountReplicationType: "LRS",
});
const exampleContainer = new azure.storage.Container("exampleContainer", {storageAccountName: exampleAccount.name});
const exampleSubscriptionCostManagementExport = new azure.core.SubscriptionCostManagementExport("exampleSubscriptionCostManagementExport", {
    subscriptionId: exampleSubscription.then(exampleSubscription => exampleSubscription.id),
    recurrenceType: "Monthly",
    recurrencePeriodStartDate: "2020-08-18T00:00:00Z",
    recurrencePeriodEndDate: "2020-09-18T00:00:00Z",
    exportDataStorageLocation: {
        containerId: exampleContainer.resourceManagerId,
        rootFolderPath: "/root/updated",
    },
    exportDataOptions: {
        type: "Usage",
        timeFrame: "WeekToDate",
    },
});
resources:
  exampleResourceGroup:
    type: azure:core:ResourceGroup
    properties:
      location: West Europe
  exampleAccount:
    type: azure:storage:Account
    properties:
      resourceGroupName: ${exampleResourceGroup.name}
      location: ${exampleResourceGroup.location}
      accountTier: Standard
      accountReplicationType: LRS
  exampleContainer:
    type: azure:storage:Container
    properties:
      storageAccountName: ${exampleAccount.name}
  exampleSubscriptionCostManagementExport:
    type: azure:core:SubscriptionCostManagementExport
    properties:
      subscriptionId: ${exampleSubscription.id}
      recurrenceType: Monthly
      recurrencePeriodStartDate: 2020-08-18T00:00:00Z
      recurrencePeriodEndDate: 2020-09-18T00:00:00Z
      exportDataStorageLocation:
        containerId: ${exampleContainer.resourceManagerId}
        rootFolderPath: /root/updated
      exportDataOptions:
        type: Usage
        timeFrame: WeekToDate
variables:
  exampleSubscription:
    Fn::Invoke:
      Function: azure:core:getSubscription
      Arguments: {}

Create SubscriptionCostManagementExport Resource

new SubscriptionCostManagementExport(name: string, args: SubscriptionCostManagementExportArgs, opts?: CustomResourceOptions);
@overload
def SubscriptionCostManagementExport(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     active: Optional[bool] = None,
                                     export_data_options: Optional[SubscriptionCostManagementExportExportDataOptionsArgs] = None,
                                     export_data_storage_location: Optional[SubscriptionCostManagementExportExportDataStorageLocationArgs] = None,
                                     name: Optional[str] = None,
                                     recurrence_period_end_date: Optional[str] = None,
                                     recurrence_period_start_date: Optional[str] = None,
                                     recurrence_type: Optional[str] = None,
                                     subscription_id: Optional[str] = None)
@overload
def SubscriptionCostManagementExport(resource_name: str,
                                     args: SubscriptionCostManagementExportArgs,
                                     opts: Optional[ResourceOptions] = None)
func NewSubscriptionCostManagementExport(ctx *Context, name string, args SubscriptionCostManagementExportArgs, opts ...ResourceOption) (*SubscriptionCostManagementExport, error)
public SubscriptionCostManagementExport(string name, SubscriptionCostManagementExportArgs args, CustomResourceOptions? opts = null)
public SubscriptionCostManagementExport(String name, SubscriptionCostManagementExportArgs args)
public SubscriptionCostManagementExport(String name, SubscriptionCostManagementExportArgs args, CustomResourceOptions options)
type: azure:core:SubscriptionCostManagementExport
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args SubscriptionCostManagementExportArgs
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 SubscriptionCostManagementExportArgs
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 SubscriptionCostManagementExportArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args SubscriptionCostManagementExportArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args SubscriptionCostManagementExportArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

SubscriptionCostManagementExport 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 SubscriptionCostManagementExport resource accepts the following input properties:

ExportDataOptions SubscriptionCostManagementExportExportDataOptionsArgs

A export_data_options block as defined below.

ExportDataStorageLocation SubscriptionCostManagementExportExportDataStorageLocationArgs

A export_data_storage_location block as defined below.

RecurrencePeriodEndDate string
RecurrencePeriodStartDate string

The date the export will start capturing information.

RecurrenceType string

How often the requested information will be exported. Valid values include Annually, Daily, Monthly, Weekly.

SubscriptionId string

The id of the subscription on which to create an export.

Active bool

Is the cost management export active? Default is true.

Name string

Specifies the name of the Cost Management Export. Changing this forces a new resource to be created.

ExportDataOptions SubscriptionCostManagementExportExportDataOptionsArgs

A export_data_options block as defined below.

ExportDataStorageLocation SubscriptionCostManagementExportExportDataStorageLocationArgs

A export_data_storage_location block as defined below.

RecurrencePeriodEndDate string
RecurrencePeriodStartDate string

The date the export will start capturing information.

RecurrenceType string

How often the requested information will be exported. Valid values include Annually, Daily, Monthly, Weekly.

SubscriptionId string

The id of the subscription on which to create an export.

Active bool

Is the cost management export active? Default is true.

Name string

Specifies the name of the Cost Management Export. Changing this forces a new resource to be created.

exportDataOptions SubscriptionCostManagementExportExportDataOptionsArgs

A export_data_options block as defined below.

exportDataStorageLocation SubscriptionCostManagementExportExportDataStorageLocationArgs

A export_data_storage_location block as defined below.

recurrencePeriodEndDate String
recurrencePeriodStartDate String

The date the export will start capturing information.

recurrenceType String

How often the requested information will be exported. Valid values include Annually, Daily, Monthly, Weekly.

subscriptionId String

The id of the subscription on which to create an export.

active Boolean

Is the cost management export active? Default is true.

name String

Specifies the name of the Cost Management Export. Changing this forces a new resource to be created.

exportDataOptions SubscriptionCostManagementExportExportDataOptionsArgs

A export_data_options block as defined below.

exportDataStorageLocation SubscriptionCostManagementExportExportDataStorageLocationArgs

A export_data_storage_location block as defined below.

recurrencePeriodEndDate string
recurrencePeriodStartDate string

The date the export will start capturing information.

recurrenceType string

How often the requested information will be exported. Valid values include Annually, Daily, Monthly, Weekly.

subscriptionId string

The id of the subscription on which to create an export.

active boolean

Is the cost management export active? Default is true.

name string

Specifies the name of the Cost Management Export. Changing this forces a new resource to be created.

export_data_options SubscriptionCostManagementExportExportDataOptionsArgs

A export_data_options block as defined below.

export_data_storage_location SubscriptionCostManagementExportExportDataStorageLocationArgs

A export_data_storage_location block as defined below.

recurrence_period_end_date str
recurrence_period_start_date str

The date the export will start capturing information.

recurrence_type str

How often the requested information will be exported. Valid values include Annually, Daily, Monthly, Weekly.

subscription_id str

The id of the subscription on which to create an export.

active bool

Is the cost management export active? Default is true.

name str

Specifies the name of the Cost Management Export. Changing this forces a new resource to be created.

exportDataOptions Property Map

A export_data_options block as defined below.

exportDataStorageLocation Property Map

A export_data_storage_location block as defined below.

recurrencePeriodEndDate String
recurrencePeriodStartDate String

The date the export will start capturing information.

recurrenceType String

How often the requested information will be exported. Valid values include Annually, Daily, Monthly, Weekly.

subscriptionId String

The id of the subscription on which to create an export.

active Boolean

Is the cost management export active? Default is true.

name String

Specifies the name of the Cost Management Export. Changing this forces a new resource to be created.

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up Existing SubscriptionCostManagementExport Resource

Get an existing SubscriptionCostManagementExport resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: SubscriptionCostManagementExportState, opts?: CustomResourceOptions): SubscriptionCostManagementExport
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        active: Optional[bool] = None,
        export_data_options: Optional[SubscriptionCostManagementExportExportDataOptionsArgs] = None,
        export_data_storage_location: Optional[SubscriptionCostManagementExportExportDataStorageLocationArgs] = None,
        name: Optional[str] = None,
        recurrence_period_end_date: Optional[str] = None,
        recurrence_period_start_date: Optional[str] = None,
        recurrence_type: Optional[str] = None,
        subscription_id: Optional[str] = None) -> SubscriptionCostManagementExport
func GetSubscriptionCostManagementExport(ctx *Context, name string, id IDInput, state *SubscriptionCostManagementExportState, opts ...ResourceOption) (*SubscriptionCostManagementExport, error)
public static SubscriptionCostManagementExport Get(string name, Input<string> id, SubscriptionCostManagementExportState? state, CustomResourceOptions? opts = null)
public static SubscriptionCostManagementExport get(String name, Output<String> id, SubscriptionCostManagementExportState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Active bool

Is the cost management export active? Default is true.

ExportDataOptions SubscriptionCostManagementExportExportDataOptionsArgs

A export_data_options block as defined below.

ExportDataStorageLocation SubscriptionCostManagementExportExportDataStorageLocationArgs

A export_data_storage_location block as defined below.

Name string

Specifies the name of the Cost Management Export. Changing this forces a new resource to be created.

RecurrencePeriodEndDate string
RecurrencePeriodStartDate string

The date the export will start capturing information.

RecurrenceType string

How often the requested information will be exported. Valid values include Annually, Daily, Monthly, Weekly.

SubscriptionId string

The id of the subscription on which to create an export.

Active bool

Is the cost management export active? Default is true.

ExportDataOptions SubscriptionCostManagementExportExportDataOptionsArgs

A export_data_options block as defined below.

ExportDataStorageLocation SubscriptionCostManagementExportExportDataStorageLocationArgs

A export_data_storage_location block as defined below.

Name string

Specifies the name of the Cost Management Export. Changing this forces a new resource to be created.

RecurrencePeriodEndDate string
RecurrencePeriodStartDate string

The date the export will start capturing information.

RecurrenceType string

How often the requested information will be exported. Valid values include Annually, Daily, Monthly, Weekly.

SubscriptionId string

The id of the subscription on which to create an export.

active Boolean

Is the cost management export active? Default is true.

exportDataOptions SubscriptionCostManagementExportExportDataOptionsArgs

A export_data_options block as defined below.

exportDataStorageLocation SubscriptionCostManagementExportExportDataStorageLocationArgs

A export_data_storage_location block as defined below.

name String

Specifies the name of the Cost Management Export. Changing this forces a new resource to be created.

recurrencePeriodEndDate String
recurrencePeriodStartDate String

The date the export will start capturing information.

recurrenceType String

How often the requested information will be exported. Valid values include Annually, Daily, Monthly, Weekly.

subscriptionId String

The id of the subscription on which to create an export.

active boolean

Is the cost management export active? Default is true.

exportDataOptions SubscriptionCostManagementExportExportDataOptionsArgs

A export_data_options block as defined below.

exportDataStorageLocation SubscriptionCostManagementExportExportDataStorageLocationArgs

A export_data_storage_location block as defined below.

name string

Specifies the name of the Cost Management Export. Changing this forces a new resource to be created.

recurrencePeriodEndDate string
recurrencePeriodStartDate string

The date the export will start capturing information.

recurrenceType string

How often the requested information will be exported. Valid values include Annually, Daily, Monthly, Weekly.

subscriptionId string

The id of the subscription on which to create an export.

active bool

Is the cost management export active? Default is true.

export_data_options SubscriptionCostManagementExportExportDataOptionsArgs

A export_data_options block as defined below.

export_data_storage_location SubscriptionCostManagementExportExportDataStorageLocationArgs

A export_data_storage_location block as defined below.

name str

Specifies the name of the Cost Management Export. Changing this forces a new resource to be created.

recurrence_period_end_date str
recurrence_period_start_date str

The date the export will start capturing information.

recurrence_type str

How often the requested information will be exported. Valid values include Annually, Daily, Monthly, Weekly.

subscription_id str

The id of the subscription on which to create an export.

active Boolean

Is the cost management export active? Default is true.

exportDataOptions Property Map

A export_data_options block as defined below.

exportDataStorageLocation Property Map

A export_data_storage_location block as defined below.

name String

Specifies the name of the Cost Management Export. Changing this forces a new resource to be created.

recurrencePeriodEndDate String
recurrencePeriodStartDate String

The date the export will start capturing information.

recurrenceType String

How often the requested information will be exported. Valid values include Annually, Daily, Monthly, Weekly.

subscriptionId String

The id of the subscription on which to create an export.

Supporting Types

SubscriptionCostManagementExportExportDataOptions

TimeFrame string

The time frame for pulling data for the query. If custom, then a specific time period must be provided. Possible values include: WeekToDate, MonthToDate, BillingMonthToDate, TheLastWeek, TheLastMonth, TheLastBillingMonth, Custom.

Type string

The type of the query.

TimeFrame string

The time frame for pulling data for the query. If custom, then a specific time period must be provided. Possible values include: WeekToDate, MonthToDate, BillingMonthToDate, TheLastWeek, TheLastMonth, TheLastBillingMonth, Custom.

Type string

The type of the query.

timeFrame String

The time frame for pulling data for the query. If custom, then a specific time period must be provided. Possible values include: WeekToDate, MonthToDate, BillingMonthToDate, TheLastWeek, TheLastMonth, TheLastBillingMonth, Custom.

type String

The type of the query.

timeFrame string

The time frame for pulling data for the query. If custom, then a specific time period must be provided. Possible values include: WeekToDate, MonthToDate, BillingMonthToDate, TheLastWeek, TheLastMonth, TheLastBillingMonth, Custom.

type string

The type of the query.

time_frame str

The time frame for pulling data for the query. If custom, then a specific time period must be provided. Possible values include: WeekToDate, MonthToDate, BillingMonthToDate, TheLastWeek, TheLastMonth, TheLastBillingMonth, Custom.

type str

The type of the query.

timeFrame String

The time frame for pulling data for the query. If custom, then a specific time period must be provided. Possible values include: WeekToDate, MonthToDate, BillingMonthToDate, TheLastWeek, TheLastMonth, TheLastBillingMonth, Custom.

type String

The type of the query.

SubscriptionCostManagementExportExportDataStorageLocation

ContainerId string

The Resource Manager ID of the container where exports will be uploaded.

RootFolderPath string

The path of the directory where exports will be uploaded.

ContainerId string

The Resource Manager ID of the container where exports will be uploaded.

RootFolderPath string

The path of the directory where exports will be uploaded.

containerId String

The Resource Manager ID of the container where exports will be uploaded.

rootFolderPath String

The path of the directory where exports will be uploaded.

containerId string

The Resource Manager ID of the container where exports will be uploaded.

rootFolderPath string

The path of the directory where exports will be uploaded.

container_id str

The Resource Manager ID of the container where exports will be uploaded.

root_folder_path str

The path of the directory where exports will be uploaded.

containerId String

The Resource Manager ID of the container where exports will be uploaded.

rootFolderPath String

The path of the directory where exports will be uploaded.

Import

Subscription Cost Management Exports can be imported using the resource id, e.g.

 $ pulumi import azure:core/subscriptionCostManagementExport:SubscriptionCostManagementExport example /subscriptions/12345678-1234-9876-4563-123456789012/providers/Microsoft.CostManagement/exports/export1

Package Details

Repository
https://github.com/pulumi/pulumi-azure
License
Apache-2.0
Notes

This Pulumi package is based on the azurerm Terraform Provider.