billing

package
v4.21.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountIamBinding

type AccountIamBinding struct {
	pulumi.CustomResourceState

	BillingAccountId pulumi.StringOutput                 `pulumi:"billingAccountId"`
	Condition        AccountIamBindingConditionPtrOutput `pulumi:"condition"`
	Etag             pulumi.StringOutput                 `pulumi:"etag"`
	Members          pulumi.StringArrayOutput            `pulumi:"members"`
	Role             pulumi.StringOutput                 `pulumi:"role"`
}

func GetAccountIamBinding

func GetAccountIamBinding(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AccountIamBindingState, opts ...pulumi.ResourceOption) (*AccountIamBinding, error)

GetAccountIamBinding gets an existing AccountIamBinding 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 NewAccountIamBinding

func NewAccountIamBinding(ctx *pulumi.Context,
	name string, args *AccountIamBindingArgs, opts ...pulumi.ResourceOption) (*AccountIamBinding, error)

NewAccountIamBinding registers a new resource with the given unique name, arguments, and options.

func (*AccountIamBinding) ElementType added in v4.4.0

func (*AccountIamBinding) ElementType() reflect.Type

func (*AccountIamBinding) ToAccountIamBindingOutput added in v4.4.0

func (i *AccountIamBinding) ToAccountIamBindingOutput() AccountIamBindingOutput

func (*AccountIamBinding) ToAccountIamBindingOutputWithContext added in v4.4.0

func (i *AccountIamBinding) ToAccountIamBindingOutputWithContext(ctx context.Context) AccountIamBindingOutput

func (*AccountIamBinding) ToAccountIamBindingPtrOutput added in v4.11.1

func (i *AccountIamBinding) ToAccountIamBindingPtrOutput() AccountIamBindingPtrOutput

func (*AccountIamBinding) ToAccountIamBindingPtrOutputWithContext added in v4.11.1

func (i *AccountIamBinding) ToAccountIamBindingPtrOutputWithContext(ctx context.Context) AccountIamBindingPtrOutput

type AccountIamBindingArgs

type AccountIamBindingArgs struct {
	BillingAccountId pulumi.StringInput
	Condition        AccountIamBindingConditionPtrInput
	Members          pulumi.StringArrayInput
	Role             pulumi.StringInput
}

The set of arguments for constructing a AccountIamBinding resource.

func (AccountIamBindingArgs) ElementType

func (AccountIamBindingArgs) ElementType() reflect.Type

type AccountIamBindingArray added in v4.11.1

type AccountIamBindingArray []AccountIamBindingInput

func (AccountIamBindingArray) ElementType added in v4.11.1

func (AccountIamBindingArray) ElementType() reflect.Type

func (AccountIamBindingArray) ToAccountIamBindingArrayOutput added in v4.11.1

func (i AccountIamBindingArray) ToAccountIamBindingArrayOutput() AccountIamBindingArrayOutput

func (AccountIamBindingArray) ToAccountIamBindingArrayOutputWithContext added in v4.11.1

func (i AccountIamBindingArray) ToAccountIamBindingArrayOutputWithContext(ctx context.Context) AccountIamBindingArrayOutput

type AccountIamBindingArrayInput added in v4.11.1

type AccountIamBindingArrayInput interface {
	pulumi.Input

	ToAccountIamBindingArrayOutput() AccountIamBindingArrayOutput
	ToAccountIamBindingArrayOutputWithContext(context.Context) AccountIamBindingArrayOutput
}

AccountIamBindingArrayInput is an input type that accepts AccountIamBindingArray and AccountIamBindingArrayOutput values. You can construct a concrete instance of `AccountIamBindingArrayInput` via:

AccountIamBindingArray{ AccountIamBindingArgs{...} }

type AccountIamBindingArrayOutput added in v4.11.1

type AccountIamBindingArrayOutput struct{ *pulumi.OutputState }

func (AccountIamBindingArrayOutput) ElementType added in v4.11.1

func (AccountIamBindingArrayOutput) Index added in v4.11.1

func (AccountIamBindingArrayOutput) ToAccountIamBindingArrayOutput added in v4.11.1

func (o AccountIamBindingArrayOutput) ToAccountIamBindingArrayOutput() AccountIamBindingArrayOutput

func (AccountIamBindingArrayOutput) ToAccountIamBindingArrayOutputWithContext added in v4.11.1

func (o AccountIamBindingArrayOutput) ToAccountIamBindingArrayOutputWithContext(ctx context.Context) AccountIamBindingArrayOutput

type AccountIamBindingCondition

type AccountIamBindingCondition struct {
	Description *string `pulumi:"description"`
	Expression  string  `pulumi:"expression"`
	Title       string  `pulumi:"title"`
}

type AccountIamBindingConditionArgs

type AccountIamBindingConditionArgs struct {
	Description pulumi.StringPtrInput `pulumi:"description"`
	Expression  pulumi.StringInput    `pulumi:"expression"`
	Title       pulumi.StringInput    `pulumi:"title"`
}

func (AccountIamBindingConditionArgs) ElementType

func (AccountIamBindingConditionArgs) ToAccountIamBindingConditionOutput

func (i AccountIamBindingConditionArgs) ToAccountIamBindingConditionOutput() AccountIamBindingConditionOutput

func (AccountIamBindingConditionArgs) ToAccountIamBindingConditionOutputWithContext

func (i AccountIamBindingConditionArgs) ToAccountIamBindingConditionOutputWithContext(ctx context.Context) AccountIamBindingConditionOutput

func (AccountIamBindingConditionArgs) ToAccountIamBindingConditionPtrOutput

func (i AccountIamBindingConditionArgs) ToAccountIamBindingConditionPtrOutput() AccountIamBindingConditionPtrOutput

func (AccountIamBindingConditionArgs) ToAccountIamBindingConditionPtrOutputWithContext

func (i AccountIamBindingConditionArgs) ToAccountIamBindingConditionPtrOutputWithContext(ctx context.Context) AccountIamBindingConditionPtrOutput

type AccountIamBindingConditionInput

type AccountIamBindingConditionInput interface {
	pulumi.Input

	ToAccountIamBindingConditionOutput() AccountIamBindingConditionOutput
	ToAccountIamBindingConditionOutputWithContext(context.Context) AccountIamBindingConditionOutput
}

AccountIamBindingConditionInput is an input type that accepts AccountIamBindingConditionArgs and AccountIamBindingConditionOutput values. You can construct a concrete instance of `AccountIamBindingConditionInput` via:

AccountIamBindingConditionArgs{...}

type AccountIamBindingConditionOutput

type AccountIamBindingConditionOutput struct{ *pulumi.OutputState }

func (AccountIamBindingConditionOutput) Description

func (AccountIamBindingConditionOutput) ElementType

func (AccountIamBindingConditionOutput) Expression

func (AccountIamBindingConditionOutput) Title

func (AccountIamBindingConditionOutput) ToAccountIamBindingConditionOutput

func (o AccountIamBindingConditionOutput) ToAccountIamBindingConditionOutput() AccountIamBindingConditionOutput

func (AccountIamBindingConditionOutput) ToAccountIamBindingConditionOutputWithContext

func (o AccountIamBindingConditionOutput) ToAccountIamBindingConditionOutputWithContext(ctx context.Context) AccountIamBindingConditionOutput

func (AccountIamBindingConditionOutput) ToAccountIamBindingConditionPtrOutput

func (o AccountIamBindingConditionOutput) ToAccountIamBindingConditionPtrOutput() AccountIamBindingConditionPtrOutput

func (AccountIamBindingConditionOutput) ToAccountIamBindingConditionPtrOutputWithContext

func (o AccountIamBindingConditionOutput) ToAccountIamBindingConditionPtrOutputWithContext(ctx context.Context) AccountIamBindingConditionPtrOutput

type AccountIamBindingConditionPtrInput

type AccountIamBindingConditionPtrInput interface {
	pulumi.Input

	ToAccountIamBindingConditionPtrOutput() AccountIamBindingConditionPtrOutput
	ToAccountIamBindingConditionPtrOutputWithContext(context.Context) AccountIamBindingConditionPtrOutput
}

AccountIamBindingConditionPtrInput is an input type that accepts AccountIamBindingConditionArgs, AccountIamBindingConditionPtr and AccountIamBindingConditionPtrOutput values. You can construct a concrete instance of `AccountIamBindingConditionPtrInput` via:

        AccountIamBindingConditionArgs{...}

or:

        nil

type AccountIamBindingConditionPtrOutput

type AccountIamBindingConditionPtrOutput struct{ *pulumi.OutputState }

func (AccountIamBindingConditionPtrOutput) Description

func (AccountIamBindingConditionPtrOutput) Elem

func (AccountIamBindingConditionPtrOutput) ElementType

func (AccountIamBindingConditionPtrOutput) Expression

func (AccountIamBindingConditionPtrOutput) Title

func (AccountIamBindingConditionPtrOutput) ToAccountIamBindingConditionPtrOutput

func (o AccountIamBindingConditionPtrOutput) ToAccountIamBindingConditionPtrOutput() AccountIamBindingConditionPtrOutput

func (AccountIamBindingConditionPtrOutput) ToAccountIamBindingConditionPtrOutputWithContext

func (o AccountIamBindingConditionPtrOutput) ToAccountIamBindingConditionPtrOutputWithContext(ctx context.Context) AccountIamBindingConditionPtrOutput

type AccountIamBindingInput added in v4.4.0

type AccountIamBindingInput interface {
	pulumi.Input

	ToAccountIamBindingOutput() AccountIamBindingOutput
	ToAccountIamBindingOutputWithContext(ctx context.Context) AccountIamBindingOutput
}

type AccountIamBindingMap added in v4.11.1

type AccountIamBindingMap map[string]AccountIamBindingInput

func (AccountIamBindingMap) ElementType added in v4.11.1

func (AccountIamBindingMap) ElementType() reflect.Type

func (AccountIamBindingMap) ToAccountIamBindingMapOutput added in v4.11.1

func (i AccountIamBindingMap) ToAccountIamBindingMapOutput() AccountIamBindingMapOutput

func (AccountIamBindingMap) ToAccountIamBindingMapOutputWithContext added in v4.11.1

func (i AccountIamBindingMap) ToAccountIamBindingMapOutputWithContext(ctx context.Context) AccountIamBindingMapOutput

type AccountIamBindingMapInput added in v4.11.1

type AccountIamBindingMapInput interface {
	pulumi.Input

	ToAccountIamBindingMapOutput() AccountIamBindingMapOutput
	ToAccountIamBindingMapOutputWithContext(context.Context) AccountIamBindingMapOutput
}

AccountIamBindingMapInput is an input type that accepts AccountIamBindingMap and AccountIamBindingMapOutput values. You can construct a concrete instance of `AccountIamBindingMapInput` via:

AccountIamBindingMap{ "key": AccountIamBindingArgs{...} }

type AccountIamBindingMapOutput added in v4.11.1

type AccountIamBindingMapOutput struct{ *pulumi.OutputState }

func (AccountIamBindingMapOutput) ElementType added in v4.11.1

func (AccountIamBindingMapOutput) ElementType() reflect.Type

func (AccountIamBindingMapOutput) MapIndex added in v4.11.1

func (AccountIamBindingMapOutput) ToAccountIamBindingMapOutput added in v4.11.1

func (o AccountIamBindingMapOutput) ToAccountIamBindingMapOutput() AccountIamBindingMapOutput

func (AccountIamBindingMapOutput) ToAccountIamBindingMapOutputWithContext added in v4.11.1

func (o AccountIamBindingMapOutput) ToAccountIamBindingMapOutputWithContext(ctx context.Context) AccountIamBindingMapOutput

type AccountIamBindingOutput added in v4.4.0

type AccountIamBindingOutput struct {
	*pulumi.OutputState
}

func (AccountIamBindingOutput) ElementType added in v4.4.0

func (AccountIamBindingOutput) ElementType() reflect.Type

func (AccountIamBindingOutput) ToAccountIamBindingOutput added in v4.4.0

func (o AccountIamBindingOutput) ToAccountIamBindingOutput() AccountIamBindingOutput

func (AccountIamBindingOutput) ToAccountIamBindingOutputWithContext added in v4.4.0

func (o AccountIamBindingOutput) ToAccountIamBindingOutputWithContext(ctx context.Context) AccountIamBindingOutput

func (AccountIamBindingOutput) ToAccountIamBindingPtrOutput added in v4.11.1

func (o AccountIamBindingOutput) ToAccountIamBindingPtrOutput() AccountIamBindingPtrOutput

func (AccountIamBindingOutput) ToAccountIamBindingPtrOutputWithContext added in v4.11.1

func (o AccountIamBindingOutput) ToAccountIamBindingPtrOutputWithContext(ctx context.Context) AccountIamBindingPtrOutput

type AccountIamBindingPtrInput added in v4.11.1

type AccountIamBindingPtrInput interface {
	pulumi.Input

	ToAccountIamBindingPtrOutput() AccountIamBindingPtrOutput
	ToAccountIamBindingPtrOutputWithContext(ctx context.Context) AccountIamBindingPtrOutput
}

type AccountIamBindingPtrOutput added in v4.11.1

