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 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 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 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 }) }
```
Click to show internal directories.
Click to hide internal directories.