ResourceGroupExport
Manages an Azure Cost Management Export for a Resource Group.
Create a ResourceGroupExport Resource
new ResourceGroupExport(name: string, args: ResourceGroupExportArgs, opts?: CustomResourceOptions);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);func NewResourceGroupExport(ctx *Context, name string, args ResourceGroupExportArgs, opts ...ResourceOption) (*ResourceGroupExport, error)public ResourceGroupExport(string name, ResourceGroupExportArgs args, CustomResourceOptions? opts = null)- 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:
- Delivery
Info ResourceGroup Export Delivery Info Args A
delivery_infoblock as defined below.- Query
Resource
Group Export Query Args A
queryblock as defined below.- Recurrence
Period stringEnd The date the export will stop capturing information.
- Recurrence
Period stringStart The date the export will start capturing information.
- Recurrence
Type string How often the requested information will be exported. Valid values include
Annually,Daily,Monthly,Weekly.- Resource
Group stringId 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.
- Delivery
Info ResourceGroup Export Delivery Info A
delivery_infoblock as defined below.- Query
Resource
Group Export Query A
queryblock as defined below.- Recurrence
Period stringEnd The date the export will stop capturing information.
- Recurrence
Period stringStart The date the export will start capturing information.
- Recurrence
Type string How often the requested information will be exported. Valid values include
Annually,Daily,Monthly,Weekly.- Resource
Group stringId 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.
- delivery
Info ResourceGroup Export Delivery Info A
delivery_infoblock as defined below.- query
Resource
Group Export Query A
queryblock as defined below.- recurrence
Period stringEnd The date the export will stop capturing information.
- recurrence
Period stringStart The date the export will start capturing information.
- recurrence
Type string How often the requested information will be exported. Valid values include
Annually,Daily,Monthly,Weekly.- resource
Group stringId 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[ResourceGroup Export Delivery Info] A
delivery_infoblock as defined below.- query
Dict[Resource
Group Export Query] A
queryblock as defined below.- recurrence_
period_ strend The date the export will stop capturing information.
- recurrence_
period_ strstart 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_ strid 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:
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.
public static get(name: string, id: Input<ID>, state?: ResourceGroupExportState, opts?: CustomResourceOptions): ResourceGroupExportstatic 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)public static ResourceGroupExport Get(string name, Input<string> id, ResourceGroupExportState? state, CustomResourceOptions? opts = null)- 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.- Delivery
Info ResourceGroup Export Delivery Info Args A
delivery_infoblock as defined below.- Name string
Specifies the name of the Cost Management Export. Changing this forces a new resource to be created.
- Query
Resource
Group Export Query Args A
queryblock as defined below.- Recurrence
Period stringEnd The date the export will stop capturing information.
- Recurrence
Period stringStart The date the export will start capturing information.
- Recurrence
Type string How often the requested information will be exported. Valid values include
Annually,Daily,Monthly,Weekly.- Resource
Group stringId The id of the resource group in which to export information.
- Active bool
Is the cost management export active? Default is
true.- Delivery
Info ResourceGroup Export Delivery Info A
delivery_infoblock as defined below.- Name string
Specifies the name of the Cost Management Export. Changing this forces a new resource to be created.
- Query
Resource
Group Export Query A
queryblock as defined below.- Recurrence
Period stringEnd The date the export will stop capturing information.
- Recurrence
Period stringStart The date the export will start capturing information.
- Recurrence
Type string How often the requested information will be exported. Valid values include
Annually,Daily,Monthly,Weekly.- Resource
Group stringId The id of the resource group in which to export information.
- active boolean
Is the cost management export active? Default is
true.- delivery
Info ResourceGroup Export Delivery Info A
delivery_infoblock as defined below.- name string
Specifies the name of the Cost Management Export. Changing this forces a new resource to be created.
- query
Resource
Group Export Query A
queryblock as defined below.- recurrence
Period stringEnd The date the export will stop capturing information.
- recurrence
Period stringStart The date the export will start capturing information.
- recurrence
Type string How often the requested information will be exported. Valid values include
Annually,Daily,Monthly,Weekly.- resource
Group stringId 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[ResourceGroup Export Delivery Info] A
delivery_infoblock as defined below.- name str
Specifies the name of the Cost Management Export. Changing this forces a new resource to be created.
- query
Dict[Resource
Group Export Query] A
queryblock as defined below.- recurrence_
period_ strend The date the export will stop capturing information.
- recurrence_
period_ strstart 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_ strid The id of the resource group in which to export information.
Supporting Types
ResourceGroupExportDeliveryInfo
- Container
Name string The name of the container where exports will be uploaded.
- Root
Folder stringPath The path of the directory where exports will be uploaded.
- Storage
Account stringId The storage account id where exports will be delivered.
- Container
Name string The name of the container where exports will be uploaded.
- Root
Folder stringPath The path of the directory where exports will be uploaded.
- Storage
Account stringId The storage account id where exports will be delivered.
- container
Name string The name of the container where exports will be uploaded.
- root
Folder stringPath The path of the directory where exports will be uploaded.
- storage
Account stringId The storage account id where exports will be delivered.
- container_
name str The name of the container where exports will be uploaded.
- root
Folder strPath The path of the directory where exports will be uploaded.
- storage_
account_ strid The storage account id where exports will be delivered.
ResourceGroupExportQuery
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.