ResourceGroupExport

Manages an Azure Cost Management Export for a Resource Group.

Create a ResourceGroupExport Resource

def ResourceGroupExport(resource_name, opts=None, active=None, delivery_info=None, name=None, query=None, recurrence_period_end=None, recurrence_period_start=None, recurrence_type=None, resource_group_id=None, __props__=None);
name string
The unique name of the resource.
args ResourceGroupExportArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ResourceGroupExportArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ResourceGroupExportArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

ResourceGroupExport Resource Properties

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

Inputs

The ResourceGroupExport resource accepts the following input properties:

DeliveryInfo ResourceGroupExportDeliveryInfoArgs

A delivery_info block as defined below.

Query ResourceGroupExportQueryArgs

A query block as defined below.

RecurrencePeriodEnd string

The date the export will stop capturing information.

RecurrencePeriodStart 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.

ResourceGroupId string

The id of the resource group in which to export information.

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.

DeliveryInfo ResourceGroupExportDeliveryInfo

A delivery_info block as defined below.

Query ResourceGroupExportQuery

A query block as defined below.

RecurrencePeriodEnd string

The date the export will stop capturing information.

RecurrencePeriodStart 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.

ResourceGroupId string

The id of the resource group in which to export information.

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.

deliveryInfo ResourceGroupExportDeliveryInfo

A delivery_info block as defined below.

query ResourceGroupExportQuery

A query block as defined below.

recurrencePeriodEnd string

The date the export will stop capturing information.

recurrencePeriodStart 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.

resourceGroupId string

The id of the resource group in which to export information.

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.

delivery_info Dict[ResourceGroupExportDeliveryInfo]

A delivery_info block as defined below.

query Dict[ResourceGroupExportQuery]

A query block as defined below.

recurrence_period_end str

The date the export will stop capturing information.

recurrence_period_start 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.

resource_group_id str

The id of the resource group in which to export information.

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.

Outputs

All input properties are implicitly available as output properties. Additionally, the ResourceGroupExport 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 str
The provider-assigned unique ID for this managed resource.

Look up an Existing ResourceGroupExport Resource

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

static get(resource_name, id, opts=None, active=None, delivery_info=None, name=None, query=None, recurrence_period_end=None, recurrence_period_start=None, recurrence_type=None, resource_group_id=None, __props__=None);
func GetResourceGroupExport(ctx *Context, name string, id IDInput, state *ResourceGroupExportState, opts ...ResourceOption) (*ResourceGroupExport, error)
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.

The following state arguments are supported:

Active bool

Is the cost management export active? Default is true.

DeliveryInfo ResourceGroupExportDeliveryInfoArgs

A delivery_info block as defined below.

Name string

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

Query ResourceGroupExportQueryArgs

A query block as defined below.

RecurrencePeriodEnd string

The date the export will stop capturing information.

RecurrencePeriodStart 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.

ResourceGroupId string

The id of the resource group in which to export information.

Active bool

Is the cost management export active? Default is true.

DeliveryInfo ResourceGroupExportDeliveryInfo

A delivery_info block as defined below.

Name string

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

Query ResourceGroupExportQuery

A query block as defined below.

RecurrencePeriodEnd string

The date the export will stop capturing information.

RecurrencePeriodStart 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.

ResourceGroupId string

The id of the resource group in which to export information.

active boolean

Is the cost management export active? Default is true.

deliveryInfo ResourceGroupExportDeliveryInfo

A delivery_info block as defined below.

name string

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

query ResourceGroupExportQuery

A query block as defined below.

recurrencePeriodEnd string

The date the export will stop capturing information.

recurrencePeriodStart 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.

resourceGroupId string

The id of the resource group in which to export information.

active bool

Is the cost management export active? Default is true.

delivery_info Dict[ResourceGroupExportDeliveryInfo]

A delivery_info block as defined below.

name str

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

query Dict[ResourceGroupExportQuery]

A query block as defined below.

recurrence_period_end str

The date the export will stop capturing information.

recurrence_period_start 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.

resource_group_id str

The id of the resource group in which to export information.

Supporting Types

ResourceGroupExportDeliveryInfo

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

ContainerName string

The name of the container where exports will be uploaded.

RootFolderPath string

The path of the directory where exports will be uploaded.

StorageAccountId string

The storage account id where exports will be delivered.

ContainerName string

The name of the container where exports will be uploaded.

RootFolderPath string

The path of the directory where exports will be uploaded.

StorageAccountId string

The storage account id where exports will be delivered.

containerName string

The name of the container where exports will be uploaded.

rootFolderPath string

The path of the directory where exports will be uploaded.

storageAccountId string

The storage account id where exports will be delivered.

container_name str

The name of the container where exports will be uploaded.

rootFolderPath str

The path of the directory where exports will be uploaded.

storage_account_id str

The storage account id where exports will be delivered.

ResourceGroupExportQuery

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

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, YearToDate, TheLastWeek, TheLastMonth, TheLastYear, 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, YearToDate, TheLastWeek, TheLastMonth, TheLastYear, 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, YearToDate, TheLastWeek, TheLastMonth, TheLastYear, Custom.

type string

The type of the query.

timeFrame 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, YearToDate, TheLastWeek, TheLastMonth, TheLastYear, Custom.

type str

The type of the query.

Package Details

Repository
https://github.com/pulumi/pulumi-azure
License
Apache-2.0
Notes
This Pulumi package is based on the azurerm Terraform Provider.