type AccountIamBindingPtrOutput struct {
	*pulumi.OutputState
}

func (AccountIamBindingPtrOutput) ElementType added in v4.11.1

func (AccountIamBindingPtrOutput) ElementType() reflect.Type

func (AccountIamBindingPtrOutput) ToAccountIamBindingPtrOutput added in v4.11.1

func (o AccountIamBindingPtrOutput) ToAccountIamBindingPtrOutput() AccountIamBindingPtrOutput

func (AccountIamBindingPtrOutput) ToAccountIamBindingPtrOutputWithContext added in v4.11.1

func (o AccountIamBindingPtrOutput) ToAccountIamBindingPtrOutputWithContext(ctx context.Context) AccountIamBindingPtrOutput

type AccountIamBindingState

type AccountIamBindingState struct {
	BillingAccountId pulumi.StringPtrInput
	Condition        AccountIamBindingConditionPtrInput
	Etag             pulumi.StringPtrInput
	Members          pulumi.StringArrayInput
	Role             pulumi.StringPtrInput
}

func (AccountIamBindingState) ElementType

func (AccountIamBindingState) ElementType() reflect.Type

type AccountIamMember

type AccountIamMember struct {
	pulumi.CustomResourceState

	BillingAccountId pulumi.StringOutput                `pulumi:"billingAccountId"`
	Condition        AccountIamMemberConditionPtrOutput `pulumi:"condition"`
	Etag             pulumi.StringOutput                `pulumi:"etag"`
	Member           pulumi.StringOutput                `pulumi:"member"`
	Role             pulumi.StringOutput                `pulumi:"role"`
}

func GetAccountIamMember

func GetAccountIamMember(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AccountIamMemberState, opts ...pulumi.ResourceOption) (*AccountIamMember, error)

GetAccountIamMember gets an existing AccountIamMember 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 NewAccountIamMember

func NewAccountIamMember(ctx *pulumi.Context,
	name string, args *AccountIamMemberArgs, opts ...pulumi.ResourceOption) (*AccountIamMember, error)

NewAccountIamMember registers a new resource with the given unique name, arguments, and options.

func (*AccountIamMember) ElementType added in v4.4.0

func (*AccountIamMember) ElementType() reflect.Type

func (*AccountIamMember) ToAccountIamMemberOutput added in v4.4.0

func (i *AccountIamMember) ToAccountIamMemberOutput() AccountIamMemberOutput

func (*AccountIamMember) ToAccountIamMemberOutputWithContext added in v4.4.0

func (i *AccountIamMember) ToAccountIamMemberOutputWithContext(ctx context.Context) AccountIamMemberOutput

func (*AccountIamMember) ToAccountIamMemberPtrOutput added in v4.11.1

func (i *AccountIamMember) ToAccountIamMemberPtrOutput() AccountIamMemberPtrOutput

func (*AccountIamMember) ToAccountIamMemberPtrOutputWithContext added in v4.11.1

func (i *AccountIamMember) ToAccountIamMemberPtrOutputWithContext(ctx context.Context) AccountIamMemberPtrOutput

type AccountIamMemberArgs

type AccountIamMemberArgs struct {
	BillingAccountId pulumi.StringInput
	Condition        AccountIamMemberConditionPtrInput
	Member           pulumi.StringInput
	Role             pulumi.StringInput
}

The set of arguments for constructing a AccountIamMember resource.

func (AccountIamMemberArgs) ElementType

func (AccountIamMemberArgs) ElementType() reflect.Type

type AccountIamMemberArray added in v4.11.1

type AccountIamMemberArray []AccountIamMemberInput

func (AccountIamMemberArray) ElementType added in v4.11.1

func (AccountIamMemberArray) ElementType() reflect.Type

func (AccountIamMemberArray) ToAccountIamMemberArrayOutput added in v4.11.1

func (i AccountIamMemberArray) ToAccountIamMemberArrayOutput() AccountIamMemberArrayOutput

func (AccountIamMemberArray) ToAccountIamMemberArrayOutputWithContext added in v4.11.1

func (i AccountIamMemberArray) ToAccountIamMemberArrayOutputWithContext(ctx context.Context) AccountIamMemberArrayOutput

type AccountIamMemberArrayInput added in v4.11.1

type AccountIamMemberArrayInput interface {
	pulumi.Input

	ToAccountIamMemberArrayOutput() AccountIamMemberArrayOutput
	ToAccountIamMemberArrayOutputWithContext(context.Context) AccountIamMemberArrayOutput
}

AccountIamMemberArrayInput is an input type that accepts AccountIamMemberArray and AccountIamMemberArrayOutput values. You can construct a concrete instance of `AccountIamMemberArrayInput` via:

AccountIamMemberArray{ AccountIamMemberArgs{...} }

type AccountIamMemberArrayOutput added in v4.11.1

type AccountIamMemberArrayOutput struct{ *pulumi.OutputState }

func (AccountIamMemberArrayOutput) ElementType added in v4.11.1

func (AccountIamMemberArrayOutput) Index added in v4.11.1

func (AccountIamMemberArrayOutput) ToAccountIamMemberArrayOutput added in v4.11.1

func (o AccountIamMemberArrayOutput) ToAccountIamMemberArrayOutput() AccountIamMemberArrayOutput

func (AccountIamMemberArrayOutput) ToAccountIamMemberArrayOutputWithContext added in v4.11.1

func (o AccountIamMemberArrayOutput) ToAccountIamMemberArrayOutputWithContext(ctx context.Context) AccountIamMemberArrayOutput

type AccountIamMemberCondition

type AccountIamMemberCondition struct {
	Description *string `pulumi:"description"`
	Expression  string  `pulumi:"expression"`
	Title       string  `pulumi:"title"`
}

type AccountIamMemberConditionArgs

type AccountIamMemberConditionArgs struct {
	Description pulumi.StringPtrInput `pulumi:"description"`
	Expression  pulumi.StringInput    `pulumi:"expression"`
	Title       pulumi.StringInput    `pulumi:"title"`
}

func (AccountIamMemberConditionArgs) ElementType

func (AccountIamMemberConditionArgs) ToAccountIamMemberConditionOutput

func (i AccountIamMemberConditionArgs) ToAccountIamMemberConditionOutput() AccountIamMemberConditionOutput

func (AccountIamMemberConditionArgs) ToAccountIamMemberConditionOutputWithContext

func (i AccountIamMemberConditionArgs) ToAccountIamMemberConditionOutputWithContext(ctx context.Context) AccountIamMemberConditionOutput

func (AccountIamMemberConditionArgs) ToAccountIamMemberConditionPtrOutput

func (i AccountIamMemberConditionArgs) ToAccountIamMemberConditionPtrOutput() AccountIamMemberConditionPtrOutput

func (AccountIamMemberConditionArgs) ToAccountIamMemberConditionPtrOutputWithContext

func (i AccountIamMemberConditionArgs) ToAccountIamMemberConditionPtrOutputWithContext(ctx context.Context) AccountIamMemberConditionPtrOutput

type AccountIamMemberConditionInput

type AccountIamMemberConditionInput interface {
	pulumi.Input

	ToAccountIamMemberConditionOutput() AccountIamMemberConditionOutput
	ToAccountIamMemberConditionOutputWithContext(context.Context) AccountIamMemberConditionOutput
}

AccountIamMemberConditionInput is an input type that accepts AccountIamMemberConditionArgs and AccountIamMemberConditionOutput values. You can construct a concrete instance of `AccountIamMemberConditionInput` via:

AccountIamMemberConditionArgs{...}

type AccountIamMemberConditionOutput

type AccountIamMemberConditionOutput struct{ *pulumi.OutputState }

func (AccountIamMemberConditionOutput) Description

func (AccountIamMemberConditionOutput) ElementType

func (AccountIamMemberConditionOutput) Expression

func (AccountIamMemberConditionOutput) Title

func (AccountIamMemberConditionOutput) ToAccountIamMemberConditionOutput

func (o AccountIamMemberConditionOutput) ToAccountIamMemberConditionOutput() AccountIamMemberConditionOutput

func (AccountIamMemberConditionOutput) ToAccountIamMemberConditionOutputWithContext

func (o AccountIamMemberConditionOutput) ToAccountIamMemberConditionOutputWithContext(ctx context.Context) AccountIamMemberConditionOutput

func (AccountIamMemberConditionOutput) ToAccountIamMemberConditionPtrOutput

func (o AccountIamMemberConditionOutput) ToAccountIamMemberConditionPtrOutput() AccountIamMemberConditionPtrOutput

func (AccountIamMemberConditionOutput) ToAccountIamMemberConditionPtrOutputWithContext

func (o AccountIamMemberConditionOutput) ToAccountIamMemberConditionPtrOutputWithContext(ctx context.Context) AccountIamMemberConditionPtrOutput

type AccountIamMemberConditionPtrInput

type AccountIamMemberConditionPtrInput interface {
	pulumi.Input

	ToAccountIamMemberConditionPtrOutput() AccountIamMemberConditionPtrOutput
	ToAccountIamMemberConditionPtrOutputWithContext(context.Context) AccountIamMemberConditionPtrOutput
}

AccountIamMemberConditionPtrInput is an input type that accepts AccountIamMemberConditionArgs, AccountIamMemberConditionPtr and AccountIamMemberConditionPtrOutput values. You can construct a concrete instance of `AccountIamMemberConditionPtrInput` via:

        AccountIamMemberConditionArgs{...}

or:

        nil

type AccountIamMemberConditionPtrOutput

type AccountIamMemberConditionPtrOutput struct{ *pulumi.OutputState }

func (AccountIamMemberConditionPtrOutput) Description

func (AccountIamMemberConditionPtrOutput) Elem

func (AccountIamMemberConditionPtrOutput) ElementType

func (AccountIamMemberConditionPtrOutput) Expression

func (AccountIamMemberConditionPtrOutput) Title

func (AccountIamMemberConditionPtrOutput) ToAccountIamMemberConditionPtrOutput

func (o AccountIamMemberConditionPtrOutput) ToAccountIamMemberConditionPtrOutput() AccountIamMemberConditionPtrOutput

func (AccountIamMemberConditionPtrOutput) ToAccountIamMemberConditionPtrOutputWithContext

func (o AccountIamMemberConditionPtrOutput) ToAccountIamMemberConditionPtrOutputWithContext(ctx context.Context) AccountIamMemberConditionPtrOutput

type AccountIamMemberInput added in v4.4.0

type AccountIamMemberInput interface {
	pulumi.Input

	ToAccountIamMemberOutput() AccountIamMemberOutput
	ToAccountIamMemberOutputWithContext(ctx context.Context) AccountIamMemberOutput
}

type AccountIamMemberMap added in v4.11.1

type AccountIamMemberMap map[string]AccountIamMemberInput

func (AccountIamMemberMap) ElementType added in v4.11.1

func (AccountIamMemberMap) ElementType() reflect.Type

func (AccountIamMemberMap) ToAccountIamMemberMapOutput added in v4.11.1

func (i AccountIamMemberMap) ToAccountIamMemberMapOutput() AccountIamMemberMapOutput

func (AccountIamMemberMap) ToAccountIamMemberMapOutputWithContext added in v4.11.1

func (i AccountIamMemberMap) ToAccountIamMemberMapOutputWithContext(ctx context.Context) AccountIamMemberMapOutput

type AccountIamMemberMapInput added in v4.11.1

type AccountIamMemberMapInput interface {
	pulumi.Input

	ToAccountIamMemberMapOutput() AccountIamMemberMapOutput
	ToAccountIamMemberMapOutputWithContext(context.Context) AccountIamMemberMapOutput
}

AccountIamMemberMapInput is an input type that accepts AccountIamMemberMap and AccountIamMemberMapOutput values. You can construct a concrete instance of `AccountIamMemberMapInput` via:

AccountIamMemberMap{ "key": AccountIamMemberArgs{...} }

type AccountIamMemberMapOutput added in v4.11.1

type AccountIamMemberMapOutput struct{ *pulumi.OutputState }

func (AccountIamMemberMapOutput) ElementType added in v4.11.1

func (AccountIamMemberMapOutput) ElementType() reflect.Type

func (AccountIamMemberMapOutput) MapIndex added in v4.11.1

func (AccountIamMemberMapOutput) ToAccountIamMemberMapOutput added in v4.11.1

func (o AccountIamMemberMapOutput) ToAccountIamMemberMapOutput() AccountIamMemberMapOutput

func (AccountIamMemberMapOutput) ToAccountIamMemberMapOutputWithContext added in v4.11.1

func (o AccountIamMemberMapOutput) ToAccountIamMemberMapOutputWithContext(ctx context.Context) AccountIamMemberMapOutput

type AccountIamMemberOutput added in v4.4.0

type AccountIamMemberOutput struct {
	*pulumi.OutputState
}

func (AccountIamMemberOutput) ElementType added in v4.4.0

func (AccountIamMemberOutput) ElementType() reflect.Type

func (AccountIamMemberOutput) ToAccountIamMemberOutput added in v4.4.0

func (o AccountIamMemberOutput) ToAccountIamMemberOutput() AccountIamMemberOutput

