billing

package
v5.25.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 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

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

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 (GetEnrollmentAccountScopeResultOutput) BillingAccountName

func (GetEnrollmentAccountScopeResultOutput) ElementType

func (GetEnrollmentAccountScopeResultOutput) EnrollmentAccountName

func (o GetEnrollmentAccountScopeResultOutput) EnrollmentAccountName() pulumi.StringOutput

func (GetEnrollmentAccountScopeResultOutput) Id

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

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 (GetMcaAccountScopeResultOutput) BillingAccountName

func (o GetMcaAccountScopeResultOutput) BillingAccountName() pulumi.StringOutput

func (GetMcaAccountScopeResultOutput) BillingProfileName

func (o GetMcaAccountScopeResultOutput) BillingProfileName() pulumi.StringOutput

func (GetMcaAccountScopeResultOutput) ElementType

func (GetMcaAccountScopeResultOutput) Id

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

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 (GetMpaAccountScopeResultOutput) BillingAccountName

func (o GetMpaAccountScopeResultOutput) BillingAccountName() pulumi.StringOutput

func (GetMpaAccountScopeResultOutput) CustomerName

func (GetMpaAccountScopeResultOutput) ElementType

func (GetMpaAccountScopeResultOutput) Id

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

Jump to

Keyboard shortcuts

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