Documentation ¶
Overview ¶
nolint: lll
nolint: lll
nolint: lll
nolint: lll
nolint: lll
nolint: lll
Index ¶
- type Config
- type ConfigArgs
- type ConfigIamBinding
- type ConfigIamBindingArgs
- 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.StringOutput
- func (o ConfigIamBindingConditionPtrOutput) Title() pulumi.StringOutput
- func (o ConfigIamBindingConditionPtrOutput) ToConfigIamBindingConditionPtrOutput() ConfigIamBindingConditionPtrOutput
- func (o ConfigIamBindingConditionPtrOutput) ToConfigIamBindingConditionPtrOutputWithContext(ctx context.Context) ConfigIamBindingConditionPtrOutput
- type ConfigIamBindingState
- type ConfigIamMember
- type ConfigIamMemberArgs
- 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.StringOutput
- func (o ConfigIamMemberConditionPtrOutput) Title() pulumi.StringOutput
- func (o ConfigIamMemberConditionPtrOutput) ToConfigIamMemberConditionPtrOutput() ConfigIamMemberConditionPtrOutput
- func (o ConfigIamMemberConditionPtrOutput) ToConfigIamMemberConditionPtrOutputWithContext(ctx context.Context) ConfigIamMemberConditionPtrOutput
- type ConfigIamMemberState
- type ConfigIamPolicy
- type ConfigIamPolicyArgs
- type ConfigIamPolicyState
- type ConfigState
- type Variable
- type VariableArgs
- 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"` }
Manages a RuntimeConfig resource in Google Cloud. For more information, see the [official documentation](https://cloud.google.com/deployment-manager/runtime-configurator/), or the [JSON API](https://cloud.google.com/deployment-manager/runtime-configurator/reference/rest/).
> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/runtimeconfig_config.html.markdown.
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.
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 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"` 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"` }
Three different resources help you manage your IAM policy for Cloud Runtime Configuration Config. Each of these resources serves a different use case:
* `runtimeconfig.ConfigIamPolicy`: Authoritative. Sets the IAM policy for the config and replaces any existing policy already attached. * `runtimeconfig.ConfigIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the config are preserved. * `runtimeconfig.ConfigIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the config are preserved.
> **Note:** `runtimeconfig.ConfigIamPolicy` **cannot** be used in conjunction with `runtimeconfig.ConfigIamBinding` and `runtimeconfig.ConfigIamMember` or they will fight over what your policy should be.
> **Note:** `runtimeconfig.ConfigIamBinding` resources **can be** used in conjunction with `runtimeconfig.ConfigIamMember` resources **only if** they do not grant privilege to the same role.
> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/runtimeconfig_config_iam.html.markdown.
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.
type ConfigIamBindingArgs ¶
type ConfigIamBindingArgs struct { Condition ConfigIamBindingConditionPtrInput // Used to find the parent resource to bind the IAM policy to Config pulumi.StringInput 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 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 }
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 }
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.StringOutput
func (ConfigIamBindingConditionPtrOutput) Title ¶
func (o ConfigIamBindingConditionPtrOutput) Title() pulumi.StringOutput
func (ConfigIamBindingConditionPtrOutput) ToConfigIamBindingConditionPtrOutput ¶
func (o ConfigIamBindingConditionPtrOutput) ToConfigIamBindingConditionPtrOutput() ConfigIamBindingConditionPtrOutput
func (ConfigIamBindingConditionPtrOutput) ToConfigIamBindingConditionPtrOutputWithContext ¶
func (o ConfigIamBindingConditionPtrOutput) ToConfigIamBindingConditionPtrOutputWithContext(ctx context.Context) ConfigIamBindingConditionPtrOutput
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 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"` 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"` }
Three different resources help you manage your IAM policy for Cloud Runtime Configuration Config. Each of these resources serves a different use case:
* `runtimeconfig.ConfigIamPolicy`: Authoritative. Sets the IAM policy for the config and replaces any existing policy already attached. * `runtimeconfig.ConfigIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the config are preserved. * `runtimeconfig.ConfigIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the config are preserved.
> **Note:** `runtimeconfig.ConfigIamPolicy` **cannot** be used in conjunction with `runtimeconfig.ConfigIamBinding` and `runtimeconfig.ConfigIamMember` or they will fight over what your policy should be.
> **Note:** `runtimeconfig.ConfigIamBinding` resources **can be** used in conjunction with `runtimeconfig.ConfigIamMember` resources **only if** they do not grant privilege to the same role.
> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/runtimeconfig_config_iam.html.markdown.
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.
type ConfigIamMemberArgs ¶
type ConfigIamMemberArgs struct { Condition ConfigIamMemberConditionPtrInput // Used to find the parent resource to bind the IAM policy to Config pulumi.StringInput 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 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 }
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 }
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.StringOutput
func (ConfigIamMemberConditionPtrOutput) Title ¶
func (o ConfigIamMemberConditionPtrOutput) Title() pulumi.StringOutput
func (ConfigIamMemberConditionPtrOutput) ToConfigIamMemberConditionPtrOutput ¶
func (o ConfigIamMemberConditionPtrOutput) ToConfigIamMemberConditionPtrOutput() ConfigIamMemberConditionPtrOutput
func (ConfigIamMemberConditionPtrOutput) ToConfigIamMemberConditionPtrOutputWithContext ¶
func (o ConfigIamMemberConditionPtrOutput) ToConfigIamMemberConditionPtrOutputWithContext(ctx context.Context) ConfigIamMemberConditionPtrOutput
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 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"` }
Three different resources help you manage your IAM policy for Cloud Runtime Configuration Config. Each of these resources serves a different use case:
* `runtimeconfig.ConfigIamPolicy`: Authoritative. Sets the IAM policy for the config and replaces any existing policy already attached. * `runtimeconfig.ConfigIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the config are preserved. * `runtimeconfig.ConfigIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the config are preserved.
> **Note:** `runtimeconfig.ConfigIamPolicy` **cannot** be used in conjunction with `runtimeconfig.ConfigIamBinding` and `runtimeconfig.ConfigIamMember` or they will fight over what your policy should be.
> **Note:** `runtimeconfig.ConfigIamBinding` resources **can be** used in conjunction with `runtimeconfig.ConfigIamMember` resources **only if** they do not grant privilege to the same role.
> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/runtimeconfig_config_iam.html.markdown.
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.
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 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 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 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"` 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"` }
Manages a RuntimeConfig variable in Google Cloud. For more information, see the [official documentation](https://cloud.google.com/deployment-manager/runtime-configurator/), or the [JSON API](https://cloud.google.com/deployment-manager/runtime-configurator/reference/rest/).
> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/runtimeconfig_variable.html.markdown.
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.
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 Text pulumi.StringPtrInput Value pulumi.StringPtrInput }
The set of arguments for constructing a Variable resource.
func (VariableArgs) ElementType ¶
func (VariableArgs) ElementType() reflect.Type
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 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