costmanagement

package
v4.0.0-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResourceGroupExport

type ResourceGroupExport struct {
	pulumi.CustomResourceState

	// Is the cost management export active? Default is `true`.
	Active pulumi.BoolPtrOutput `pulumi:"active"`
	// A `deliveryInfo` block as defined below.
	DeliveryInfo ResourceGroupExportDeliveryInfoOutput `pulumi:"deliveryInfo"`
	// Specifies the name of the Cost Management Export. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// A `query` block as defined below.
	Query ResourceGroupExportQueryOutput `pulumi:"query"`
	// The date the export will stop capturing information.
	RecurrencePeriodEnd pulumi.StringOutput `pulumi:"recurrencePeriodEnd"`
	// The date the export will start capturing information.
	RecurrencePeriodStart pulumi.StringOutput `pulumi:"recurrencePeriodStart"`
	// How often the requested information will be exported. Valid values include `Annually`, `Daily`, `Monthly`, `Weekly`.
	RecurrenceType pulumi.StringOutput `pulumi:"recurrenceType"`
	// The id of the resource group in which to export information.
	ResourceGroupId pulumi.StringOutput `pulumi:"resourceGroupId"`
}

Manages an Azure Cost Management Export for a Resource Group.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/costmanagement"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		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
		}
		_, err = costmanagement.NewResourceGroupExport(ctx, "exampleResourceGroupExport", &costmanagement.ResourceGroupExportArgs{
			ResourceGroupId:       exampleResourceGroup.ID(),
			RecurrenceType:        pulumi.String("Monthly"),
			RecurrencePeriodStart: pulumi.String("2020-08-18T00:00:00Z"),
			RecurrencePeriodEnd:   pulumi.String("2020-09-18T00:00:00Z"),
			DeliveryInfo: &costmanagement.ResourceGroupExportDeliveryInfoArgs{
				StorageAccountId: exampleAccount.ID(),
				ContainerName:    pulumi.String("examplecontainer"),
				RootFolderPath:   pulumi.String("/root/updated"),
			},
			Query: &costmanagement.ResourceGroupExportQueryArgs{
				Type:      pulumi.String("Usage"),
				TimeFrame: pulumi.String("WeekToDate"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Cost Management Export for a Resource Group can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:costmanagement/resourceGroupExport:ResourceGroupExport example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.CostManagement/exports/example

```

func GetResourceGroupExport

func GetResourceGroupExport(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ResourceGroupExportState, opts ...pulumi.ResourceOption) (*ResourceGroupExport, error)

GetResourceGroupExport gets an existing ResourceGroupExport resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewResourceGroupExport

func NewResourceGroupExport(ctx *pulumi.Context,
	name string, args *ResourceGroupExportArgs, opts ...pulumi.ResourceOption) (*ResourceGroupExport, error)

NewResourceGroupExport registers a new resource with the given unique name, arguments, and options.

func (*ResourceGroupExport) ElementType

func (*ResourceGroupExport) ElementType() reflect.Type

func (*ResourceGroupExport) ToResourceGroupExportOutput

func (i *ResourceGroupExport) ToResourceGroupExportOutput() ResourceGroupExportOutput

func (*ResourceGroupExport) ToResourceGroupExportOutputWithContext

func (i *ResourceGroupExport) ToResourceGroupExportOutputWithContext(ctx context.Context) ResourceGroupExportOutput

func (*ResourceGroupExport) ToResourceGroupExportPtrOutput

func (i *ResourceGroupExport) ToResourceGroupExportPtrOutput() ResourceGroupExportPtrOutput

func (*ResourceGroupExport) ToResourceGroupExportPtrOutputWithContext

func (i *ResourceGroupExport) ToResourceGroupExportPtrOutputWithContext(ctx context.Context) ResourceGroupExportPtrOutput

type ResourceGroupExportArgs

type ResourceGroupExportArgs struct {
	// Is the cost management export active? Default is `true`.
	Active pulumi.BoolPtrInput
	// A `deliveryInfo` block as defined below.
	DeliveryInfo ResourceGroupExportDeliveryInfoInput
	// Specifies the name of the Cost Management Export. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// A `query` block as defined below.
	Query ResourceGroupExportQueryInput
	// The date the export will stop capturing information.
	RecurrencePeriodEnd pulumi.StringInput
	// The date the export will start capturing information.
	RecurrencePeriodStart pulumi.StringInput
	// How often the requested information will be exported. Valid values include `Annually`, `Daily`, `Monthly`, `Weekly`.
	RecurrenceType pulumi.StringInput
	// The id of the resource group in which to export information.
	ResourceGroupId pulumi.StringInput
}

The set of arguments for constructing a ResourceGroupExport resource.

func (ResourceGroupExportArgs) ElementType

func (ResourceGroupExportArgs) ElementType() reflect.Type

type ResourceGroupExportArray

type ResourceGroupExportArray []ResourceGroupExportInput

func (ResourceGroupExportArray) ElementType

func (ResourceGroupExportArray) ElementType() reflect.Type

func (ResourceGroupExportArray) ToResourceGroupExportArrayOutput

func (i ResourceGroupExportArray) ToResourceGroupExportArrayOutput() ResourceGroupExportArrayOutput

func (ResourceGroupExportArray) ToResourceGroupExportArrayOutputWithContext

func (i ResourceGroupExportArray) ToResourceGroupExportArrayOutputWithContext(ctx context.Context) ResourceGroupExportArrayOutput

type ResourceGroupExportArrayInput

type ResourceGroupExportArrayInput interface {
	pulumi.Input

	ToResourceGroupExportArrayOutput() ResourceGroupExportArrayOutput
	ToResourceGroupExportArrayOutputWithContext(context.Context) ResourceGroupExportArrayOutput
}

ResourceGroupExportArrayInput is an input type that accepts ResourceGroupExportArray and ResourceGroupExportArrayOutput values. You can construct a concrete instance of `ResourceGroupExportArrayInput` via:

ResourceGroupExportArray{ ResourceGroupExportArgs{...} }

type ResourceGroupExportArrayOutput

type ResourceGroupExportArrayOutput struct{ *pulumi.OutputState }

func (ResourceGroupExportArrayOutput) ElementType

func (ResourceGroupExportArrayOutput) Index

func (ResourceGroupExportArrayOutput) ToResourceGroupExportArrayOutput

func (o ResourceGroupExportArrayOutput) ToResourceGroupExportArrayOutput() ResourceGroupExportArrayOutput

func (ResourceGroupExportArrayOutput) ToResourceGroupExportArrayOutputWithContext

func (o ResourceGroupExportArrayOutput) ToResourceGroupExportArrayOutputWithContext(ctx context.Context) ResourceGroupExportArrayOutput

type ResourceGroupExportDeliveryInfo

type ResourceGroupExportDeliveryInfo struct {
	// The name of the container where exports will be uploaded.
	ContainerName string `pulumi:"containerName"`
	// The path of the directory where exports will be uploaded.
	RootFolderPath string `pulumi:"rootFolderPath"`
	// The storage account id where exports will be delivered.
	StorageAccountId string `pulumi:"storageAccountId"`
}

type ResourceGroupExportDeliveryInfoArgs

type ResourceGroupExportDeliveryInfoArgs struct {
	// The name of the container where exports will be uploaded.
	ContainerName pulumi.StringInput `pulumi:"containerName"`
	// The path of the directory where exports will be uploaded.
	RootFolderPath pulumi.StringInput `pulumi:"rootFolderPath"`
	// The storage account id where exports will be delivered.
	StorageAccountId pulumi.StringInput `pulumi:"storageAccountId"`
}

func (ResourceGroupExportDeliveryInfoArgs) ElementType

func (ResourceGroupExportDeliveryInfoArgs) ToResourceGroupExportDeliveryInfoOutput

func (i ResourceGroupExportDeliveryInfoArgs) ToResourceGroupExportDeliveryInfoOutput() ResourceGroupExportDeliveryInfoOutput

func (ResourceGroupExportDeliveryInfoArgs) ToResourceGroupExportDeliveryInfoOutputWithContext

func (i ResourceGroupExportDeliveryInfoArgs) ToResourceGroupExportDeliveryInfoOutputWithContext(ctx context.Context) ResourceGroupExportDeliveryInfoOutput

func (ResourceGroupExportDeliveryInfoArgs) ToResourceGroupExportDeliveryInfoPtrOutput

func (i ResourceGroupExportDeliveryInfoArgs) ToResourceGroupExportDeliveryInfoPtrOutput() ResourceGroupExportDeliveryInfoPtrOutput

func (ResourceGroupExportDeliveryInfoArgs) ToResourceGroupExportDeliveryInfoPtrOutputWithContext

func (i ResourceGroupExportDeliveryInfoArgs) ToResourceGroupExportDeliveryInfoPtrOutputWithContext(ctx context.Context) ResourceGroupExportDeliveryInfoPtrOutput

type ResourceGroupExportDeliveryInfoInput

type ResourceGroupExportDeliveryInfoInput interface {
	pulumi.Input

	ToResourceGroupExportDeliveryInfoOutput() ResourceGroupExportDeliveryInfoOutput
	ToResourceGroupExportDeliveryInfoOutputWithContext(context.Context) ResourceGroupExportDeliveryInfoOutput
}

ResourceGroupExportDeliveryInfoInput is an input type that accepts ResourceGroupExportDeliveryInfoArgs and ResourceGroupExportDeliveryInfoOutput values. You can construct a concrete instance of `ResourceGroupExportDeliveryInfoInput` via:

ResourceGroupExportDeliveryInfoArgs{...}

type ResourceGroupExportDeliveryInfoOutput

type ResourceGroupExportDeliveryInfoOutput struct{ *pulumi.OutputState }

func (ResourceGroupExportDeliveryInfoOutput) ContainerName

The name of the container where exports will be uploaded.

func (ResourceGroupExportDeliveryInfoOutput) ElementType

func (ResourceGroupExportDeliveryInfoOutput) RootFolderPath

The path of the directory where exports will be uploaded.

func (ResourceGroupExportDeliveryInfoOutput) StorageAccountId

The storage account id where exports will be delivered.

func (ResourceGroupExportDeliveryInfoOutput) ToResourceGroupExportDeliveryInfoOutput

func (o ResourceGroupExportDeliveryInfoOutput) ToResourceGroupExportDeliveryInfoOutput() ResourceGroupExportDeliveryInfoOutput

func (ResourceGroupExportDeliveryInfoOutput) ToResourceGroupExportDeliveryInfoOutputWithContext

func (o ResourceGroupExportDeliveryInfoOutput) ToResourceGroupExportDeliveryInfoOutputWithContext(ctx context.Context) ResourceGroupExportDeliveryInfoOutput

func (ResourceGroupExportDeliveryInfoOutput) ToResourceGroupExportDeliveryInfoPtrOutput

func (o ResourceGroupExportDeliveryInfoOutput) ToResourceGroupExportDeliveryInfoPtrOutput() ResourceGroupExportDeliveryInfoPtrOutput

func (ResourceGroupExportDeliveryInfoOutput) ToResourceGroupExportDeliveryInfoPtrOutputWithContext

func (o ResourceGroupExportDeliveryInfoOutput) ToResourceGroupExportDeliveryInfoPtrOutputWithContext(ctx context.Context) ResourceGroupExportDeliveryInfoPtrOutput

type ResourceGroupExportDeliveryInfoPtrInput

type ResourceGroupExportDeliveryInfoPtrInput interface {
	pulumi.Input

	ToResourceGroupExportDeliveryInfoPtrOutput() ResourceGroupExportDeliveryInfoPtrOutput
	ToResourceGroupExportDeliveryInfoPtrOutputWithContext(context.Context) ResourceGroupExportDeliveryInfoPtrOutput
}

ResourceGroupExportDeliveryInfoPtrInput is an input type that accepts ResourceGroupExportDeliveryInfoArgs, ResourceGroupExportDeliveryInfoPtr and ResourceGroupExportDeliveryInfoPtrOutput values. You can construct a concrete instance of `ResourceGroupExportDeliveryInfoPtrInput` via:

        ResourceGroupExportDeliveryInfoArgs{...}

or:

        nil

type ResourceGroupExportDeliveryInfoPtrOutput

type ResourceGroupExportDeliveryInfoPtrOutput struct{ *pulumi.OutputState }

func (ResourceGroupExportDeliveryInfoPtrOutput) ContainerName

The name of the container where exports will be uploaded.

func (ResourceGroupExportDeliveryInfoPtrOutput) Elem

func (ResourceGroupExportDeliveryInfoPtrOutput) ElementType

func (ResourceGroupExportDeliveryInfoPtrOutput) RootFolderPath

The path of the directory where exports will be uploaded.

func (ResourceGroupExportDeliveryInfoPtrOutput) StorageAccountId

The storage account id where exports will be delivered.

func (ResourceGroupExportDeliveryInfoPtrOutput) ToResourceGroupExportDeliveryInfoPtrOutput

func (o ResourceGroupExportDeliveryInfoPtrOutput) ToResourceGroupExportDeliveryInfoPtrOutput() ResourceGroupExportDeliveryInfoPtrOutput

func (ResourceGroupExportDeliveryInfoPtrOutput) ToResourceGroupExportDeliveryInfoPtrOutputWithContext

func (o ResourceGroupExportDeliveryInfoPtrOutput) ToResourceGroupExportDeliveryInfoPtrOutputWithContext(ctx context.Context) ResourceGroupExportDeliveryInfoPtrOutput

type ResourceGroupExportInput

type ResourceGroupExportInput interface {
	pulumi.Input

	ToResourceGroupExportOutput() ResourceGroupExportOutput
	ToResourceGroupExportOutputWithContext(ctx context.Context) ResourceGroupExportOutput
}

type ResourceGroupExportMap

type ResourceGroupExportMap map[string]ResourceGroupExportInput

func (ResourceGroupExportMap) ElementType

func (ResourceGroupExportMap) ElementType() reflect.Type

func (ResourceGroupExportMap) ToResourceGroupExportMapOutput

func (i ResourceGroupExportMap) ToResourceGroupExportMapOutput() ResourceGroupExportMapOutput

func (ResourceGroupExportMap) ToResourceGroupExportMapOutputWithContext

func (i ResourceGroupExportMap) ToResourceGroupExportMapOutputWithContext(ctx context.Context) ResourceGroupExportMapOutput

type ResourceGroupExportMapInput

type ResourceGroupExportMapInput interface {
	pulumi.Input

	ToResourceGroupExportMapOutput() ResourceGroupExportMapOutput
	ToResourceGroupExportMapOutputWithContext(context.Context) ResourceGroupExportMapOutput
}

ResourceGroupExportMapInput is an input type that accepts ResourceGroupExportMap and ResourceGroupExportMapOutput values. You can construct a concrete instance of `ResourceGroupExportMapInput` via:

ResourceGroupExportMap{ "key": ResourceGroupExportArgs{...} }

type ResourceGroupExportMapOutput

type ResourceGroupExportMapOutput struct{ *pulumi.OutputState }

func (ResourceGroupExportMapOutput) ElementType

func (ResourceGroupExportMapOutput) MapIndex

func (ResourceGroupExportMapOutput) ToResourceGroupExportMapOutput

func (o ResourceGroupExportMapOutput) ToResourceGroupExportMapOutput() ResourceGroupExportMapOutput

func (ResourceGroupExportMapOutput) ToResourceGroupExportMapOutputWithContext

func (o ResourceGroupExportMapOutput) ToResourceGroupExportMapOutputWithContext(ctx context.Context) ResourceGroupExportMapOutput

type ResourceGroupExportOutput

type ResourceGroupExportOutput struct {
	*pulumi.OutputState
}

func (ResourceGroupExportOutput) ElementType

func (ResourceGroupExportOutput) ElementType() reflect.Type

func (ResourceGroupExportOutput) ToResourceGroupExportOutput

func (o ResourceGroupExportOutput) ToResourceGroupExportOutput() ResourceGroupExportOutput

func (ResourceGroupExportOutput) ToResourceGroupExportOutputWithContext

func (o ResourceGroupExportOutput) ToResourceGroupExportOutputWithContext(ctx context.Context) ResourceGroupExportOutput

func (ResourceGroupExportOutput) ToResourceGroupExportPtrOutput

func (o ResourceGroupExportOutput) ToResourceGroupExportPtrOutput() ResourceGroupExportPtrOutput

func (ResourceGroupExportOutput) ToResourceGroupExportPtrOutputWithContext

func (o ResourceGroupExportOutput) ToResourceGroupExportPtrOutputWithContext(ctx context.Context) ResourceGroupExportPtrOutput

type ResourceGroupExportPtrInput

type ResourceGroupExportPtrInput interface {
	pulumi.Input

	ToResourceGroupExportPtrOutput() ResourceGroupExportPtrOutput
	ToResourceGroupExportPtrOutputWithContext(ctx context.Context) ResourceGroupExportPtrOutput
}

type ResourceGroupExportPtrOutput

type ResourceGroupExportPtrOutput struct {
	*pulumi.OutputState
}

func (ResourceGroupExportPtrOutput) ElementType

func (ResourceGroupExportPtrOutput) ToResourceGroupExportPtrOutput

func (o ResourceGroupExportPtrOutput) ToResourceGroupExportPtrOutput() ResourceGroupExportPtrOutput

func (ResourceGroupExportPtrOutput) ToResourceGroupExportPtrOutputWithContext

func (o ResourceGroupExportPtrOutput) ToResourceGroupExportPtrOutputWithContext(ctx context.Context) ResourceGroupExportPtrOutput

type ResourceGroupExportQuery

type ResourceGroupExportQuery struct {
	// 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`.
	TimeFrame string `pulumi:"timeFrame"`
	// The type of the query.
	Type string `pulumi:"type"`
}

type ResourceGroupExportQueryArgs

type ResourceGroupExportQueryArgs struct {
	// 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`.
	TimeFrame pulumi.StringInput `pulumi:"timeFrame"`
	// The type of the query.
	Type pulumi.StringInput `pulumi:"type"`
}

func (ResourceGroupExportQueryArgs) ElementType

func (ResourceGroupExportQueryArgs) ToResourceGroupExportQueryOutput

func (i ResourceGroupExportQueryArgs) ToResourceGroupExportQueryOutput() ResourceGroupExportQueryOutput

func (ResourceGroupExportQueryArgs) ToResourceGroupExportQueryOutputWithContext

func (i ResourceGroupExportQueryArgs) ToResourceGroupExportQueryOutputWithContext(ctx context.Context) ResourceGroupExportQueryOutput

func (ResourceGroupExportQueryArgs) ToResourceGroupExportQueryPtrOutput

func (i ResourceGroupExportQueryArgs) ToResourceGroupExportQueryPtrOutput() ResourceGroupExportQueryPtrOutput

func (ResourceGroupExportQueryArgs) ToResourceGroupExportQueryPtrOutputWithContext

func (i ResourceGroupExportQueryArgs) ToResourceGroupExportQueryPtrOutputWithContext(ctx context.Context) ResourceGroupExportQueryPtrOutput

type ResourceGroupExportQueryInput

type ResourceGroupExportQueryInput interface {
	pulumi.Input

	ToResourceGroupExportQueryOutput() ResourceGroupExportQueryOutput
	ToResourceGroupExportQueryOutputWithContext(context.Context) ResourceGroupExportQueryOutput
}

ResourceGroupExportQueryInput is an input type that accepts ResourceGroupExportQueryArgs and ResourceGroupExportQueryOutput values. You can construct a concrete instance of `ResourceGroupExportQueryInput` via:

ResourceGroupExportQueryArgs{...}

type ResourceGroupExportQueryOutput

type ResourceGroupExportQueryOutput struct{ *pulumi.OutputState }

func (ResourceGroupExportQueryOutput) ElementType

func (ResourceGroupExportQueryOutput) TimeFrame

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

func (ResourceGroupExportQueryOutput) ToResourceGroupExportQueryOutput

func (o ResourceGroupExportQueryOutput) ToResourceGroupExportQueryOutput() ResourceGroupExportQueryOutput

func (ResourceGroupExportQueryOutput) ToResourceGroupExportQueryOutputWithContext

func (o ResourceGroupExportQueryOutput) ToResourceGroupExportQueryOutputWithContext(ctx context.Context) ResourceGroupExportQueryOutput

func (ResourceGroupExportQueryOutput) ToResourceGroupExportQueryPtrOutput

func (o ResourceGroupExportQueryOutput) ToResourceGroupExportQueryPtrOutput() ResourceGroupExportQueryPtrOutput

func (ResourceGroupExportQueryOutput) ToResourceGroupExportQueryPtrOutputWithContext

func (o ResourceGroupExportQueryOutput) ToResourceGroupExportQueryPtrOutputWithContext(ctx context.Context) ResourceGroupExportQueryPtrOutput

func (ResourceGroupExportQueryOutput) Type

The type of the query.

type ResourceGroupExportQueryPtrInput

type ResourceGroupExportQueryPtrInput interface {
	pulumi.Input

	ToResourceGroupExportQueryPtrOutput() ResourceGroupExportQueryPtrOutput
	ToResourceGroupExportQueryPtrOutputWithContext(context.Context) ResourceGroupExportQueryPtrOutput
}

ResourceGroupExportQueryPtrInput is an input type that accepts ResourceGroupExportQueryArgs, ResourceGroupExportQueryPtr and ResourceGroupExportQueryPtrOutput values. You can construct a concrete instance of `ResourceGroupExportQueryPtrInput` via:

        ResourceGroupExportQueryArgs{...}

or:

        nil

type ResourceGroupExportQueryPtrOutput

type ResourceGroupExportQueryPtrOutput struct{ *pulumi.OutputState }

func (ResourceGroupExportQueryPtrOutput) Elem

func (ResourceGroupExportQueryPtrOutput) ElementType

func (ResourceGroupExportQueryPtrOutput) TimeFrame

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

func (ResourceGroupExportQueryPtrOutput) ToResourceGroupExportQueryPtrOutput

func (o ResourceGroupExportQueryPtrOutput) ToResourceGroupExportQueryPtrOutput() ResourceGroupExportQueryPtrOutput

func (ResourceGroupExportQueryPtrOutput) ToResourceGroupExportQueryPtrOutputWithContext

func (o ResourceGroupExportQueryPtrOutput) ToResourceGroupExportQueryPtrOutputWithContext(ctx context.Context) ResourceGroupExportQueryPtrOutput

func (ResourceGroupExportQueryPtrOutput) Type

The type of the query.

type ResourceGroupExportState

type ResourceGroupExportState struct {
	// Is the cost management export active? Default is `true`.
	Active pulumi.BoolPtrInput
	// A `deliveryInfo` block as defined below.
	DeliveryInfo ResourceGroupExportDeliveryInfoPtrInput
	// Specifies the name of the Cost Management Export. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// A `query` block as defined below.
	Query ResourceGroupExportQueryPtrInput
	// The date the export will stop capturing information.
	RecurrencePeriodEnd pulumi.StringPtrInput
	// The date the export will start capturing information.
	RecurrencePeriodStart pulumi.StringPtrInput
	// How often the requested information will be exported. Valid values include `Annually`, `Daily`, `Monthly`, `Weekly`.
	RecurrenceType pulumi.StringPtrInput
	// The id of the resource group in which to export information.
	ResourceGroupId pulumi.StringPtrInput
}

func (ResourceGroupExportState) ElementType

func (ResourceGroupExportState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL