Documentation ¶
Index ¶
- type ResourceGroupExport
- func (*ResourceGroupExport) ElementType() reflect.Type
- func (i *ResourceGroupExport) ToResourceGroupExportOutput() ResourceGroupExportOutput
- func (i *ResourceGroupExport) ToResourceGroupExportOutputWithContext(ctx context.Context) ResourceGroupExportOutput
- func (i *ResourceGroupExport) ToResourceGroupExportPtrOutput() ResourceGroupExportPtrOutput
- func (i *ResourceGroupExport) ToResourceGroupExportPtrOutputWithContext(ctx context.Context) ResourceGroupExportPtrOutput
- type ResourceGroupExportArgs
- type ResourceGroupExportArray
- type ResourceGroupExportArrayInput
- type ResourceGroupExportArrayOutput
- func (ResourceGroupExportArrayOutput) ElementType() reflect.Type
- func (o ResourceGroupExportArrayOutput) Index(i pulumi.IntInput) ResourceGroupExportOutput
- func (o ResourceGroupExportArrayOutput) ToResourceGroupExportArrayOutput() ResourceGroupExportArrayOutput
- func (o ResourceGroupExportArrayOutput) ToResourceGroupExportArrayOutputWithContext(ctx context.Context) ResourceGroupExportArrayOutput
- type ResourceGroupExportDeliveryInfo
- type ResourceGroupExportDeliveryInfoArgs
- func (ResourceGroupExportDeliveryInfoArgs) ElementType() reflect.Type
- func (i ResourceGroupExportDeliveryInfoArgs) ToResourceGroupExportDeliveryInfoOutput() ResourceGroupExportDeliveryInfoOutput
- func (i ResourceGroupExportDeliveryInfoArgs) ToResourceGroupExportDeliveryInfoOutputWithContext(ctx context.Context) ResourceGroupExportDeliveryInfoOutput
- func (i ResourceGroupExportDeliveryInfoArgs) ToResourceGroupExportDeliveryInfoPtrOutput() ResourceGroupExportDeliveryInfoPtrOutput
- func (i ResourceGroupExportDeliveryInfoArgs) ToResourceGroupExportDeliveryInfoPtrOutputWithContext(ctx context.Context) ResourceGroupExportDeliveryInfoPtrOutput
- type ResourceGroupExportDeliveryInfoInput
- type ResourceGroupExportDeliveryInfoOutput
- func (o ResourceGroupExportDeliveryInfoOutput) ContainerName() pulumi.StringOutput
- func (ResourceGroupExportDeliveryInfoOutput) ElementType() reflect.Type
- func (o ResourceGroupExportDeliveryInfoOutput) RootFolderPath() pulumi.StringOutput
- func (o ResourceGroupExportDeliveryInfoOutput) StorageAccountId() pulumi.StringOutput
- func (o ResourceGroupExportDeliveryInfoOutput) ToResourceGroupExportDeliveryInfoOutput() ResourceGroupExportDeliveryInfoOutput
- func (o ResourceGroupExportDeliveryInfoOutput) ToResourceGroupExportDeliveryInfoOutputWithContext(ctx context.Context) ResourceGroupExportDeliveryInfoOutput
- func (o ResourceGroupExportDeliveryInfoOutput) ToResourceGroupExportDeliveryInfoPtrOutput() ResourceGroupExportDeliveryInfoPtrOutput
- func (o ResourceGroupExportDeliveryInfoOutput) ToResourceGroupExportDeliveryInfoPtrOutputWithContext(ctx context.Context) ResourceGroupExportDeliveryInfoPtrOutput
- type ResourceGroupExportDeliveryInfoPtrInput
- type ResourceGroupExportDeliveryInfoPtrOutput
- func (o ResourceGroupExportDeliveryInfoPtrOutput) ContainerName() pulumi.StringPtrOutput
- func (o ResourceGroupExportDeliveryInfoPtrOutput) Elem() ResourceGroupExportDeliveryInfoOutput
- func (ResourceGroupExportDeliveryInfoPtrOutput) ElementType() reflect.Type
- func (o ResourceGroupExportDeliveryInfoPtrOutput) RootFolderPath() pulumi.StringPtrOutput
- func (o ResourceGroupExportDeliveryInfoPtrOutput) StorageAccountId() pulumi.StringPtrOutput
- func (o ResourceGroupExportDeliveryInfoPtrOutput) ToResourceGroupExportDeliveryInfoPtrOutput() ResourceGroupExportDeliveryInfoPtrOutput
- func (o ResourceGroupExportDeliveryInfoPtrOutput) ToResourceGroupExportDeliveryInfoPtrOutputWithContext(ctx context.Context) ResourceGroupExportDeliveryInfoPtrOutput
- type ResourceGroupExportInput
- type ResourceGroupExportMap
- type ResourceGroupExportMapInput
- type ResourceGroupExportMapOutput
- func (ResourceGroupExportMapOutput) ElementType() reflect.Type
- func (o ResourceGroupExportMapOutput) MapIndex(k pulumi.StringInput) ResourceGroupExportOutput
- func (o ResourceGroupExportMapOutput) ToResourceGroupExportMapOutput() ResourceGroupExportMapOutput
- func (o ResourceGroupExportMapOutput) ToResourceGroupExportMapOutputWithContext(ctx context.Context) ResourceGroupExportMapOutput
- type ResourceGroupExportOutput
- func (ResourceGroupExportOutput) ElementType() reflect.Type
- func (o ResourceGroupExportOutput) ToResourceGroupExportOutput() ResourceGroupExportOutput
- func (o ResourceGroupExportOutput) ToResourceGroupExportOutputWithContext(ctx context.Context) ResourceGroupExportOutput
- func (o ResourceGroupExportOutput) ToResourceGroupExportPtrOutput() ResourceGroupExportPtrOutput
- func (o ResourceGroupExportOutput) ToResourceGroupExportPtrOutputWithContext(ctx context.Context) ResourceGroupExportPtrOutput
- type ResourceGroupExportPtrInput
- type ResourceGroupExportPtrOutput
- type ResourceGroupExportQuery
- type ResourceGroupExportQueryArgs
- func (ResourceGroupExportQueryArgs) ElementType() reflect.Type
- func (i ResourceGroupExportQueryArgs) ToResourceGroupExportQueryOutput() ResourceGroupExportQueryOutput
- func (i ResourceGroupExportQueryArgs) ToResourceGroupExportQueryOutputWithContext(ctx context.Context) ResourceGroupExportQueryOutput
- func (i ResourceGroupExportQueryArgs) ToResourceGroupExportQueryPtrOutput() ResourceGroupExportQueryPtrOutput
- func (i ResourceGroupExportQueryArgs) ToResourceGroupExportQueryPtrOutputWithContext(ctx context.Context) ResourceGroupExportQueryPtrOutput
- type ResourceGroupExportQueryInput
- type ResourceGroupExportQueryOutput
- func (ResourceGroupExportQueryOutput) ElementType() reflect.Type
- func (o ResourceGroupExportQueryOutput) TimeFrame() pulumi.StringOutput
- func (o ResourceGroupExportQueryOutput) ToResourceGroupExportQueryOutput() ResourceGroupExportQueryOutput
- func (o ResourceGroupExportQueryOutput) ToResourceGroupExportQueryOutputWithContext(ctx context.Context) ResourceGroupExportQueryOutput
- func (o ResourceGroupExportQueryOutput) ToResourceGroupExportQueryPtrOutput() ResourceGroupExportQueryPtrOutput
- func (o ResourceGroupExportQueryOutput) ToResourceGroupExportQueryPtrOutputWithContext(ctx context.Context) ResourceGroupExportQueryPtrOutput
- func (o ResourceGroupExportQueryOutput) Type() pulumi.StringOutput
- type ResourceGroupExportQueryPtrInput
- type ResourceGroupExportQueryPtrOutput
- func (o ResourceGroupExportQueryPtrOutput) Elem() ResourceGroupExportQueryOutput
- func (ResourceGroupExportQueryPtrOutput) ElementType() reflect.Type
- func (o ResourceGroupExportQueryPtrOutput) TimeFrame() pulumi.StringPtrOutput
- func (o ResourceGroupExportQueryPtrOutput) ToResourceGroupExportQueryPtrOutput() ResourceGroupExportQueryPtrOutput
- func (o ResourceGroupExportQueryPtrOutput) ToResourceGroupExportQueryPtrOutputWithContext(ctx context.Context) ResourceGroupExportQueryPtrOutput
- func (o ResourceGroupExportQueryPtrOutput) Type() pulumi.StringPtrOutput
- type ResourceGroupExportState
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) ElementType() reflect.Type
func (ResourceGroupExportArrayOutput) Index ¶
func (o ResourceGroupExportArrayOutput) Index(i pulumi.IntInput) ResourceGroupExportOutput
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) ElementType() reflect.Type
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 ¶
func (o ResourceGroupExportDeliveryInfoOutput) ContainerName() pulumi.StringOutput
The name of the container where exports will be uploaded.
func (ResourceGroupExportDeliveryInfoOutput) ElementType ¶
func (ResourceGroupExportDeliveryInfoOutput) ElementType() reflect.Type
func (ResourceGroupExportDeliveryInfoOutput) RootFolderPath ¶
func (o ResourceGroupExportDeliveryInfoOutput) RootFolderPath() pulumi.StringOutput
The path of the directory where exports will be uploaded.
func (ResourceGroupExportDeliveryInfoOutput) StorageAccountId ¶
func (o ResourceGroupExportDeliveryInfoOutput) StorageAccountId() pulumi.StringOutput
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
func ResourceGroupExportDeliveryInfoPtr ¶
func ResourceGroupExportDeliveryInfoPtr(v *ResourceGroupExportDeliveryInfoArgs) ResourceGroupExportDeliveryInfoPtrInput
type ResourceGroupExportDeliveryInfoPtrOutput ¶
type ResourceGroupExportDeliveryInfoPtrOutput struct{ *pulumi.OutputState }
func (ResourceGroupExportDeliveryInfoPtrOutput) ContainerName ¶
func (o ResourceGroupExportDeliveryInfoPtrOutput) ContainerName() pulumi.StringPtrOutput
The name of the container where exports will be uploaded.
func (ResourceGroupExportDeliveryInfoPtrOutput) ElementType ¶
func (ResourceGroupExportDeliveryInfoPtrOutput) ElementType() reflect.Type
func (ResourceGroupExportDeliveryInfoPtrOutput) RootFolderPath ¶
func (o ResourceGroupExportDeliveryInfoPtrOutput) RootFolderPath() pulumi.StringPtrOutput
The path of the directory where exports will be uploaded.
func (ResourceGroupExportDeliveryInfoPtrOutput) StorageAccountId ¶
func (o ResourceGroupExportDeliveryInfoPtrOutput) StorageAccountId() pulumi.StringPtrOutput
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) ElementType() reflect.Type
func (ResourceGroupExportMapOutput) MapIndex ¶
func (o ResourceGroupExportMapOutput) MapIndex(k pulumi.StringInput) ResourceGroupExportOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (ResourceGroupExportQueryOutput) TimeFrame ¶
func (o ResourceGroupExportQueryOutput) TimeFrame() pulumi.StringOutput
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 ¶
func (o ResourceGroupExportQueryOutput) Type() pulumi.StringOutput
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
func ResourceGroupExportQueryPtr ¶
func ResourceGroupExportQueryPtr(v *ResourceGroupExportQueryArgs) ResourceGroupExportQueryPtrInput
type ResourceGroupExportQueryPtrOutput ¶
type ResourceGroupExportQueryPtrOutput struct{ *pulumi.OutputState }
func (ResourceGroupExportQueryPtrOutput) Elem ¶
func (o ResourceGroupExportQueryPtrOutput) Elem() ResourceGroupExportQueryOutput
func (ResourceGroupExportQueryPtrOutput) ElementType ¶
func (ResourceGroupExportQueryPtrOutput) ElementType() reflect.Type
func (ResourceGroupExportQueryPtrOutput) TimeFrame ¶
func (o ResourceGroupExportQueryPtrOutput) TimeFrame() pulumi.StringPtrOutput
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 ¶
func (o ResourceGroupExportQueryPtrOutput) Type() pulumi.StringPtrOutput
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