Documentation ¶
Index ¶
- type Config
- type ConfigArgs
- type ConfigArray
- type ConfigArrayInput
- type ConfigArrayOutput
- type ConfigIamBinding
- type ConfigIamBindingArgs
- type ConfigIamBindingArray
- type ConfigIamBindingArrayInput
- type ConfigIamBindingArrayOutput
- func (ConfigIamBindingArrayOutput) ElementType() reflect.Type
- func (o ConfigIamBindingArrayOutput) Index(i pulumi.IntInput) ConfigIamBindingOutput
- func (o ConfigIamBindingArrayOutput) ToConfigIamBindingArrayOutput() ConfigIamBindingArrayOutput
- func (o ConfigIamBindingArrayOutput) ToConfigIamBindingArrayOutputWithContext(ctx context.Context) ConfigIamBindingArrayOutput
- type ConfigIamBindingCondition
- type ConfigIamBindingConditionArgs
- func (ConfigIamBindingConditionArgs) ElementType() reflect.Type
- func (i ConfigIamBindingConditionArgs) ToConfigIamBindingConditionOutput() ConfigIamBindingConditionOutput
- func (i ConfigIamBindingConditionArgs) ToConfigIamBindingConditionOutputWithContext(ctx context.Context) ConfigIamBindingConditionOutput
- func (i ConfigIamBindingConditionArgs) ToConfigIamBindingConditionPtrOutput() ConfigIamBindingConditionPtrOutput
- func (i ConfigIamBindingConditionArgs) ToConfigIamBindingConditionPtrOutputWithContext(ctx context.Context) ConfigIamBindingConditionPtrOutput
- type ConfigIamBindingConditionInput
- type ConfigIamBindingConditionOutput
- func (o ConfigIamBindingConditionOutput) Description() pulumi.StringPtrOutput
- func (ConfigIamBindingConditionOutput) ElementType() reflect.Type
- func (o ConfigIamBindingConditionOutput) Expression() pulumi.StringOutput
- func (o ConfigIamBindingConditionOutput) Title() pulumi.StringOutput
- func (o ConfigIamBindingConditionOutput) ToConfigIamBindingConditionOutput() ConfigIamBindingConditionOutput
- func (o ConfigIamBindingConditionOutput) ToConfigIamBindingConditionOutputWithContext(ctx context.Context) ConfigIamBindingConditionOutput
- func (o ConfigIamBindingConditionOutput) ToConfigIamBindingConditionPtrOutput() ConfigIamBindingConditionPtrOutput
- func (o ConfigIamBindingConditionOutput) ToConfigIamBindingConditionPtrOutputWithContext(ctx context.Context) ConfigIamBindingConditionPtrOutput
- type ConfigIamBindingConditionPtrInput
- type ConfigIamBindingConditionPtrOutput
- func (o ConfigIamBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o ConfigIamBindingConditionPtrOutput) Elem() ConfigIamBindingConditionOutput
- func (ConfigIamBindingConditionPtrOutput) ElementType() reflect.Type
- func (o ConfigIamBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o ConfigIamBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o ConfigIamBindingConditionPtrOutput) ToConfigIamBindingConditionPtrOutput() ConfigIamBindingConditionPtrOutput
- func (o ConfigIamBindingConditionPtrOutput) ToConfigIamBindingConditionPtrOutputWithContext(ctx context.Context) ConfigIamBindingConditionPtrOutput
- type ConfigIamBindingInput
- type ConfigIamBindingMap
- type ConfigIamBindingMapInput
- type ConfigIamBindingMapOutput
- func (ConfigIamBindingMapOutput) ElementType() reflect.Type
- func (o ConfigIamBindingMapOutput) MapIndex(k pulumi.StringInput) ConfigIamBindingOutput
- func (o ConfigIamBindingMapOutput) ToConfigIamBindingMapOutput() ConfigIamBindingMapOutput
- func (o ConfigIamBindingMapOutput) ToConfigIamBindingMapOutputWithContext(ctx context.Context) ConfigIamBindingMapOutput
- type ConfigIamBindingOutput
- func (o ConfigIamBindingOutput) Condition() ConfigIamBindingConditionPtrOutput
- func (o ConfigIamBindingOutput) Config() pulumi.StringOutput
- func (ConfigIamBindingOutput) ElementType() reflect.Type
- func (o ConfigIamBindingOutput) Etag() pulumi.StringOutput
- func (o ConfigIamBindingOutput) Members() pulumi.StringArrayOutput
- func (o ConfigIamBindingOutput) Project() pulumi.StringOutput
- func (o ConfigIamBindingOutput) Role() pulumi.StringOutput
- func (o ConfigIamBindingOutput) ToConfigIamBindingOutput() ConfigIamBindingOutput
- func (o ConfigIamBindingOutput) ToConfigIamBindingOutputWithContext(ctx context.Context) ConfigIamBindingOutput
- type ConfigIamBindingState
- type ConfigIamMember
- type ConfigIamMemberArgs
- type ConfigIamMemberArray
- type ConfigIamMemberArrayInput
- type ConfigIamMemberArrayOutput
- func (ConfigIamMemberArrayOutput) ElementType() reflect.Type
- func (o ConfigIamMemberArrayOutput) Index(i pulumi.IntInput) ConfigIamMemberOutput
- func (o ConfigIamMemberArrayOutput) ToConfigIamMemberArrayOutput() ConfigIamMemberArrayOutput
- func (o ConfigIamMemberArrayOutput) ToConfigIamMemberArrayOutputWithContext(ctx context.Context) ConfigIamMemberArrayOutput
- type ConfigIamMemberCondition
- type ConfigIamMemberConditionArgs
- func (ConfigIamMemberConditionArgs) ElementType() reflect.Type
- func (i ConfigIamMemberConditionArgs) ToConfigIamMemberConditionOutput() ConfigIamMemberConditionOutput
- func (i ConfigIamMemberConditionArgs) ToConfigIamMemberConditionOutputWithContext(ctx context.Context) ConfigIamMemberConditionOutput
- func (i ConfigIamMemberConditionArgs) ToConfigIamMemberConditionPtrOutput() ConfigIamMemberConditionPtrOutput
- func (i ConfigIamMemberConditionArgs) ToConfigIamMemberConditionPtrOutputWithContext(ctx context.Context) ConfigIamMemberConditionPtrOutput
- type ConfigIamMemberConditionInput
- type ConfigIamMemberConditionOutput
- func (o ConfigIamMemberConditionOutput) Description() pulumi.StringPtrOutput
- func (ConfigIamMemberConditionOutput) ElementType() reflect.Type
- func (o ConfigIamMemberConditionOutput) Expression() pulumi.StringOutput
- func (o ConfigIamMemberConditionOutput) Title() pulumi.StringOutput
- func (o ConfigIamMemberConditionOutput) ToConfigIamMemberConditionOutput() ConfigIamMemberConditionOutput
- func (o ConfigIamMemberConditionOutput) ToConfigIamMemberConditionOutputWithContext(ctx context.Context) ConfigIamMemberConditionOutput
- func (o ConfigIamMemberConditionOutput) ToConfigIamMemberConditionPtrOutput() ConfigIamMemberConditionPtrOutput
- func (o ConfigIamMemberConditionOutput) ToConfigIamMemberConditionPtrOutputWithContext(ctx context.Context) ConfigIamMemberConditionPtrOutput
- type ConfigIamMemberConditionPtrInput
- type ConfigIamMemberConditionPtrOutput
- func (o ConfigIamMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o ConfigIamMemberConditionPtrOutput) Elem() ConfigIamMemberConditionOutput
- func (ConfigIamMemberConditionPtrOutput) ElementType() reflect.Type
- func (o ConfigIamMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o ConfigIamMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o ConfigIamMemberConditionPtrOutput) ToConfigIamMemberConditionPtrOutput() ConfigIamMemberConditionPtrOutput
- func (o ConfigIamMemberConditionPtrOutput) ToConfigIamMemberConditionPtrOutputWithContext(ctx context.Context) ConfigIamMemberConditionPtrOutput
- type ConfigIamMemberInput
- type ConfigIamMemberMap
- type ConfigIamMemberMapInput
- type ConfigIamMemberMapOutput
- func (ConfigIamMemberMapOutput) ElementType() reflect.Type
- func (o ConfigIamMemberMapOutput) MapIndex(k pulumi.StringInput) ConfigIamMemberOutput
- func (o ConfigIamMemberMapOutput) ToConfigIamMemberMapOutput() ConfigIamMemberMapOutput
- func (o ConfigIamMemberMapOutput) ToConfigIamMemberMapOutputWithContext(ctx context.Context) ConfigIamMemberMapOutput
- type ConfigIamMemberOutput
- func (o ConfigIamMemberOutput) Condition() ConfigIamMemberConditionPtrOutput
- func (o ConfigIamMemberOutput) Config() pulumi.StringOutput
- func (ConfigIamMemberOutput) ElementType() reflect.Type
- func (o ConfigIamMemberOutput) Etag() pulumi.StringOutput
- func (o ConfigIamMemberOutput) Member() pulumi.StringOutput
- func (o ConfigIamMemberOutput) Project() pulumi.StringOutput
- func (o ConfigIamMemberOutput) Role() pulumi.StringOutput
- func (o ConfigIamMemberOutput) ToConfigIamMemberOutput() ConfigIamMemberOutput
- func (o ConfigIamMemberOutput) ToConfigIamMemberOutputWithContext(ctx context.Context) ConfigIamMemberOutput
- type ConfigIamMemberState
- type ConfigIamPolicy
- type ConfigIamPolicyArgs
- type ConfigIamPolicyArray
- type ConfigIamPolicyArrayInput
- type ConfigIamPolicyArrayOutput
- func (ConfigIamPolicyArrayOutput) ElementType() reflect.Type
- func (o ConfigIamPolicyArrayOutput) Index(i pulumi.IntInput) ConfigIamPolicyOutput
- func (o ConfigIamPolicyArrayOutput) ToConfigIamPolicyArrayOutput() ConfigIamPolicyArrayOutput
- func (o ConfigIamPolicyArrayOutput) ToConfigIamPolicyArrayOutputWithContext(ctx context.Context) ConfigIamPolicyArrayOutput
- type ConfigIamPolicyInput
- type ConfigIamPolicyMap
- type ConfigIamPolicyMapInput
- type ConfigIamPolicyMapOutput
- func (ConfigIamPolicyMapOutput) ElementType() reflect.Type
- func (o ConfigIamPolicyMapOutput) MapIndex(k pulumi.StringInput) ConfigIamPolicyOutput
- func (o ConfigIamPolicyMapOutput) ToConfigIamPolicyMapOutput() ConfigIamPolicyMapOutput
- func (o ConfigIamPolicyMapOutput) ToConfigIamPolicyMapOutputWithContext(ctx context.Context) ConfigIamPolicyMapOutput
- type ConfigIamPolicyOutput
- func (o ConfigIamPolicyOutput) Config() pulumi.StringOutput
- func (ConfigIamPolicyOutput) ElementType() reflect.Type
- func (o ConfigIamPolicyOutput) Etag() pulumi.StringOutput
- func (o ConfigIamPolicyOutput) PolicyData() pulumi.StringOutput
- func (o ConfigIamPolicyOutput) Project() pulumi.StringOutput
- func (o ConfigIamPolicyOutput) ToConfigIamPolicyOutput() ConfigIamPolicyOutput
- func (o ConfigIamPolicyOutput) ToConfigIamPolicyOutputWithContext(ctx context.Context) ConfigIamPolicyOutput
- type ConfigIamPolicyState
- type ConfigInput
- type ConfigMap
- type ConfigMapInput
- type ConfigMapOutput
- type ConfigOutput
- func (o ConfigOutput) Description() pulumi.StringPtrOutput
- func (ConfigOutput) ElementType() reflect.Type
- func (o ConfigOutput) Name() pulumi.StringOutput
- func (o ConfigOutput) Project() pulumi.StringOutput
- func (o ConfigOutput) ToConfigOutput() ConfigOutput
- func (o ConfigOutput) ToConfigOutputWithContext(ctx context.Context) ConfigOutput
- type ConfigState
- type LookupConfigArgs
- type LookupConfigIamPolicyArgs
- type LookupConfigIamPolicyOutputArgs
- type LookupConfigIamPolicyResult
- type LookupConfigIamPolicyResultOutput
- func (o LookupConfigIamPolicyResultOutput) Config() pulumi.StringOutput
- func (LookupConfigIamPolicyResultOutput) ElementType() reflect.Type
- func (o LookupConfigIamPolicyResultOutput) Etag() pulumi.StringOutput
- func (o LookupConfigIamPolicyResultOutput) Id() pulumi.StringOutput
- func (o LookupConfigIamPolicyResultOutput) PolicyData() pulumi.StringOutput
- func (o LookupConfigIamPolicyResultOutput) Project() pulumi.StringOutput
- func (o LookupConfigIamPolicyResultOutput) ToLookupConfigIamPolicyResultOutput() LookupConfigIamPolicyResultOutput
- func (o LookupConfigIamPolicyResultOutput) ToLookupConfigIamPolicyResultOutputWithContext(ctx context.Context) LookupConfigIamPolicyResultOutput
- type LookupConfigOutputArgs
- type LookupConfigResult
- type LookupConfigResultOutput
- func (o LookupConfigResultOutput) Description() pulumi.StringOutput
- func (LookupConfigResultOutput) ElementType() reflect.Type
- func (o LookupConfigResultOutput) Id() pulumi.StringOutput
- func (o LookupConfigResultOutput) Name() pulumi.StringOutput
- func (o LookupConfigResultOutput) Project() pulumi.StringPtrOutput
- func (o LookupConfigResultOutput) ToLookupConfigResultOutput() LookupConfigResultOutput
- func (o LookupConfigResultOutput) ToLookupConfigResultOutputWithContext(ctx context.Context) LookupConfigResultOutput
- type LookupVariableArgs
- type LookupVariableOutputArgs
- type LookupVariableResult
- type LookupVariableResultOutput
- func (LookupVariableResultOutput) ElementType() reflect.Type
- func (o LookupVariableResultOutput) Id() pulumi.StringOutput
- func (o LookupVariableResultOutput) Name() pulumi.StringOutput
- func (o LookupVariableResultOutput) Parent() pulumi.StringOutput
- func (o LookupVariableResultOutput) Project() pulumi.StringPtrOutput
- func (o LookupVariableResultOutput) Text() pulumi.StringOutput
- func (o LookupVariableResultOutput) ToLookupVariableResultOutput() LookupVariableResultOutput
- func (o LookupVariableResultOutput) ToLookupVariableResultOutputWithContext(ctx context.Context) LookupVariableResultOutput
- func (o LookupVariableResultOutput) UpdateTime() pulumi.StringOutput
- func (o LookupVariableResultOutput) Value() pulumi.StringOutput
- type Variable
- type VariableArgs
- type VariableArray
- type VariableArrayInput
- type VariableArrayOutput
- type VariableInput
- type VariableMap
- type VariableMapInput
- type VariableMapOutput
- type VariableOutput
- func (VariableOutput) ElementType() reflect.Type
- func (o VariableOutput) Name() pulumi.StringOutput
- func (o VariableOutput) Parent() pulumi.StringOutput
- func (o VariableOutput) Project() pulumi.StringOutput
- func (o VariableOutput) Text() pulumi.StringPtrOutput
- func (o VariableOutput) ToVariableOutput() VariableOutput
- func (o VariableOutput) ToVariableOutputWithContext(ctx context.Context) VariableOutput
- func (o VariableOutput) UpdateTime() pulumi.StringOutput
- func (o VariableOutput) Value() pulumi.StringPtrOutput
- type VariableState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { pulumi.CustomResourceState // The description to associate with the runtime // config. Description pulumi.StringPtrOutput `pulumi:"description"` // The name of the runtime config. // // *** Name pulumi.StringOutput `pulumi:"name"` // The ID of the project in which the resource belongs. If it // is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` }
## Example Usage
Example creating a RuntimeConfig resource.
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/runtimeconfig" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := runtimeconfig.NewConfig(ctx, "my-runtime-config", &runtimeconfig.ConfigArgs{ Name: pulumi.String("my-service-runtime-config"), Description: pulumi.String("Runtime configuration values for my service"), }) if err != nil { return err } return nil }) }
```
## Import
Runtime Configs can be imported using the `name` or full config name, e.g.
* `projects/{{project_id}}/configs/{{name}}`
* `{{name}}`
When using the `pulumi import` command, Runtime Configs can be imported using one of the formats above. For example:
```sh $ pulumi import gcp:runtimeconfig/config:Config default projects/{{project_id}}/configs/{{name}} ```
```sh $ pulumi import gcp:runtimeconfig/config:Config default {{name}} ```
When importing using only the name, the provider project must be set.
func GetConfig ¶
func GetConfig(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ConfigState, opts ...pulumi.ResourceOption) (*Config, error)
GetConfig gets an existing Config 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 NewConfig ¶
func NewConfig(ctx *pulumi.Context, name string, args *ConfigArgs, opts ...pulumi.ResourceOption) (*Config, error)
NewConfig registers a new resource with the given unique name, arguments, and options.
func (*Config) ElementType ¶
func (*Config) ToConfigOutput ¶
func (i *Config) ToConfigOutput() ConfigOutput
func (*Config) ToConfigOutputWithContext ¶
func (i *Config) ToConfigOutputWithContext(ctx context.Context) ConfigOutput
type ConfigArgs ¶
type ConfigArgs struct { // The description to associate with the runtime // config. Description pulumi.StringPtrInput // The name of the runtime config. // // *** Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. If it // is not provided, the provider project is used. Project pulumi.StringPtrInput }
The set of arguments for constructing a Config resource.
func (ConfigArgs) ElementType ¶
func (ConfigArgs) ElementType() reflect.Type
type ConfigArray ¶
type ConfigArray []ConfigInput
func (ConfigArray) ElementType ¶
func (ConfigArray) ElementType() reflect.Type
func (ConfigArray) ToConfigArrayOutput ¶
func (i ConfigArray) ToConfigArrayOutput() ConfigArrayOutput
func (ConfigArray) ToConfigArrayOutputWithContext ¶
func (i ConfigArray) ToConfigArrayOutputWithContext(ctx context.Context) ConfigArrayOutput
type ConfigArrayInput ¶
type ConfigArrayInput interface { pulumi.Input ToConfigArrayOutput() ConfigArrayOutput ToConfigArrayOutputWithContext(context.Context) ConfigArrayOutput }
ConfigArrayInput is an input type that accepts ConfigArray and ConfigArrayOutput values. You can construct a concrete instance of `ConfigArrayInput` via:
ConfigArray{ ConfigArgs{...} }
type ConfigArrayOutput ¶
type ConfigArrayOutput struct{ *pulumi.OutputState }
func (ConfigArrayOutput) ElementType ¶
func (ConfigArrayOutput) ElementType() reflect.Type
func (ConfigArrayOutput) Index ¶
func (o ConfigArrayOutput) Index(i pulumi.IntInput) ConfigOutput
func (ConfigArrayOutput) ToConfigArrayOutput ¶
func (o ConfigArrayOutput) ToConfigArrayOutput() ConfigArrayOutput
func (ConfigArrayOutput) ToConfigArrayOutputWithContext ¶
func (o ConfigArrayOutput) ToConfigArrayOutputWithContext(ctx context.Context) ConfigArrayOutput
type ConfigIamBinding ¶
type ConfigIamBinding struct { pulumi.CustomResourceState Condition ConfigIamBindingConditionPtrOutput `pulumi:"condition"` // Used to find the parent resource to bind the IAM policy to Config pulumi.StringOutput `pulumi:"config"` // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. // * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" // * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" // * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project" Members pulumi.StringArrayOutput `pulumi:"members"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The role that should be applied. Only one // `runtimeconfig.ConfigIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringOutput `pulumi:"role"` }
## Import
For all import syntaxes, the "resource in question" can take any of the following forms:
* projects/{{project}}/configs/{{config}}
* {{project}}/{{config}}
* {{config}}
Any variables not passed in the import command will be taken from the provider configuration.
Runtime Configurator config IAM resources can be imported using the resource identifiers, role, and member.
IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
```sh $ pulumi import gcp:runtimeconfig/configIamBinding:ConfigIamBinding editor "projects/{{project}}/configs/{{config}} roles/viewer user:jane@example.com" ```
IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
```sh $ pulumi import gcp:runtimeconfig/configIamBinding:ConfigIamBinding editor "projects/{{project}}/configs/{{config}} roles/viewer" ```
IAM policy imports use the identifier of the resource in question, e.g.
```sh $ pulumi import gcp:runtimeconfig/configIamBinding:ConfigIamBinding editor projects/{{project}}/configs/{{config}} ```
-> **Custom Roles** If you're importing a IAM resource with a custom role, make sure to use the
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
func GetConfigIamBinding ¶
func GetConfigIamBinding(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ConfigIamBindingState, opts ...pulumi.ResourceOption) (*ConfigIamBinding, error)
GetConfigIamBinding gets an existing ConfigIamBinding 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 NewConfigIamBinding ¶
func NewConfigIamBinding(ctx *pulumi.Context, name string, args *ConfigIamBindingArgs, opts ...pulumi.ResourceOption) (*ConfigIamBinding, error)
NewConfigIamBinding registers a new resource with the given unique name, arguments, and options.
func (*ConfigIamBinding) ElementType ¶
func (*ConfigIamBinding) ElementType() reflect.Type
func (*ConfigIamBinding) ToConfigIamBindingOutput ¶
func (i *ConfigIamBinding) ToConfigIamBindingOutput() ConfigIamBindingOutput
func (*ConfigIamBinding) ToConfigIamBindingOutputWithContext ¶
func (i *ConfigIamBinding) ToConfigIamBindingOutputWithContext(ctx context.Context) ConfigIamBindingOutput
type ConfigIamBindingArgs ¶
type ConfigIamBindingArgs struct { Condition ConfigIamBindingConditionPtrInput // Used to find the parent resource to bind the IAM policy to Config pulumi.StringInput // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. // * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" // * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" // * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project" Members pulumi.StringArrayInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `runtimeconfig.ConfigIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringInput }
The set of arguments for constructing a ConfigIamBinding resource.
func (ConfigIamBindingArgs) ElementType ¶
func (ConfigIamBindingArgs) ElementType() reflect.Type
type ConfigIamBindingArray ¶
type ConfigIamBindingArray []ConfigIamBindingInput
func (ConfigIamBindingArray) ElementType ¶
func (ConfigIamBindingArray) ElementType() reflect.Type
func (ConfigIamBindingArray) ToConfigIamBindingArrayOutput ¶
func (i ConfigIamBindingArray) ToConfigIamBindingArrayOutput() ConfigIamBindingArrayOutput
func (ConfigIamBindingArray) ToConfigIamBindingArrayOutputWithContext ¶
func (i ConfigIamBindingArray) ToConfigIamBindingArrayOutputWithContext(ctx context.Context) ConfigIamBindingArrayOutput
type ConfigIamBindingArrayInput ¶
type ConfigIamBindingArrayInput interface { pulumi.Input ToConfigIamBindingArrayOutput() ConfigIamBindingArrayOutput ToConfigIamBindingArrayOutputWithContext(context.Context) ConfigIamBindingArrayOutput }
ConfigIamBindingArrayInput is an input type that accepts ConfigIamBindingArray and ConfigIamBindingArrayOutput values. You can construct a concrete instance of `ConfigIamBindingArrayInput` via:
ConfigIamBindingArray{ ConfigIamBindingArgs{...} }
type ConfigIamBindingArrayOutput ¶
type ConfigIamBindingArrayOutput struct{ *pulumi.OutputState }
func (ConfigIamBindingArrayOutput) ElementType ¶
func (ConfigIamBindingArrayOutput) ElementType() reflect.Type
func (ConfigIamBindingArrayOutput) Index ¶
func (o ConfigIamBindingArrayOutput) Index(i pulumi.IntInput) ConfigIamBindingOutput
func (ConfigIamBindingArrayOutput) ToConfigIamBindingArrayOutput ¶
func (o ConfigIamBindingArrayOutput) ToConfigIamBindingArrayOutput() ConfigIamBindingArrayOutput
func (ConfigIamBindingArrayOutput) ToConfigIamBindingArrayOutputWithContext ¶
func (o ConfigIamBindingArrayOutput) ToConfigIamBindingArrayOutputWithContext(ctx context.Context) ConfigIamBindingArrayOutput
type ConfigIamBindingConditionArgs ¶
type ConfigIamBindingConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` Expression pulumi.StringInput `pulumi:"expression"` Title pulumi.StringInput `pulumi:"title"` }
func (ConfigIamBindingConditionArgs) ElementType ¶
func (ConfigIamBindingConditionArgs) ElementType() reflect.Type
func (ConfigIamBindingConditionArgs) ToConfigIamBindingConditionOutput ¶
func (i ConfigIamBindingConditionArgs) ToConfigIamBindingConditionOutput() ConfigIamBindingConditionOutput
func (ConfigIamBindingConditionArgs) ToConfigIamBindingConditionOutputWithContext ¶
func (i ConfigIamBindingConditionArgs) ToConfigIamBindingConditionOutputWithContext(ctx context.Context) ConfigIamBindingConditionOutput
func (ConfigIamBindingConditionArgs) ToConfigIamBindingConditionPtrOutput ¶
func (i ConfigIamBindingConditionArgs) ToConfigIamBindingConditionPtrOutput() ConfigIamBindingConditionPtrOutput
func (ConfigIamBindingConditionArgs) ToConfigIamBindingConditionPtrOutputWithContext ¶
func (i ConfigIamBindingConditionArgs) ToConfigIamBindingConditionPtrOutputWithContext(ctx context.Context) ConfigIamBindingConditionPtrOutput
type ConfigIamBindingConditionInput ¶
type ConfigIamBindingConditionInput interface { pulumi.Input ToConfigIamBindingConditionOutput() ConfigIamBindingConditionOutput ToConfigIamBindingConditionOutputWithContext(context.Context) ConfigIamBindingConditionOutput }
ConfigIamBindingConditionInput is an input type that accepts ConfigIamBindingConditionArgs and ConfigIamBindingConditionOutput values. You can construct a concrete instance of `ConfigIamBindingConditionInput` via:
ConfigIamBindingConditionArgs{...}
type ConfigIamBindingConditionOutput ¶
type ConfigIamBindingConditionOutput struct{ *pulumi.OutputState }
func (ConfigIamBindingConditionOutput) Description ¶
func (o ConfigIamBindingConditionOutput) Description() pulumi.StringPtrOutput
func (ConfigIamBindingConditionOutput) ElementType ¶
func (ConfigIamBindingConditionOutput) ElementType() reflect.Type
func (ConfigIamBindingConditionOutput) Expression ¶
func (o ConfigIamBindingConditionOutput) Expression() pulumi.StringOutput
func (ConfigIamBindingConditionOutput) Title ¶
func (o ConfigIamBindingConditionOutput) Title() pulumi.StringOutput
func (ConfigIamBindingConditionOutput) ToConfigIamBindingConditionOutput ¶
func (o ConfigIamBindingConditionOutput) ToConfigIamBindingConditionOutput() ConfigIamBindingConditionOutput
func (ConfigIamBindingConditionOutput) ToConfigIamBindingConditionOutputWithContext ¶
func (o ConfigIamBindingConditionOutput) ToConfigIamBindingConditionOutputWithContext(ctx context.Context) ConfigIamBindingConditionOutput
func (ConfigIamBindingConditionOutput) ToConfigIamBindingConditionPtrOutput ¶
func (o ConfigIamBindingConditionOutput) ToConfigIamBindingConditionPtrOutput() ConfigIamBindingConditionPtrOutput
func (ConfigIamBindingConditionOutput) ToConfigIamBindingConditionPtrOutputWithContext ¶
func (o ConfigIamBindingConditionOutput) ToConfigIamBindingConditionPtrOutputWithContext(ctx context.Context) ConfigIamBindingConditionPtrOutput
type ConfigIamBindingConditionPtrInput ¶
type ConfigIamBindingConditionPtrInput interface { pulumi.Input ToConfigIamBindingConditionPtrOutput() ConfigIamBindingConditionPtrOutput ToConfigIamBindingConditionPtrOutputWithContext(context.Context) ConfigIamBindingConditionPtrOutput }
ConfigIamBindingConditionPtrInput is an input type that accepts ConfigIamBindingConditionArgs, ConfigIamBindingConditionPtr and ConfigIamBindingConditionPtrOutput values. You can construct a concrete instance of `ConfigIamBindingConditionPtrInput` via:
ConfigIamBindingConditionArgs{...} or: nil
func ConfigIamBindingConditionPtr ¶
func ConfigIamBindingConditionPtr(v *ConfigIamBindingConditionArgs) ConfigIamBindingConditionPtrInput
type ConfigIamBindingConditionPtrOutput ¶
type ConfigIamBindingConditionPtrOutput struct{ *pulumi.OutputState }
func (ConfigIamBindingConditionPtrOutput) Description ¶
func (o ConfigIamBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
func (ConfigIamBindingConditionPtrOutput) Elem ¶
func (o ConfigIamBindingConditionPtrOutput) Elem() ConfigIamBindingConditionOutput
func (ConfigIamBindingConditionPtrOutput) ElementType ¶
func (ConfigIamBindingConditionPtrOutput) ElementType() reflect.Type
func (ConfigIamBindingConditionPtrOutput) Expression ¶
func (o ConfigIamBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
func (ConfigIamBindingConditionPtrOutput) Title ¶
func (o ConfigIamBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
func (ConfigIamBindingConditionPtrOutput) ToConfigIamBindingConditionPtrOutput ¶
func (o ConfigIamBindingConditionPtrOutput) ToConfigIamBindingConditionPtrOutput() ConfigIamBindingConditionPtrOutput
func (ConfigIamBindingConditionPtrOutput) ToConfigIamBindingConditionPtrOutputWithContext ¶
func (o ConfigIamBindingConditionPtrOutput) ToConfigIamBindingConditionPtrOutputWithContext(ctx context.Context) ConfigIamBindingConditionPtrOutput
type ConfigIamBindingInput ¶
type ConfigIamBindingInput interface { pulumi.Input ToConfigIamBindingOutput() ConfigIamBindingOutput ToConfigIamBindingOutputWithContext(ctx context.Context) ConfigIamBindingOutput }
type ConfigIamBindingMap ¶
type ConfigIamBindingMap map[string]ConfigIamBindingInput
func (ConfigIamBindingMap) ElementType ¶
func (ConfigIamBindingMap) ElementType() reflect.Type
func (ConfigIamBindingMap) ToConfigIamBindingMapOutput ¶
func (i ConfigIamBindingMap) ToConfigIamBindingMapOutput() ConfigIamBindingMapOutput
func (ConfigIamBindingMap) ToConfigIamBindingMapOutputWithContext ¶
func (i ConfigIamBindingMap) ToConfigIamBindingMapOutputWithContext(ctx context.Context) ConfigIamBindingMapOutput
type ConfigIamBindingMapInput ¶
type ConfigIamBindingMapInput interface { pulumi.Input ToConfigIamBindingMapOutput() ConfigIamBindingMapOutput ToConfigIamBindingMapOutputWithContext(context.Context) ConfigIamBindingMapOutput }
ConfigIamBindingMapInput is an input type that accepts ConfigIamBindingMap and ConfigIamBindingMapOutput values. You can construct a concrete instance of `ConfigIamBindingMapInput` via:
ConfigIamBindingMap{ "key": ConfigIamBindingArgs{...} }
type ConfigIamBindingMapOutput ¶
type ConfigIamBindingMapOutput struct{ *pulumi.OutputState }
func (ConfigIamBindingMapOutput) ElementType ¶
func (ConfigIamBindingMapOutput) ElementType() reflect.Type
func (ConfigIamBindingMapOutput) MapIndex ¶
func (o ConfigIamBindingMapOutput) MapIndex(k pulumi.StringInput) ConfigIamBindingOutput
func (ConfigIamBindingMapOutput) ToConfigIamBindingMapOutput ¶
func (o ConfigIamBindingMapOutput) ToConfigIamBindingMapOutput() ConfigIamBindingMapOutput
func (ConfigIamBindingMapOutput) ToConfigIamBindingMapOutputWithContext ¶
func (o ConfigIamBindingMapOutput) ToConfigIamBindingMapOutputWithContext(ctx context.Context) ConfigIamBindingMapOutput
type ConfigIamBindingOutput ¶
type ConfigIamBindingOutput struct{ *pulumi.OutputState }
func (ConfigIamBindingOutput) Condition ¶
func (o ConfigIamBindingOutput) Condition() ConfigIamBindingConditionPtrOutput
func (ConfigIamBindingOutput) Config ¶
func (o ConfigIamBindingOutput) Config() pulumi.StringOutput
Used to find the parent resource to bind the IAM policy to
func (ConfigIamBindingOutput) ElementType ¶
func (ConfigIamBindingOutput) ElementType() reflect.Type
func (ConfigIamBindingOutput) Etag ¶
func (o ConfigIamBindingOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (ConfigIamBindingOutput) Members ¶
func (o ConfigIamBindingOutput) Members() pulumi.StringArrayOutput
Identities that will be granted the privilege in `role`. Each entry can have one of the following values: * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
func (ConfigIamBindingOutput) Project ¶
func (o ConfigIamBindingOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
func (ConfigIamBindingOutput) Role ¶
func (o ConfigIamBindingOutput) Role() pulumi.StringOutput
The role that should be applied. Only one `runtimeconfig.ConfigIamBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.
func (ConfigIamBindingOutput) ToConfigIamBindingOutput ¶
func (o ConfigIamBindingOutput) ToConfigIamBindingOutput() ConfigIamBindingOutput
func (ConfigIamBindingOutput) ToConfigIamBindingOutputWithContext ¶
func (o ConfigIamBindingOutput) ToConfigIamBindingOutputWithContext(ctx context.Context) ConfigIamBindingOutput
type ConfigIamBindingState ¶
type ConfigIamBindingState struct { Condition ConfigIamBindingConditionPtrInput // Used to find the parent resource to bind the IAM policy to Config pulumi.StringPtrInput // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. // * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" // * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" // * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project" Members pulumi.StringArrayInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `runtimeconfig.ConfigIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringPtrInput }
func (ConfigIamBindingState) ElementType ¶
func (ConfigIamBindingState) ElementType() reflect.Type
type ConfigIamMember ¶
type ConfigIamMember struct { pulumi.CustomResourceState Condition ConfigIamMemberConditionPtrOutput `pulumi:"condition"` // Used to find the parent resource to bind the IAM policy to Config pulumi.StringOutput `pulumi:"config"` // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. // * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" // * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" // * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project" Member pulumi.StringOutput `pulumi:"member"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The role that should be applied. Only one // `runtimeconfig.ConfigIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringOutput `pulumi:"role"` }
## Import
For all import syntaxes, the "resource in question" can take any of the following forms:
* projects/{{project}}/configs/{{config}}
* {{project}}/{{config}}
* {{config}}
Any variables not passed in the import command will be taken from the provider configuration.
Runtime Configurator config IAM resources can be imported using the resource identifiers, role, and member.
IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
```sh $ pulumi import gcp:runtimeconfig/configIamMember:ConfigIamMember editor "projects/{{project}}/configs/{{config}} roles/viewer user:jane@example.com" ```
IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
```sh $ pulumi import gcp:runtimeconfig/configIamMember:ConfigIamMember editor "projects/{{project}}/configs/{{config}} roles/viewer" ```
IAM policy imports use the identifier of the resource in question, e.g.
```sh $ pulumi import gcp:runtimeconfig/configIamMember:ConfigIamMember editor projects/{{project}}/configs/{{config}} ```
-> **Custom Roles** If you're importing a IAM resource with a custom role, make sure to use the
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
func GetConfigIamMember ¶
func GetConfigIamMember(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ConfigIamMemberState, opts ...pulumi.ResourceOption) (*ConfigIamMember, error)
GetConfigIamMember gets an existing ConfigIamMember 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 NewConfigIamMember ¶
func NewConfigIamMember(ctx *pulumi.Context, name string, args *ConfigIamMemberArgs, opts ...pulumi.ResourceOption) (*ConfigIamMember, error)
NewConfigIamMember registers a new resource with the given unique name, arguments, and options.
func (*ConfigIamMember) ElementType ¶
func (*ConfigIamMember) ElementType() reflect.Type
func (*ConfigIamMember) ToConfigIamMemberOutput ¶
func (i *ConfigIamMember) ToConfigIamMemberOutput() ConfigIamMemberOutput
func (*ConfigIamMember) ToConfigIamMemberOutputWithContext ¶
func (i *ConfigIamMember) ToConfigIamMemberOutputWithContext(ctx context.Context) ConfigIamMemberOutput
type ConfigIamMemberArgs ¶
type ConfigIamMemberArgs struct { Condition ConfigIamMemberConditionPtrInput // Used to find the parent resource to bind the IAM policy to Config pulumi.StringInput // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. // * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" // * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" // * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project" Member pulumi.StringInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `runtimeconfig.ConfigIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringInput }
The set of arguments for constructing a ConfigIamMember resource.
func (ConfigIamMemberArgs) ElementType ¶
func (ConfigIamMemberArgs) ElementType() reflect.Type
type ConfigIamMemberArray ¶
type ConfigIamMemberArray []ConfigIamMemberInput
func (ConfigIamMemberArray) ElementType ¶
func (ConfigIamMemberArray) ElementType() reflect.Type
func (ConfigIamMemberArray) ToConfigIamMemberArrayOutput ¶
func (i ConfigIamMemberArray) ToConfigIamMemberArrayOutput() ConfigIamMemberArrayOutput
func (ConfigIamMemberArray) ToConfigIamMemberArrayOutputWithContext ¶
func (i ConfigIamMemberArray) ToConfigIamMemberArrayOutputWithContext(ctx context.Context) ConfigIamMemberArrayOutput
type ConfigIamMemberArrayInput ¶
type ConfigIamMemberArrayInput interface { pulumi.Input ToConfigIamMemberArrayOutput() ConfigIamMemberArrayOutput ToConfigIamMemberArrayOutputWithContext(context.Context) ConfigIamMemberArrayOutput }
ConfigIamMemberArrayInput is an input type that accepts ConfigIamMemberArray and ConfigIamMemberArrayOutput values. You can construct a concrete instance of `ConfigIamMemberArrayInput` via:
ConfigIamMemberArray{ ConfigIamMemberArgs{...} }
type ConfigIamMemberArrayOutput ¶
type ConfigIamMemberArrayOutput struct{ *pulumi.OutputState }
func (ConfigIamMemberArrayOutput) ElementType ¶
func (ConfigIamMemberArrayOutput) ElementType() reflect.Type
func (ConfigIamMemberArrayOutput) Index ¶
func (o ConfigIamMemberArrayOutput) Index(i pulumi.IntInput) ConfigIamMemberOutput
func (ConfigIamMemberArrayOutput) ToConfigIamMemberArrayOutput ¶
func (o ConfigIamMemberArrayOutput) ToConfigIamMemberArrayOutput() ConfigIamMemberArrayOutput
func (ConfigIamMemberArrayOutput) ToConfigIamMemberArrayOutputWithContext ¶
func (o ConfigIamMemberArrayOutput) ToConfigIamMemberArrayOutputWithContext(ctx context.Context) ConfigIamMemberArrayOutput
type ConfigIamMemberConditionArgs ¶
type ConfigIamMemberConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` Expression pulumi.StringInput `pulumi:"expression"` Title pulumi.StringInput `pulumi:"title"` }
func (ConfigIamMemberConditionArgs) ElementType ¶
func (ConfigIamMemberConditionArgs) ElementType() reflect.Type
func (ConfigIamMemberConditionArgs) ToConfigIamMemberConditionOutput ¶
func (i ConfigIamMemberConditionArgs) ToConfigIamMemberConditionOutput() ConfigIamMemberConditionOutput
func (ConfigIamMemberConditionArgs) ToConfigIamMemberConditionOutputWithContext ¶
func (i ConfigIamMemberConditionArgs) ToConfigIamMemberConditionOutputWithContext(ctx context.Context) ConfigIamMemberConditionOutput
func (ConfigIamMemberConditionArgs) ToConfigIamMemberConditionPtrOutput ¶
func (i ConfigIamMemberConditionArgs) ToConfigIamMemberConditionPtrOutput() ConfigIamMemberConditionPtrOutput
func (ConfigIamMemberConditionArgs) ToConfigIamMemberConditionPtrOutputWithContext ¶
func (i ConfigIamMemberConditionArgs) ToConfigIamMemberConditionPtrOutputWithContext(ctx context.Context) ConfigIamMemberConditionPtrOutput
type ConfigIamMemberConditionInput ¶
type ConfigIamMemberConditionInput interface { pulumi.Input ToConfigIamMemberConditionOutput() ConfigIamMemberConditionOutput ToConfigIamMemberConditionOutputWithContext(context.Context) ConfigIamMemberConditionOutput }
ConfigIamMemberConditionInput is an input type that accepts ConfigIamMemberConditionArgs and ConfigIamMemberConditionOutput values. You can construct a concrete instance of `ConfigIamMemberConditionInput` via:
ConfigIamMemberConditionArgs{...}
type ConfigIamMemberConditionOutput ¶
type ConfigIamMemberConditionOutput struct{ *pulumi.OutputState }
func (ConfigIamMemberConditionOutput) Description ¶
func (o ConfigIamMemberConditionOutput) Description() pulumi.StringPtrOutput
func (ConfigIamMemberConditionOutput) ElementType ¶
func (ConfigIamMemberConditionOutput) ElementType() reflect.Type
func (ConfigIamMemberConditionOutput) Expression ¶
func (o ConfigIamMemberConditionOutput) Expression() pulumi.StringOutput
func (ConfigIamMemberConditionOutput) Title ¶
func (o ConfigIamMemberConditionOutput) Title() pulumi.StringOutput
func (ConfigIamMemberConditionOutput) ToConfigIamMemberConditionOutput ¶
func (o ConfigIamMemberConditionOutput) ToConfigIamMemberConditionOutput() ConfigIamMemberConditionOutput
func (ConfigIamMemberConditionOutput) ToConfigIamMemberConditionOutputWithContext ¶
func (o ConfigIamMemberConditionOutput) ToConfigIamMemberConditionOutputWithContext(ctx context.Context) ConfigIamMemberConditionOutput
func (ConfigIamMemberConditionOutput) ToConfigIamMemberConditionPtrOutput ¶
func (o ConfigIamMemberConditionOutput) ToConfigIamMemberConditionPtrOutput() ConfigIamMemberConditionPtrOutput
func (ConfigIamMemberConditionOutput) ToConfigIamMemberConditionPtrOutputWithContext ¶
func (o ConfigIamMemberConditionOutput) ToConfigIamMemberConditionPtrOutputWithContext(ctx context.Context) ConfigIamMemberConditionPtrOutput
type ConfigIamMemberConditionPtrInput ¶
type ConfigIamMemberConditionPtrInput interface { pulumi.Input ToConfigIamMemberConditionPtrOutput() ConfigIamMemberConditionPtrOutput ToConfigIamMemberConditionPtrOutputWithContext(context.Context) ConfigIamMemberConditionPtrOutput }
ConfigIamMemberConditionPtrInput is an input type that accepts ConfigIamMemberConditionArgs, ConfigIamMemberConditionPtr and ConfigIamMemberConditionPtrOutput values. You can construct a concrete instance of `ConfigIamMemberConditionPtrInput` via:
ConfigIamMemberConditionArgs{...} or: nil
func ConfigIamMemberConditionPtr ¶
func ConfigIamMemberConditionPtr(v *ConfigIamMemberConditionArgs) ConfigIamMemberConditionPtrInput
type ConfigIamMemberConditionPtrOutput ¶
type ConfigIamMemberConditionPtrOutput struct{ *pulumi.OutputState }
func (ConfigIamMemberConditionPtrOutput) Description ¶
func (o ConfigIamMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
func (ConfigIamMemberConditionPtrOutput) Elem ¶
func (o ConfigIamMemberConditionPtrOutput) Elem() ConfigIamMemberConditionOutput
func (ConfigIamMemberConditionPtrOutput) ElementType ¶
func (ConfigIamMemberConditionPtrOutput) ElementType() reflect.Type
func (ConfigIamMemberConditionPtrOutput) Expression ¶
func (o ConfigIamMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
func (ConfigIamMemberConditionPtrOutput) Title ¶
func (o ConfigIamMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
func (ConfigIamMemberConditionPtrOutput) ToConfigIamMemberConditionPtrOutput ¶
func (o ConfigIamMemberConditionPtrOutput) ToConfigIamMemberConditionPtrOutput() ConfigIamMemberConditionPtrOutput
func (ConfigIamMemberConditionPtrOutput) ToConfigIamMemberConditionPtrOutputWithContext ¶
func (o ConfigIamMemberConditionPtrOutput) ToConfigIamMemberConditionPtrOutputWithContext(ctx context.Context) ConfigIamMemberConditionPtrOutput
type ConfigIamMemberInput ¶
type ConfigIamMemberInput interface { pulumi.Input ToConfigIamMemberOutput() ConfigIamMemberOutput ToConfigIamMemberOutputWithContext(ctx context.Context) ConfigIamMemberOutput }
type ConfigIamMemberMap ¶
type ConfigIamMemberMap map[string]ConfigIamMemberInput
func (ConfigIamMemberMap) ElementType ¶
func (ConfigIamMemberMap) ElementType() reflect.Type
func (ConfigIamMemberMap) ToConfigIamMemberMapOutput ¶
func (i ConfigIamMemberMap) ToConfigIamMemberMapOutput() ConfigIamMemberMapOutput
func (ConfigIamMemberMap) ToConfigIamMemberMapOutputWithContext ¶
func (i ConfigIamMemberMap) ToConfigIamMemberMapOutputWithContext(ctx context.Context) ConfigIamMemberMapOutput
type ConfigIamMemberMapInput ¶
type ConfigIamMemberMapInput interface { pulumi.Input ToConfigIamMemberMapOutput() ConfigIamMemberMapOutput ToConfigIamMemberMapOutputWithContext(context.Context) ConfigIamMemberMapOutput }
ConfigIamMemberMapInput is an input type that accepts ConfigIamMemberMap and ConfigIamMemberMapOutput values. You can construct a concrete instance of `ConfigIamMemberMapInput` via:
ConfigIamMemberMap{ "key": ConfigIamMemberArgs{...} }
type ConfigIamMemberMapOutput ¶
type ConfigIamMemberMapOutput struct{ *pulumi.OutputState }
func (ConfigIamMemberMapOutput) ElementType ¶
func (ConfigIamMemberMapOutput) ElementType() reflect.Type
func (ConfigIamMemberMapOutput) MapIndex ¶
func (o ConfigIamMemberMapOutput) MapIndex(k pulumi.StringInput) ConfigIamMemberOutput
func (ConfigIamMemberMapOutput) ToConfigIamMemberMapOutput ¶
func (o ConfigIamMemberMapOutput) ToConfigIamMemberMapOutput() ConfigIamMemberMapOutput
func (ConfigIamMemberMapOutput) ToConfigIamMemberMapOutputWithContext ¶
func (o ConfigIamMemberMapOutput) ToConfigIamMemberMapOutputWithContext(ctx context.Context) ConfigIamMemberMapOutput
type ConfigIamMemberOutput ¶
type ConfigIamMemberOutput struct{ *pulumi.OutputState }
func (ConfigIamMemberOutput) Condition ¶
func (o ConfigIamMemberOutput) Condition() ConfigIamMemberConditionPtrOutput
func (ConfigIamMemberOutput) Config ¶
func (o ConfigIamMemberOutput) Config() pulumi.StringOutput
Used to find the parent resource to bind the IAM policy to
func (ConfigIamMemberOutput) ElementType ¶
func (ConfigIamMemberOutput) ElementType() reflect.Type
func (ConfigIamMemberOutput) Etag ¶
func (o ConfigIamMemberOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (ConfigIamMemberOutput) Member ¶
func (o ConfigIamMemberOutput) Member() pulumi.StringOutput
Identities that will be granted the privilege in `role`. Each entry can have one of the following values: * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
func (ConfigIamMemberOutput) Project ¶
func (o ConfigIamMemberOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
func (ConfigIamMemberOutput) Role ¶
func (o ConfigIamMemberOutput) Role() pulumi.StringOutput
The role that should be applied. Only one `runtimeconfig.ConfigIamBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.
func (ConfigIamMemberOutput) ToConfigIamMemberOutput ¶
func (o ConfigIamMemberOutput) ToConfigIamMemberOutput() ConfigIamMemberOutput
func (ConfigIamMemberOutput) ToConfigIamMemberOutputWithContext ¶
func (o ConfigIamMemberOutput) ToConfigIamMemberOutputWithContext(ctx context.Context) ConfigIamMemberOutput
type ConfigIamMemberState ¶
type ConfigIamMemberState struct { Condition ConfigIamMemberConditionPtrInput // Used to find the parent resource to bind the IAM policy to Config pulumi.StringPtrInput // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. // * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" // * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" // * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project" Member pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `runtimeconfig.ConfigIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringPtrInput }
func (ConfigIamMemberState) ElementType ¶
func (ConfigIamMemberState) ElementType() reflect.Type
type ConfigIamPolicy ¶
type ConfigIamPolicy struct { pulumi.CustomResourceState // Used to find the parent resource to bind the IAM policy to Config pulumi.StringOutput `pulumi:"config"` // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringOutput `pulumi:"policyData"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` }
## Import
For all import syntaxes, the "resource in question" can take any of the following forms:
* projects/{{project}}/configs/{{config}}
* {{project}}/{{config}}
* {{config}}
Any variables not passed in the import command will be taken from the provider configuration.
Runtime Configurator config IAM resources can be imported using the resource identifiers, role, and member.
IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
```sh $ pulumi import gcp:runtimeconfig/configIamPolicy:ConfigIamPolicy editor "projects/{{project}}/configs/{{config}} roles/viewer user:jane@example.com" ```
IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
```sh $ pulumi import gcp:runtimeconfig/configIamPolicy:ConfigIamPolicy editor "projects/{{project}}/configs/{{config}} roles/viewer" ```
IAM policy imports use the identifier of the resource in question, e.g.
```sh $ pulumi import gcp:runtimeconfig/configIamPolicy:ConfigIamPolicy editor projects/{{project}}/configs/{{config}} ```
-> **Custom Roles** If you're importing a IAM resource with a custom role, make sure to use the
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
func GetConfigIamPolicy ¶
func GetConfigIamPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ConfigIamPolicyState, opts ...pulumi.ResourceOption) (*ConfigIamPolicy, error)
GetConfigIamPolicy gets an existing ConfigIamPolicy 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 NewConfigIamPolicy ¶
func NewConfigIamPolicy(ctx *pulumi.Context, name string, args *ConfigIamPolicyArgs, opts ...pulumi.ResourceOption) (*ConfigIamPolicy, error)
NewConfigIamPolicy registers a new resource with the given unique name, arguments, and options.
func (*ConfigIamPolicy) ElementType ¶
func (*ConfigIamPolicy) ElementType() reflect.Type
func (*ConfigIamPolicy) ToConfigIamPolicyOutput ¶
func (i *ConfigIamPolicy) ToConfigIamPolicyOutput() ConfigIamPolicyOutput
func (*ConfigIamPolicy) ToConfigIamPolicyOutputWithContext ¶
func (i *ConfigIamPolicy) ToConfigIamPolicyOutputWithContext(ctx context.Context) ConfigIamPolicyOutput
type ConfigIamPolicyArgs ¶
type ConfigIamPolicyArgs struct { // Used to find the parent resource to bind the IAM policy to Config pulumi.StringInput // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput }
The set of arguments for constructing a ConfigIamPolicy resource.
func (ConfigIamPolicyArgs) ElementType ¶
func (ConfigIamPolicyArgs) ElementType() reflect.Type
type ConfigIamPolicyArray ¶
type ConfigIamPolicyArray []ConfigIamPolicyInput
func (ConfigIamPolicyArray) ElementType ¶
func (ConfigIamPolicyArray) ElementType() reflect.Type
func (ConfigIamPolicyArray) ToConfigIamPolicyArrayOutput ¶
func (i ConfigIamPolicyArray) ToConfigIamPolicyArrayOutput() ConfigIamPolicyArrayOutput
func (ConfigIamPolicyArray) ToConfigIamPolicyArrayOutputWithContext ¶
func (i ConfigIamPolicyArray) ToConfigIamPolicyArrayOutputWithContext(ctx context.Context) ConfigIamPolicyArrayOutput
type ConfigIamPolicyArrayInput ¶
type ConfigIamPolicyArrayInput interface { pulumi.Input ToConfigIamPolicyArrayOutput() ConfigIamPolicyArrayOutput ToConfigIamPolicyArrayOutputWithContext(context.Context) ConfigIamPolicyArrayOutput }
ConfigIamPolicyArrayInput is an input type that accepts ConfigIamPolicyArray and ConfigIamPolicyArrayOutput values. You can construct a concrete instance of `ConfigIamPolicyArrayInput` via:
ConfigIamPolicyArray{ ConfigIamPolicyArgs{...} }
type ConfigIamPolicyArrayOutput ¶
type ConfigIamPolicyArrayOutput struct{ *pulumi.OutputState }
func (ConfigIamPolicyArrayOutput) ElementType ¶
func (ConfigIamPolicyArrayOutput) ElementType() reflect.Type
func (ConfigIamPolicyArrayOutput) Index ¶
func (o ConfigIamPolicyArrayOutput) Index(i pulumi.IntInput) ConfigIamPolicyOutput
func (ConfigIamPolicyArrayOutput) ToConfigIamPolicyArrayOutput ¶
func (o ConfigIamPolicyArrayOutput) ToConfigIamPolicyArrayOutput() ConfigIamPolicyArrayOutput
func (ConfigIamPolicyArrayOutput) ToConfigIamPolicyArrayOutputWithContext ¶
func (o ConfigIamPolicyArrayOutput) ToConfigIamPolicyArrayOutputWithContext(ctx context.Context) ConfigIamPolicyArrayOutput
type ConfigIamPolicyInput ¶
type ConfigIamPolicyInput interface { pulumi.Input ToConfigIamPolicyOutput() ConfigIamPolicyOutput ToConfigIamPolicyOutputWithContext(ctx context.Context) ConfigIamPolicyOutput }
type ConfigIamPolicyMap ¶
type ConfigIamPolicyMap map[string]ConfigIamPolicyInput
func (ConfigIamPolicyMap) ElementType ¶
func (ConfigIamPolicyMap) ElementType() reflect.Type
func (ConfigIamPolicyMap) ToConfigIamPolicyMapOutput ¶
func (i ConfigIamPolicyMap) ToConfigIamPolicyMapOutput() ConfigIamPolicyMapOutput
func (ConfigIamPolicyMap) ToConfigIamPolicyMapOutputWithContext ¶
func (i ConfigIamPolicyMap) ToConfigIamPolicyMapOutputWithContext(ctx context.Context) ConfigIamPolicyMapOutput
type ConfigIamPolicyMapInput ¶
type ConfigIamPolicyMapInput interface { pulumi.Input ToConfigIamPolicyMapOutput() ConfigIamPolicyMapOutput ToConfigIamPolicyMapOutputWithContext(context.Context) ConfigIamPolicyMapOutput }
ConfigIamPolicyMapInput is an input type that accepts ConfigIamPolicyMap and ConfigIamPolicyMapOutput values. You can construct a concrete instance of `ConfigIamPolicyMapInput` via:
ConfigIamPolicyMap{ "key": ConfigIamPolicyArgs{...} }
type ConfigIamPolicyMapOutput ¶
type ConfigIamPolicyMapOutput struct{ *pulumi.OutputState }
func (ConfigIamPolicyMapOutput) ElementType ¶
func (ConfigIamPolicyMapOutput) ElementType() reflect.Type
func (ConfigIamPolicyMapOutput) MapIndex ¶
func (o ConfigIamPolicyMapOutput) MapIndex(k pulumi.StringInput) ConfigIamPolicyOutput
func (ConfigIamPolicyMapOutput) ToConfigIamPolicyMapOutput ¶
func (o ConfigIamPolicyMapOutput) ToConfigIamPolicyMapOutput() ConfigIamPolicyMapOutput
func (ConfigIamPolicyMapOutput) ToConfigIamPolicyMapOutputWithContext ¶
func (o ConfigIamPolicyMapOutput) ToConfigIamPolicyMapOutputWithContext(ctx context.Context) ConfigIamPolicyMapOutput
type ConfigIamPolicyOutput ¶
type ConfigIamPolicyOutput struct{ *pulumi.OutputState }
func (ConfigIamPolicyOutput) Config ¶
func (o ConfigIamPolicyOutput) Config() pulumi.StringOutput
Used to find the parent resource to bind the IAM policy to
func (ConfigIamPolicyOutput) ElementType ¶
func (ConfigIamPolicyOutput) ElementType() reflect.Type
func (ConfigIamPolicyOutput) Etag ¶
func (o ConfigIamPolicyOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (ConfigIamPolicyOutput) PolicyData ¶
func (o ConfigIamPolicyOutput) PolicyData() pulumi.StringOutput
The policy data generated by a `organizations.getIAMPolicy` data source.
func (ConfigIamPolicyOutput) Project ¶
func (o ConfigIamPolicyOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
func (ConfigIamPolicyOutput) ToConfigIamPolicyOutput ¶
func (o ConfigIamPolicyOutput) ToConfigIamPolicyOutput() ConfigIamPolicyOutput
func (ConfigIamPolicyOutput) ToConfigIamPolicyOutputWithContext ¶
func (o ConfigIamPolicyOutput) ToConfigIamPolicyOutputWithContext(ctx context.Context) ConfigIamPolicyOutput
type ConfigIamPolicyState ¶
type ConfigIamPolicyState struct { // Used to find the parent resource to bind the IAM policy to Config pulumi.StringPtrInput // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput }
func (ConfigIamPolicyState) ElementType ¶
func (ConfigIamPolicyState) ElementType() reflect.Type
type ConfigInput ¶
type ConfigInput interface { pulumi.Input ToConfigOutput() ConfigOutput ToConfigOutputWithContext(ctx context.Context) ConfigOutput }
type ConfigMap ¶
type ConfigMap map[string]ConfigInput
func (ConfigMap) ElementType ¶
func (ConfigMap) ToConfigMapOutput ¶
func (i ConfigMap) ToConfigMapOutput() ConfigMapOutput
func (ConfigMap) ToConfigMapOutputWithContext ¶
func (i ConfigMap) ToConfigMapOutputWithContext(ctx context.Context) ConfigMapOutput
type ConfigMapInput ¶
type ConfigMapInput interface { pulumi.Input ToConfigMapOutput() ConfigMapOutput ToConfigMapOutputWithContext(context.Context) ConfigMapOutput }
ConfigMapInput is an input type that accepts ConfigMap and ConfigMapOutput values. You can construct a concrete instance of `ConfigMapInput` via:
ConfigMap{ "key": ConfigArgs{...} }
type ConfigMapOutput ¶
type ConfigMapOutput struct{ *pulumi.OutputState }
func (ConfigMapOutput) ElementType ¶
func (ConfigMapOutput) ElementType() reflect.Type
func (ConfigMapOutput) MapIndex ¶
func (o ConfigMapOutput) MapIndex(k pulumi.StringInput) ConfigOutput
func (ConfigMapOutput) ToConfigMapOutput ¶
func (o ConfigMapOutput) ToConfigMapOutput() ConfigMapOutput
func (ConfigMapOutput) ToConfigMapOutputWithContext ¶
func (o ConfigMapOutput) ToConfigMapOutputWithContext(ctx context.Context) ConfigMapOutput
type ConfigOutput ¶
type ConfigOutput struct{ *pulumi.OutputState }
func (ConfigOutput) Description ¶
func (o ConfigOutput) Description() pulumi.StringPtrOutput
The description to associate with the runtime config.
func (ConfigOutput) ElementType ¶
func (ConfigOutput) ElementType() reflect.Type
func (ConfigOutput) Name ¶
func (o ConfigOutput) Name() pulumi.StringOutput
The name of the runtime config.
***
func (ConfigOutput) Project ¶
func (o ConfigOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (ConfigOutput) ToConfigOutput ¶
func (o ConfigOutput) ToConfigOutput() ConfigOutput
func (ConfigOutput) ToConfigOutputWithContext ¶
func (o ConfigOutput) ToConfigOutputWithContext(ctx context.Context) ConfigOutput
type ConfigState ¶
type ConfigState struct { // The description to associate with the runtime // config. Description pulumi.StringPtrInput // The name of the runtime config. // // *** Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. If it // is not provided, the provider project is used. Project pulumi.StringPtrInput }
func (ConfigState) ElementType ¶
func (ConfigState) ElementType() reflect.Type
type LookupConfigArgs ¶
type LookupConfigArgs struct { // The name of the Runtime Configurator configuration. // // *** Name string `pulumi:"name"` // The project in which the resource belongs. If it // is not provided, the provider project is used. Project *string `pulumi:"project"` }
A collection of arguments for invoking getConfig.
type LookupConfigIamPolicyArgs ¶
type LookupConfigIamPolicyArgs struct { // Used to find the parent resource to bind the IAM policy to Config string `pulumi:"config"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project *string `pulumi:"project"` }
A collection of arguments for invoking getConfigIamPolicy.
type LookupConfigIamPolicyOutputArgs ¶
type LookupConfigIamPolicyOutputArgs struct { // Used to find the parent resource to bind the IAM policy to Config pulumi.StringInput `pulumi:"config"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput `pulumi:"project"` }
A collection of arguments for invoking getConfigIamPolicy.
func (LookupConfigIamPolicyOutputArgs) ElementType ¶
func (LookupConfigIamPolicyOutputArgs) ElementType() reflect.Type
type LookupConfigIamPolicyResult ¶
type LookupConfigIamPolicyResult struct { Config string `pulumi:"config"` // (Computed) The etag of the IAM policy. Etag string `pulumi:"etag"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // (Required only by `runtimeconfig.ConfigIamPolicy`) The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData string `pulumi:"policyData"` Project string `pulumi:"project"` }
A collection of values returned by getConfigIamPolicy.
func LookupConfigIamPolicy ¶
func LookupConfigIamPolicy(ctx *pulumi.Context, args *LookupConfigIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupConfigIamPolicyResult, error)
type LookupConfigIamPolicyResultOutput ¶
type LookupConfigIamPolicyResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getConfigIamPolicy.
func LookupConfigIamPolicyOutput ¶
func LookupConfigIamPolicyOutput(ctx *pulumi.Context, args LookupConfigIamPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupConfigIamPolicyResultOutput
func (LookupConfigIamPolicyResultOutput) Config ¶
func (o LookupConfigIamPolicyResultOutput) Config() pulumi.StringOutput
func (LookupConfigIamPolicyResultOutput) ElementType ¶
func (LookupConfigIamPolicyResultOutput) ElementType() reflect.Type
func (LookupConfigIamPolicyResultOutput) Etag ¶
func (o LookupConfigIamPolicyResultOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (LookupConfigIamPolicyResultOutput) Id ¶
func (o LookupConfigIamPolicyResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupConfigIamPolicyResultOutput) PolicyData ¶
func (o LookupConfigIamPolicyResultOutput) PolicyData() pulumi.StringOutput
(Required only by `runtimeconfig.ConfigIamPolicy`) The policy data generated by a `organizations.getIAMPolicy` data source.
func (LookupConfigIamPolicyResultOutput) Project ¶
func (o LookupConfigIamPolicyResultOutput) Project() pulumi.StringOutput
func (LookupConfigIamPolicyResultOutput) ToLookupConfigIamPolicyResultOutput ¶
func (o LookupConfigIamPolicyResultOutput) ToLookupConfigIamPolicyResultOutput() LookupConfigIamPolicyResultOutput
func (LookupConfigIamPolicyResultOutput) ToLookupConfigIamPolicyResultOutputWithContext ¶
func (o LookupConfigIamPolicyResultOutput) ToLookupConfigIamPolicyResultOutputWithContext(ctx context.Context) LookupConfigIamPolicyResultOutput
type LookupConfigOutputArgs ¶
type LookupConfigOutputArgs struct { // The name of the Runtime Configurator configuration. // // *** Name pulumi.StringInput `pulumi:"name"` // The project in which the resource belongs. If it // is not provided, the provider project is used. Project pulumi.StringPtrInput `pulumi:"project"` }
A collection of arguments for invoking getConfig.
func (LookupConfigOutputArgs) ElementType ¶
func (LookupConfigOutputArgs) ElementType() reflect.Type
type LookupConfigResult ¶
type LookupConfigResult struct { Description string `pulumi:"description"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` Project *string `pulumi:"project"` }
A collection of values returned by getConfig.
func LookupConfig ¶
func LookupConfig(ctx *pulumi.Context, args *LookupConfigArgs, opts ...pulumi.InvokeOption) (*LookupConfigResult, error)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/runtimeconfig" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := runtimeconfig.LookupConfig(ctx, &runtimeconfig.LookupConfigArgs{ Name: "my-service", }, nil) if err != nil { return err } return nil }) }
```
type LookupConfigResultOutput ¶
type LookupConfigResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getConfig.
func LookupConfigOutput ¶
func LookupConfigOutput(ctx *pulumi.Context, args LookupConfigOutputArgs, opts ...pulumi.InvokeOption) LookupConfigResultOutput
func (LookupConfigResultOutput) Description ¶
func (o LookupConfigResultOutput) Description() pulumi.StringOutput
func (LookupConfigResultOutput) ElementType ¶
func (LookupConfigResultOutput) ElementType() reflect.Type
func (LookupConfigResultOutput) Id ¶
func (o LookupConfigResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupConfigResultOutput) Name ¶
func (o LookupConfigResultOutput) Name() pulumi.StringOutput
func (LookupConfigResultOutput) Project ¶
func (o LookupConfigResultOutput) Project() pulumi.StringPtrOutput
func (LookupConfigResultOutput) ToLookupConfigResultOutput ¶
func (o LookupConfigResultOutput) ToLookupConfigResultOutput() LookupConfigResultOutput
func (LookupConfigResultOutput) ToLookupConfigResultOutputWithContext ¶
func (o LookupConfigResultOutput) ToLookupConfigResultOutputWithContext(ctx context.Context) LookupConfigResultOutput
type LookupVariableArgs ¶
type LookupVariableArgs struct { // The name of the Runtime Configurator configuration. Name string `pulumi:"name"` // The name of the RuntimeConfig resource containing this variable. // // *** Parent string `pulumi:"parent"` // The project in which the resource belongs. If it // is not provided, the provider project is used. Project *string `pulumi:"project"` }
A collection of arguments for invoking getVariable.
type LookupVariableOutputArgs ¶
type LookupVariableOutputArgs struct { // The name of the Runtime Configurator configuration. Name pulumi.StringInput `pulumi:"name"` // The name of the RuntimeConfig resource containing this variable. // // *** Parent pulumi.StringInput `pulumi:"parent"` // The project in which the resource belongs. If it // is not provided, the provider project is used. Project pulumi.StringPtrInput `pulumi:"project"` }
A collection of arguments for invoking getVariable.
func (LookupVariableOutputArgs) ElementType ¶
func (LookupVariableOutputArgs) ElementType() reflect.Type
type LookupVariableResult ¶
type LookupVariableResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` Parent string `pulumi:"parent"` Project *string `pulumi:"project"` Text string `pulumi:"text"` UpdateTime string `pulumi:"updateTime"` Value string `pulumi:"value"` }
A collection of values returned by getVariable.
func LookupVariable ¶
func LookupVariable(ctx *pulumi.Context, args *LookupVariableArgs, opts ...pulumi.InvokeOption) (*LookupVariableResult, error)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/runtimeconfig" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := runtimeconfig.LookupVariable(ctx, &runtimeconfig.LookupVariableArgs{ Parent: "my-service", Name: "prod-variables/hostname", }, nil) if err != nil { return err } return nil }) }
```
type LookupVariableResultOutput ¶
type LookupVariableResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getVariable.
func LookupVariableOutput ¶
func LookupVariableOutput(ctx *pulumi.Context, args LookupVariableOutputArgs, opts ...pulumi.InvokeOption) LookupVariableResultOutput
func (LookupVariableResultOutput) ElementType ¶
func (LookupVariableResultOutput) ElementType() reflect.Type
func (LookupVariableResultOutput) Id ¶
func (o LookupVariableResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupVariableResultOutput) Name ¶
func (o LookupVariableResultOutput) Name() pulumi.StringOutput
func (LookupVariableResultOutput) Parent ¶
func (o LookupVariableResultOutput) Parent() pulumi.StringOutput
func (LookupVariableResultOutput) Project ¶
func (o LookupVariableResultOutput) Project() pulumi.StringPtrOutput
func (LookupVariableResultOutput) Text ¶
func (o LookupVariableResultOutput) Text() pulumi.StringOutput
func (LookupVariableResultOutput) ToLookupVariableResultOutput ¶
func (o LookupVariableResultOutput) ToLookupVariableResultOutput() LookupVariableResultOutput
func (LookupVariableResultOutput) ToLookupVariableResultOutputWithContext ¶
func (o LookupVariableResultOutput) ToLookupVariableResultOutputWithContext(ctx context.Context) LookupVariableResultOutput
func (LookupVariableResultOutput) UpdateTime ¶
func (o LookupVariableResultOutput) UpdateTime() pulumi.StringOutput
func (LookupVariableResultOutput) Value ¶
func (o LookupVariableResultOutput) Value() pulumi.StringOutput
type Variable ¶
type Variable struct { pulumi.CustomResourceState // The name of the variable to manage. Note that variable // names can be hierarchical using slashes (e.g. "prod-variables/hostname"). Name pulumi.StringOutput `pulumi:"name"` // The name of the RuntimeConfig resource containing this // variable. Parent pulumi.StringOutput `pulumi:"parent"` // The ID of the project in which the resource belongs. If it // is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // or `value` - (Required) The content to associate with the variable. // Exactly one of `text` or `variable` must be specified. If `text` is specified, // it must be a valid UTF-8 string and less than 4096 bytes in length. If `value` // is specified, it must be base64 encoded and less than 4096 bytes in length. // // *** Text pulumi.StringPtrOutput `pulumi:"text"` // (Computed) The timestamp in RFC3339 UTC "Zulu" format, // accurate to nanoseconds, representing when the variable was last updated. // Example: "2016-10-09T12:33:37.578138407Z". UpdateTime pulumi.StringOutput `pulumi:"updateTime"` Value pulumi.StringPtrOutput `pulumi:"value"` }
## Example Usage
Example creating a RuntimeConfig variable.
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/runtimeconfig" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := runtimeconfig.NewConfig(ctx, "my-runtime-config", &runtimeconfig.ConfigArgs{ Name: pulumi.String("my-service-runtime-config"), Description: pulumi.String("Runtime configuration values for my service"), }) if err != nil { return err } _, err = runtimeconfig.NewVariable(ctx, "environment", &runtimeconfig.VariableArgs{ Parent: my_runtime_config.Name, Name: pulumi.String("prod-variables/hostname"), Text: pulumi.String("example.com"), }) if err != nil { return err } return nil }) }
```
You can also encode binary content using the `value` argument instead. The value must be base64 encoded.
Example of using the `value` argument.
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/runtimeconfig" "github.com/pulumi/pulumi-std/sdk/go/std" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := runtimeconfig.NewConfig(ctx, "my-runtime-config", &runtimeconfig.ConfigArgs{ Name: pulumi.String("my-service-runtime-config"), Description: pulumi.String("Runtime configuration values for my service"), }) if err != nil { return err } invokeFilebase64, err := std.Filebase64(ctx, &std.Filebase64Args{ Input: "my-encrypted-secret.dat", }, nil) if err != nil { return err } _, err = runtimeconfig.NewVariable(ctx, "my-secret", &runtimeconfig.VariableArgs{ Parent: my_runtime_config.Name, Name: pulumi.String("secret"), Value: pulumi.String(invokeFilebase64.Result), }) if err != nil { return err } return nil }) }
```
## Import
Runtime Config Variables can be imported using the `name` or full variable name, e.g.
* `projects/my-gcp-project/configs/{{config_id}}/variables/{{name}}`
* `{{config_id}}/{{name}}`
When using the `pulumi import` command, Runtime Config Variables can be imported using one of the formats above. For example:
```sh $ pulumi import gcp:runtimeconfig/variable:Variable default projects/my-gcp-project/configs/{{config_id}}/variables/{{name}} ```
```sh $ pulumi import gcp:runtimeconfig/variable:Variable default {{config_id}}/{{name}} ```
When importing using only the name, the provider project must be set.
func GetVariable ¶
func GetVariable(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VariableState, opts ...pulumi.ResourceOption) (*Variable, error)
GetVariable gets an existing Variable 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 NewVariable ¶
func NewVariable(ctx *pulumi.Context, name string, args *VariableArgs, opts ...pulumi.ResourceOption) (*Variable, error)
NewVariable registers a new resource with the given unique name, arguments, and options.
func (*Variable) ElementType ¶
func (*Variable) ToVariableOutput ¶
func (i *Variable) ToVariableOutput() VariableOutput
func (*Variable) ToVariableOutputWithContext ¶
func (i *Variable) ToVariableOutputWithContext(ctx context.Context) VariableOutput
type VariableArgs ¶
type VariableArgs struct { // The name of the variable to manage. Note that variable // names can be hierarchical using slashes (e.g. "prod-variables/hostname"). Name pulumi.StringPtrInput // The name of the RuntimeConfig resource containing this // variable. Parent pulumi.StringInput // The ID of the project in which the resource belongs. If it // is not provided, the provider project is used. Project pulumi.StringPtrInput // or `value` - (Required) The content to associate with the variable. // Exactly one of `text` or `variable` must be specified. If `text` is specified, // it must be a valid UTF-8 string and less than 4096 bytes in length. If `value` // is specified, it must be base64 encoded and less than 4096 bytes in length. // // *** Text pulumi.StringPtrInput Value pulumi.StringPtrInput }
The set of arguments for constructing a Variable resource.
func (VariableArgs) ElementType ¶
func (VariableArgs) ElementType() reflect.Type
type VariableArray ¶
type VariableArray []VariableInput
func (VariableArray) ElementType ¶
func (VariableArray) ElementType() reflect.Type
func (VariableArray) ToVariableArrayOutput ¶
func (i VariableArray) ToVariableArrayOutput() VariableArrayOutput
func (VariableArray) ToVariableArrayOutputWithContext ¶
func (i VariableArray) ToVariableArrayOutputWithContext(ctx context.Context) VariableArrayOutput
type VariableArrayInput ¶
type VariableArrayInput interface { pulumi.Input ToVariableArrayOutput() VariableArrayOutput ToVariableArrayOutputWithContext(context.Context) VariableArrayOutput }
VariableArrayInput is an input type that accepts VariableArray and VariableArrayOutput values. You can construct a concrete instance of `VariableArrayInput` via:
VariableArray{ VariableArgs{...} }
type VariableArrayOutput ¶
type VariableArrayOutput struct{ *pulumi.OutputState }
func (VariableArrayOutput) ElementType ¶
func (VariableArrayOutput) ElementType() reflect.Type
func (VariableArrayOutput) Index ¶
func (o VariableArrayOutput) Index(i pulumi.IntInput) VariableOutput
func (VariableArrayOutput) ToVariableArrayOutput ¶
func (o VariableArrayOutput) ToVariableArrayOutput() VariableArrayOutput
func (VariableArrayOutput) ToVariableArrayOutputWithContext ¶
func (o VariableArrayOutput) ToVariableArrayOutputWithContext(ctx context.Context) VariableArrayOutput
type VariableInput ¶
type VariableInput interface { pulumi.Input ToVariableOutput() VariableOutput ToVariableOutputWithContext(ctx context.Context) VariableOutput }
type VariableMap ¶
type VariableMap map[string]VariableInput
func (VariableMap) ElementType ¶
func (VariableMap) ElementType() reflect.Type
func (VariableMap) ToVariableMapOutput ¶
func (i VariableMap) ToVariableMapOutput() VariableMapOutput
func (VariableMap) ToVariableMapOutputWithContext ¶
func (i VariableMap) ToVariableMapOutputWithContext(ctx context.Context) VariableMapOutput
type VariableMapInput ¶
type VariableMapInput interface { pulumi.Input ToVariableMapOutput() VariableMapOutput ToVariableMapOutputWithContext(context.Context) VariableMapOutput }
VariableMapInput is an input type that accepts VariableMap and VariableMapOutput values. You can construct a concrete instance of `VariableMapInput` via:
VariableMap{ "key": VariableArgs{...} }
type VariableMapOutput ¶
type VariableMapOutput struct{ *pulumi.OutputState }
func (VariableMapOutput) ElementType ¶
func (VariableMapOutput) ElementType() reflect.Type
func (VariableMapOutput) MapIndex ¶
func (o VariableMapOutput) MapIndex(k pulumi.StringInput) VariableOutput
func (VariableMapOutput) ToVariableMapOutput ¶
func (o VariableMapOutput) ToVariableMapOutput() VariableMapOutput
func (VariableMapOutput) ToVariableMapOutputWithContext ¶
func (o VariableMapOutput) ToVariableMapOutputWithContext(ctx context.Context) VariableMapOutput
type VariableOutput ¶
type VariableOutput struct{ *pulumi.OutputState }
func (VariableOutput) ElementType ¶
func (VariableOutput) ElementType() reflect.Type
func (VariableOutput) Name ¶
func (o VariableOutput) Name() pulumi.StringOutput
The name of the variable to manage. Note that variable names can be hierarchical using slashes (e.g. "prod-variables/hostname").
func (VariableOutput) Parent ¶
func (o VariableOutput) Parent() pulumi.StringOutput
The name of the RuntimeConfig resource containing this variable.
func (VariableOutput) Project ¶
func (o VariableOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (VariableOutput) Text ¶
func (o VariableOutput) Text() pulumi.StringPtrOutput
or `value` - (Required) The content to associate with the variable. Exactly one of `text` or `variable` must be specified. If `text` is specified, it must be a valid UTF-8 string and less than 4096 bytes in length. If `value` is specified, it must be base64 encoded and less than 4096 bytes in length.
***
func (VariableOutput) ToVariableOutput ¶
func (o VariableOutput) ToVariableOutput() VariableOutput
func (VariableOutput) ToVariableOutputWithContext ¶
func (o VariableOutput) ToVariableOutputWithContext(ctx context.Context) VariableOutput
func (VariableOutput) UpdateTime ¶
func (o VariableOutput) UpdateTime() pulumi.StringOutput
(Computed) The timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds, representing when the variable was last updated. Example: "2016-10-09T12:33:37.578138407Z".
func (VariableOutput) Value ¶
func (o VariableOutput) Value() pulumi.StringPtrOutput
type VariableState ¶
type VariableState struct { // The name of the variable to manage. Note that variable // names can be hierarchical using slashes (e.g. "prod-variables/hostname"). Name pulumi.StringPtrInput // The name of the RuntimeConfig resource containing this // variable. Parent pulumi.StringPtrInput // The ID of the project in which the resource belongs. If it // is not provided, the provider project is used. Project pulumi.StringPtrInput // or `value` - (Required) The content to associate with the variable. // Exactly one of `text` or `variable` must be specified. If `text` is specified, // it must be a valid UTF-8 string and less than 4096 bytes in length. If `value` // is specified, it must be base64 encoded and less than 4096 bytes in length. // // *** Text pulumi.StringPtrInput // (Computed) The timestamp in RFC3339 UTC "Zulu" format, // accurate to nanoseconds, representing when the variable was last updated. // Example: "2016-10-09T12:33:37.578138407Z". UpdateTime pulumi.StringPtrInput Value pulumi.StringPtrInput }
func (VariableState) ElementType ¶
func (VariableState) ElementType() reflect.Type