func (AccountIamMemberOutput) ToAccountIamMemberOutputWithContext added in v4.4.0

func (o AccountIamMemberOutput) ToAccountIamMemberOutputWithContext(ctx context.Context) AccountIamMemberOutput

func (AccountIamMemberOutput) ToAccountIamMemberPtrOutput added in v4.11.1

func (o AccountIamMemberOutput) ToAccountIamMemberPtrOutput() AccountIamMemberPtrOutput

func (AccountIamMemberOutput) ToAccountIamMemberPtrOutputWithContext added in v4.11.1

func (o AccountIamMemberOutput) ToAccountIamMemberPtrOutputWithContext(ctx context.Context) AccountIamMemberPtrOutput

type AccountIamMemberPtrInput added in v4.11.1

type AccountIamMemberPtrInput interface {
	pulumi.Input

	ToAccountIamMemberPtrOutput() AccountIamMemberPtrOutput
	ToAccountIamMemberPtrOutputWithContext(ctx context.Context) AccountIamMemberPtrOutput
}

type AccountIamMemberPtrOutput added in v4.11.1

type AccountIamMemberPtrOutput struct {
	*pulumi.OutputState
}

func (AccountIamMemberPtrOutput) ElementType added in v4.11.1

func (AccountIamMemberPtrOutput) ElementType() reflect.Type

func (AccountIamMemberPtrOutput) ToAccountIamMemberPtrOutput added in v4.11.1

func (o AccountIamMemberPtrOutput) ToAccountIamMemberPtrOutput() AccountIamMemberPtrOutput

func (AccountIamMemberPtrOutput) ToAccountIamMemberPtrOutputWithContext added in v4.11.1

func (o AccountIamMemberPtrOutput) ToAccountIamMemberPtrOutputWithContext(ctx context.Context) AccountIamMemberPtrOutput

type AccountIamMemberState

type AccountIamMemberState struct {
	BillingAccountId pulumi.StringPtrInput
	Condition        AccountIamMemberConditionPtrInput
	Etag             pulumi.StringPtrInput
	Member           pulumi.StringPtrInput
	Role             pulumi.StringPtrInput
}

func (AccountIamMemberState) ElementType

func (AccountIamMemberState) ElementType() reflect.Type

type AccountIamPolicy

type AccountIamPolicy struct {
	pulumi.CustomResourceState

	BillingAccountId pulumi.StringOutput `pulumi:"billingAccountId"`
	Etag             pulumi.StringOutput `pulumi:"etag"`
	PolicyData       pulumi.StringOutput `pulumi:"policyData"`
}

func GetAccountIamPolicy

func GetAccountIamPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AccountIamPolicyState, opts ...pulumi.ResourceOption) (*AccountIamPolicy, error)

GetAccountIamPolicy gets an existing AccountIamPolicy 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 NewAccountIamPolicy

func NewAccountIamPolicy(ctx *pulumi.Context,
	name string, args *AccountIamPolicyArgs, opts ...pulumi.ResourceOption) (*AccountIamPolicy, error)

NewAccountIamPolicy registers a new resource with the given unique name, arguments, and options.

func (*AccountIamPolicy) ElementType added in v4.4.0

func (*AccountIamPolicy) ElementType() reflect.Type

func (*AccountIamPolicy) ToAccountIamPolicyOutput added in v4.4.0

func (i *AccountIamPolicy) ToAccountIamPolicyOutput() AccountIamPolicyOutput

func (*AccountIamPolicy) ToAccountIamPolicyOutputWithContext added in v4.4.0

func (i *AccountIamPolicy) ToAccountIamPolicyOutputWithContext(ctx context.Context) AccountIamPolicyOutput

func (*AccountIamPolicy) ToAccountIamPolicyPtrOutput added in v4.11.1

func (i *AccountIamPolicy) ToAccountIamPolicyPtrOutput() AccountIamPolicyPtrOutput

func (*AccountIamPolicy) ToAccountIamPolicyPtrOutputWithContext added in v4.11.1

func (i *AccountIamPolicy) ToAccountIamPolicyPtrOutputWithContext(ctx context.Context) AccountIamPolicyPtrOutput

type AccountIamPolicyArgs

type AccountIamPolicyArgs struct {
	BillingAccountId pulumi.StringInput
	PolicyData       pulumi.StringInput
}

The set of arguments for constructing a AccountIamPolicy resource.

func (AccountIamPolicyArgs) ElementType

func (AccountIamPolicyArgs) ElementType() reflect.Type

type AccountIamPolicyArray added in v4.11.1

type AccountIamPolicyArray []AccountIamPolicyInput

func (AccountIamPolicyArray) ElementType added in v4.11.1

func (AccountIamPolicyArray) ElementType() reflect.Type

func (AccountIamPolicyArray) ToAccountIamPolicyArrayOutput added in v4.11.1

func (i AccountIamPolicyArray) ToAccountIamPolicyArrayOutput() AccountIamPolicyArrayOutput

func (AccountIamPolicyArray) ToAccountIamPolicyArrayOutputWithContext added in v4.11.1

func (i AccountIamPolicyArray) ToAccountIamPolicyArrayOutputWithContext(ctx context.Context) AccountIamPolicyArrayOutput

type AccountIamPolicyArrayInput added in v4.11.1

type AccountIamPolicyArrayInput interface {
	pulumi.Input

	ToAccountIamPolicyArrayOutput() AccountIamPolicyArrayOutput
	ToAccountIamPolicyArrayOutputWithContext(context.Context) AccountIamPolicyArrayOutput
}

AccountIamPolicyArrayInput is an input type that accepts AccountIamPolicyArray and AccountIamPolicyArrayOutput values. You can construct a concrete instance of `AccountIamPolicyArrayInput` via:

AccountIamPolicyArray{ AccountIamPolicyArgs{...} }

type AccountIamPolicyArrayOutput added in v4.11.1

type AccountIamPolicyArrayOutput struct{ *pulumi.OutputState }

func (AccountIamPolicyArrayOutput) ElementType added in v4.11.1

func (AccountIamPolicyArrayOutput) Index added in v4.11.1

func (AccountIamPolicyArrayOutput) ToAccountIamPolicyArrayOutput added in v4.11.1

func (o AccountIamPolicyArrayOutput) ToAccountIamPolicyArrayOutput() AccountIamPolicyArrayOutput

func (AccountIamPolicyArrayOutput) ToAccountIamPolicyArrayOutputWithContext added in v4.11.1

func (o AccountIamPolicyArrayOutput) ToAccountIamPolicyArrayOutputWithContext(ctx context.Context) AccountIamPolicyArrayOutput

type AccountIamPolicyInput added in v4.4.0

type AccountIamPolicyInput interface {
	pulumi.Input

	ToAccountIamPolicyOutput() AccountIamPolicyOutput
	ToAccountIamPolicyOutputWithContext(ctx context.Context) AccountIamPolicyOutput
}

type AccountIamPolicyMap added in v4.11.1

type AccountIamPolicyMap map[string]AccountIamPolicyInput

func (AccountIamPolicyMap) ElementType added in v4.11.1

func (AccountIamPolicyMap) ElementType() reflect.Type

func (AccountIamPolicyMap) ToAccountIamPolicyMapOutput added in v4.11.1

func (i AccountIamPolicyMap) ToAccountIamPolicyMapOutput() AccountIamPolicyMapOutput

func (AccountIamPolicyMap) ToAccountIamPolicyMapOutputWithContext added in v4.11.1

func (i AccountIamPolicyMap) ToAccountIamPolicyMapOutputWithContext(ctx context.Context) AccountIamPolicyMapOutput

type AccountIamPolicyMapInput added in v4.11.1

type AccountIamPolicyMapInput interface {
	pulumi.Input

	ToAccountIamPolicyMapOutput() AccountIamPolicyMapOutput
	ToAccountIamPolicyMapOutputWithContext(context.Context) AccountIamPolicyMapOutput
}

AccountIamPolicyMapInput is an input type that accepts AccountIamPolicyMap and AccountIamPolicyMapOutput values. You can construct a concrete instance of `AccountIamPolicyMapInput` via:

AccountIamPolicyMap{ "key": AccountIamPolicyArgs{...} }

type AccountIamPolicyMapOutput added in v4.11.1

type AccountIamPolicyMapOutput struct{ *pulumi.OutputState }

func (AccountIamPolicyMapOutput) ElementType added in v4.11.1

func (AccountIamPolicyMapOutput) ElementType() reflect.Type

func (AccountIamPolicyMapOutput) MapIndex added in v4.11.1

func (AccountIamPolicyMapOutput) ToAccountIamPolicyMapOutput added in v4.11.1

func (o AccountIamPolicyMapOutput) ToAccountIamPolicyMapOutput() AccountIamPolicyMapOutput

func (AccountIamPolicyMapOutput) ToAccountIamPolicyMapOutputWithContext added in v4.11.1

func (o AccountIamPolicyMapOutput) ToAccountIamPolicyMapOutputWithContext(ctx context.Context) AccountIamPolicyMapOutput

type AccountIamPolicyOutput added in v4.4.0

type AccountIamPolicyOutput struct {
	*pulumi.OutputState
}

func (AccountIamPolicyOutput) ElementType added in v4.4.0

func (AccountIamPolicyOutput) ElementType() reflect.Type

func (AccountIamPolicyOutput) ToAccountIamPolicyOutput added in v4.4.0

func (o AccountIamPolicyOutput) ToAccountIamPolicyOutput() AccountIamPolicyOutput

func (AccountIamPolicyOutput) ToAccountIamPolicyOutputWithContext added in v4.4.0

func (o AccountIamPolicyOutput) ToAccountIamPolicyOutputWithContext(ctx context.Context) AccountIamPolicyOutput

func (AccountIamPolicyOutput) ToAccountIamPolicyPtrOutput added in v4.11.1

func (o AccountIamPolicyOutput) ToAccountIamPolicyPtrOutput() AccountIamPolicyPtrOutput

func (AccountIamPolicyOutput) ToAccountIamPolicyPtrOutputWithContext added in v4.11.1

func (o AccountIamPolicyOutput) ToAccountIamPolicyPtrOutputWithContext(ctx context.Context) AccountIamPolicyPtrOutput

type AccountIamPolicyPtrInput added in v4.11.1

type AccountIamPolicyPtrInput interface {
	pulumi.Input

	ToAccountIamPolicyPtrOutput() AccountIamPolicyPtrOutput
	ToAccountIamPolicyPtrOutputWithContext(ctx context.Context) AccountIamPolicyPtrOutput
}

type AccountIamPolicyPtrOutput added in v4.11.1

type AccountIamPolicyPtrOutput struct {
	*pulumi.OutputState
}

func (AccountIamPolicyPtrOutput) ElementType added in v4.11.1

func (AccountIamPolicyPtrOutput) ElementType() reflect.Type

func (AccountIamPolicyPtrOutput) ToAccountIamPolicyPtrOutput added in v4.11.1

func (o AccountIamPolicyPtrOutput) ToAccountIamPolicyPtrOutput() AccountIamPolicyPtrOutput

func (AccountIamPolicyPtrOutput) ToAccountIamPolicyPtrOutputWithContext added in v4.11.1

func (o AccountIamPolicyPtrOutput) ToAccountIamPolicyPtrOutputWithContext(ctx context.Context) AccountIamPolicyPtrOutput

type AccountIamPolicyState

type AccountIamPolicyState struct {
	BillingAccountId pulumi.StringPtrInput
	Etag             pulumi.StringPtrInput
	PolicyData       pulumi.StringPtrInput
}

func (AccountIamPolicyState) ElementType

func (AccountIamPolicyState) ElementType() reflect.Type

type Budget

type Budget struct {
	pulumi.CustomResourceState

	// Defines notifications that are sent on every update to the
	// billing account's spend, regardless of the thresholds defined
	// using threshold rules.
	// Structure is documented below.
	AllUpdatesRule BudgetAllUpdatesRulePtrOutput `pulumi:"allUpdatesRule"`
	// The budgeted amount for each usage period.
	// Structure is documented below.
	Amount BudgetAmountOutput `pulumi:"amount"`
	// ID of the billing account to set a budget on.
	BillingAccount pulumi.StringOutput `pulumi:"billingAccount"`
	// Filters that define which resources are used to compute the actual
	// spend against the budget.
	// Structure is documented below.
	BudgetFilter BudgetBudgetFilterOutput `pulumi:"budgetFilter"`
	// User data for display name in UI. Must be <= 60 chars.
	DisplayName pulumi.StringPtrOutput `pulumi:"displayName"`
	// Resource name of the budget. The resource name implies the scope of a budget. Values are of the form
	// billingAccounts/{billingAccountId}/budgets/{budgetId}.
	Name pulumi.StringOutput `pulumi:"name"`
	// Rules that trigger alerts (notifications of thresholds being
	// crossed) when spend exceeds the specified percentages of the
	// budget.
	// Structure is documented below.
	ThresholdRules BudgetThresholdRuleArrayOutput `pulumi:"thresholdRules"`
}

Budget configuration for a billing account.

To get more information about Budget, see:

