Documentation ¶
Index ¶
- 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 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