Documentation
¶
Index ¶
- type IAMBinding
- type IAMBindingArgs
- type IAMBindingState
- type IAMCustomRole
- func (r *IAMCustomRole) Deleted() *pulumi.BoolOutput
- func (r *IAMCustomRole) Description() *pulumi.StringOutput
- func (r *IAMCustomRole) ID() *pulumi.IDOutput
- func (r *IAMCustomRole) Permissions() *pulumi.ArrayOutput
- func (r *IAMCustomRole) Project() *pulumi.StringOutput
- func (r *IAMCustomRole) RoleId() *pulumi.StringOutput
- func (r *IAMCustomRole) Stage() *pulumi.StringOutput
- func (r *IAMCustomRole) Title() *pulumi.StringOutput
- func (r *IAMCustomRole) URN() *pulumi.URNOutput
- type IAMCustomRoleArgs
- type IAMCustomRoleState
- type IAMMember
- type IAMMemberArgs
- type IAMMemberState
- type IAMPolicy
- func (r *IAMPolicy) Authoritative() *pulumi.BoolOutput
- func (r *IAMPolicy) DisableProject() *pulumi.BoolOutput
- func (r *IAMPolicy) Etag() *pulumi.StringOutput
- func (r *IAMPolicy) ID() *pulumi.IDOutput
- func (r *IAMPolicy) PolicyData() *pulumi.StringOutput
- func (r *IAMPolicy) Project() *pulumi.StringOutput
- func (r *IAMPolicy) RestorePolicy() *pulumi.StringOutput
- func (r *IAMPolicy) URN() *pulumi.URNOutput
- type IAMPolicyArgs
- type IAMPolicyState
- type Service
- type ServiceArgs
- type ServiceState
- type Services
- type ServicesArgs
- type ServicesState
- type UsageExportBucket
- type UsageExportBucketArgs
- type UsageExportBucketState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IAMBinding ¶
type IAMBinding struct {
// contains filtered or unexported fields
}
func GetIAMBinding ¶
func GetIAMBinding(ctx *pulumi.Context, name string, id pulumi.ID, state *IAMBindingState, opts ...pulumi.ResourceOpt) (*IAMBinding, error)
GetIAMBinding gets an existing IAMBinding 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 NewIAMBinding ¶
func NewIAMBinding(ctx *pulumi.Context, name string, args *IAMBindingArgs, opts ...pulumi.ResourceOpt) (*IAMBinding, error)
NewIAMBinding registers a new resource with the given unique name, arguments, and options.
func (*IAMBinding) Etag ¶
func (r *IAMBinding) Etag() *pulumi.StringOutput
func (*IAMBinding) ID ¶
func (r *IAMBinding) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*IAMBinding) Members ¶
func (r *IAMBinding) Members() *pulumi.ArrayOutput
func (*IAMBinding) Project ¶
func (r *IAMBinding) Project() *pulumi.StringOutput
func (*IAMBinding) Role ¶
func (r *IAMBinding) Role() *pulumi.StringOutput
func (*IAMBinding) URN ¶
func (r *IAMBinding) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type IAMBindingArgs ¶
type IAMBindingArgs struct { Members interface{} Project interface{} Role interface{} }
The set of arguments for constructing a IAMBinding resource.
type IAMBindingState ¶
type IAMBindingState struct { Etag interface{} Members interface{} Project interface{} Role interface{} }
Input properties used for looking up and filtering IAMBinding resources.
type IAMCustomRole ¶
type IAMCustomRole struct {
// contains filtered or unexported fields
}
Allows management of a customized Cloud IAM project role. For more information see [the official documentation](https://cloud.google.com/iam/docs/understanding-custom-roles) and [API](https://cloud.google.com/iam/reference/rest/v1/projects.roles).
func GetIAMCustomRole ¶
func GetIAMCustomRole(ctx *pulumi.Context, name string, id pulumi.ID, state *IAMCustomRoleState, opts ...pulumi.ResourceOpt) (*IAMCustomRole, error)
GetIAMCustomRole gets an existing IAMCustomRole 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 NewIAMCustomRole ¶
func NewIAMCustomRole(ctx *pulumi.Context, name string, args *IAMCustomRoleArgs, opts ...pulumi.ResourceOpt) (*IAMCustomRole, error)
NewIAMCustomRole registers a new resource with the given unique name, arguments, and options.
func (*IAMCustomRole) Deleted ¶
func (r *IAMCustomRole) Deleted() *pulumi.BoolOutput
The current deleted state of the role. Defaults to `false`.
func (*IAMCustomRole) Description ¶
func (r *IAMCustomRole) Description() *pulumi.StringOutput
A human-readable description for the role.
func (*IAMCustomRole) ID ¶
func (r *IAMCustomRole) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*IAMCustomRole) Permissions ¶
func (r *IAMCustomRole) Permissions() *pulumi.ArrayOutput
The names of the permissions this role grants when bound in an IAM policy. At least one permission must be specified.
func (*IAMCustomRole) Project ¶
func (r *IAMCustomRole) Project() *pulumi.StringOutput
The project that the service account will be created in. Defaults to the provider project configuration.
func (*IAMCustomRole) RoleId ¶
func (r *IAMCustomRole) RoleId() *pulumi.StringOutput
The role id to use for this role.
func (*IAMCustomRole) Stage ¶
func (r *IAMCustomRole) Stage() *pulumi.StringOutput
The current launch stage of the role. Defaults to `GA`. List of possible stages is [here](https://cloud.google.com/iam/reference/rest/v1/organizations.roles#Role.RoleLaunchStage).
func (*IAMCustomRole) Title ¶
func (r *IAMCustomRole) Title() *pulumi.StringOutput
A human-readable title for the role.
func (*IAMCustomRole) URN ¶
func (r *IAMCustomRole) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type IAMCustomRoleArgs ¶
type IAMCustomRoleArgs struct { // The current deleted state of the role. Defaults to `false`. Deleted interface{} // A human-readable description for the role. Description interface{} // The names of the permissions this role grants when bound in an IAM policy. At least one permission must be specified. Permissions interface{} // The project that the service account will be created in. // Defaults to the provider project configuration. Project interface{} // The role id to use for this role. RoleId interface{} // The current launch stage of the role. // Defaults to `GA`. // List of possible stages is [here](https://cloud.google.com/iam/reference/rest/v1/organizations.roles#Role.RoleLaunchStage). Stage interface{} // A human-readable title for the role. Title interface{} }
The set of arguments for constructing a IAMCustomRole resource.
type IAMCustomRoleState ¶
type IAMCustomRoleState struct { // The current deleted state of the role. Defaults to `false`. Deleted interface{} // A human-readable description for the role. Description interface{} // The names of the permissions this role grants when bound in an IAM policy. At least one permission must be specified. Permissions interface{} // The project that the service account will be created in. // Defaults to the provider project configuration. Project interface{} // The role id to use for this role. RoleId interface{} // The current launch stage of the role. // Defaults to `GA`. // List of possible stages is [here](https://cloud.google.com/iam/reference/rest/v1/organizations.roles#Role.RoleLaunchStage). Stage interface{} // A human-readable title for the role. Title interface{} }
Input properties used for looking up and filtering IAMCustomRole resources.
type IAMMember ¶
type IAMMember struct {
// contains filtered or unexported fields
}
func GetIAMMember ¶
func GetIAMMember(ctx *pulumi.Context, name string, id pulumi.ID, state *IAMMemberState, opts ...pulumi.ResourceOpt) (*IAMMember, error)
GetIAMMember gets an existing IAMMember 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 NewIAMMember ¶
func NewIAMMember(ctx *pulumi.Context, name string, args *IAMMemberArgs, opts ...pulumi.ResourceOpt) (*IAMMember, error)
NewIAMMember registers a new resource with the given unique name, arguments, and options.
func (*IAMMember) Etag ¶
func (r *IAMMember) Etag() *pulumi.StringOutput
func (*IAMMember) Member ¶
func (r *IAMMember) Member() *pulumi.StringOutput
func (*IAMMember) Project ¶
func (r *IAMMember) Project() *pulumi.StringOutput
func (*IAMMember) Role ¶
func (r *IAMMember) Role() *pulumi.StringOutput
type IAMMemberArgs ¶
type IAMMemberArgs struct { Member interface{} Project interface{} Role interface{} }
The set of arguments for constructing a IAMMember resource.
type IAMMemberState ¶
type IAMMemberState struct { Etag interface{} Member interface{} Project interface{} Role interface{} }
Input properties used for looking up and filtering IAMMember resources.
type IAMPolicy ¶
type IAMPolicy struct {
// contains filtered or unexported fields
}
func GetIAMPolicy ¶
func GetIAMPolicy(ctx *pulumi.Context, name string, id pulumi.ID, state *IAMPolicyState, opts ...pulumi.ResourceOpt) (*IAMPolicy, error)
GetIAMPolicy gets an existing IAMPolicy 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 NewIAMPolicy ¶
func NewIAMPolicy(ctx *pulumi.Context, name string, args *IAMPolicyArgs, opts ...pulumi.ResourceOpt) (*IAMPolicy, error)
NewIAMPolicy registers a new resource with the given unique name, arguments, and options.
func (*IAMPolicy) Authoritative ¶
func (r *IAMPolicy) Authoritative() *pulumi.BoolOutput
func (*IAMPolicy) DisableProject ¶
func (r *IAMPolicy) DisableProject() *pulumi.BoolOutput
func (*IAMPolicy) Etag ¶
func (r *IAMPolicy) Etag() *pulumi.StringOutput
func (*IAMPolicy) PolicyData ¶
func (r *IAMPolicy) PolicyData() *pulumi.StringOutput
func (*IAMPolicy) Project ¶
func (r *IAMPolicy) Project() *pulumi.StringOutput
func (*IAMPolicy) RestorePolicy ¶
func (r *IAMPolicy) RestorePolicy() *pulumi.StringOutput
type IAMPolicyArgs ¶
type IAMPolicyArgs struct { Authoritative interface{} DisableProject interface{} PolicyData interface{} Project interface{} }
The set of arguments for constructing a IAMPolicy resource.
type IAMPolicyState ¶
type IAMPolicyState struct { Authoritative interface{} DisableProject interface{} Etag interface{} PolicyData interface{} Project interface{} RestorePolicy interface{} }
Input properties used for looking up and filtering IAMPolicy resources.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Allows management of a single API service for an existing Google Cloud Platform project.
For a list of services available, visit the [API library page](https://console.cloud.google.com/apis/library) or run `gcloud services list`.
~> **Note:** This resource _must not_ be used in conjunction with
`google_project_services` or they will fight over which services should be enabled.
func GetService ¶
func GetService(ctx *pulumi.Context, name string, id pulumi.ID, state *ServiceState, opts ...pulumi.ResourceOpt) (*Service, error)
GetService gets an existing Service 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 NewService ¶
func NewService(ctx *pulumi.Context, name string, args *ServiceArgs, opts ...pulumi.ResourceOpt) (*Service, error)
NewService registers a new resource with the given unique name, arguments, and options.
func (*Service) DisableOnDestroy ¶
func (r *Service) DisableOnDestroy() *pulumi.BoolOutput
If true, disable the service when the terraform resource is destroyed. Defaults to true. May be useful in the event that a project is long-lived but the infrastructure running in that project changes frequently.
func (*Service) Project ¶
func (r *Service) Project() *pulumi.StringOutput
The project ID. If not provided, the provider project is used.
type ServiceArgs ¶
type ServiceArgs struct { // If true, disable the service when the terraform resource is destroyed. Defaults to true. May be useful in the event that a project is long-lived but the infrastructure running in that project changes frequently. DisableOnDestroy interface{} // The project ID. If not provided, the provider project is used. Project interface{} // The service to enable. Service interface{} }
The set of arguments for constructing a Service resource.
type ServiceState ¶
type ServiceState struct { // If true, disable the service when the terraform resource is destroyed. Defaults to true. May be useful in the event that a project is long-lived but the infrastructure running in that project changes frequently. DisableOnDestroy interface{} // The project ID. If not provided, the provider project is used. Project interface{} // The service to enable. Service interface{} }
Input properties used for looking up and filtering Service resources.
type Services ¶
type Services struct {
// contains filtered or unexported fields
}
Allows management of enabled API services for an existing Google Cloud Platform project. Services in an existing project that are not defined in the config will be removed.
For a list of services available, visit the [API library page](https://console.cloud.google.com/apis/library) or run `gcloud services list`.
~> **Note:** This resource attempts to be the authoritative source on which APIs are enabled, which can
lead to conflicts when certain APIs or actions enable other APIs. To just ensure that a specific API is enabled, use the [google_project_service](google_project_service.html) resource.
func GetServices ¶
func GetServices(ctx *pulumi.Context, name string, id pulumi.ID, state *ServicesState, opts ...pulumi.ResourceOpt) (*Services, error)
GetServices gets an existing Services 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 NewServices ¶
func NewServices(ctx *pulumi.Context, name string, args *ServicesArgs, opts ...pulumi.ResourceOpt) (*Services, error)
NewServices registers a new resource with the given unique name, arguments, and options.
func (*Services) DisableOnDestroy ¶
func (r *Services) DisableOnDestroy() *pulumi.BoolOutput
func (*Services) Project ¶
func (r *Services) Project() *pulumi.StringOutput
The project ID. Changing this forces Terraform to attempt to disable all previously managed API services in the previous project.
func (*Services) Services ¶
func (r *Services) Services() *pulumi.ArrayOutput
The list of services that are enabled. Supports update.
type ServicesArgs ¶
type ServicesArgs struct { DisableOnDestroy interface{} // The project ID. // Changing this forces Terraform to attempt to disable all previously managed // API services in the previous project. Project interface{} // The list of services that are enabled. Supports // update. Services interface{} }
The set of arguments for constructing a Services resource.
type ServicesState ¶
type ServicesState struct { DisableOnDestroy interface{} // The project ID. // Changing this forces Terraform to attempt to disable all previously managed // API services in the previous project. Project interface{} // The list of services that are enabled. Supports // update. Services interface{} }
Input properties used for looking up and filtering Services resources.
type UsageExportBucket ¶
type UsageExportBucket struct {
// contains filtered or unexported fields
}
Allows creation and management of a Google Cloud Platform project.
Projects created with this resource must be associated with an Organization. See the [Organization documentation](https://cloud.google.com/resource-manager/docs/quickstarts) for more details.
The service account used to run Terraform when creating a `google_project` resource must have `roles/resourcemanager.projectCreator`. See the [Access Control for Organizations Using IAM](https://cloud.google.com/resource-manager/docs/access-control-org) doc for more information.
Note that prior to 0.8.5, `google_project` functioned like a data source, meaning any project referenced by it had to be created and managed outside Terraform. As of 0.8.5, `google_project` functions like any other Terraform resource, with Terraform creating and managing the project. To replicate the old behavior, either:
- Use the project ID directly in whatever is referencing the project, using the [google_project_iam_policy](/docs/providers/google/r/google_project_iam.html) to replace the old `policy_data` property.
- Use the [import](/docs/import/usage.html) functionality to import your pre-existing project into Terraform, where it can be referenced and used just like always, keeping in mind that Terraform will attempt to undo any changes made outside Terraform.
~> It's important to note that any project resources that were added to your Terraform config prior to 0.8.5 will continue to function as they always have, and will not be managed by Terraform. Only newly added projects are affected.
func GetUsageExportBucket ¶
func GetUsageExportBucket(ctx *pulumi.Context, name string, id pulumi.ID, state *UsageExportBucketState, opts ...pulumi.ResourceOpt) (*UsageExportBucket, error)
GetUsageExportBucket gets an existing UsageExportBucket 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 NewUsageExportBucket ¶
func NewUsageExportBucket(ctx *pulumi.Context, name string, args *UsageExportBucketArgs, opts ...pulumi.ResourceOpt) (*UsageExportBucket, error)
NewUsageExportBucket registers a new resource with the given unique name, arguments, and options.
func (*UsageExportBucket) BucketName ¶
func (r *UsageExportBucket) BucketName() *pulumi.StringOutput
func (*UsageExportBucket) ID ¶
func (r *UsageExportBucket) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*UsageExportBucket) Prefix ¶
func (r *UsageExportBucket) Prefix() *pulumi.StringOutput
func (*UsageExportBucket) Project ¶
func (r *UsageExportBucket) Project() *pulumi.StringOutput
func (*UsageExportBucket) URN ¶
func (r *UsageExportBucket) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type UsageExportBucketArgs ¶
type UsageExportBucketArgs struct { BucketName interface{} Prefix interface{} Project interface{} }
The set of arguments for constructing a UsageExportBucket resource.
type UsageExportBucketState ¶
type UsageExportBucketState struct { BucketName interface{} Prefix interface{} Project interface{} }
Input properties used for looking up and filtering UsageExportBucket resources.