* [API documentation](https://cloud.google.com/billing/docs/reference/budget/rest/v1/billingAccounts.budgets) * How-to Guides

> **Warning:** If you are using User ADCs (Application Default Credentials) with this resource, you must specify a `billingProject` and set `userProjectOverride` to true in the provider configuration. Otherwise the Billing Budgets API will return a 403 error. Your account must have the `serviceusage.services.use` permission on the `billingProject` you defined.

## Example Usage ### Billing Budget Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v4/go/gcp/billing"
"github.com/pulumi/pulumi-gcp/sdk/v4/go/gcp/organizations"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "000000-0000000-0000000-000000"
		account, err := organizations.GetBillingAccount(ctx, &organizations.GetBillingAccountArgs{
			BillingAccount: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		_, err = billing.NewBudget(ctx, "budget", &billing.BudgetArgs{
			BillingAccount: pulumi.String(account.Id),
			DisplayName:    pulumi.String("Example Billing Budget"),
			Amount: &billing.BudgetAmountArgs{
				SpecifiedAmount: &billing.BudgetAmountSpecifiedAmountArgs{
					CurrencyCode: pulumi.String("USD"),
					Units:        pulumi.String("100000"),
				},
			},
			ThresholdRules: billing.BudgetThresholdRuleArray{
				&billing.BudgetThresholdRuleArgs{
					ThresholdPercent: pulumi.Float64(0.5),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Billing Budget Lastperiod

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-gcp/sdk/v4/go/gcp/billing"
"github.com/pulumi/pulumi-gcp/sdk/v4/go/gcp/organizations"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "000000-0000000-0000000-000000"
		account, err := organizations.GetBillingAccount(ctx, &organizations.GetBillingAccountArgs{
			BillingAccount: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		project, err := organizations.LookupProject(ctx, nil, nil)
		if err != nil {
			return err
		}
		_, err = billing.NewBudget(ctx, "budget", &billing.BudgetArgs{
			BillingAccount: pulumi.String(account.Id),
			DisplayName:    pulumi.String("Example Billing Budget"),
			BudgetFilter: &billing.BudgetBudgetFilterArgs{
				Projects: pulumi.StringArray{
					pulumi.String(fmt.Sprintf("%v%v", "projects/", project.Number)),
				},
			},
			Amount: &billing.BudgetAmountArgs{
				LastPeriodAmount: pulumi.Bool(true),
			},
			ThresholdRules: billing.BudgetThresholdRuleArray{
				&billing.BudgetThresholdRuleArgs{
					ThresholdPercent: pulumi.Float64(10),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Billing Budget Filter

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-gcp/sdk/v4/go/gcp/billing"
"github.com/pulumi/pulumi-gcp/sdk/v4/go/gcp/organizations"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "000000-0000000-0000000-000000"
		account, err := organizations.GetBillingAccount(ctx, &organizations.GetBillingAccountArgs{
			BillingAccount: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		project, err := organizations.LookupProject(ctx, nil, nil)
		if err != nil {
			return err
		}
		_, err = billing.NewBudget(ctx, "budget", &billing.BudgetArgs{
			BillingAccount: pulumi.String(account.Id),
			DisplayName:    pulumi.String("Example Billing Budget"),
			BudgetFilter: &billing.BudgetBudgetFilterArgs{
				Projects: pulumi.StringArray{
					pulumi.String(fmt.Sprintf("%v%v", "projects/", project.Number)),
				},
				CreditTypesTreatment: pulumi.String("EXCLUDE_ALL_CREDITS"),
				Services: pulumi.StringArray{
					pulumi.String("services/24E6-581D-38E5"),
				},
			},
			Amount: &billing.BudgetAmountArgs{
				SpecifiedAmount: &billing.BudgetAmountSpecifiedAmountArgs{
					CurrencyCode: pulumi.String("USD"),
					Units:        pulumi.String("100000"),
				},
			},
			ThresholdRules: billing.BudgetThresholdRuleArray{
				&billing.BudgetThresholdRuleArgs{
					ThresholdPercent: pulumi.Float64(0.5),
				},
				&billing.BudgetThresholdRuleArgs{
					ThresholdPercent: pulumi.Float64(0.9),
					SpendBasis:       pulumi.String("FORECASTED_SPEND"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Billing Budget Notify

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-gcp/sdk/v4/go/gcp/billing"
"github.com/pulumi/pulumi-gcp/sdk/v4/go/gcp/monitoring"
"github.com/pulumi/pulumi-gcp/sdk/v4/go/gcp/organizations"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "000000-0000000-0000000-000000"
		account, err := organizations.GetBillingAccount(ctx, &organizations.GetBillingAccountArgs{
			BillingAccount: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		project, err := organizations.LookupProject(ctx, nil, nil)
		if err != nil {
			return err
		}
		notificationChannel, err := monitoring.NewNotificationChannel(ctx, "notificationChannel", &monitoring.NotificationChannelArgs{
			DisplayName: pulumi.String("Example Notification Channel"),
			Type:        pulumi.String("email"),
			Labels: pulumi.StringMap{
				"email_address": pulumi.String("address@example.com"),
			},
		})
		if err != nil {
			return err
		}
		_, err = billing.NewBudget(ctx, "budget", &billing.BudgetArgs{
			BillingAccount: pulumi.String(account.Id),
			DisplayName:    pulumi.String("Example Billing Budget"),
			BudgetFilter: &billing.BudgetBudgetFilterArgs{
				Projects: pulumi.StringArray{
					pulumi.String(fmt.Sprintf("%v%v", "projects/", project.Number)),
				},
			},
			Amount: &billing.BudgetAmountArgs{
				SpecifiedAmount: &billing.BudgetAmountSpecifiedAmountArgs{
					CurrencyCode: pulumi.String("USD"),
					Units:        pulumi.String("100000"),
				},
			},
			ThresholdRules: billing.BudgetThresholdRuleArray{
				&billing.BudgetThresholdRuleArgs{
					ThresholdPercent: pulumi.Float64(1),
				},
				&billing.BudgetThresholdRuleArgs{
					ThresholdPercent: pulumi.Float64(1),
					SpendBasis:       pulumi.String("FORECASTED_SPEND"),
				},
			},
			AllUpdatesRule: &billing.BudgetAllUpdatesRuleArgs{
				MonitoringNotificationChannels: pulumi.StringArray{
					notificationChannel.ID(),
				},
				DisableDefaultIamRecipients: pulumi.Bool(true),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

This resource does not support import.

func GetBudget

func GetBudget(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BudgetState, opts ...pulumi.ResourceOption) (*Budget, error)

GetBudget gets an existing Budget 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 NewBudget

func NewBudget(ctx *pulumi.Context,
	name string, args *BudgetArgs, opts ...pulumi.ResourceOption) (*Budget, error)

NewBudget registers a new resource with the given unique name, arguments, and options.

func (*Budget) ElementType added in v4.4.0

func (*Budget) ElementType() reflect.Type

func (*Budget) ToBudgetOutput added in v4.4.0

func (i *Budget) ToBudgetOutput() BudgetOutput

func (*Budget) ToBudgetOutputWithContext added in v4.4.0

func (i *Budget) ToBudgetOutputWithContext(ctx context.Context) BudgetOutput

func (*Budget) ToBudgetPtrOutput added in v4.11.1

func (i *Budget) ToBudgetPtrOutput() BudgetPtrOutput

func (*Budget) ToBudgetPtrOutputWithContext added in v4.11.1

func (i *Budget) ToBudgetPtrOutputWithContext(ctx context.Context) BudgetPtrOutput

type BudgetAllUpdatesRule

type BudgetAllUpdatesRule struct {
	// Boolean. When set to true, disables default notifications sent
	// when a threshold is exceeded. Default recipients are
	// those with Billing Account Administrators and Billing
	// Account Users IAM roles for the target account.
	DisableDefaultIamRecipients *bool `pulumi:"disableDefaultIamRecipients"`
	// The full resource name of a monitoring notification
	// channel in the form
	// projects/{project_id}/notificationChannels/{channel_id}.
	// A maximum of 5 channels are allowed.
	MonitoringNotificationChannels []string `pulumi:"monitoringNotificationChannels"`
	// The name of the Cloud Pub/Sub topic where budget related
	// messages will be published, in the form
	// projects/{project_id}/topics/{topic_id}. Updates are sent
	// at regular intervals to the topic.
	PubsubTopic *string `pulumi:"pubsubTopic"`
	// The schema version of the notification. Only "1.0" is
	// accepted. It represents the JSON schema as defined in
	// https://cloud.google.com/billing/docs/how-to/budgets#notification_format.
	SchemaVersion *string `pulumi:"schemaVersion"`
}

type BudgetAllUpdatesRuleArgs

type BudgetAllUpdatesRuleArgs struct {
	// Boolean. When set to true, disables default notifications sent
	// when a threshold is exceeded. Default recipients are
	// those with Billing Account Administrators and Billing
	// Account Users IAM roles for the target account.
	DisableDefaultIamRecipients pulumi.BoolPtrInput `pulumi:"disableDefaultIamRecipients"`
	// The full resource name of a monitoring notification
	// channel in the form
	// projects/{project_id}/notificationChannels/{channel_id}.
	// A maximum of 5 channels are allowed.
	MonitoringNotificationChannels pulumi.StringArrayInput `pulumi:"monitoringNotificationChannels"`
	// The name of the Cloud Pub/Sub topic where budget related
	// messages will be published, in the form
	// projects/{project_id}/topics/{topic_id}. Updates are sent
	// at regular intervals to the topic.
	PubsubTopic pulumi.StringPtrInput `pulumi:"pubsubTopic"`
	// The schema version of the notification. Only "1.0" is
	// accepted. It represents the JSON schema as defined in
	// https://cloud.google.com/billing/docs/how-to/budgets#notification_format.
	SchemaVersion pulumi.StringPtrInput `pulumi:"schemaVersion"`
}

func (BudgetAllUpdatesRuleArgs) ElementType

func (BudgetAllUpdatesRuleArgs) ElementType() reflect.Type

func (BudgetAllUpdatesRuleArgs) ToBudgetAllUpdatesRuleOutput

func (i BudgetAllUpdatesRuleArgs) ToBudgetAllUpdatesRuleOutput() BudgetAllUpdatesRuleOutput

func (BudgetAllUpdatesRuleArgs) ToBudgetAllUpdatesRuleOutputWithContext

func (i BudgetAllUpdatesRuleArgs) ToBudgetAllUpdatesRuleOutputWithContext(ctx context.Context) BudgetAllUpdatesRuleOutput

func (BudgetAllUpdatesRuleArgs) ToBudgetAllUpdatesRulePtrOutput

func (i BudgetAllUpdatesRuleArgs) ToBudgetAllUpdatesRulePtrOutput() BudgetAllUpdatesRulePtrOutput

func (BudgetAllUpdatesRuleArgs) ToBudgetAllUpdatesRulePtrOutputWithContext

func (i BudgetAllUpdatesRuleArgs) ToBudgetAllUpdatesRulePtrOutputWithContext(ctx context.Context) BudgetAllUpdatesRulePtrOutput

type BudgetAllUpdatesRuleInput

type BudgetAllUpdatesRuleInput interface {
	pulumi.Input

	ToBudgetAllUpdatesRuleOutput() BudgetAllUpdatesRuleOutput
	ToBudgetAllUpdatesRuleOutputWithContext(context.Context) BudgetAllUpdatesRuleOutput
}

BudgetAllUpdatesRuleInput is an input type that accepts BudgetAllUpdatesRuleArgs and BudgetAllUpdatesRuleOutput values. You can construct a concrete instance of `BudgetAllUpdatesRuleInput` via:

BudgetAllUpdatesRuleArgs{...}

type BudgetAllUpdatesRuleOutput

type BudgetAllUpdatesRuleOutput struct{ *pulumi.OutputState }

func (BudgetAllUpdatesRuleOutput) DisableDefaultIamRecipients added in v4.1.0

func (o BudgetAllUpdatesRuleOutput) DisableDefaultIamRecipients() pulumi.BoolPtrOutput

Boolean. When set to true, disables default notifications sent when a threshold is exceeded. Default recipients are those with Billing Account Administrators and Billing Account Users IAM roles for the target account.

func (BudgetAllUpdatesRuleOutput) ElementType

func (BudgetAllUpdatesRuleOutput) ElementType() reflect.Type

func (BudgetAllUpdatesRuleOutput) MonitoringNotificationChannels

func (o BudgetAllUpdatesRuleOutput) MonitoringNotificationChannels() pulumi.StringArrayOutput

The full resource name of a monitoring notification channel in the form projects/{project_id}/notificationChannels/{channel_id}. A maximum of 5 channels are allowed.

func (BudgetAllUpdatesRuleOutput) PubsubTopic

The name of the Cloud Pub/Sub topic where budget related messages will be published, in the form projects/{project_id}/topics/{topic_id}. Updates are sent at regular intervals to the topic.

func (BudgetAllUpdatesRuleOutput) SchemaVersion

The schema version of the notification. Only "1.0" is accepted. It represents the JSON schema as defined in https://cloud.google.com/billing/docs/how-to/budgets#notification_format.

func (BudgetAllUpdatesRuleOutput) ToBudgetAllUpdatesRuleOutput

func (o BudgetAllUpdatesRuleOutput) ToBudgetAllUpdatesRuleOutput() BudgetAllUpdatesRuleOutput

func (BudgetAllUpdatesRuleOutput) ToBudgetAllUpdatesRuleOutputWithContext

func (o BudgetAllUpdatesRuleOutput) ToBudgetAllUpdatesRuleOutputWithContext(ctx context.Context) BudgetAllUpdatesRuleOutput

func (BudgetAllUpdatesRuleOutput) ToBudgetAllUpdatesRulePtrOutput

func (o BudgetAllUpdatesRuleOutput) ToBudgetAllUpdatesRulePtrOutput() BudgetAllUpdatesRulePtrOutput

func (BudgetAllUpdatesRuleOutput) ToBudgetAllUpdatesRulePtrOutputWithContext

func (o BudgetAllUpdatesRuleOutput) ToBudgetAllUpdatesRulePtrOutputWithContext(ctx context.Context) BudgetAllUpdatesRulePtrOutput

type BudgetAllUpdatesRulePtrInput

type BudgetAllUpdatesRulePtrInput interface {
	pulumi.Input

	ToBudgetAllUpdatesRulePtrOutput() BudgetAllUpdatesRulePtrOutput
	ToBudgetAllUpdatesRulePtrOutputWithContext(context.Context) BudgetAllUpdatesRulePtrOutput
}

BudgetAllUpdatesRulePtrInput is an input type that accepts BudgetAllUpdatesRuleArgs, BudgetAllUpdatesRulePtr and BudgetAllUpdatesRulePtrOutput values. You can construct a concrete instance of `BudgetAllUpdatesRulePtrInput` via:

        BudgetAllUpdatesRuleArgs{...}

or:

        nil

type BudgetAllUpdatesRulePtrOutput

type BudgetAllUpdatesRulePtrOutput struct{ *pulumi.OutputState }

func (BudgetAllUpdatesRulePtrOutput) DisableDefaultIamRecipients added in v4.1.0

func (o BudgetAllUpdatesRulePtrOutput) DisableDefaultIamRecipients() pulumi.BoolPtrOutput

Boolean. When set to true, disables default notifications sent when a threshold is exceeded. Default recipients are those with Billing Account Administrators and Billing Account Users IAM roles for the target account.

func (BudgetAllUpdatesRulePtrOutput) Elem

func (BudgetAllUpdatesRulePtrOutput) ElementType

func (BudgetAllUpdatesRulePtrOutput) MonitoringNotificationChannels

func (o BudgetAllUpdatesRulePtrOutput) MonitoringNotificationChannels() pulumi.StringArrayOutput

The full resource name of a monitoring notification channel in the form projects/{project_id}/notificationChannels/{channel_id}. A maximum of 5 channels are allowed.

func (BudgetAllUpdatesRulePtrOutput) PubsubTopic

The name of the Cloud Pub/Sub topic where budget related messages will be published, in the form projects/{project_id}/topics/{topic_id}. Updates are sent at regular intervals to the topic.

func (BudgetAllUpdatesRulePtrOutput) SchemaVersion

The schema version of the notification. Only "1.0" is accepted. It represents the JSON schema as defined in https://cloud.google.com/billing/docs/how-to/budgets#notification_format.

func (BudgetAllUpdatesRulePtrOutput) ToBudgetAllUpdatesRulePtrOutput

func (o BudgetAllUpdatesRulePtrOutput) ToBudgetAllUpdatesRulePtrOutput() BudgetAllUpdatesRulePtrOutput

func (BudgetAllUpdatesRulePtrOutput) ToBudgetAllUpdatesRulePtrOutputWithContext

func (o BudgetAllUpdatesRulePtrOutput) ToBudgetAllUpdatesRulePtrOutputWithContext(ctx context.Context) BudgetAllUpdatesRulePtrOutput

type BudgetAmount

type BudgetAmount struct {
	// Configures a budget amount that is automatically set to 100% of
	// last period's spend.
	// Boolean. Set value to true to use. Do not set to false, instead
	// use the `specifiedAmount` block.
	LastPeriodAmount *bool `pulumi:"lastPeriodAmount"`
	// A specified amount to use as the budget. currencyCode is
	// optional. If specified, it must match the currency of the
	// billing account. The currencyCode is provided on output.
	// Structure is documented below.
	SpecifiedAmount *BudgetAmountSpecifiedAmount `pulumi:"specifiedAmount"`
}

type BudgetAmountArgs

type BudgetAmountArgs struct {
	// Configures a budget amount that is automatically set to 100% of
	// last period's spend.
	// Boolean. Set value to true to use. Do not set to false, instead
	// use the `specifiedAmount` block.
	LastPeriodAmount pulumi.BoolPtrInput `pulumi:"lastPeriodAmount"`
	// A specified amount to use as the budget. currencyCode is
	// optional. If specified, it must match the currency of the
	// billing account. The currencyCode is provided on output.
	// Structure is documented below.
	SpecifiedAmount BudgetAmountSpecifiedAmountPtrInput `pulumi:"specifiedAmount"`
}

func (BudgetAmountArgs) ElementType

func (BudgetAmountArgs) ElementType() reflect.Type

func (BudgetAmountArgs) ToBudgetAmountOutput

func (i BudgetAmountArgs) ToBudgetAmountOutput() BudgetAmountOutput

func (BudgetAmountArgs) ToBudgetAmountOutputWithContext

func (i BudgetAmountArgs) ToBudgetAmountOutputWithContext(ctx context.Context) BudgetAmountOutput

func (BudgetAmountArgs) ToBudgetAmountPtrOutput

func (i BudgetAmountArgs) ToBudgetAmountPtrOutput() BudgetAmountPtrOutput

func (BudgetAmountArgs) ToBudgetAmountPtrOutputWithContext

func (i BudgetAmountArgs) ToBudgetAmountPtrOutputWithContext(ctx context.Context) BudgetAmountPtrOutput

type BudgetAmountInput

type BudgetAmountInput interface {
	pulumi.Input

	ToBudgetAmountOutput() BudgetAmountOutput
	ToBudgetAmountOutputWithContext(context.Context) BudgetAmountOutput
}

BudgetAmountInput is an input type that accepts BudgetAmountArgs and BudgetAmountOutput values. You can construct a concrete instance of `BudgetAmountInput` via:

BudgetAmountArgs{...}

type BudgetAmountOutput

type BudgetAmountOutput struct{ *pulumi.OutputState }

func (BudgetAmountOutput) ElementType

func (BudgetAmountOutput) ElementType() reflect.Type

func (BudgetAmountOutput) LastPeriodAmount

func (o BudgetAmountOutput) LastPeriodAmount() pulumi.BoolPtrOutput

Configures a budget amount that is automatically set to 100% of last period's spend. Boolean. Set value to true to use. Do not set to false, instead use the `specifiedAmount` block.

func (BudgetAmountOutput) SpecifiedAmount

A specified amount to use as the budget. currencyCode is optional. If specified, it must match the currency of the billing account. The currencyCode is provided on output. Structure is documented below.

func (BudgetAmountOutput) ToBudgetAmountOutput

func (o BudgetAmountOutput) ToBudgetAmountOutput() BudgetAmountOutput

func (BudgetAmountOutput) ToBudgetAmountOutputWithContext

func (o BudgetAmountOutput) ToBudgetAmountOutputWithContext(ctx context.Context) BudgetAmountOutput

func (BudgetAmountOutput) ToBudgetAmountPtrOutput

func (o BudgetAmountOutput) ToBudgetAmountPtrOutput() BudgetAmountPtrOutput

func (BudgetAmountOutput) ToBudgetAmountPtrOutputWithContext

func (o BudgetAmountOutput) ToBudgetAmountPtrOutputWithContext(ctx context.Context) BudgetAmountPtrOutput

type BudgetAmountPtrInput

type BudgetAmountPtrInput interface {
	pulumi.Input

	ToBudgetAmountPtrOutput() BudgetAmountPtrOutput
	ToBudgetAmountPtrOutputWithContext(context.Context) BudgetAmountPtrOutput
}

BudgetAmountPtrInput is an input type that accepts BudgetAmountArgs, BudgetAmountPtr and BudgetAmountPtrOutput values. You can construct a concrete instance of `BudgetAmountPtrInput` via:

        BudgetAmountArgs{...}

or:

        nil

type BudgetAmountPtrOutput

type BudgetAmountPtrOutput struct{ *pulumi.OutputState }

func (BudgetAmountPtrOutput) Elem

func (BudgetAmountPtrOutput) ElementType

func (BudgetAmountPtrOutput) ElementType() reflect.Type

func (BudgetAmountPtrOutput) LastPeriodAmount

func (o BudgetAmountPtrOutput) LastPeriodAmount() pulumi.BoolPtrOutput

Configures a budget amount that is automatically set to 100% of last period's spend. Boolean. Set value to true to use. Do not set to false, instead use the `specifiedAmount` block.

func (BudgetAmountPtrOutput) SpecifiedAmount

A specified amount to use as the budget. currencyCode is optional. If specified, it must match the currency of the billing account. The currencyCode is provided on output. Structure is documented below.

func (BudgetAmountPtrOutput) ToBudgetAmountPtrOutput

func (o BudgetAmountPtrOutput) ToBudgetAmountPtrOutput() BudgetAmountPtrOutput

func (BudgetAmountPtrOutput) ToBudgetAmountPtrOutputWithContext

func (o BudgetAmountPtrOutput) ToBudgetAmountPtrOutputWithContext(ctx context.Context) BudgetAmountPtrOutput

type BudgetAmountSpecifiedAmount

type BudgetAmountSpecifiedAmount struct {
	// The 3-letter currency code defined in ISO 4217.
	CurrencyCode *string `pulumi:"currencyCode"`
	// Number of nano (10^-9) units of the amount.
	// The value must be between -999,999,999 and +999,999,999
	// inclusive. If units is positive, nanos must be positive or
	// zero. If units is zero, nanos can be positive, zero, or
	// negative. If units is negative, nanos must be negative or
	// zero. For example $-1.75 is represented as units=-1 and
	// nanos=-750,000,000.
	Nanos *int `pulumi:"nanos"`
	// The whole units of the amount. For example if currencyCode
	// is "USD", then 1 unit is one US dollar.
	Units *string `pulumi:"units"`
}

type BudgetAmountSpecifiedAmountArgs

type BudgetAmountSpecifiedAmountArgs struct {
	// The 3-letter currency code defined in ISO 4217.
	CurrencyCode pulumi.StringPtrInput `pulumi:"currencyCode"`
	// Number of nano (10^-9) units of the amount.
	// The value must be between -999,999,999 and +999,999,999
	// inclusive. If units is positive, nanos must be positive or
	// zero. If units is zero, nanos can be positive, zero, or
	// negative. If units is negative, nanos must be negative or
	// zero. For example $-1.75 is represented as units=-1 and
	// nanos=-750,000,000.
	Nanos pulumi.IntPtrInput `pulumi:"nanos"`
	// The whole units of the amount. For example if currencyCode
	// is "USD", then 1 unit is one US dollar.
	Units pulumi.StringPtrInput `pulumi:"units"`
}

func (BudgetAmountSpecifiedAmountArgs) ElementType

func (BudgetAmountSpecifiedAmountArgs) ToBudgetAmountSpecifiedAmountOutput

func (i BudgetAmountSpecifiedAmountArgs) ToBudgetAmountSpecifiedAmountOutput() BudgetAmountSpecifiedAmountOutput

func (BudgetAmountSpecifiedAmountArgs) ToBudgetAmountSpecifiedAmountOutputWithContext

func (i BudgetAmountSpecifiedAmountArgs) ToBudgetAmountSpecifiedAmountOutputWithContext(ctx context.Context) BudgetAmountSpecifiedAmountOutput

func (BudgetAmountSpecifiedAmountArgs) ToBudgetAmountSpecifiedAmountPtrOutput

func (i BudgetAmountSpecifiedAmountArgs) ToBudgetAmountSpecifiedAmountPtrOutput() BudgetAmountSpecifiedAmountPtrOutput

func (BudgetAmountSpecifiedAmountArgs) ToBudgetAmountSpecifiedAmountPtrOutputWithContext

func (i BudgetAmountSpecifiedAmountArgs) ToBudgetAmountSpecifiedAmountPtrOutputWithContext(ctx context.Context) BudgetAmountSpecifiedAmountPtrOutput

type BudgetAmountSpecifiedAmountInput

type BudgetAmountSpecifiedAmountInput interface {
	pulumi.Input

	ToBudgetAmountSpecifiedAmountOutput() BudgetAmountSpecifiedAmountOutput
	ToBudgetAmountSpecifiedAmountOutputWithContext(context.Context) BudgetAmountSpecifiedAmountOutput
}

BudgetAmountSpecifiedAmountInput is an input type that accepts BudgetAmountSpecifiedAmountArgs and BudgetAmountSpecifiedAmountOutput values. You can construct a concrete instance of `BudgetAmountSpecifiedAmountInput` via:

BudgetAmountSpecifiedAmountArgs{...}

type BudgetAmountSpecifiedAmountOutput

type BudgetAmountSpecifiedAmountOutput struct{ *pulumi.OutputState }

func (BudgetAmountSpecifiedAmountOutput) CurrencyCode

The 3-letter currency code defined in ISO 4217.

func (BudgetAmountSpecifiedAmountOutput) ElementType

func (BudgetAmountSpecifiedAmountOutput) Nanos

Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If units is positive, nanos must be positive or zero. If units is zero, nanos can be positive, zero, or negative. If units is negative, nanos must be negative or zero. For example $-1.75 is represented as units=-1 and nanos=-750,000,000.

func (BudgetAmountSpecifiedAmountOutput) ToBudgetAmountSpecifiedAmountOutput

func (o BudgetAmountSpecifiedAmountOutput) ToBudgetAmountSpecifiedAmountOutput() BudgetAmountSpecifiedAmountOutput

func (BudgetAmountSpecifiedAmountOutput) ToBudgetAmountSpecifiedAmountOutputWithContext

func (o BudgetAmountSpecifiedAmountOutput) ToBudgetAmountSpecifiedAmountOutputWithContext(ctx context.Context) BudgetAmountSpecifiedAmountOutput

func (BudgetAmountSpecifiedAmountOutput) ToBudgetAmountSpecifiedAmountPtrOutput

func (o BudgetAmountSpecifiedAmountOutput) ToBudgetAmountSpecifiedAmountPtrOutput() BudgetAmountSpecifiedAmountPtrOutput

func (BudgetAmountSpecifiedAmountOutput) ToBudgetAmountSpecifiedAmountPtrOutputWithContext

func (o BudgetAmountSpecifiedAmountOutput) ToBudgetAmountSpecifiedAmountPtrOutputWithContext(ctx context.Context) BudgetAmountSpecifiedAmountPtrOutput

func (BudgetAmountSpecifiedAmountOutput) Units

The whole units of the amount. For example if currencyCode is "USD", then 1 unit is one US dollar.

type BudgetAmountSpecifiedAmountPtrInput

type BudgetAmountSpecifiedAmountPtrInput interface {
	pulumi.Input

	ToBudgetAmountSpecifiedAmountPtrOutput() BudgetAmountSpecifiedAmountPtrOutput
	ToBudgetAmountSpecifiedAmountPtrOutputWithContext(context.Context) BudgetAmountSpecifiedAmountPtrOutput
}

BudgetAmountSpecifiedAmountPtrInput is an input type that accepts BudgetAmountSpecifiedAmountArgs, BudgetAmountSpecifiedAmountPtr and BudgetAmountSpecifiedAmountPtrOutput values. You can construct a concrete instance of `BudgetAmountSpecifiedAmountPtrInput` via:

        BudgetAmountSpecifiedAmountArgs{...}

or:

        nil

type BudgetAmountSpecifiedAmountPtrOutput

type BudgetAmountSpecifiedAmountPtrOutput struct{ *pulumi.OutputState }

func (BudgetAmountSpecifiedAmountPtrOutput) CurrencyCode

The 3-letter currency code defined in ISO 4217.

func (BudgetAmountSpecifiedAmountPtrOutput) Elem

func (BudgetAmountSpecifiedAmountPtrOutput) ElementType

func (BudgetAmountSpecifiedAmountPtrOutput) Nanos

Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If units is positive, nanos must be positive or zero. If units is zero, nanos can be positive, zero, or negative. If units is negative, nanos must be negative or zero. For example $-1.75 is represented as units=-1 and nanos=-750,000,000.

func (BudgetAmountSpecifiedAmountPtrOutput) ToBudgetAmountSpecifiedAmountPtrOutput

func (o BudgetAmountSpecifiedAmountPtrOutput) ToBudgetAmountSpecifiedAmountPtrOutput() BudgetAmountSpecifiedAmountPtrOutput

func (BudgetAmountSpecifiedAmountPtrOutput) ToBudgetAmountSpecifiedAmountPtrOutputWithContext

func (o BudgetAmountSpecifiedAmountPtrOutput) ToBudgetAmountSpecifiedAmountPtrOutputWithContext(ctx context.Context) BudgetAmountSpecifiedAmountPtrOutput

func (BudgetAmountSpecifiedAmountPtrOutput) Units

The whole units of the amount. For example if currencyCode is "USD", then 1 unit is one US dollar.

type BudgetArgs

type BudgetArgs struct {
	// Defines notifications that are sent on every update to the
	// billing account's spend, regardless of the thresholds defined
	// using threshold rules.
	// Structure is documented below.
	AllUpdatesRule BudgetAllUpdatesRulePtrInput
	// The budgeted amount for each usage period.
	// Structure is documented below.
	Amount BudgetAmountInput
	// ID of the billing account to set a budget on.
	BillingAccount pulumi.StringInput
	// Filters that define which resources are used to compute the actual
	// spend against the budget.
	// Structure is documented below.
	BudgetFilter BudgetBudgetFilterPtrInput
	// User data for display name in UI. Must be <= 60 chars.
	DisplayName pulumi.StringPtrInput
	// Rules that trigger alerts (notifications of thresholds being
	// crossed) when spend exceeds the specified percentages of the
	// budget.
	// Structure is documented below.
	ThresholdRules BudgetThresholdRuleArrayInput
}

The set of arguments for constructing a Budget resource.

func (BudgetArgs) ElementType

func (BudgetArgs) ElementType() reflect.Type

type BudgetArray added in v4.11.1

type BudgetArray []BudgetInput

func (BudgetArray) ElementType added in v4.11.1

func (BudgetArray) ElementType() reflect.Type

func (BudgetArray) ToBudgetArrayOutput added in v4.11.1

func (i BudgetArray) ToBudgetArrayOutput() BudgetArrayOutput

func (BudgetArray) ToBudgetArrayOutputWithContext added in v4.11.1

func (i BudgetArray) ToBudgetArrayOutputWithContext(ctx context.Context) BudgetArrayOutput

type BudgetArrayInput added in v4.11.1

type BudgetArrayInput interface {
	pulumi.Input

	ToBudgetArrayOutput() BudgetArrayOutput
	ToBudgetArrayOutputWithContext(context.Context) BudgetArrayOutput
}

BudgetArrayInput is an input type that accepts BudgetArray and BudgetArrayOutput values. You can construct a concrete instance of `BudgetArrayInput` via:

BudgetArray{ BudgetArgs{...} }

type BudgetArrayOutput added in v4.11.1

type BudgetArrayOutput struct{ *pulumi.OutputState }

func (BudgetArrayOutput) ElementType added in v4.11.1

func (BudgetArrayOutput) ElementType() reflect.Type

func (BudgetArrayOutput) Index added in v4.11.1

func (BudgetArrayOutput) ToBudgetArrayOutput added in v4.11.1

func (o BudgetArrayOutput) ToBudgetArrayOutput() BudgetArrayOutput

func (BudgetArrayOutput) ToBudgetArrayOutputWithContext added in v4.11.1

func (o BudgetArrayOutput) ToBudgetArrayOutputWithContext(ctx context.Context) BudgetArrayOutput

type BudgetBudgetFilter

type BudgetBudgetFilter struct {
	// A set of subaccounts of the form billingAccounts/{account_id},
	// specifying that usage from only this set of subaccounts should
	// be included in the budget. If a subaccount is set to the name of
	// the parent account, usage from the parent account will be included.
	// If the field is omitted, the report will include usage from the parent
	// account and all subaccounts, if they exist.
	CreditTypes []string `pulumi:"creditTypes"`
	// Specifies how credits should be treated when determining spend
	// for threshold calculations.
	// Default value is `INCLUDE_ALL_CREDITS`.
	// Possible values are `INCLUDE_ALL_CREDITS`, `EXCLUDE_ALL_CREDITS`, and `INCLUDE_SPECIFIED_CREDITS`.
	CreditTypesTreatment *string `pulumi:"creditTypesTreatment"`
	// A single label and value pair specifying that usage from only
	// this set of labeled resources should be included in the budget.
	Labels map[string]string `pulumi:"labels"`
	// A set of projects of the form projects/{project_number},
	// specifying that usage from only this set of projects should be
	// included in the budget. If omitted, the report will include
	// all usage for the billing account, regardless of which project
	// the usage occurred on.
	Projects []string `pulumi:"projects"`
	// A set of services of the form services/{service_id},
	// specifying that usage from only this set of services should be
	// included in the budget. If omitted, the report will include
	// usage for all the services. The service names are available
	// through the Catalog API:
	// https://cloud.google.com/billing/v1/how-tos/catalog-api.
	Services []string `pulumi:"services"`
	// A set of subaccounts of the form billingAccounts/{account_id},
	// specifying that usage from only this set of subaccounts should
	// be included in the budget. If a subaccount is set to the name of
	// the parent account, usage from the parent account will be included.
	// If the field is omitted, the report will include usage from the parent
	// account and all subaccounts, if they exist.
	Subaccounts []string `pulumi:"subaccounts"`
}

type BudgetBudgetFilterArgs

type BudgetBudgetFilterArgs struct {
	// A set of subaccounts of the form billingAccounts/{account_id},
	// specifying that usage from only this set of subaccounts should
	// be included in the budget. If a subaccount is set to the name of
	// the parent account, usage from the parent account will be included.
	// If the field is omitted, the report will include usage from the parent
	// account and all subaccounts, if they exist.
	CreditTypes pulumi.StringArrayInput `pulumi:"creditTypes"`
	// Specifies how credits should be treated when determining spend
	// for threshold calculations.
	// Default value is `INCLUDE_ALL_CREDITS`.
	// Possible values are `INCLUDE_ALL_CREDITS`, `EXCLUDE_ALL_CREDITS`, and `INCLUDE_SPECIFIED_CREDITS`.
	CreditTypesTreatment pulumi.StringPtrInput `pulumi:"creditTypesTreatment"`
	// A single label and value pair specifying that usage from only
	// this set of labeled resources should be included in the budget.
	Labels pulumi.StringMapInput `pulumi:"labels"`
	// A set of projects of the form projects/{project_number},
	// specifying that usage from only this set of projects should be
	// included in the budget. If omitted, the report will include
	// all usage for the billing account, regardless of which project
	// the usage occurred on.
	Projects pulumi.StringArrayInput `pulumi:"projects"`
	// A set of services of the form services/{service_id},
	// specifying that usage from only this set of services should be
	// included in the budget. If omitted, the report will include
	// usage for all the services. The service names are available
	// through the Catalog API:
	// https://cloud.google.com/billing/v1/how-tos/catalog-api.
	Services pulumi.StringArrayInput `pulumi:"services"`
	// A set of subaccounts of the form billingAccounts/{account_id},
	// specifying that usage from only this set of subaccounts should
	// be included in the budget. If a subaccount is set to the name of
	// the parent account, usage from the parent account will be included.
	// If the field is omitted, the report will include usage from the parent
	// account and all subaccounts, if they exist.
	Subaccounts pulumi.StringArrayInput `pulumi:"subaccounts"`
}

func (BudgetBudgetFilterArgs) ElementType

func (BudgetBudgetFilterArgs) ElementType() reflect.Type

func (BudgetBudgetFilterArgs) ToBudgetBudgetFilterOutput

func (i BudgetBudgetFilterArgs) ToBudgetBudgetFilterOutput() BudgetBudgetFilterOutput

func (BudgetBudgetFilterArgs) ToBudgetBudgetFilterOutputWithContext

func (i BudgetBudgetFilterArgs) ToBudgetBudgetFilterOutputWithContext(ctx context.Context) BudgetBudgetFilterOutput

func (BudgetBudgetFilterArgs) ToBudgetBudgetFilterPtrOutput

func (i BudgetBudgetFilterArgs) ToBudgetBudgetFilterPtrOutput() BudgetBudgetFilterPtrOutput

func (BudgetBudgetFilterArgs) ToBudgetBudgetFilterPtrOutputWithContext

func (i BudgetBudgetFilterArgs) ToBudgetBudgetFilterPtrOutputWithContext(ctx context.Context) BudgetBudgetFilterPtrOutput

type BudgetBudgetFilterInput

type BudgetBudgetFilterInput interface {
	pulumi.Input

	ToBudgetBudgetFilterOutput() BudgetBudgetFilterOutput
	ToBudgetBudgetFilterOutputWithContext(context.Context) BudgetBudgetFilterOutput
}

BudgetBudgetFilterInput is an input type that accepts BudgetBudgetFilterArgs and BudgetBudgetFilterOutput values. You can construct a concrete instance of `BudgetBudgetFilterInput` via:

BudgetBudgetFilterArgs{...}

type BudgetBudgetFilterOutput

type BudgetBudgetFilterOutput struct{ *pulumi.OutputState }

func (BudgetBudgetFilterOutput) CreditTypes added in v4.7.0

A set of subaccounts of the form billingAccounts/{account_id}, specifying that usage from only this set of subaccounts should be included in the budget. If a subaccount is set to the name of the parent account, usage from the parent account will be included. If the field is omitted, the report will include usage from the parent account and all subaccounts, if they exist.

func (BudgetBudgetFilterOutput) CreditTypesTreatment

func (o BudgetBudgetFilterOutput) CreditTypesTreatment() pulumi.StringPtrOutput

Specifies how credits should be treated when determining spend for threshold calculations. Default value is `INCLUDE_ALL_CREDITS`. Possible values are `INCLUDE_ALL_CREDITS`, `EXCLUDE_ALL_CREDITS`, and `INCLUDE_SPECIFIED_CREDITS`.

func (BudgetBudgetFilterOutput) ElementType

func (BudgetBudgetFilterOutput) ElementType() reflect.Type

func (BudgetBudgetFilterOutput) Labels added in v4.7.0

A single label and value pair specifying that usage from only this set of labeled resources should be included in the budget.

func (BudgetBudgetFilterOutput) Projects

A set of projects of the form projects/{project_number}, specifying that usage from only this set of projects should be included in the budget. If omitted, the report will include all usage for the billing account, regardless of which project the usage occurred on.

func (BudgetBudgetFilterOutput) Services

A set of services of the form services/{service_id}, specifying that usage from only this set of services should be included in the budget. If omitted, the report will include usage for all the services. The service names are available through the Catalog API: https://cloud.google.com/billing/v1/how-tos/catalog-api.

func (BudgetBudgetFilterOutput) Subaccounts added in v4.7.0

A set of subaccounts of the form billingAccounts/{account_id}, specifying that usage from only this set of subaccounts should be included in the budget. If a subaccount is set to the name of the parent account, usage from the parent account will be included. If the field is omitted, the report will include usage from the parent account and all subaccounts, if they exist.

func (BudgetBudgetFilterOutput) ToBudgetBudgetFilterOutput

func (o BudgetBudgetFilterOutput) ToBudgetBudgetFilterOutput() BudgetBudgetFilterOutput

func (BudgetBudgetFilterOutput) ToBudgetBudgetFilterOutputWithContext

func (o BudgetBudgetFilterOutput) ToBudgetBudgetFilterOutputWithContext(ctx context.Context) BudgetBudgetFilterOutput

func (BudgetBudgetFilterOutput) ToBudgetBudgetFilterPtrOutput

func (o BudgetBudgetFilterOutput) ToBudgetBudgetFilterPtrOutput() BudgetBudgetFilterPtrOutput

func (BudgetBudgetFilterOutput) ToBudgetBudgetFilterPtrOutputWithContext

func (o BudgetBudgetFilterOutput) ToBudgetBudgetFilterPtrOutputWithContext(ctx context.Context) BudgetBudgetFilterPtrOutput

type BudgetBudgetFilterPtrInput

type BudgetBudgetFilterPtrInput interface {
	pulumi.Input

	ToBudgetBudgetFilterPtrOutput() BudgetBudgetFilterPtrOutput
	ToBudgetBudgetFilterPtrOutputWithContext(context.Context) BudgetBudgetFilterPtrOutput
}

BudgetBudgetFilterPtrInput is an input type that accepts BudgetBudgetFilterArgs, BudgetBudgetFilterPtr and BudgetBudgetFilterPtrOutput values. You can construct a concrete instance of `BudgetBudgetFilterPtrInput` via:

        BudgetBudgetFilterArgs{...}

or:

        nil

type BudgetBudgetFilterPtrOutput

type BudgetBudgetFilterPtrOutput struct{ *pulumi.OutputState }

func (BudgetBudgetFilterPtrOutput) CreditTypes added in v4.7.0

A set of subaccounts of the form billingAccounts/{account_id}, specifying that usage from only this set of subaccounts should be included in the budget. If a subaccount is set to the name of the parent account, usage from the parent account will be included. If the field is omitted, the report will include usage from the parent account and all subaccounts, if they exist.

func (BudgetBudgetFilterPtrOutput) CreditTypesTreatment

func (o BudgetBudgetFilterPtrOutput) CreditTypesTreatment() pulumi.StringPtrOutput

Specifies how credits should be treated when determining spend for threshold calculations. Default value is `INCLUDE_ALL_CREDITS`. Possible values are `INCLUDE_ALL_CREDITS`, `EXCLUDE_ALL_CREDITS`, and `INCLUDE_SPECIFIED_CREDITS`.

func (BudgetBudgetFilterPtrOutput) Elem

func (BudgetBudgetFilterPtrOutput) ElementType

func (BudgetBudgetFilterPtrOutput) Labels added in v4.7.0

A single label and value pair specifying that usage from only this set of labeled resources should be included in the budget.

func (BudgetBudgetFilterPtrOutput) Projects

A set of projects of the form projects/{project_number}, specifying that usage from only this set of projects should be included in the budget. If omitted, the report will include all usage for the billing account, regardless of which project the usage occurred on.

func (BudgetBudgetFilterPtrOutput) Services

A set of services of the form services/{service_id}, specifying that usage from only this set of services should be included in the budget. If omitted, the report will include usage for all the services. The service names are available through the Catalog API: https://cloud.google.com/billing/v1/how-tos/catalog-api.

func (BudgetBudgetFilterPtrOutput) Subaccounts added in v4.7.0

A set of subaccounts of the form billingAccounts/{account_id}, specifying that usage from only this set of subaccounts should be included in the budget. If a subaccount is set to the name of the parent account, usage from the parent account will be included. If the field is omitted, the report will include usage from the parent account and all subaccounts, if they exist.

func (BudgetBudgetFilterPtrOutput) ToBudgetBudgetFilterPtrOutput

func (o BudgetBudgetFilterPtrOutput) ToBudgetBudgetFilterPtrOutput() BudgetBudgetFilterPtrOutput

func (BudgetBudgetFilterPtrOutput) ToBudgetBudgetFilterPtrOutputWithContext

func (o BudgetBudgetFilterPtrOutput) ToBudgetBudgetFilterPtrOutputWithContext(ctx context.Context) BudgetBudgetFilterPtrOutput

type BudgetInput added in v4.4.0

type BudgetInput interface {
	pulumi.Input

	ToBudgetOutput() BudgetOutput
	ToBudgetOutputWithContext(ctx context.Context) BudgetOutput
}

type BudgetMap added in v4.11.1

type BudgetMap map[string]BudgetInput

func (BudgetMap) ElementType added in v4.11.1

func (BudgetMap) ElementType() reflect.Type

func (BudgetMap) ToBudgetMapOutput added in v4.11.1

func (i BudgetMap) ToBudgetMapOutput() BudgetMapOutput

func (BudgetMap) ToBudgetMapOutputWithContext added in v4.11.1

func (i BudgetMap) ToBudgetMapOutputWithContext(ctx context.Context) BudgetMapOutput

type BudgetMapInput added in v4.11.1

type BudgetMapInput interface {
	pulumi.Input

	ToBudgetMapOutput() BudgetMapOutput
	ToBudgetMapOutputWithContext(context.Context) BudgetMapOutput
}

BudgetMapInput is an input type that accepts BudgetMap and BudgetMapOutput values. You can construct a concrete instance of `BudgetMapInput` via:

BudgetMap{ "key": BudgetArgs{...} }

type BudgetMapOutput added in v4.11.1

type BudgetMapOutput struct{ *pulumi.OutputState }

func (BudgetMapOutput) ElementType added in v4.11.1

func (BudgetMapOutput) ElementType() reflect.Type

func (BudgetMapOutput) MapIndex added in v4.11.1

func (BudgetMapOutput) ToBudgetMapOutput added in v4.11.1

func (o BudgetMapOutput) ToBudgetMapOutput() BudgetMapOutput

func (BudgetMapOutput) ToBudgetMapOutputWithContext added in v4.11.1

func (o BudgetMapOutput) ToBudgetMapOutputWithContext(ctx context.Context) BudgetMapOutput

type BudgetOutput added in v4.4.0

type BudgetOutput struct {
	*pulumi.OutputState
}

func (BudgetOutput) ElementType added in v4.4.0

func (BudgetOutput) ElementType() reflect.Type

func (BudgetOutput) ToBudgetOutput added in v4.4.0

func (o BudgetOutput) ToBudgetOutput() BudgetOutput

func (BudgetOutput) ToBudgetOutputWithContext added in v4.4.0

func (o BudgetOutput) ToBudgetOutputWithContext(ctx context.Context) BudgetOutput

func (BudgetOutput) ToBudgetPtrOutput added in v4.11.1

func (o BudgetOutput) ToBudgetPtrOutput() BudgetPtrOutput

func (BudgetOutput) ToBudgetPtrOutputWithContext added in v4.11.1

func (o BudgetOutput) ToBudgetPtrOutputWithContext(ctx context.Context) BudgetPtrOutput

type BudgetPtrInput added in v4.11.1

type BudgetPtrInput interface {
	pulumi.Input

	ToBudgetPtrOutput() BudgetPtrOutput
	ToBudgetPtrOutputWithContext(ctx context.Context) BudgetPtrOutput
}

type BudgetPtrOutput added in v4.11.1

type BudgetPtrOutput struct {
	*pulumi.OutputState
}

func (BudgetPtrOutput) ElementType added in v4.11.1

func (BudgetPtrOutput) ElementType() reflect.Type

func (BudgetPtrOutput) ToBudgetPtrOutput added in v4.11.1

func (o BudgetPtrOutput) ToBudgetPtrOutput() BudgetPtrOutput

func (BudgetPtrOutput) ToBudgetPtrOutputWithContext added in v4.11.1

func (o BudgetPtrOutput) ToBudgetPtrOutputWithContext(ctx context.Context) BudgetPtrOutput

type BudgetState

type BudgetState struct {
	// Defines notifications that are sent on every update to the
	// billing account's spend, regardless of the thresholds defined
	// using threshold rules.
	// Structure is documented below.
	AllUpdatesRule BudgetAllUpdatesRulePtrInput
	// The budgeted amount for each usage period.
	// Structure is documented below.
	Amount BudgetAmountPtrInput
	// ID of the billing account to set a budget on.
	BillingAccount pulumi.StringPtrInput
	// Filters that define which resources are used to compute the actual
	// spend against the budget.
	// Structure is documented below.
	BudgetFilter BudgetBudgetFilterPtrInput
	// User data for display name in UI. Must be <= 60 chars.
	DisplayName pulumi.StringPtrInput
	// Resource name of the budget. The resource name implies the scope of a budget. Values are of the form
	// billingAccounts/{billingAccountId}/budgets/{budgetId}.
	Name pulumi.StringPtrInput
	// Rules that trigger alerts (notifications of thresholds being
	// crossed) when spend exceeds the specified percentages of the
	// budget.
	// Structure is documented below.
	ThresholdRules BudgetThresholdRuleArrayInput
}

func (BudgetState) ElementType

func (BudgetState) ElementType() reflect.Type

type BudgetThresholdRule

type BudgetThresholdRule struct {
	// The type of basis used to determine if spend has passed
	// the threshold.
	// Default value is `CURRENT_SPEND`.
	// Possible values are `CURRENT_SPEND` and `FORECASTED_SPEND`.
	SpendBasis *string `pulumi:"spendBasis"`
	// Send an alert when this threshold is exceeded. This is a
	// 1.0-based percentage, so 0.5 = 50%. Must be >= 0.
	ThresholdPercent float64 `pulumi:"thresholdPercent"`
}

type BudgetThresholdRuleArgs

type BudgetThresholdRuleArgs struct {
	// The type of basis used to determine if spend has passed
	// the threshold.
	// Default value is `CURRENT_SPEND`.
	// Possible values are `CURRENT_SPEND` and `FORECASTED_SPEND`.
	SpendBasis pulumi.StringPtrInput `pulumi:"spendBasis"`
	// Send an alert when this threshold is exceeded. This is a
	// 1.0-based percentage, so 0.5 = 50%. Must be >= 0.
	ThresholdPercent pulumi.Float64Input `pulumi:"thresholdPercent"`
}

func (BudgetThresholdRuleArgs) ElementType

func (BudgetThresholdRuleArgs) ElementType() reflect.Type

func (BudgetThresholdRuleArgs) ToBudgetThresholdRuleOutput

func (i BudgetThresholdRuleArgs) ToBudgetThresholdRuleOutput() BudgetThresholdRuleOutput

func (BudgetThresholdRuleArgs) ToBudgetThresholdRuleOutputWithContext

func (i BudgetThresholdRuleArgs) ToBudgetThresholdRuleOutputWithContext(ctx context.Context) BudgetThresholdRuleOutput

type BudgetThresholdRuleArray

type BudgetThresholdRuleArray []BudgetThresholdRuleInput

func (BudgetThresholdRuleArray) ElementType

func (BudgetThresholdRuleArray) ElementType() reflect.Type

func (BudgetThresholdRuleArray) ToBudgetThresholdRuleArrayOutput

func (i BudgetThresholdRuleArray) ToBudgetThresholdRuleArrayOutput() BudgetThresholdRuleArrayOutput

func (BudgetThresholdRuleArray) ToBudgetThresholdRuleArrayOutputWithContext

func (i BudgetThresholdRuleArray) ToBudgetThresholdRuleArrayOutputWithContext(ctx context.Context) BudgetThresholdRuleArrayOutput

type BudgetThresholdRuleArrayInput

type BudgetThresholdRuleArrayInput interface {
	pulumi.Input

	ToBudgetThresholdRuleArrayOutput() BudgetThresholdRuleArrayOutput
	ToBudgetThresholdRuleArrayOutputWithContext(context.Context) BudgetThresholdRuleArrayOutput
}

BudgetThresholdRuleArrayInput is an input type that accepts BudgetThresholdRuleArray and BudgetThresholdRuleArrayOutput values. You can construct a concrete instance of `BudgetThresholdRuleArrayInput` via:

BudgetThresholdRuleArray{ BudgetThresholdRuleArgs{...} }

type BudgetThresholdRuleArrayOutput

type BudgetThresholdRuleArrayOutput struct{ *pulumi.OutputState }

func (BudgetThresholdRuleArrayOutput) ElementType

func (BudgetThresholdRuleArrayOutput) Index

func (BudgetThresholdRuleArrayOutput) ToBudgetThresholdRuleArrayOutput

func (o BudgetThresholdRuleArrayOutput) ToBudgetThresholdRuleArrayOutput() BudgetThresholdRuleArrayOutput

func (BudgetThresholdRuleArrayOutput) ToBudgetThresholdRuleArrayOutputWithContext

func (o BudgetThresholdRuleArrayOutput) ToBudgetThresholdRuleArrayOutputWithContext(ctx context.Context) BudgetThresholdRuleArrayOutput

type BudgetThresholdRuleInput

type BudgetThresholdRuleInput interface {
	pulumi.Input

	ToBudgetThresholdRuleOutput() BudgetThresholdRuleOutput
	ToBudgetThresholdRuleOutputWithContext(context.Context) BudgetThresholdRuleOutput
}

BudgetThresholdRuleInput is an input type that accepts BudgetThresholdRuleArgs and BudgetThresholdRuleOutput values. You can construct a concrete instance of `BudgetThresholdRuleInput` via:

BudgetThresholdRuleArgs{...}

type BudgetThresholdRuleOutput

type BudgetThresholdRuleOutput struct{ *pulumi.OutputState }

func (BudgetThresholdRuleOutput) ElementType

func (BudgetThresholdRuleOutput) ElementType() reflect.Type

func (BudgetThresholdRuleOutput) SpendBasis

The type of basis used to determine if spend has passed the threshold. Default value is `CURRENT_SPEND`. Possible values are `CURRENT_SPEND` and `FORECASTED_SPEND`.

func (BudgetThresholdRuleOutput) ThresholdPercent

func (o BudgetThresholdRuleOutput) ThresholdPercent() pulumi.Float64Output

Send an alert when this threshold is exceeded. This is a 1.0-based percentage, so 0.5 = 50%. Must be >= 0.

func (BudgetThresholdRuleOutput) ToBudgetThresholdRuleOutput

func (o BudgetThresholdRuleOutput) ToBudgetThresholdRuleOutput() BudgetThresholdRuleOutput

func (BudgetThresholdRuleOutput) ToBudgetThresholdRuleOutputWithContext

func (o BudgetThresholdRuleOutput) ToBudgetThresholdRuleOutputWithContext(ctx context.Context) BudgetThresholdRuleOutput

type SubAccount added in v4.7.0

type SubAccount struct {
	pulumi.CustomResourceState

	// The billing account id.
	BillingAccountId pulumi.StringOutput `pulumi:"billingAccountId"`
	// If set to "RENAME_ON_DESTROY" the billing account displayName
	// will be changed to "Destroyed" along with a timestamp.  If set to "" this will not occur.
	// Default is "".
	DeletionPolicy pulumi.StringPtrOutput `pulumi:"deletionPolicy"`
	// The display name of the billing account.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// The name of the master billing account that the subaccount
	// will be created under in the form `{billing_account_id}` or `billingAccounts/{billing_account_id}`.
	MasterBillingAccount pulumi.StringOutput `pulumi:"masterBillingAccount"`
	// The resource name of the billing account in the form `billingAccounts/{billing_account_id}`.
	Name pulumi.StringOutput `pulumi:"name"`
	// `true` if the billing account is open, `false` if the billing account is closed.
	Open pulumi.BoolOutput `pulumi:"open"`
}

Allows creation and management of a Google Cloud Billing Subaccount.

!> **WARNING:** Deleting this resource will not delete or close the billing subaccount.

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v4/go/gcp/billing"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := billing.NewSubAccount(ctx, "subaccount", &billing.SubAccountArgs{
			DisplayName:          pulumi.String("My Billing Account"),
			MasterBillingAccount: pulumi.String("012345-567890-ABCDEF"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Billing Subaccounts can be imported using any of these accepted formats

```sh

$ pulumi import gcp:billing/subAccount:SubAccount default billingAccounts/{billing_account_id}

```

func GetSubAccount added in v4.7.0

func GetSubAccount(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SubAccountState, opts ...pulumi.ResourceOption) (*SubAccount, error)

GetSubAccount gets an existing SubAccount 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 NewSubAccount added in v4.7.0

func NewSubAccount(ctx *pulumi.Context,
	name string, args *SubAccountArgs, opts ...pulumi.ResourceOption) (*SubAccount, error)

NewSubAccount registers a new resource with the given unique name, arguments, and options.

func (*SubAccount) ElementType added in v4.7.0

func (*SubAccount) ElementType() reflect.Type

func (*SubAccount) ToSubAccountOutput added in v4.7.0

func (i *SubAccount) ToSubAccountOutput() SubAccountOutput

func (*SubAccount) ToSubAccountOutputWithContext added in v4.7.0

func (i *SubAccount) ToSubAccountOutputWithContext(ctx context.Context) SubAccountOutput

func (*SubAccount) ToSubAccountPtrOutput added in v4.11.1

func (i *SubAccount) ToSubAccountPtrOutput() SubAccountPtrOutput

func (*SubAccount) ToSubAccountPtrOutputWithContext added in v4.11.1

func (i *SubAccount) ToSubAccountPtrOutputWithContext(ctx context.Context) SubAccountPtrOutput

type SubAccountArgs added in v4.7.0

type SubAccountArgs struct {
	// If set to "RENAME_ON_DESTROY" the billing account displayName
	// will be changed to "Destroyed" along with a timestamp.  If set to "" this will not occur.
	// Default is "".
	DeletionPolicy pulumi.StringPtrInput
	// The display name of the billing account.
	DisplayName pulumi.StringInput
	// The name of the master billing account that the subaccount
	// will be created under in the form `{billing_account_id}` or `billingAccounts/{billing_account_id}`.
	MasterBillingAccount pulumi.StringInput
}

The set of arguments for constructing a SubAccount resource.

func (SubAccountArgs) ElementType added in v4.7.0

func (SubAccountArgs) ElementType() reflect.Type

type SubAccountArray added in v4.11.1

type SubAccountArray []SubAccountInput

func (SubAccountArray) ElementType added in v4.11.1

func (SubAccountArray) ElementType() reflect.Type

func (SubAccountArray) ToSubAccountArrayOutput added in v4.11.1

func (i SubAccountArray) ToSubAccountArrayOutput() SubAccountArrayOutput

func (SubAccountArray) ToSubAccountArrayOutputWithContext added in v4.11.1

func (i SubAccountArray) ToSubAccountArrayOutputWithContext(ctx context.Context) SubAccountArrayOutput

type SubAccountArrayInput added in v4.11.1

type SubAccountArrayInput interface {
	pulumi.Input

	ToSubAccountArrayOutput() SubAccountArrayOutput
	ToSubAccountArrayOutputWithContext(context.Context) SubAccountArrayOutput
}

SubAccountArrayInput is an input type that accepts SubAccountArray and SubAccountArrayOutput values. You can construct a concrete instance of `SubAccountArrayInput` via:

SubAccountArray{ SubAccountArgs{...} }

type SubAccountArrayOutput added in v4.11.1

type SubAccountArrayOutput struct{ *pulumi.OutputState }

func (SubAccountArrayOutput) ElementType added in v4.11.1

func (SubAccountArrayOutput) ElementType() reflect.Type

func (SubAccountArrayOutput) Index added in v4.11.1

func (SubAccountArrayOutput) ToSubAccountArrayOutput added in v4.11.1

func (o SubAccountArrayOutput) ToSubAccountArrayOutput() SubAccountArrayOutput

func (SubAccountArrayOutput) ToSubAccountArrayOutputWithContext added in v4.11.1

func (o SubAccountArrayOutput) ToSubAccountArrayOutputWithContext(ctx context.Context) SubAccountArrayOutput

type SubAccountInput added in v4.7.0

type SubAccountInput interface {
	pulumi.Input

	ToSubAccountOutput() SubAccountOutput
	ToSubAccountOutputWithContext(ctx context.Context) SubAccountOutput
}

type SubAccountMap added in v4.11.1

type SubAccountMap map[string]SubAccountInput

func (SubAccountMap) ElementType added in v4.11.1

func (SubAccountMap) ElementType() reflect.Type

func (SubAccountMap) ToSubAccountMapOutput added in v4.11.1

func (i SubAccountMap) ToSubAccountMapOutput() SubAccountMapOutput

func (SubAccountMap) ToSubAccountMapOutputWithContext added in v4.11.1

func (i SubAccountMap) ToSubAccountMapOutputWithContext(ctx context.Context) SubAccountMapOutput

type SubAccountMapInput added in v4.11.1

type SubAccountMapInput interface {
	pulumi.Input

	ToSubAccountMapOutput() SubAccountMapOutput
	ToSubAccountMapOutputWithContext(context.Context) SubAccountMapOutput
}

SubAccountMapInput is an input type that accepts SubAccountMap and SubAccountMapOutput values. You can construct a concrete instance of `SubAccountMapInput` via:

SubAccountMap{ "key": SubAccountArgs{...} }

type SubAccountMapOutput added in v4.11.1

type SubAccountMapOutput struct{ *pulumi.OutputState }

func (SubAccountMapOutput) ElementType added in v4.11.1

func (SubAccountMapOutput) ElementType() reflect.Type

func (SubAccountMapOutput) MapIndex added in v4.11.1

func (SubAccountMapOutput) ToSubAccountMapOutput added in v4.11.1

func (o SubAccountMapOutput) ToSubAccountMapOutput() SubAccountMapOutput

func (SubAccountMapOutput) ToSubAccountMapOutputWithContext added in v4.11.1

func (o SubAccountMapOutput) ToSubAccountMapOutputWithContext(ctx context.Context) SubAccountMapOutput

type SubAccountOutput added in v4.7.0

type SubAccountOutput struct {
	*pulumi.OutputState
}

func (SubAccountOutput) ElementType added in v4.7.0

func (SubAccountOutput) ElementType() reflect.Type

func (SubAccountOutput) ToSubAccountOutput added in v4.7.0

func (o SubAccountOutput) ToSubAccountOutput() SubAccountOutput

func (SubAccountOutput) ToSubAccountOutputWithContext added in v4.7.0

func (o SubAccountOutput) ToSubAccountOutputWithContext(ctx context.Context) SubAccountOutput

func (SubAccountOutput) ToSubAccountPtrOutput added in v4.11.1

func (o SubAccountOutput) ToSubAccountPtrOutput() SubAccountPtrOutput

func (SubAccountOutput) ToSubAccountPtrOutputWithContext added in v4.11.1

func (o SubAccountOutput) ToSubAccountPtrOutputWithContext(ctx context.Context) SubAccountPtrOutput

type SubAccountPtrInput added in v4.11.1

type SubAccountPtrInput interface {
	pulumi.Input

	ToSubAccountPtrOutput() SubAccountPtrOutput
	ToSubAccountPtrOutputWithContext(ctx context.Context) SubAccountPtrOutput
}

type SubAccountPtrOutput added in v4.11.1

type SubAccountPtrOutput struct {
	*pulumi.OutputState
}

func (SubAccountPtrOutput) ElementType added in v4.11.1

func (SubAccountPtrOutput) ElementType() reflect.Type

func (SubAccountPtrOutput) ToSubAccountPtrOutput added in v4.11.1

func (o SubAccountPtrOutput) ToSubAccountPtrOutput() SubAccountPtrOutput

func (SubAccountPtrOutput) ToSubAccountPtrOutputWithContext added in v4.11.1

func (o SubAccountPtrOutput) ToSubAccountPtrOutputWithContext(ctx context.Context) SubAccountPtrOutput

type SubAccountState added in v4.7.0

type SubAccountState struct {
	// The billing account id.
	BillingAccountId pulumi.StringPtrInput
	// If set to "RENAME_ON_DESTROY" the billing account displayName
	// will be changed to "Destroyed" along with a timestamp.  If set to "" this will not occur.
	// Default is "".
	DeletionPolicy pulumi.StringPtrInput
	// The display name of the billing account.
	DisplayName pulumi.StringPtrInput
	// The name of the master billing account that the subaccount
	// will be created under in the form `{billing_account_id}` or `billingAccounts/{billing_account_id}`.
	MasterBillingAccount pulumi.StringPtrInput
	// The resource name of the billing account in the form `billingAccounts/{billing_account_id}`.
	Name pulumi.StringPtrInput
	// `true` if the billing account is open, `false` if the billing account is closed.
	Open pulumi.BoolPtrInput
}

func (SubAccountState) ElementType added in v4.7.0

func (SubAccountState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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