costmanagement

package
v0.0.0-...-37ff63d Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

nolint: lll

nolint: lll

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.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/cost_management_export_resource_group.html.markdown.

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.

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 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
}

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
}

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 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
}

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
}

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