billing

package
v4.42.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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 added in v4.20.0

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 added in v4.20.0

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/v4/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 added in v4.20.0

type GetEnrollmentAccountScopeResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getEnrollmentAccountScope.

func (GetEnrollmentAccountScopeResultOutput) BillingAccountName added in v4.20.0

func (GetEnrollmentAccountScopeResultOutput) ElementType added in v4.20.0

func (GetEnrollmentAccountScopeResultOutput) EnrollmentAccountName added in v4.20.0

func (o GetEnrollmentAccountScopeResultOutput) EnrollmentAccountName() pulumi.StringOutput

func (GetEnrollmentAccountScopeResultOutput) Id added in v4.20.0

The provider-assigned unique ID for this managed resource.

func (GetEnrollmentAccountScopeResultOutput) ToGetEnrollmentAccountScopeResultOutput added in v4.20.0

func (o GetEnrollmentAccountScopeResultOutput) ToGetEnrollmentAccountScopeResultOutput() GetEnrollmentAccountScopeResultOutput

func (GetEnrollmentAccountScopeResultOutput) ToGetEnrollmentAccountScopeResultOutputWithContext added in v4.20.0

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 added in v4.20.0

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 added in v4.20.0

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/v4/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 added in v4.20.0

type GetMcaAccountScopeResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getMcaAccountScope.

func GetMcaAccountScopeOutput added in v4.20.0

func (GetMcaAccountScopeResultOutput) BillingAccountName added in v4.20.0

func (o GetMcaAccountScopeResultOutput) BillingAccountName() pulumi.StringOutput

func (GetMcaAccountScopeResultOutput) BillingProfileName added in v4.20.0

func (o GetMcaAccountScopeResultOutput) BillingProfileName() pulumi.StringOutput

func (GetMcaAccountScopeResultOutput) ElementType added in v4.20.0

func (GetMcaAccountScopeResultOutput) Id added in v4.20.0

The provider-assigned unique ID for this managed resource.

func (GetMcaAccountScopeResultOutput) InvoiceSectionName added in v4.20.0

func (o GetMcaAccountScopeResultOutput) InvoiceSectionName() pulumi.StringOutput

func (GetMcaAccountScopeResultOutput) ToGetMcaAccountScopeResultOutput added in v4.20.0

func (o GetMcaAccountScopeResultOutput) ToGetMcaAccountScopeResultOutput() GetMcaAccountScopeResultOutput

func (GetMcaAccountScopeResultOutput) ToGetMcaAccountScopeResultOutputWithContext added in v4.20.0

func (o GetMcaAccountScopeResultOutput) ToGetMcaAccountScopeResultOutputWithContext(ctx context.Context) GetMcaAccountScopeResultOutput

type GetMpaAccountScopeArgs added in v4.25.0

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 added in v4.25.0

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 added in v4.25.0

type GetMpaAccountScopeResult added in v4.25.0

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 added in v4.25.0

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/v4/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 added in v4.25.0

type GetMpaAccountScopeResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getMpaAccountScope.

func GetMpaAccountScopeOutput added in v4.25.0

func (GetMpaAccountScopeResultOutput) BillingAccountName added in v4.25.0

func (o GetMpaAccountScopeResultOutput) BillingAccountName() pulumi.StringOutput

func (GetMpaAccountScopeResultOutput) CustomerName added in v4.25.0

func (GetMpaAccountScopeResultOutput) ElementType added in v4.25.0

func (GetMpaAccountScopeResultOutput) Id added in v4.25.0

The provider-assigned unique ID for this managed resource.

func (GetMpaAccountScopeResultOutput) ToGetMpaAccountScopeResultOutput added in v4.25.0

func (o GetMpaAccountScopeResultOutput) ToGetMpaAccountScopeResultOutput() GetMpaAccountScopeResultOutput

func (GetMpaAccountScopeResultOutput) ToGetMpaAccountScopeResultOutputWithContext added in v4.25.0

func (o GetMpaAccountScopeResultOutput) ToGetMpaAccountScopeResultOutputWithContext(ctx context.Context) GetMpaAccountScopeResultOutput

Jump to

Keyboard shortcuts

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