Documentation
¶
Index ¶
- type AccountCostManagementExport
- func (*AccountCostManagementExport) ElementType() reflect.Type
- func (i *AccountCostManagementExport) ToAccountCostManagementExportOutput() AccountCostManagementExportOutput
- func (i *AccountCostManagementExport) ToAccountCostManagementExportOutputWithContext(ctx context.Context) AccountCostManagementExportOutput
- type AccountCostManagementExportArgs
- type AccountCostManagementExportArray
- func (AccountCostManagementExportArray) ElementType() reflect.Type
- func (i AccountCostManagementExportArray) ToAccountCostManagementExportArrayOutput() AccountCostManagementExportArrayOutput
- func (i AccountCostManagementExportArray) ToAccountCostManagementExportArrayOutputWithContext(ctx context.Context) AccountCostManagementExportArrayOutput
- type AccountCostManagementExportArrayInput
- type AccountCostManagementExportArrayOutput
- func (AccountCostManagementExportArrayOutput) ElementType() reflect.Type
- func (o AccountCostManagementExportArrayOutput) Index(i pulumi.IntInput) AccountCostManagementExportOutput
- func (o AccountCostManagementExportArrayOutput) ToAccountCostManagementExportArrayOutput() AccountCostManagementExportArrayOutput
- func (o AccountCostManagementExportArrayOutput) ToAccountCostManagementExportArrayOutputWithContext(ctx context.Context) AccountCostManagementExportArrayOutput
- type AccountCostManagementExportExportDataOptions
- type AccountCostManagementExportExportDataOptionsArgs
- func (AccountCostManagementExportExportDataOptionsArgs) ElementType() reflect.Type
- func (i AccountCostManagementExportExportDataOptionsArgs) ToAccountCostManagementExportExportDataOptionsOutput() AccountCostManagementExportExportDataOptionsOutput
- func (i AccountCostManagementExportExportDataOptionsArgs) ToAccountCostManagementExportExportDataOptionsOutputWithContext(ctx context.Context) AccountCostManagementExportExportDataOptionsOutput
- func (i AccountCostManagementExportExportDataOptionsArgs) ToAccountCostManagementExportExportDataOptionsPtrOutput() AccountCostManagementExportExportDataOptionsPtrOutput
- func (i AccountCostManagementExportExportDataOptionsArgs) ToAccountCostManagementExportExportDataOptionsPtrOutputWithContext(ctx context.Context) AccountCostManagementExportExportDataOptionsPtrOutput
- type AccountCostManagementExportExportDataOptionsInput
- type AccountCostManagementExportExportDataOptionsOutput
- func (AccountCostManagementExportExportDataOptionsOutput) ElementType() reflect.Type
- func (o AccountCostManagementExportExportDataOptionsOutput) TimeFrame() pulumi.StringOutput
- func (o AccountCostManagementExportExportDataOptionsOutput) ToAccountCostManagementExportExportDataOptionsOutput() AccountCostManagementExportExportDataOptionsOutput
- func (o AccountCostManagementExportExportDataOptionsOutput) ToAccountCostManagementExportExportDataOptionsOutputWithContext(ctx context.Context) AccountCostManagementExportExportDataOptionsOutput
- func (o AccountCostManagementExportExportDataOptionsOutput) ToAccountCostManagementExportExportDataOptionsPtrOutput() AccountCostManagementExportExportDataOptionsPtrOutput
- func (o AccountCostManagementExportExportDataOptionsOutput) ToAccountCostManagementExportExportDataOptionsPtrOutputWithContext(ctx context.Context) AccountCostManagementExportExportDataOptionsPtrOutput
- func (o AccountCostManagementExportExportDataOptionsOutput) Type() pulumi.StringOutput
- type AccountCostManagementExportExportDataOptionsPtrInput
- type AccountCostManagementExportExportDataOptionsPtrOutput
- func (o AccountCostManagementExportExportDataOptionsPtrOutput) Elem() AccountCostManagementExportExportDataOptionsOutput
- func (AccountCostManagementExportExportDataOptionsPtrOutput) ElementType() reflect.Type
- func (o AccountCostManagementExportExportDataOptionsPtrOutput) TimeFrame() pulumi.StringPtrOutput
- func (o AccountCostManagementExportExportDataOptionsPtrOutput) ToAccountCostManagementExportExportDataOptionsPtrOutput() AccountCostManagementExportExportDataOptionsPtrOutput
- func (o AccountCostManagementExportExportDataOptionsPtrOutput) ToAccountCostManagementExportExportDataOptionsPtrOutputWithContext(ctx context.Context) AccountCostManagementExportExportDataOptionsPtrOutput
- func (o AccountCostManagementExportExportDataOptionsPtrOutput) Type() pulumi.StringPtrOutput
- type AccountCostManagementExportExportDataStorageLocation
- type AccountCostManagementExportExportDataStorageLocationArgs
- func (AccountCostManagementExportExportDataStorageLocationArgs) ElementType() reflect.Type
- func (i AccountCostManagementExportExportDataStorageLocationArgs) ToAccountCostManagementExportExportDataStorageLocationOutput() AccountCostManagementExportExportDataStorageLocationOutput
- func (i AccountCostManagementExportExportDataStorageLocationArgs) ToAccountCostManagementExportExportDataStorageLocationOutputWithContext(ctx context.Context) AccountCostManagementExportExportDataStorageLocationOutput
- func (i AccountCostManagementExportExportDataStorageLocationArgs) ToAccountCostManagementExportExportDataStorageLocationPtrOutput() AccountCostManagementExportExportDataStorageLocationPtrOutput
- func (i AccountCostManagementExportExportDataStorageLocationArgs) ToAccountCostManagementExportExportDataStorageLocationPtrOutputWithContext(ctx context.Context) AccountCostManagementExportExportDataStorageLocationPtrOutput
- type AccountCostManagementExportExportDataStorageLocationInput
- type AccountCostManagementExportExportDataStorageLocationOutput
- func (o AccountCostManagementExportExportDataStorageLocationOutput) ContainerId() pulumi.StringOutput
- func (AccountCostManagementExportExportDataStorageLocationOutput) ElementType() reflect.Type
- func (o AccountCostManagementExportExportDataStorageLocationOutput) RootFolderPath() pulumi.StringOutput
- func (o AccountCostManagementExportExportDataStorageLocationOutput) ToAccountCostManagementExportExportDataStorageLocationOutput() AccountCostManagementExportExportDataStorageLocationOutput
- func (o AccountCostManagementExportExportDataStorageLocationOutput) ToAccountCostManagementExportExportDataStorageLocationOutputWithContext(ctx context.Context) AccountCostManagementExportExportDataStorageLocationOutput
- func (o AccountCostManagementExportExportDataStorageLocationOutput) ToAccountCostManagementExportExportDataStorageLocationPtrOutput() AccountCostManagementExportExportDataStorageLocationPtrOutput
- func (o AccountCostManagementExportExportDataStorageLocationOutput) ToAccountCostManagementExportExportDataStorageLocationPtrOutputWithContext(ctx context.Context) AccountCostManagementExportExportDataStorageLocationPtrOutput
- type AccountCostManagementExportExportDataStorageLocationPtrInput
- type AccountCostManagementExportExportDataStorageLocationPtrOutput
- func (o AccountCostManagementExportExportDataStorageLocationPtrOutput) ContainerId() pulumi.StringPtrOutput
- func (o AccountCostManagementExportExportDataStorageLocationPtrOutput) Elem() AccountCostManagementExportExportDataStorageLocationOutput
- func (AccountCostManagementExportExportDataStorageLocationPtrOutput) ElementType() reflect.Type
- func (o AccountCostManagementExportExportDataStorageLocationPtrOutput) RootFolderPath() pulumi.StringPtrOutput
- func (o AccountCostManagementExportExportDataStorageLocationPtrOutput) ToAccountCostManagementExportExportDataStorageLocationPtrOutput() AccountCostManagementExportExportDataStorageLocationPtrOutput
- func (o AccountCostManagementExportExportDataStorageLocationPtrOutput) ToAccountCostManagementExportExportDataStorageLocationPtrOutputWithContext(ctx context.Context) AccountCostManagementExportExportDataStorageLocationPtrOutput
- type AccountCostManagementExportInput
- type AccountCostManagementExportMap
- func (AccountCostManagementExportMap) ElementType() reflect.Type
- func (i AccountCostManagementExportMap) ToAccountCostManagementExportMapOutput() AccountCostManagementExportMapOutput
- func (i AccountCostManagementExportMap) ToAccountCostManagementExportMapOutputWithContext(ctx context.Context) AccountCostManagementExportMapOutput
- type AccountCostManagementExportMapInput
- type AccountCostManagementExportMapOutput
- func (AccountCostManagementExportMapOutput) ElementType() reflect.Type
- func (o AccountCostManagementExportMapOutput) MapIndex(k pulumi.StringInput) AccountCostManagementExportOutput
- func (o AccountCostManagementExportMapOutput) ToAccountCostManagementExportMapOutput() AccountCostManagementExportMapOutput
- func (o AccountCostManagementExportMapOutput) ToAccountCostManagementExportMapOutputWithContext(ctx context.Context) AccountCostManagementExportMapOutput
- type AccountCostManagementExportOutput
- func (o AccountCostManagementExportOutput) Active() pulumi.BoolPtrOutput
- func (o AccountCostManagementExportOutput) BillingAccountId() pulumi.StringOutput
- func (AccountCostManagementExportOutput) ElementType() reflect.Type
- func (o AccountCostManagementExportOutput) ExportDataOptions() AccountCostManagementExportExportDataOptionsOutput
- func (o AccountCostManagementExportOutput) ExportDataStorageLocation() AccountCostManagementExportExportDataStorageLocationOutput
- func (o AccountCostManagementExportOutput) Name() pulumi.StringOutput
- func (o AccountCostManagementExportOutput) RecurrencePeriodEndDate() pulumi.StringOutput
- func (o AccountCostManagementExportOutput) RecurrencePeriodStartDate() pulumi.StringOutput
- func (o AccountCostManagementExportOutput) RecurrenceType() pulumi.StringOutput
- func (o AccountCostManagementExportOutput) ToAccountCostManagementExportOutput() AccountCostManagementExportOutput
- func (o AccountCostManagementExportOutput) ToAccountCostManagementExportOutputWithContext(ctx context.Context) AccountCostManagementExportOutput
- type AccountCostManagementExportState
- type GetEnrollmentAccountScopeArgs
- type GetEnrollmentAccountScopeOutputArgs
- type GetEnrollmentAccountScopeResult
- type GetEnrollmentAccountScopeResultOutput
- func (o GetEnrollmentAccountScopeResultOutput) BillingAccountName() pulumi.StringOutput
- func (GetEnrollmentAccountScopeResultOutput) ElementType() reflect.Type
- func (o GetEnrollmentAccountScopeResultOutput) EnrollmentAccountName() pulumi.StringOutput
- func (o GetEnrollmentAccountScopeResultOutput) Id() pulumi.StringOutput
- func (o GetEnrollmentAccountScopeResultOutput) ToGetEnrollmentAccountScopeResultOutput() GetEnrollmentAccountScopeResultOutput
- func (o GetEnrollmentAccountScopeResultOutput) ToGetEnrollmentAccountScopeResultOutputWithContext(ctx context.Context) GetEnrollmentAccountScopeResultOutput
- type GetMcaAccountScopeArgs
- type GetMcaAccountScopeOutputArgs
- type GetMcaAccountScopeResult
- type GetMcaAccountScopeResultOutput
- func (o GetMcaAccountScopeResultOutput) BillingAccountName() pulumi.StringOutput
- func (o GetMcaAccountScopeResultOutput) BillingProfileName() pulumi.StringOutput
- func (GetMcaAccountScopeResultOutput) ElementType() reflect.Type
- func (o GetMcaAccountScopeResultOutput) Id() pulumi.StringOutput
- func (o GetMcaAccountScopeResultOutput) InvoiceSectionName() pulumi.StringOutput
- func (o GetMcaAccountScopeResultOutput) ToGetMcaAccountScopeResultOutput() GetMcaAccountScopeResultOutput
- func (o GetMcaAccountScopeResultOutput) ToGetMcaAccountScopeResultOutputWithContext(ctx context.Context) GetMcaAccountScopeResultOutput
- type GetMpaAccountScopeArgs
- type GetMpaAccountScopeOutputArgs
- type GetMpaAccountScopeResult
- type GetMpaAccountScopeResultOutput
- func (o GetMpaAccountScopeResultOutput) BillingAccountName() pulumi.StringOutput
- func (o GetMpaAccountScopeResultOutput) CustomerName() pulumi.StringOutput
- func (GetMpaAccountScopeResultOutput) ElementType() reflect.Type
- func (o GetMpaAccountScopeResultOutput) Id() pulumi.StringOutput
- func (o GetMpaAccountScopeResultOutput) ToGetMpaAccountScopeResultOutput() GetMpaAccountScopeResultOutput
- func (o GetMpaAccountScopeResultOutput) ToGetMpaAccountScopeResultOutputWithContext(ctx context.Context) GetMpaAccountScopeResultOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountCostManagementExport ¶ added in v5.29.0
type AccountCostManagementExport struct { pulumi.CustomResourceState // Is the cost management export active? Default is `true`. Active pulumi.BoolPtrOutput `pulumi:"active"` // The id of the billing account on which to create an export. Changing this forces a new resource to be created. BillingAccountId pulumi.StringOutput `pulumi:"billingAccountId"` // A `exportDataOptions` block as defined below. ExportDataOptions AccountCostManagementExportExportDataOptionsOutput `pulumi:"exportDataOptions"` // A `exportDataStorageLocation` block as defined below. ExportDataStorageLocation AccountCostManagementExportExportDataStorageLocationOutput `pulumi:"exportDataStorageLocation"` // Specifies the name of the Cost Management Export. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The date the export will stop capturing information. RecurrencePeriodEndDate pulumi.StringOutput `pulumi:"recurrencePeriodEndDate"` // The date the export will start capturing information. RecurrencePeriodStartDate pulumi.StringOutput `pulumi:"recurrencePeriodStartDate"` // How often the requested information will be exported. Valid values include `Annually`, `Daily`, `Monthly`, `Weekly`. RecurrenceType pulumi.StringOutput `pulumi:"recurrenceType"` }
Manages a Cost Management Export for a Billing Account.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/billing" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/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 } exampleContainer, err := storage.NewContainer(ctx, "exampleContainer", &storage.ContainerArgs{ StorageAccountName: exampleAccount.Name, }) if err != nil { return err } _, err = billing.NewAccountCostManagementExport(ctx, "exampleAccountCostManagementExport", &billing.AccountCostManagementExportArgs{ BillingAccountId: pulumi.String("example"), RecurrenceType: pulumi.String("Monthly"), RecurrencePeriodStartDate: pulumi.String("2020-08-18T00:00:00Z"), RecurrencePeriodEndDate: pulumi.String("2020-09-18T00:00:00Z"), ExportDataStorageLocation: &billing.AccountCostManagementExportExportDataStorageLocationArgs{ ContainerId: exampleContainer.ResourceManagerId, RootFolderPath: pulumi.String("/root/updated"), }, ExportDataOptions: &billing.AccountCostManagementExportExportDataOptionsArgs{ Type: pulumi.String("Usage"), TimeFrame: pulumi.String("WeekToDate"), }, }) if err != nil { return err } return nil }) }
```
## Import
Billing Account Cost Management Exports can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:billing/accountCostManagementExport:AccountCostManagementExport example /providers/Microsoft.Billing/billingAccounts/12345678/providers/Microsoft.CostManagement/exports/export1
```
func GetAccountCostManagementExport ¶ added in v5.29.0
func GetAccountCostManagementExport(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AccountCostManagementExportState, opts ...pulumi.ResourceOption) (*AccountCostManagementExport, error)
GetAccountCostManagementExport gets an existing AccountCostManagementExport 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 NewAccountCostManagementExport ¶ added in v5.29.0
func NewAccountCostManagementExport(ctx *pulumi.Context, name string, args *AccountCostManagementExportArgs, opts ...pulumi.ResourceOption) (*AccountCostManagementExport, error)
NewAccountCostManagementExport registers a new resource with the given unique name, arguments, and options.
func (*AccountCostManagementExport) ElementType ¶ added in v5.29.0
func (*AccountCostManagementExport) ElementType() reflect.Type
func (*AccountCostManagementExport) ToAccountCostManagementExportOutput ¶ added in v5.29.0
func (i *AccountCostManagementExport) ToAccountCostManagementExportOutput() AccountCostManagementExportOutput
func (*AccountCostManagementExport) ToAccountCostManagementExportOutputWithContext ¶ added in v5.29.0
func (i *AccountCostManagementExport) ToAccountCostManagementExportOutputWithContext(ctx context.Context) AccountCostManagementExportOutput
type AccountCostManagementExportArgs ¶ added in v5.29.0
type AccountCostManagementExportArgs struct { // Is the cost management export active? Default is `true`. Active pulumi.BoolPtrInput // The id of the billing account on which to create an export. Changing this forces a new resource to be created. BillingAccountId pulumi.StringInput // A `exportDataOptions` block as defined below. ExportDataOptions AccountCostManagementExportExportDataOptionsInput // A `exportDataStorageLocation` block as defined below. ExportDataStorageLocation AccountCostManagementExportExportDataStorageLocationInput // Specifies the name of the Cost Management Export. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The date the export will stop capturing information. RecurrencePeriodEndDate pulumi.StringInput // The date the export will start capturing information. RecurrencePeriodStartDate pulumi.StringInput // How often the requested information will be exported. Valid values include `Annually`, `Daily`, `Monthly`, `Weekly`. RecurrenceType pulumi.StringInput }
The set of arguments for constructing a AccountCostManagementExport resource.
func (AccountCostManagementExportArgs) ElementType ¶ added in v5.29.0
func (AccountCostManagementExportArgs) ElementType() reflect.Type
type AccountCostManagementExportArray ¶ added in v5.29.0
type AccountCostManagementExportArray []AccountCostManagementExportInput
func (AccountCostManagementExportArray) ElementType ¶ added in v5.29.0
func (AccountCostManagementExportArray) ElementType() reflect.Type
func (AccountCostManagementExportArray) ToAccountCostManagementExportArrayOutput ¶ added in v5.29.0
func (i AccountCostManagementExportArray) ToAccountCostManagementExportArrayOutput() AccountCostManagementExportArrayOutput
func (AccountCostManagementExportArray) ToAccountCostManagementExportArrayOutputWithContext ¶ added in v5.29.0
func (i AccountCostManagementExportArray) ToAccountCostManagementExportArrayOutputWithContext(ctx context.Context) AccountCostManagementExportArrayOutput
type AccountCostManagementExportArrayInput ¶ added in v5.29.0
type AccountCostManagementExportArrayInput interface { pulumi.Input ToAccountCostManagementExportArrayOutput() AccountCostManagementExportArrayOutput ToAccountCostManagementExportArrayOutputWithContext(context.Context) AccountCostManagementExportArrayOutput }
AccountCostManagementExportArrayInput is an input type that accepts AccountCostManagementExportArray and AccountCostManagementExportArrayOutput values. You can construct a concrete instance of `AccountCostManagementExportArrayInput` via:
AccountCostManagementExportArray{ AccountCostManagementExportArgs{...} }
type AccountCostManagementExportArrayOutput ¶ added in v5.29.0
type AccountCostManagementExportArrayOutput struct{ *pulumi.OutputState }
func (AccountCostManagementExportArrayOutput) ElementType ¶ added in v5.29.0
func (AccountCostManagementExportArrayOutput) ElementType() reflect.Type
func (AccountCostManagementExportArrayOutput) ToAccountCostManagementExportArrayOutput ¶ added in v5.29.0
func (o AccountCostManagementExportArrayOutput) ToAccountCostManagementExportArrayOutput() AccountCostManagementExportArrayOutput
func (AccountCostManagementExportArrayOutput) ToAccountCostManagementExportArrayOutputWithContext ¶ added in v5.29.0
func (o AccountCostManagementExportArrayOutput) ToAccountCostManagementExportArrayOutputWithContext(ctx context.Context) AccountCostManagementExportArrayOutput
type AccountCostManagementExportExportDataOptions ¶ added in v5.29.0
type AccountCostManagementExportExportDataOptions 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`, `BillingMonthToDate`, `TheLast7Days`, `TheLastMonth`, `TheLastBillingMonth`, `Custom`. TimeFrame string `pulumi:"timeFrame"` // The type of the query. Possible values are `ActualCost`, `AmortizedCost` and `Usage`. Type string `pulumi:"type"` }
type AccountCostManagementExportExportDataOptionsArgs ¶ added in v5.29.0
type AccountCostManagementExportExportDataOptionsArgs 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`, `BillingMonthToDate`, `TheLast7Days`, `TheLastMonth`, `TheLastBillingMonth`, `Custom`. TimeFrame pulumi.StringInput `pulumi:"timeFrame"` // The type of the query. Possible values are `ActualCost`, `AmortizedCost` and `Usage`. Type pulumi.StringInput `pulumi:"type"` }
func (AccountCostManagementExportExportDataOptionsArgs) ElementType ¶ added in v5.29.0
func (AccountCostManagementExportExportDataOptionsArgs) ElementType() reflect.Type
func (AccountCostManagementExportExportDataOptionsArgs) ToAccountCostManagementExportExportDataOptionsOutput ¶ added in v5.29.0
func (i AccountCostManagementExportExportDataOptionsArgs) ToAccountCostManagementExportExportDataOptionsOutput() AccountCostManagementExportExportDataOptionsOutput
func (AccountCostManagementExportExportDataOptionsArgs) ToAccountCostManagementExportExportDataOptionsOutputWithContext ¶ added in v5.29.0
func (i AccountCostManagementExportExportDataOptionsArgs) ToAccountCostManagementExportExportDataOptionsOutputWithContext(ctx context.Context) AccountCostManagementExportExportDataOptionsOutput
func (AccountCostManagementExportExportDataOptionsArgs) ToAccountCostManagementExportExportDataOptionsPtrOutput ¶ added in v5.29.0
func (i AccountCostManagementExportExportDataOptionsArgs) ToAccountCostManagementExportExportDataOptionsPtrOutput() AccountCostManagementExportExportDataOptionsPtrOutput
func (AccountCostManagementExportExportDataOptionsArgs) ToAccountCostManagementExportExportDataOptionsPtrOutputWithContext ¶ added in v5.29.0
func (i AccountCostManagementExportExportDataOptionsArgs) ToAccountCostManagementExportExportDataOptionsPtrOutputWithContext(ctx context.Context) AccountCostManagementExportExportDataOptionsPtrOutput
type AccountCostManagementExportExportDataOptionsInput ¶ added in v5.29.0
type AccountCostManagementExportExportDataOptionsInput interface { pulumi.Input ToAccountCostManagementExportExportDataOptionsOutput() AccountCostManagementExportExportDataOptionsOutput ToAccountCostManagementExportExportDataOptionsOutputWithContext(context.Context) AccountCostManagementExportExportDataOptionsOutput }
AccountCostManagementExportExportDataOptionsInput is an input type that accepts AccountCostManagementExportExportDataOptionsArgs and AccountCostManagementExportExportDataOptionsOutput values. You can construct a concrete instance of `AccountCostManagementExportExportDataOptionsInput` via:
AccountCostManagementExportExportDataOptionsArgs{...}
type AccountCostManagementExportExportDataOptionsOutput ¶ added in v5.29.0
type AccountCostManagementExportExportDataOptionsOutput struct{ *pulumi.OutputState }
func (AccountCostManagementExportExportDataOptionsOutput) ElementType ¶ added in v5.29.0
func (AccountCostManagementExportExportDataOptionsOutput) ElementType() reflect.Type
func (AccountCostManagementExportExportDataOptionsOutput) TimeFrame ¶ added in v5.29.0
func (o AccountCostManagementExportExportDataOptionsOutput) 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`, `BillingMonthToDate`, `TheLast7Days`, `TheLastMonth`, `TheLastBillingMonth`, `Custom`.
func (AccountCostManagementExportExportDataOptionsOutput) ToAccountCostManagementExportExportDataOptionsOutput ¶ added in v5.29.0
func (o AccountCostManagementExportExportDataOptionsOutput) ToAccountCostManagementExportExportDataOptionsOutput() AccountCostManagementExportExportDataOptionsOutput
func (AccountCostManagementExportExportDataOptionsOutput) ToAccountCostManagementExportExportDataOptionsOutputWithContext ¶ added in v5.29.0
func (o AccountCostManagementExportExportDataOptionsOutput) ToAccountCostManagementExportExportDataOptionsOutputWithContext(ctx context.Context) AccountCostManagementExportExportDataOptionsOutput
func (AccountCostManagementExportExportDataOptionsOutput) ToAccountCostManagementExportExportDataOptionsPtrOutput ¶ added in v5.29.0
func (o AccountCostManagementExportExportDataOptionsOutput) ToAccountCostManagementExportExportDataOptionsPtrOutput() AccountCostManagementExportExportDataOptionsPtrOutput
func (AccountCostManagementExportExportDataOptionsOutput) ToAccountCostManagementExportExportDataOptionsPtrOutputWithContext ¶ added in v5.29.0
func (o AccountCostManagementExportExportDataOptionsOutput) ToAccountCostManagementExportExportDataOptionsPtrOutputWithContext(ctx context.Context) AccountCostManagementExportExportDataOptionsPtrOutput
func (AccountCostManagementExportExportDataOptionsOutput) Type ¶ added in v5.29.0
func (o AccountCostManagementExportExportDataOptionsOutput) Type() pulumi.StringOutput
The type of the query. Possible values are `ActualCost`, `AmortizedCost` and `Usage`.
type AccountCostManagementExportExportDataOptionsPtrInput ¶ added in v5.29.0
type AccountCostManagementExportExportDataOptionsPtrInput interface { pulumi.Input ToAccountCostManagementExportExportDataOptionsPtrOutput() AccountCostManagementExportExportDataOptionsPtrOutput ToAccountCostManagementExportExportDataOptionsPtrOutputWithContext(context.Context) AccountCostManagementExportExportDataOptionsPtrOutput }
AccountCostManagementExportExportDataOptionsPtrInput is an input type that accepts AccountCostManagementExportExportDataOptionsArgs, AccountCostManagementExportExportDataOptionsPtr and AccountCostManagementExportExportDataOptionsPtrOutput values. You can construct a concrete instance of `AccountCostManagementExportExportDataOptionsPtrInput` via:
AccountCostManagementExportExportDataOptionsArgs{...} or: nil
func AccountCostManagementExportExportDataOptionsPtr ¶ added in v5.29.0
func AccountCostManagementExportExportDataOptionsPtr(v *AccountCostManagementExportExportDataOptionsArgs) AccountCostManagementExportExportDataOptionsPtrInput
type AccountCostManagementExportExportDataOptionsPtrOutput ¶ added in v5.29.0
type AccountCostManagementExportExportDataOptionsPtrOutput struct{ *pulumi.OutputState }
func (AccountCostManagementExportExportDataOptionsPtrOutput) ElementType ¶ added in v5.29.0
func (AccountCostManagementExportExportDataOptionsPtrOutput) ElementType() reflect.Type
func (AccountCostManagementExportExportDataOptionsPtrOutput) TimeFrame ¶ added in v5.29.0
func (o AccountCostManagementExportExportDataOptionsPtrOutput) 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`, `BillingMonthToDate`, `TheLast7Days`, `TheLastMonth`, `TheLastBillingMonth`, `Custom`.
func (AccountCostManagementExportExportDataOptionsPtrOutput) ToAccountCostManagementExportExportDataOptionsPtrOutput ¶ added in v5.29.0
func (o AccountCostManagementExportExportDataOptionsPtrOutput) ToAccountCostManagementExportExportDataOptionsPtrOutput() AccountCostManagementExportExportDataOptionsPtrOutput
func (AccountCostManagementExportExportDataOptionsPtrOutput) ToAccountCostManagementExportExportDataOptionsPtrOutputWithContext ¶ added in v5.29.0
func (o AccountCostManagementExportExportDataOptionsPtrOutput) ToAccountCostManagementExportExportDataOptionsPtrOutputWithContext(ctx context.Context) AccountCostManagementExportExportDataOptionsPtrOutput
type AccountCostManagementExportExportDataStorageLocation ¶ added in v5.29.0
type AccountCostManagementExportExportDataStorageLocation struct { // The Resource Manager ID of the container where exports will be uploaded. Changing this forces a new resource to be created. ContainerId string `pulumi:"containerId"` // The path of the directory where exports will be uploaded. Changing this forces a new resource to be created. RootFolderPath string `pulumi:"rootFolderPath"` }
type AccountCostManagementExportExportDataStorageLocationArgs ¶ added in v5.29.0
type AccountCostManagementExportExportDataStorageLocationArgs struct { // The Resource Manager ID of the container where exports will be uploaded. Changing this forces a new resource to be created. ContainerId pulumi.StringInput `pulumi:"containerId"` // The path of the directory where exports will be uploaded. Changing this forces a new resource to be created. RootFolderPath pulumi.StringInput `pulumi:"rootFolderPath"` }
func (AccountCostManagementExportExportDataStorageLocationArgs) ElementType ¶ added in v5.29.0
func (AccountCostManagementExportExportDataStorageLocationArgs) ElementType() reflect.Type
func (AccountCostManagementExportExportDataStorageLocationArgs) ToAccountCostManagementExportExportDataStorageLocationOutput ¶ added in v5.29.0
func (i AccountCostManagementExportExportDataStorageLocationArgs) ToAccountCostManagementExportExportDataStorageLocationOutput() AccountCostManagementExportExportDataStorageLocationOutput
func (AccountCostManagementExportExportDataStorageLocationArgs) ToAccountCostManagementExportExportDataStorageLocationOutputWithContext ¶ added in v5.29.0
func (i AccountCostManagementExportExportDataStorageLocationArgs) ToAccountCostManagementExportExportDataStorageLocationOutputWithContext(ctx context.Context) AccountCostManagementExportExportDataStorageLocationOutput
func (AccountCostManagementExportExportDataStorageLocationArgs) ToAccountCostManagementExportExportDataStorageLocationPtrOutput ¶ added in v5.29.0
func (i AccountCostManagementExportExportDataStorageLocationArgs) ToAccountCostManagementExportExportDataStorageLocationPtrOutput() AccountCostManagementExportExportDataStorageLocationPtrOutput
func (AccountCostManagementExportExportDataStorageLocationArgs) ToAccountCostManagementExportExportDataStorageLocationPtrOutputWithContext ¶ added in v5.29.0
func (i AccountCostManagementExportExportDataStorageLocationArgs) ToAccountCostManagementExportExportDataStorageLocationPtrOutputWithContext(ctx context.Context) AccountCostManagementExportExportDataStorageLocationPtrOutput
type AccountCostManagementExportExportDataStorageLocationInput ¶ added in v5.29.0
type AccountCostManagementExportExportDataStorageLocationInput interface { pulumi.Input ToAccountCostManagementExportExportDataStorageLocationOutput() AccountCostManagementExportExportDataStorageLocationOutput ToAccountCostManagementExportExportDataStorageLocationOutputWithContext(context.Context) AccountCostManagementExportExportDataStorageLocationOutput }
AccountCostManagementExportExportDataStorageLocationInput is an input type that accepts AccountCostManagementExportExportDataStorageLocationArgs and AccountCostManagementExportExportDataStorageLocationOutput values. You can construct a concrete instance of `AccountCostManagementExportExportDataStorageLocationInput` via:
AccountCostManagementExportExportDataStorageLocationArgs{...}
type AccountCostManagementExportExportDataStorageLocationOutput ¶ added in v5.29.0
type AccountCostManagementExportExportDataStorageLocationOutput struct{ *pulumi.OutputState }
func (AccountCostManagementExportExportDataStorageLocationOutput) ContainerId ¶ added in v5.29.0
func (o AccountCostManagementExportExportDataStorageLocationOutput) ContainerId() pulumi.StringOutput
The Resource Manager ID of the container where exports will be uploaded. Changing this forces a new resource to be created.
func (AccountCostManagementExportExportDataStorageLocationOutput) ElementType ¶ added in v5.29.0
func (AccountCostManagementExportExportDataStorageLocationOutput) ElementType() reflect.Type
func (AccountCostManagementExportExportDataStorageLocationOutput) RootFolderPath ¶ added in v5.29.0
func (o AccountCostManagementExportExportDataStorageLocationOutput) RootFolderPath() pulumi.StringOutput
The path of the directory where exports will be uploaded. Changing this forces a new resource to be created.
func (AccountCostManagementExportExportDataStorageLocationOutput) ToAccountCostManagementExportExportDataStorageLocationOutput ¶ added in v5.29.0
func (o AccountCostManagementExportExportDataStorageLocationOutput) ToAccountCostManagementExportExportDataStorageLocationOutput() AccountCostManagementExportExportDataStorageLocationOutput
func (AccountCostManagementExportExportDataStorageLocationOutput) ToAccountCostManagementExportExportDataStorageLocationOutputWithContext ¶ added in v5.29.0
func (o AccountCostManagementExportExportDataStorageLocationOutput) ToAccountCostManagementExportExportDataStorageLocationOutputWithContext(ctx context.Context) AccountCostManagementExportExportDataStorageLocationOutput
func (AccountCostManagementExportExportDataStorageLocationOutput) ToAccountCostManagementExportExportDataStorageLocationPtrOutput ¶ added in v5.29.0
func (o AccountCostManagementExportExportDataStorageLocationOutput) ToAccountCostManagementExportExportDataStorageLocationPtrOutput() AccountCostManagementExportExportDataStorageLocationPtrOutput
func (AccountCostManagementExportExportDataStorageLocationOutput) ToAccountCostManagementExportExportDataStorageLocationPtrOutputWithContext ¶ added in v5.29.0
func (o AccountCostManagementExportExportDataStorageLocationOutput) ToAccountCostManagementExportExportDataStorageLocationPtrOutputWithContext(ctx context.Context) AccountCostManagementExportExportDataStorageLocationPtrOutput
type AccountCostManagementExportExportDataStorageLocationPtrInput ¶ added in v5.29.0
type AccountCostManagementExportExportDataStorageLocationPtrInput interface { pulumi.Input ToAccountCostManagementExportExportDataStorageLocationPtrOutput() AccountCostManagementExportExportDataStorageLocationPtrOutput ToAccountCostManagementExportExportDataStorageLocationPtrOutputWithContext(context.Context) AccountCostManagementExportExportDataStorageLocationPtrOutput }
AccountCostManagementExportExportDataStorageLocationPtrInput is an input type that accepts AccountCostManagementExportExportDataStorageLocationArgs, AccountCostManagementExportExportDataStorageLocationPtr and AccountCostManagementExportExportDataStorageLocationPtrOutput values. You can construct a concrete instance of `AccountCostManagementExportExportDataStorageLocationPtrInput` via:
AccountCostManagementExportExportDataStorageLocationArgs{...} or: nil
func AccountCostManagementExportExportDataStorageLocationPtr ¶ added in v5.29.0
func AccountCostManagementExportExportDataStorageLocationPtr(v *AccountCostManagementExportExportDataStorageLocationArgs) AccountCostManagementExportExportDataStorageLocationPtrInput
type AccountCostManagementExportExportDataStorageLocationPtrOutput ¶ added in v5.29.0
type AccountCostManagementExportExportDataStorageLocationPtrOutput struct{ *pulumi.OutputState }
func (AccountCostManagementExportExportDataStorageLocationPtrOutput) ContainerId ¶ added in v5.29.0
func (o AccountCostManagementExportExportDataStorageLocationPtrOutput) ContainerId() pulumi.StringPtrOutput
The Resource Manager ID of the container where exports will be uploaded. Changing this forces a new resource to be created.
func (AccountCostManagementExportExportDataStorageLocationPtrOutput) ElementType ¶ added in v5.29.0
func (AccountCostManagementExportExportDataStorageLocationPtrOutput) ElementType() reflect.Type
func (AccountCostManagementExportExportDataStorageLocationPtrOutput) RootFolderPath ¶ added in v5.29.0
func (o AccountCostManagementExportExportDataStorageLocationPtrOutput) RootFolderPath() pulumi.StringPtrOutput
The path of the directory where exports will be uploaded. Changing this forces a new resource to be created.
func (AccountCostManagementExportExportDataStorageLocationPtrOutput) ToAccountCostManagementExportExportDataStorageLocationPtrOutput ¶ added in v5.29.0
func (o AccountCostManagementExportExportDataStorageLocationPtrOutput) ToAccountCostManagementExportExportDataStorageLocationPtrOutput() AccountCostManagementExportExportDataStorageLocationPtrOutput
func (AccountCostManagementExportExportDataStorageLocationPtrOutput) ToAccountCostManagementExportExportDataStorageLocationPtrOutputWithContext ¶ added in v5.29.0
func (o AccountCostManagementExportExportDataStorageLocationPtrOutput) ToAccountCostManagementExportExportDataStorageLocationPtrOutputWithContext(ctx context.Context) AccountCostManagementExportExportDataStorageLocationPtrOutput
type AccountCostManagementExportInput ¶ added in v5.29.0
type AccountCostManagementExportInput interface { pulumi.Input ToAccountCostManagementExportOutput() AccountCostManagementExportOutput ToAccountCostManagementExportOutputWithContext(ctx context.Context) AccountCostManagementExportOutput }
type AccountCostManagementExportMap ¶ added in v5.29.0
type AccountCostManagementExportMap map[string]AccountCostManagementExportInput
func (AccountCostManagementExportMap) ElementType ¶ added in v5.29.0
func (AccountCostManagementExportMap) ElementType() reflect.Type
func (AccountCostManagementExportMap) ToAccountCostManagementExportMapOutput ¶ added in v5.29.0
func (i AccountCostManagementExportMap) ToAccountCostManagementExportMapOutput() AccountCostManagementExportMapOutput
func (AccountCostManagementExportMap) ToAccountCostManagementExportMapOutputWithContext ¶ added in v5.29.0
func (i AccountCostManagementExportMap) ToAccountCostManagementExportMapOutputWithContext(ctx context.Context) AccountCostManagementExportMapOutput
type AccountCostManagementExportMapInput ¶ added in v5.29.0
type AccountCostManagementExportMapInput interface { pulumi.Input ToAccountCostManagementExportMapOutput() AccountCostManagementExportMapOutput ToAccountCostManagementExportMapOutputWithContext(context.Context) AccountCostManagementExportMapOutput }
AccountCostManagementExportMapInput is an input type that accepts AccountCostManagementExportMap and AccountCostManagementExportMapOutput values. You can construct a concrete instance of `AccountCostManagementExportMapInput` via:
AccountCostManagementExportMap{ "key": AccountCostManagementExportArgs{...} }
type AccountCostManagementExportMapOutput ¶ added in v5.29.0
type AccountCostManagementExportMapOutput struct{ *pulumi.OutputState }
func (AccountCostManagementExportMapOutput) ElementType ¶ added in v5.29.0
func (AccountCostManagementExportMapOutput) ElementType() reflect.Type
func (AccountCostManagementExportMapOutput) MapIndex ¶ added in v5.29.0
func (o AccountCostManagementExportMapOutput) MapIndex(k pulumi.StringInput) AccountCostManagementExportOutput
func (AccountCostManagementExportMapOutput) ToAccountCostManagementExportMapOutput ¶ added in v5.29.0
func (o AccountCostManagementExportMapOutput) ToAccountCostManagementExportMapOutput() AccountCostManagementExportMapOutput
func (AccountCostManagementExportMapOutput) ToAccountCostManagementExportMapOutputWithContext ¶ added in v5.29.0
func (o AccountCostManagementExportMapOutput) ToAccountCostManagementExportMapOutputWithContext(ctx context.Context) AccountCostManagementExportMapOutput
type AccountCostManagementExportOutput ¶ added in v5.29.0
type AccountCostManagementExportOutput struct{ *pulumi.OutputState }
func (AccountCostManagementExportOutput) Active ¶ added in v5.29.0
func (o AccountCostManagementExportOutput) Active() pulumi.BoolPtrOutput
Is the cost management export active? Default is `true`.
func (AccountCostManagementExportOutput) BillingAccountId ¶ added in v5.29.0
func (o AccountCostManagementExportOutput) BillingAccountId() pulumi.StringOutput
The id of the billing account on which to create an export. Changing this forces a new resource to be created.
func (AccountCostManagementExportOutput) ElementType ¶ added in v5.29.0
func (AccountCostManagementExportOutput) ElementType() reflect.Type
func (AccountCostManagementExportOutput) ExportDataOptions ¶ added in v5.29.0
func (o AccountCostManagementExportOutput) ExportDataOptions() AccountCostManagementExportExportDataOptionsOutput
A `exportDataOptions` block as defined below.
func (AccountCostManagementExportOutput) ExportDataStorageLocation ¶ added in v5.29.0
func (o AccountCostManagementExportOutput) ExportDataStorageLocation() AccountCostManagementExportExportDataStorageLocationOutput
A `exportDataStorageLocation` block as defined below.
func (AccountCostManagementExportOutput) Name ¶ added in v5.29.0
func (o AccountCostManagementExportOutput) Name() pulumi.StringOutput
Specifies the name of the Cost Management Export. Changing this forces a new resource to be created.
func (AccountCostManagementExportOutput) RecurrencePeriodEndDate ¶ added in v5.29.0
func (o AccountCostManagementExportOutput) RecurrencePeriodEndDate() pulumi.StringOutput
The date the export will stop capturing information.
func (AccountCostManagementExportOutput) RecurrencePeriodStartDate ¶ added in v5.29.0
func (o AccountCostManagementExportOutput) RecurrencePeriodStartDate() pulumi.StringOutput
The date the export will start capturing information.
func (AccountCostManagementExportOutput) RecurrenceType ¶ added in v5.29.0
func (o AccountCostManagementExportOutput) RecurrenceType() pulumi.StringOutput
How often the requested information will be exported. Valid values include `Annually`, `Daily`, `Monthly`, `Weekly`.
func (AccountCostManagementExportOutput) ToAccountCostManagementExportOutput ¶ added in v5.29.0
func (o AccountCostManagementExportOutput) ToAccountCostManagementExportOutput() AccountCostManagementExportOutput
func (AccountCostManagementExportOutput) ToAccountCostManagementExportOutputWithContext ¶ added in v5.29.0
func (o AccountCostManagementExportOutput) ToAccountCostManagementExportOutputWithContext(ctx context.Context) AccountCostManagementExportOutput
type AccountCostManagementExportState ¶ added in v5.29.0
type AccountCostManagementExportState struct { // Is the cost management export active? Default is `true`. Active pulumi.BoolPtrInput // The id of the billing account on which to create an export. Changing this forces a new resource to be created. BillingAccountId pulumi.StringPtrInput // A `exportDataOptions` block as defined below. ExportDataOptions AccountCostManagementExportExportDataOptionsPtrInput // A `exportDataStorageLocation` block as defined below. ExportDataStorageLocation AccountCostManagementExportExportDataStorageLocationPtrInput // Specifies the name of the Cost Management Export. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The date the export will stop capturing information. RecurrencePeriodEndDate pulumi.StringPtrInput // The date the export will start capturing information. RecurrencePeriodStartDate pulumi.StringPtrInput // How often the requested information will be exported. Valid values include `Annually`, `Daily`, `Monthly`, `Weekly`. RecurrenceType pulumi.StringPtrInput }
func (AccountCostManagementExportState) ElementType ¶ added in v5.29.0
func (AccountCostManagementExportState) ElementType() reflect.Type
type GetEnrollmentAccountScopeArgs ¶
type GetEnrollmentAccountScopeArgs struct { // The Billing Account Name of the Enterprise Account. BillingAccountName string `pulumi:"billingAccountName"` // The Enrollment Account Name in the above Enterprise Account. EnrollmentAccountName string `pulumi:"enrollmentAccountName"` }
A collection of arguments for invoking getEnrollmentAccountScope.
type GetEnrollmentAccountScopeOutputArgs ¶
type GetEnrollmentAccountScopeOutputArgs struct { // The Billing Account Name of the Enterprise Account. BillingAccountName pulumi.StringInput `pulumi:"billingAccountName"` // The Enrollment Account Name in the above Enterprise Account. EnrollmentAccountName pulumi.StringInput `pulumi:"enrollmentAccountName"` }
A collection of arguments for invoking getEnrollmentAccountScope.
func (GetEnrollmentAccountScopeOutputArgs) ElementType ¶
func (GetEnrollmentAccountScopeOutputArgs) ElementType() reflect.Type
type GetEnrollmentAccountScopeResult ¶
type GetEnrollmentAccountScopeResult struct { BillingAccountName string `pulumi:"billingAccountName"` EnrollmentAccountName string `pulumi:"enrollmentAccountName"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` }
A collection of values returned by getEnrollmentAccountScope.
func GetEnrollmentAccountScope ¶
func GetEnrollmentAccountScope(ctx *pulumi.Context, args *GetEnrollmentAccountScopeArgs, opts ...pulumi.InvokeOption) (*GetEnrollmentAccountScopeResult, error)
Use this data source to access information about an existing Enrollment Account Billing Scope.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/billing" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := billing.GetEnrollmentAccountScope(ctx, &billing.GetEnrollmentAccountScopeArgs{ BillingAccountName: "existing", EnrollmentAccountName: "existing", }, nil) if err != nil { return err } ctx.Export("id", example.Id) return nil }) }
```
type GetEnrollmentAccountScopeResultOutput ¶
type GetEnrollmentAccountScopeResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getEnrollmentAccountScope.
func GetEnrollmentAccountScopeOutput ¶
func GetEnrollmentAccountScopeOutput(ctx *pulumi.Context, args GetEnrollmentAccountScopeOutputArgs, opts ...pulumi.InvokeOption) GetEnrollmentAccountScopeResultOutput
func (GetEnrollmentAccountScopeResultOutput) BillingAccountName ¶
func (o GetEnrollmentAccountScopeResultOutput) BillingAccountName() pulumi.StringOutput
func (GetEnrollmentAccountScopeResultOutput) ElementType ¶
func (GetEnrollmentAccountScopeResultOutput) ElementType() reflect.Type
func (GetEnrollmentAccountScopeResultOutput) EnrollmentAccountName ¶
func (o GetEnrollmentAccountScopeResultOutput) EnrollmentAccountName() pulumi.StringOutput
func (GetEnrollmentAccountScopeResultOutput) Id ¶
func (o GetEnrollmentAccountScopeResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetEnrollmentAccountScopeResultOutput) ToGetEnrollmentAccountScopeResultOutput ¶
func (o GetEnrollmentAccountScopeResultOutput) ToGetEnrollmentAccountScopeResultOutput() GetEnrollmentAccountScopeResultOutput
func (GetEnrollmentAccountScopeResultOutput) ToGetEnrollmentAccountScopeResultOutputWithContext ¶
func (o GetEnrollmentAccountScopeResultOutput) ToGetEnrollmentAccountScopeResultOutputWithContext(ctx context.Context) GetEnrollmentAccountScopeResultOutput
type GetMcaAccountScopeArgs ¶
type GetMcaAccountScopeArgs struct { // The Billing Account Name of the MCA account. BillingAccountName string `pulumi:"billingAccountName"` // The Billing Profile Name in the above Billing Account. BillingProfileName string `pulumi:"billingProfileName"` // The Invoice Section Name in the above Billing Profile. InvoiceSectionName string `pulumi:"invoiceSectionName"` }
A collection of arguments for invoking getMcaAccountScope.
type GetMcaAccountScopeOutputArgs ¶
type GetMcaAccountScopeOutputArgs struct { // The Billing Account Name of the MCA account. BillingAccountName pulumi.StringInput `pulumi:"billingAccountName"` // The Billing Profile Name in the above Billing Account. BillingProfileName pulumi.StringInput `pulumi:"billingProfileName"` // The Invoice Section Name in the above Billing Profile. InvoiceSectionName pulumi.StringInput `pulumi:"invoiceSectionName"` }
A collection of arguments for invoking getMcaAccountScope.
func (GetMcaAccountScopeOutputArgs) ElementType ¶
func (GetMcaAccountScopeOutputArgs) ElementType() reflect.Type
type GetMcaAccountScopeResult ¶
type GetMcaAccountScopeResult struct { BillingAccountName string `pulumi:"billingAccountName"` BillingProfileName string `pulumi:"billingProfileName"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` InvoiceSectionName string `pulumi:"invoiceSectionName"` }
A collection of values returned by getMcaAccountScope.
func GetMcaAccountScope ¶
func GetMcaAccountScope(ctx *pulumi.Context, args *GetMcaAccountScopeArgs, opts ...pulumi.InvokeOption) (*GetMcaAccountScopeResult, error)
Use this data source to access an ID for your MCA Account billing scope.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/billing" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := billing.GetMcaAccountScope(ctx, &billing.GetMcaAccountScopeArgs{ BillingAccountName: "e879cf0f-2b4d-5431-109a-f72fc9868693:024cabf4-7321-4cf9-be59-df0c77ca51de_2019-05-31", BillingProfileName: "PE2Q-NOIT-BG7-TGB", InvoiceSectionName: "MTT4-OBS7-PJA-TGB", }, nil) if err != nil { return err } ctx.Export("id", example.Id) return nil }) }
```
type GetMcaAccountScopeResultOutput ¶
type GetMcaAccountScopeResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getMcaAccountScope.
func GetMcaAccountScopeOutput ¶
func GetMcaAccountScopeOutput(ctx *pulumi.Context, args GetMcaAccountScopeOutputArgs, opts ...pulumi.InvokeOption) GetMcaAccountScopeResultOutput
func (GetMcaAccountScopeResultOutput) BillingAccountName ¶
func (o GetMcaAccountScopeResultOutput) BillingAccountName() pulumi.StringOutput
func (GetMcaAccountScopeResultOutput) BillingProfileName ¶
func (o GetMcaAccountScopeResultOutput) BillingProfileName() pulumi.StringOutput
func (GetMcaAccountScopeResultOutput) ElementType ¶
func (GetMcaAccountScopeResultOutput) ElementType() reflect.Type
func (GetMcaAccountScopeResultOutput) Id ¶
func (o GetMcaAccountScopeResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetMcaAccountScopeResultOutput) InvoiceSectionName ¶
func (o GetMcaAccountScopeResultOutput) InvoiceSectionName() pulumi.StringOutput
func (GetMcaAccountScopeResultOutput) ToGetMcaAccountScopeResultOutput ¶
func (o GetMcaAccountScopeResultOutput) ToGetMcaAccountScopeResultOutput() GetMcaAccountScopeResultOutput
func (GetMcaAccountScopeResultOutput) ToGetMcaAccountScopeResultOutputWithContext ¶
func (o GetMcaAccountScopeResultOutput) ToGetMcaAccountScopeResultOutputWithContext(ctx context.Context) GetMcaAccountScopeResultOutput
type GetMpaAccountScopeArgs ¶
type GetMpaAccountScopeArgs struct { // The Billing Account Name of the MPA account. BillingAccountName string `pulumi:"billingAccountName"` // The Customer Name in the above Billing Account. CustomerName string `pulumi:"customerName"` }
A collection of arguments for invoking getMpaAccountScope.
type GetMpaAccountScopeOutputArgs ¶
type GetMpaAccountScopeOutputArgs struct { // The Billing Account Name of the MPA account. BillingAccountName pulumi.StringInput `pulumi:"billingAccountName"` // The Customer Name in the above Billing Account. CustomerName pulumi.StringInput `pulumi:"customerName"` }
A collection of arguments for invoking getMpaAccountScope.
func (GetMpaAccountScopeOutputArgs) ElementType ¶
func (GetMpaAccountScopeOutputArgs) ElementType() reflect.Type
type GetMpaAccountScopeResult ¶
type GetMpaAccountScopeResult struct { BillingAccountName string `pulumi:"billingAccountName"` CustomerName string `pulumi:"customerName"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` }
A collection of values returned by getMpaAccountScope.
func GetMpaAccountScope ¶
func GetMpaAccountScope(ctx *pulumi.Context, args *GetMpaAccountScopeArgs, opts ...pulumi.InvokeOption) (*GetMpaAccountScopeResult, error)
Use this data source to access an ID for your MPA Account billing scope.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/billing" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := billing.GetMpaAccountScope(ctx, &billing.GetMpaAccountScopeArgs{ BillingAccountName: "e879cf0f-2b4d-5431-109a-f72fc9868693:024cabf4-7321-4cf9-be59-df0c77ca51de_2019-05-31", CustomerName: "2281f543-7321-4cf9-1e23-edb4Oc31a31c", }, nil) if err != nil { return err } ctx.Export("id", example.Id) return nil }) }
```
type GetMpaAccountScopeResultOutput ¶
type GetMpaAccountScopeResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getMpaAccountScope.
func GetMpaAccountScopeOutput ¶
func GetMpaAccountScopeOutput(ctx *pulumi.Context, args GetMpaAccountScopeOutputArgs, opts ...pulumi.InvokeOption) GetMpaAccountScopeResultOutput
func (GetMpaAccountScopeResultOutput) BillingAccountName ¶
func (o GetMpaAccountScopeResultOutput) BillingAccountName() pulumi.StringOutput
func (GetMpaAccountScopeResultOutput) CustomerName ¶
func (o GetMpaAccountScopeResultOutput) CustomerName() pulumi.StringOutput
func (GetMpaAccountScopeResultOutput) ElementType ¶
func (GetMpaAccountScopeResultOutput) ElementType() reflect.Type
func (GetMpaAccountScopeResultOutput) Id ¶
func (o GetMpaAccountScopeResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetMpaAccountScopeResultOutput) ToGetMpaAccountScopeResultOutput ¶
func (o GetMpaAccountScopeResultOutput) ToGetMpaAccountScopeResultOutput() GetMpaAccountScopeResultOutput
func (GetMpaAccountScopeResultOutput) ToGetMpaAccountScopeResultOutputWithContext ¶
func (o GetMpaAccountScopeResultOutput) ToGetMpaAccountScopeResultOutputWithContext(ctx context.Context) GetMpaAccountScopeResultOutput