Class ResourceGroupExport
Manages an Azure Cost Management Export for a Resource Group.
Inherited Members
Namespace: Pulumi.Azure.CostManagement
Assembly: Pulumi.Azure.dll
Syntax
public class ResourceGroupExport : CustomResource
Constructors
View SourceResourceGroupExport(String, ResourceGroupExportArgs, CustomResourceOptions)
Create a ResourceGroupExport resource with the given unique name, arguments, and options.
Declaration
public ResourceGroupExport(string name, ResourceGroupExportArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ResourceGroupExportArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceActive
Is the cost management export active? Default is true.
Declaration
public Output<bool?> Active { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
DeliveryInfo
A delivery_info block as defined below.
Declaration
public Output<ResourceGroupExportDeliveryInfo> DeliveryInfo { get; }
Property Value
| Type | Description |
|---|---|
| Output<ResourceGroupExportDeliveryInfo> |
Name
Specifies the name of the Cost Management Export. Changing this forces a new resource to be created.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Query
A query block as defined below.
Declaration
public Output<ResourceGroupExportQuery> Query { get; }
Property Value
| Type | Description |
|---|---|
| Output<ResourceGroupExportQuery> |
RecurrencePeriodEnd
The date the export will stop capturing information.
Declaration
public Output<string> RecurrencePeriodEnd { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
RecurrencePeriodStart
The date the export will start capturing information.
Declaration
public Output<string> RecurrencePeriodStart { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
RecurrenceType
How often the requested information will be exported. Valid values include Annually, Daily, Monthly, Weekly.
Declaration
public Output<string> RecurrenceType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ResourceGroupId
The id of the resource group in which to export information.
Declaration
public Output<string> ResourceGroupId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, ResourceGroupExportState, CustomResourceOptions)
Get an existing ResourceGroupExport resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static ResourceGroupExport Get(string name, Input<string> id, ResourceGroupExportState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| ResourceGroupExportState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| ResourceGroupExport |