billing

package
v0.18.3 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2019 License: Apache-2.0 Imports: 2 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 {
	// contains filtered or unexported fields
}

Allows creation and management of a single binding within IAM policy for an existing Google Cloud Platform Billing Account.

> **Note:** This resource __must not__ be used in conjunction with

`google_billing_account_iam_member` for the __same role__ or they will fight over
what your policy should be.

> **Note:** On create, this resource will overwrite members of any existing roles.

Use `terraform import` and inspect the `terraform plan` output to ensure
your existing members are preserved.

func GetAccountIamBinding

func GetAccountIamBinding(ctx *pulumi.Context,
	name string, id pulumi.ID, state *AccountIamBindingState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*AccountIamBinding, error)

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

func (*AccountIamBinding) BillingAccountId

func (r *AccountIamBinding) BillingAccountId() *pulumi.StringOutput

The billing account id.

func (*AccountIamBinding) Etag

(Computed) The etag of the billing account's IAM policy.

func (*AccountIamBinding) ID

ID is this resource's unique identifier assigned by its provider.

func (*AccountIamBinding) Members

func (r *AccountIamBinding) Members() *pulumi.ArrayOutput

A list of users that the role should apply to. For more details on format and restrictions see https://cloud.google.com/billing/reference/rest/v1/Policy#Binding

func (*AccountIamBinding) Role

The role that should be applied.

func (*AccountIamBinding) URN

URN is this resource's unique name assigned by Pulumi.

type AccountIamBindingArgs

type AccountIamBindingArgs struct {
	// The billing account id.
	BillingAccountId interface{}
	// A list of users that the role should apply to. For more details on format and restrictions see https://cloud.google.com/billing/reference/rest/v1/Policy#Binding
	Members interface{}
	// The role that should be applied.
	Role interface{}
}

The set of arguments for constructing a AccountIamBinding resource.

type AccountIamBindingState

type AccountIamBindingState struct {
	// The billing account id.
	BillingAccountId interface{}
	// (Computed) The etag of the billing account's IAM policy.
	Etag interface{}
	// A list of users that the role should apply to. For more details on format and restrictions see https://cloud.google.com/billing/reference/rest/v1/Policy#Binding
	Members interface{}
	// The role that should be applied.
	Role interface{}
}

Input properties used for looking up and filtering AccountIamBinding resources.

type AccountIamMember

type AccountIamMember struct {
	// contains filtered or unexported fields
}

Allows creation and management of a single member for a single binding within the IAM policy for an existing Google Cloud Platform Billing Account.

> **Note:** This resource __must not__ be used in conjunction with

`google_billing_account_iam_binding` for the __same role__ or they will fight over
what your policy should be.

func GetAccountIamMember

func GetAccountIamMember(ctx *pulumi.Context,
	name string, id pulumi.ID, state *AccountIamMemberState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*AccountIamMember, error)

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

func (*AccountIamMember) BillingAccountId

func (r *AccountIamMember) BillingAccountId() *pulumi.StringOutput

The billing account id.

func (*AccountIamMember) Etag

(Computed) The etag of the billing account's IAM policy.

func (*AccountIamMember) ID

func (r *AccountIamMember) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*AccountIamMember) Member

func (r *AccountIamMember) Member() *pulumi.StringOutput

The user that the role should apply to. For more details on format and restrictions see https://cloud.google.com/billing/reference/rest/v1/Policy#Binding

func (*AccountIamMember) Role

The role that should be applied.

func (*AccountIamMember) URN

func (r *AccountIamMember) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type AccountIamMemberArgs

type AccountIamMemberArgs struct {
	// The billing account id.
	BillingAccountId interface{}
	// The user that the role should apply to. For more details on format and restrictions see https://cloud.google.com/billing/reference/rest/v1/Policy#Binding
	Member interface{}
	// The role that should be applied.
	Role interface{}
}

The set of arguments for constructing a AccountIamMember resource.

type AccountIamMemberState

type AccountIamMemberState struct {
	// The billing account id.
	BillingAccountId interface{}
	// (Computed) The etag of the billing account's IAM policy.
	Etag interface{}
	// The user that the role should apply to. For more details on format and restrictions see https://cloud.google.com/billing/reference/rest/v1/Policy#Binding
	Member interface{}
	// The role that should be applied.
	Role interface{}
}

Input properties used for looking up and filtering AccountIamMember resources.

type AccountIamPolicy

type AccountIamPolicy struct {
	// contains filtered or unexported fields
}

Allows management of the entire IAM policy for an existing Google Cloud Platform Billing Account.

> **Warning:** Billing accounts have a default user that can be **overwritten** by use of this resource. The safest alternative is to use multiple `google_billing_account_iam_binding`

resources. If you do use this resource, the best way to be sure that you are
not making dangerous changes is to start by importing your existing policy,
and examining the diff very closely.

> **Note:** This resource __must not__ be used in conjunction with

`google_billing_account_iam_member` or `google_billing_account_iam_binding`
or they will fight over what your policy should be.

func GetAccountIamPolicy

func GetAccountIamPolicy(ctx *pulumi.Context,
	name string, id pulumi.ID, state *AccountIamPolicyState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*AccountIamPolicy, error)

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

func (*AccountIamPolicy) BillingAccountId

func (r *AccountIamPolicy) BillingAccountId() *pulumi.StringOutput

The billing account id.

func (*AccountIamPolicy) Etag

func (*AccountIamPolicy) ID

func (r *AccountIamPolicy) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*AccountIamPolicy) PolicyData

func (r *AccountIamPolicy) PolicyData() *pulumi.StringOutput

The `google_iam_policy` data source that represents the IAM policy that will be applied to the billing account. This policy overrides any existing policy applied to the billing account.

func (*AccountIamPolicy) URN

func (r *AccountIamPolicy) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type AccountIamPolicyArgs

type AccountIamPolicyArgs struct {
	// The billing account id.
	BillingAccountId interface{}
	// The `google_iam_policy` data source that represents
	// the IAM policy that will be applied to the billing account. This policy overrides any existing
	// policy applied to the billing account.
	PolicyData interface{}
}

The set of arguments for constructing a AccountIamPolicy resource.

type AccountIamPolicyState

type AccountIamPolicyState struct {
	// The billing account id.
	BillingAccountId interface{}
	Etag             interface{}
	// The `google_iam_policy` data source that represents
	// the IAM policy that will be applied to the billing account. This policy overrides any existing
	// policy applied to the billing account.
	PolicyData interface{}
}

Input properties used for looking up and filtering AccountIamPolicy resources.

Jump to

Keyboard shortcuts

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