Documentation ¶
Index ¶
- type Function
- type FunctionArgs
- type FunctionArray
- type FunctionArrayInput
- type FunctionArrayOutput
- type FunctionBuildConfig
- type FunctionBuildConfigArgs
- func (FunctionBuildConfigArgs) ElementType() reflect.Type
- func (i FunctionBuildConfigArgs) ToFunctionBuildConfigOutput() FunctionBuildConfigOutput
- func (i FunctionBuildConfigArgs) ToFunctionBuildConfigOutputWithContext(ctx context.Context) FunctionBuildConfigOutput
- func (i FunctionBuildConfigArgs) ToFunctionBuildConfigPtrOutput() FunctionBuildConfigPtrOutput
- func (i FunctionBuildConfigArgs) ToFunctionBuildConfigPtrOutputWithContext(ctx context.Context) FunctionBuildConfigPtrOutput
- type FunctionBuildConfigAutomaticUpdatePolicy
- type FunctionBuildConfigAutomaticUpdatePolicyArgs
- func (FunctionBuildConfigAutomaticUpdatePolicyArgs) ElementType() reflect.Type
- func (i FunctionBuildConfigAutomaticUpdatePolicyArgs) ToFunctionBuildConfigAutomaticUpdatePolicyOutput() FunctionBuildConfigAutomaticUpdatePolicyOutput
- func (i FunctionBuildConfigAutomaticUpdatePolicyArgs) ToFunctionBuildConfigAutomaticUpdatePolicyOutputWithContext(ctx context.Context) FunctionBuildConfigAutomaticUpdatePolicyOutput
- func (i FunctionBuildConfigAutomaticUpdatePolicyArgs) ToFunctionBuildConfigAutomaticUpdatePolicyPtrOutput() FunctionBuildConfigAutomaticUpdatePolicyPtrOutput
- func (i FunctionBuildConfigAutomaticUpdatePolicyArgs) ToFunctionBuildConfigAutomaticUpdatePolicyPtrOutputWithContext(ctx context.Context) FunctionBuildConfigAutomaticUpdatePolicyPtrOutput
- type FunctionBuildConfigAutomaticUpdatePolicyInput
- type FunctionBuildConfigAutomaticUpdatePolicyOutput
- func (FunctionBuildConfigAutomaticUpdatePolicyOutput) ElementType() reflect.Type
- func (o FunctionBuildConfigAutomaticUpdatePolicyOutput) ToFunctionBuildConfigAutomaticUpdatePolicyOutput() FunctionBuildConfigAutomaticUpdatePolicyOutput
- func (o FunctionBuildConfigAutomaticUpdatePolicyOutput) ToFunctionBuildConfigAutomaticUpdatePolicyOutputWithContext(ctx context.Context) FunctionBuildConfigAutomaticUpdatePolicyOutput
- func (o FunctionBuildConfigAutomaticUpdatePolicyOutput) ToFunctionBuildConfigAutomaticUpdatePolicyPtrOutput() FunctionBuildConfigAutomaticUpdatePolicyPtrOutput
- func (o FunctionBuildConfigAutomaticUpdatePolicyOutput) ToFunctionBuildConfigAutomaticUpdatePolicyPtrOutputWithContext(ctx context.Context) FunctionBuildConfigAutomaticUpdatePolicyPtrOutput
- type FunctionBuildConfigAutomaticUpdatePolicyPtrInput
- type FunctionBuildConfigAutomaticUpdatePolicyPtrOutput
- func (o FunctionBuildConfigAutomaticUpdatePolicyPtrOutput) Elem() FunctionBuildConfigAutomaticUpdatePolicyOutput
- func (FunctionBuildConfigAutomaticUpdatePolicyPtrOutput) ElementType() reflect.Type
- func (o FunctionBuildConfigAutomaticUpdatePolicyPtrOutput) ToFunctionBuildConfigAutomaticUpdatePolicyPtrOutput() FunctionBuildConfigAutomaticUpdatePolicyPtrOutput
- func (o FunctionBuildConfigAutomaticUpdatePolicyPtrOutput) ToFunctionBuildConfigAutomaticUpdatePolicyPtrOutputWithContext(ctx context.Context) FunctionBuildConfigAutomaticUpdatePolicyPtrOutput
- type FunctionBuildConfigInput
- type FunctionBuildConfigOnDeployUpdatePolicy
- type FunctionBuildConfigOnDeployUpdatePolicyArgs
- func (FunctionBuildConfigOnDeployUpdatePolicyArgs) ElementType() reflect.Type
- func (i FunctionBuildConfigOnDeployUpdatePolicyArgs) ToFunctionBuildConfigOnDeployUpdatePolicyOutput() FunctionBuildConfigOnDeployUpdatePolicyOutput
- func (i FunctionBuildConfigOnDeployUpdatePolicyArgs) ToFunctionBuildConfigOnDeployUpdatePolicyOutputWithContext(ctx context.Context) FunctionBuildConfigOnDeployUpdatePolicyOutput
- func (i FunctionBuildConfigOnDeployUpdatePolicyArgs) ToFunctionBuildConfigOnDeployUpdatePolicyPtrOutput() FunctionBuildConfigOnDeployUpdatePolicyPtrOutput
- func (i FunctionBuildConfigOnDeployUpdatePolicyArgs) ToFunctionBuildConfigOnDeployUpdatePolicyPtrOutputWithContext(ctx context.Context) FunctionBuildConfigOnDeployUpdatePolicyPtrOutput
- type FunctionBuildConfigOnDeployUpdatePolicyInput
- type FunctionBuildConfigOnDeployUpdatePolicyOutput
- func (FunctionBuildConfigOnDeployUpdatePolicyOutput) ElementType() reflect.Type
- func (o FunctionBuildConfigOnDeployUpdatePolicyOutput) RuntimeVersion() pulumi.StringPtrOutput
- func (o FunctionBuildConfigOnDeployUpdatePolicyOutput) ToFunctionBuildConfigOnDeployUpdatePolicyOutput() FunctionBuildConfigOnDeployUpdatePolicyOutput
- func (o FunctionBuildConfigOnDeployUpdatePolicyOutput) ToFunctionBuildConfigOnDeployUpdatePolicyOutputWithContext(ctx context.Context) FunctionBuildConfigOnDeployUpdatePolicyOutput
- func (o FunctionBuildConfigOnDeployUpdatePolicyOutput) ToFunctionBuildConfigOnDeployUpdatePolicyPtrOutput() FunctionBuildConfigOnDeployUpdatePolicyPtrOutput
- func (o FunctionBuildConfigOnDeployUpdatePolicyOutput) ToFunctionBuildConfigOnDeployUpdatePolicyPtrOutputWithContext(ctx context.Context) FunctionBuildConfigOnDeployUpdatePolicyPtrOutput
- type FunctionBuildConfigOnDeployUpdatePolicyPtrInput
- type FunctionBuildConfigOnDeployUpdatePolicyPtrOutput
- func (o FunctionBuildConfigOnDeployUpdatePolicyPtrOutput) Elem() FunctionBuildConfigOnDeployUpdatePolicyOutput
- func (FunctionBuildConfigOnDeployUpdatePolicyPtrOutput) ElementType() reflect.Type
- func (o FunctionBuildConfigOnDeployUpdatePolicyPtrOutput) RuntimeVersion() pulumi.StringPtrOutput
- func (o FunctionBuildConfigOnDeployUpdatePolicyPtrOutput) ToFunctionBuildConfigOnDeployUpdatePolicyPtrOutput() FunctionBuildConfigOnDeployUpdatePolicyPtrOutput
- func (o FunctionBuildConfigOnDeployUpdatePolicyPtrOutput) ToFunctionBuildConfigOnDeployUpdatePolicyPtrOutputWithContext(ctx context.Context) FunctionBuildConfigOnDeployUpdatePolicyPtrOutput
- type FunctionBuildConfigOutput
- func (o FunctionBuildConfigOutput) AutomaticUpdatePolicy() FunctionBuildConfigAutomaticUpdatePolicyPtrOutput
- func (o FunctionBuildConfigOutput) Build() pulumi.StringPtrOutput
- func (o FunctionBuildConfigOutput) DockerRepository() pulumi.StringPtrOutput
- func (FunctionBuildConfigOutput) ElementType() reflect.Type
- func (o FunctionBuildConfigOutput) EntryPoint() pulumi.StringPtrOutput
- func (o FunctionBuildConfigOutput) EnvironmentVariables() pulumi.StringMapOutput
- func (o FunctionBuildConfigOutput) OnDeployUpdatePolicy() FunctionBuildConfigOnDeployUpdatePolicyPtrOutput
- func (o FunctionBuildConfigOutput) Runtime() pulumi.StringPtrOutput
- func (o FunctionBuildConfigOutput) ServiceAccount() pulumi.StringPtrOutput
- func (o FunctionBuildConfigOutput) Source() FunctionBuildConfigSourcePtrOutput
- func (o FunctionBuildConfigOutput) ToFunctionBuildConfigOutput() FunctionBuildConfigOutput
- func (o FunctionBuildConfigOutput) ToFunctionBuildConfigOutputWithContext(ctx context.Context) FunctionBuildConfigOutput
- func (o FunctionBuildConfigOutput) ToFunctionBuildConfigPtrOutput() FunctionBuildConfigPtrOutput
- func (o FunctionBuildConfigOutput) ToFunctionBuildConfigPtrOutputWithContext(ctx context.Context) FunctionBuildConfigPtrOutput
- func (o FunctionBuildConfigOutput) WorkerPool() pulumi.StringPtrOutput
- type FunctionBuildConfigPtrInput
- type FunctionBuildConfigPtrOutput
- func (o FunctionBuildConfigPtrOutput) AutomaticUpdatePolicy() FunctionBuildConfigAutomaticUpdatePolicyPtrOutput
- func (o FunctionBuildConfigPtrOutput) Build() pulumi.StringPtrOutput
- func (o FunctionBuildConfigPtrOutput) DockerRepository() pulumi.StringPtrOutput
- func (o FunctionBuildConfigPtrOutput) Elem() FunctionBuildConfigOutput
- func (FunctionBuildConfigPtrOutput) ElementType() reflect.Type
- func (o FunctionBuildConfigPtrOutput) EntryPoint() pulumi.StringPtrOutput
- func (o FunctionBuildConfigPtrOutput) EnvironmentVariables() pulumi.StringMapOutput
- func (o FunctionBuildConfigPtrOutput) OnDeployUpdatePolicy() FunctionBuildConfigOnDeployUpdatePolicyPtrOutput
- func (o FunctionBuildConfigPtrOutput) Runtime() pulumi.StringPtrOutput
- func (o FunctionBuildConfigPtrOutput) ServiceAccount() pulumi.StringPtrOutput
- func (o FunctionBuildConfigPtrOutput) Source() FunctionBuildConfigSourcePtrOutput
- func (o FunctionBuildConfigPtrOutput) ToFunctionBuildConfigPtrOutput() FunctionBuildConfigPtrOutput
- func (o FunctionBuildConfigPtrOutput) ToFunctionBuildConfigPtrOutputWithContext(ctx context.Context) FunctionBuildConfigPtrOutput
- func (o FunctionBuildConfigPtrOutput) WorkerPool() pulumi.StringPtrOutput
- type FunctionBuildConfigSource
- type FunctionBuildConfigSourceArgs
- func (FunctionBuildConfigSourceArgs) ElementType() reflect.Type
- func (i FunctionBuildConfigSourceArgs) ToFunctionBuildConfigSourceOutput() FunctionBuildConfigSourceOutput
- func (i FunctionBuildConfigSourceArgs) ToFunctionBuildConfigSourceOutputWithContext(ctx context.Context) FunctionBuildConfigSourceOutput
- func (i FunctionBuildConfigSourceArgs) ToFunctionBuildConfigSourcePtrOutput() FunctionBuildConfigSourcePtrOutput
- func (i FunctionBuildConfigSourceArgs) ToFunctionBuildConfigSourcePtrOutputWithContext(ctx context.Context) FunctionBuildConfigSourcePtrOutput
- type FunctionBuildConfigSourceInput
- type FunctionBuildConfigSourceOutput
- func (FunctionBuildConfigSourceOutput) ElementType() reflect.Type
- func (o FunctionBuildConfigSourceOutput) RepoSource() FunctionBuildConfigSourceRepoSourcePtrOutput
- func (o FunctionBuildConfigSourceOutput) StorageSource() FunctionBuildConfigSourceStorageSourcePtrOutput
- func (o FunctionBuildConfigSourceOutput) ToFunctionBuildConfigSourceOutput() FunctionBuildConfigSourceOutput
- func (o FunctionBuildConfigSourceOutput) ToFunctionBuildConfigSourceOutputWithContext(ctx context.Context) FunctionBuildConfigSourceOutput
- func (o FunctionBuildConfigSourceOutput) ToFunctionBuildConfigSourcePtrOutput() FunctionBuildConfigSourcePtrOutput
- func (o FunctionBuildConfigSourceOutput) ToFunctionBuildConfigSourcePtrOutputWithContext(ctx context.Context) FunctionBuildConfigSourcePtrOutput
- type FunctionBuildConfigSourcePtrInput
- type FunctionBuildConfigSourcePtrOutput
- func (o FunctionBuildConfigSourcePtrOutput) Elem() FunctionBuildConfigSourceOutput
- func (FunctionBuildConfigSourcePtrOutput) ElementType() reflect.Type
- func (o FunctionBuildConfigSourcePtrOutput) RepoSource() FunctionBuildConfigSourceRepoSourcePtrOutput
- func (o FunctionBuildConfigSourcePtrOutput) StorageSource() FunctionBuildConfigSourceStorageSourcePtrOutput
- func (o FunctionBuildConfigSourcePtrOutput) ToFunctionBuildConfigSourcePtrOutput() FunctionBuildConfigSourcePtrOutput
- func (o FunctionBuildConfigSourcePtrOutput) ToFunctionBuildConfigSourcePtrOutputWithContext(ctx context.Context) FunctionBuildConfigSourcePtrOutput
- type FunctionBuildConfigSourceRepoSource
- type FunctionBuildConfigSourceRepoSourceArgs
- func (FunctionBuildConfigSourceRepoSourceArgs) ElementType() reflect.Type
- func (i FunctionBuildConfigSourceRepoSourceArgs) ToFunctionBuildConfigSourceRepoSourceOutput() FunctionBuildConfigSourceRepoSourceOutput
- func (i FunctionBuildConfigSourceRepoSourceArgs) ToFunctionBuildConfigSourceRepoSourceOutputWithContext(ctx context.Context) FunctionBuildConfigSourceRepoSourceOutput
- func (i FunctionBuildConfigSourceRepoSourceArgs) ToFunctionBuildConfigSourceRepoSourcePtrOutput() FunctionBuildConfigSourceRepoSourcePtrOutput
- func (i FunctionBuildConfigSourceRepoSourceArgs) ToFunctionBuildConfigSourceRepoSourcePtrOutputWithContext(ctx context.Context) FunctionBuildConfigSourceRepoSourcePtrOutput
- type FunctionBuildConfigSourceRepoSourceInput
- type FunctionBuildConfigSourceRepoSourceOutput
- func (o FunctionBuildConfigSourceRepoSourceOutput) BranchName() pulumi.StringPtrOutput
- func (o FunctionBuildConfigSourceRepoSourceOutput) CommitSha() pulumi.StringPtrOutput
- func (o FunctionBuildConfigSourceRepoSourceOutput) Dir() pulumi.StringPtrOutput
- func (FunctionBuildConfigSourceRepoSourceOutput) ElementType() reflect.Type
- func (o FunctionBuildConfigSourceRepoSourceOutput) InvertRegex() pulumi.BoolPtrOutput
- func (o FunctionBuildConfigSourceRepoSourceOutput) ProjectId() pulumi.StringPtrOutput
- func (o FunctionBuildConfigSourceRepoSourceOutput) RepoName() pulumi.StringPtrOutput
- func (o FunctionBuildConfigSourceRepoSourceOutput) TagName() pulumi.StringPtrOutput
- func (o FunctionBuildConfigSourceRepoSourceOutput) ToFunctionBuildConfigSourceRepoSourceOutput() FunctionBuildConfigSourceRepoSourceOutput
- func (o FunctionBuildConfigSourceRepoSourceOutput) ToFunctionBuildConfigSourceRepoSourceOutputWithContext(ctx context.Context) FunctionBuildConfigSourceRepoSourceOutput
- func (o FunctionBuildConfigSourceRepoSourceOutput) ToFunctionBuildConfigSourceRepoSourcePtrOutput() FunctionBuildConfigSourceRepoSourcePtrOutput
- func (o FunctionBuildConfigSourceRepoSourceOutput) ToFunctionBuildConfigSourceRepoSourcePtrOutputWithContext(ctx context.Context) FunctionBuildConfigSourceRepoSourcePtrOutput
- type FunctionBuildConfigSourceRepoSourcePtrInput
- type FunctionBuildConfigSourceRepoSourcePtrOutput
- func (o FunctionBuildConfigSourceRepoSourcePtrOutput) BranchName() pulumi.StringPtrOutput
- func (o FunctionBuildConfigSourceRepoSourcePtrOutput) CommitSha() pulumi.StringPtrOutput
- func (o FunctionBuildConfigSourceRepoSourcePtrOutput) Dir() pulumi.StringPtrOutput
- func (o FunctionBuildConfigSourceRepoSourcePtrOutput) Elem() FunctionBuildConfigSourceRepoSourceOutput
- func (FunctionBuildConfigSourceRepoSourcePtrOutput) ElementType() reflect.Type
- func (o FunctionBuildConfigSourceRepoSourcePtrOutput) InvertRegex() pulumi.BoolPtrOutput
- func (o FunctionBuildConfigSourceRepoSourcePtrOutput) ProjectId() pulumi.StringPtrOutput
- func (o FunctionBuildConfigSourceRepoSourcePtrOutput) RepoName() pulumi.StringPtrOutput
- func (o FunctionBuildConfigSourceRepoSourcePtrOutput) TagName() pulumi.StringPtrOutput
- func (o FunctionBuildConfigSourceRepoSourcePtrOutput) ToFunctionBuildConfigSourceRepoSourcePtrOutput() FunctionBuildConfigSourceRepoSourcePtrOutput
- func (o FunctionBuildConfigSourceRepoSourcePtrOutput) ToFunctionBuildConfigSourceRepoSourcePtrOutputWithContext(ctx context.Context) FunctionBuildConfigSourceRepoSourcePtrOutput
- type FunctionBuildConfigSourceStorageSource
- type FunctionBuildConfigSourceStorageSourceArgs
- func (FunctionBuildConfigSourceStorageSourceArgs) ElementType() reflect.Type
- func (i FunctionBuildConfigSourceStorageSourceArgs) ToFunctionBuildConfigSourceStorageSourceOutput() FunctionBuildConfigSourceStorageSourceOutput
- func (i FunctionBuildConfigSourceStorageSourceArgs) ToFunctionBuildConfigSourceStorageSourceOutputWithContext(ctx context.Context) FunctionBuildConfigSourceStorageSourceOutput
- func (i FunctionBuildConfigSourceStorageSourceArgs) ToFunctionBuildConfigSourceStorageSourcePtrOutput() FunctionBuildConfigSourceStorageSourcePtrOutput
- func (i FunctionBuildConfigSourceStorageSourceArgs) ToFunctionBuildConfigSourceStorageSourcePtrOutputWithContext(ctx context.Context) FunctionBuildConfigSourceStorageSourcePtrOutput
- type FunctionBuildConfigSourceStorageSourceInput
- type FunctionBuildConfigSourceStorageSourceOutput
- func (o FunctionBuildConfigSourceStorageSourceOutput) Bucket() pulumi.StringPtrOutput
- func (FunctionBuildConfigSourceStorageSourceOutput) ElementType() reflect.Type
- func (o FunctionBuildConfigSourceStorageSourceOutput) Generation() pulumi.IntPtrOutput
- func (o FunctionBuildConfigSourceStorageSourceOutput) Object() pulumi.StringPtrOutput
- func (o FunctionBuildConfigSourceStorageSourceOutput) ToFunctionBuildConfigSourceStorageSourceOutput() FunctionBuildConfigSourceStorageSourceOutput
- func (o FunctionBuildConfigSourceStorageSourceOutput) ToFunctionBuildConfigSourceStorageSourceOutputWithContext(ctx context.Context) FunctionBuildConfigSourceStorageSourceOutput
- func (o FunctionBuildConfigSourceStorageSourceOutput) ToFunctionBuildConfigSourceStorageSourcePtrOutput() FunctionBuildConfigSourceStorageSourcePtrOutput
- func (o FunctionBuildConfigSourceStorageSourceOutput) ToFunctionBuildConfigSourceStorageSourcePtrOutputWithContext(ctx context.Context) FunctionBuildConfigSourceStorageSourcePtrOutput
- type FunctionBuildConfigSourceStorageSourcePtrInput
- type FunctionBuildConfigSourceStorageSourcePtrOutput
- func (o FunctionBuildConfigSourceStorageSourcePtrOutput) Bucket() pulumi.StringPtrOutput
- func (o FunctionBuildConfigSourceStorageSourcePtrOutput) Elem() FunctionBuildConfigSourceStorageSourceOutput
- func (FunctionBuildConfigSourceStorageSourcePtrOutput) ElementType() reflect.Type
- func (o FunctionBuildConfigSourceStorageSourcePtrOutput) Generation() pulumi.IntPtrOutput
- func (o FunctionBuildConfigSourceStorageSourcePtrOutput) Object() pulumi.StringPtrOutput
- func (o FunctionBuildConfigSourceStorageSourcePtrOutput) ToFunctionBuildConfigSourceStorageSourcePtrOutput() FunctionBuildConfigSourceStorageSourcePtrOutput
- func (o FunctionBuildConfigSourceStorageSourcePtrOutput) ToFunctionBuildConfigSourceStorageSourcePtrOutputWithContext(ctx context.Context) FunctionBuildConfigSourceStorageSourcePtrOutput
- type FunctionEventTrigger
- type FunctionEventTriggerArgs
- func (FunctionEventTriggerArgs) ElementType() reflect.Type
- func (i FunctionEventTriggerArgs) ToFunctionEventTriggerOutput() FunctionEventTriggerOutput
- func (i FunctionEventTriggerArgs) ToFunctionEventTriggerOutputWithContext(ctx context.Context) FunctionEventTriggerOutput
- func (i FunctionEventTriggerArgs) ToFunctionEventTriggerPtrOutput() FunctionEventTriggerPtrOutput
- func (i FunctionEventTriggerArgs) ToFunctionEventTriggerPtrOutputWithContext(ctx context.Context) FunctionEventTriggerPtrOutput
- type FunctionEventTriggerEventFilter
- type FunctionEventTriggerEventFilterArgs
- func (FunctionEventTriggerEventFilterArgs) ElementType() reflect.Type
- func (i FunctionEventTriggerEventFilterArgs) ToFunctionEventTriggerEventFilterOutput() FunctionEventTriggerEventFilterOutput
- func (i FunctionEventTriggerEventFilterArgs) ToFunctionEventTriggerEventFilterOutputWithContext(ctx context.Context) FunctionEventTriggerEventFilterOutput
- type FunctionEventTriggerEventFilterArray
- func (FunctionEventTriggerEventFilterArray) ElementType() reflect.Type
- func (i FunctionEventTriggerEventFilterArray) ToFunctionEventTriggerEventFilterArrayOutput() FunctionEventTriggerEventFilterArrayOutput
- func (i FunctionEventTriggerEventFilterArray) ToFunctionEventTriggerEventFilterArrayOutputWithContext(ctx context.Context) FunctionEventTriggerEventFilterArrayOutput
- type FunctionEventTriggerEventFilterArrayInput
- type FunctionEventTriggerEventFilterArrayOutput
- func (FunctionEventTriggerEventFilterArrayOutput) ElementType() reflect.Type
- func (o FunctionEventTriggerEventFilterArrayOutput) Index(i pulumi.IntInput) FunctionEventTriggerEventFilterOutput
- func (o FunctionEventTriggerEventFilterArrayOutput) ToFunctionEventTriggerEventFilterArrayOutput() FunctionEventTriggerEventFilterArrayOutput
- func (o FunctionEventTriggerEventFilterArrayOutput) ToFunctionEventTriggerEventFilterArrayOutputWithContext(ctx context.Context) FunctionEventTriggerEventFilterArrayOutput
- type FunctionEventTriggerEventFilterInput
- type FunctionEventTriggerEventFilterOutput
- func (o FunctionEventTriggerEventFilterOutput) Attribute() pulumi.StringOutput
- func (FunctionEventTriggerEventFilterOutput) ElementType() reflect.Type
- func (o FunctionEventTriggerEventFilterOutput) Operator() pulumi.StringPtrOutput
- func (o FunctionEventTriggerEventFilterOutput) ToFunctionEventTriggerEventFilterOutput() FunctionEventTriggerEventFilterOutput
- func (o FunctionEventTriggerEventFilterOutput) ToFunctionEventTriggerEventFilterOutputWithContext(ctx context.Context) FunctionEventTriggerEventFilterOutput
- func (o FunctionEventTriggerEventFilterOutput) Value() pulumi.StringOutput
- type FunctionEventTriggerInput
- type FunctionEventTriggerOutput
- func (FunctionEventTriggerOutput) ElementType() reflect.Type
- func (o FunctionEventTriggerOutput) EventFilters() FunctionEventTriggerEventFilterArrayOutput
- func (o FunctionEventTriggerOutput) EventType() pulumi.StringPtrOutput
- func (o FunctionEventTriggerOutput) PubsubTopic() pulumi.StringPtrOutput
- func (o FunctionEventTriggerOutput) RetryPolicy() pulumi.StringPtrOutput
- func (o FunctionEventTriggerOutput) ServiceAccountEmail() pulumi.StringPtrOutput
- func (o FunctionEventTriggerOutput) ToFunctionEventTriggerOutput() FunctionEventTriggerOutput
- func (o FunctionEventTriggerOutput) ToFunctionEventTriggerOutputWithContext(ctx context.Context) FunctionEventTriggerOutput
- func (o FunctionEventTriggerOutput) ToFunctionEventTriggerPtrOutput() FunctionEventTriggerPtrOutput
- func (o FunctionEventTriggerOutput) ToFunctionEventTriggerPtrOutputWithContext(ctx context.Context) FunctionEventTriggerPtrOutput
- func (o FunctionEventTriggerOutput) Trigger() pulumi.StringPtrOutput
- func (o FunctionEventTriggerOutput) TriggerRegion() pulumi.StringPtrOutput
- type FunctionEventTriggerPtrInput
- type FunctionEventTriggerPtrOutput
- func (o FunctionEventTriggerPtrOutput) Elem() FunctionEventTriggerOutput
- func (FunctionEventTriggerPtrOutput) ElementType() reflect.Type
- func (o FunctionEventTriggerPtrOutput) EventFilters() FunctionEventTriggerEventFilterArrayOutput
- func (o FunctionEventTriggerPtrOutput) EventType() pulumi.StringPtrOutput
- func (o FunctionEventTriggerPtrOutput) PubsubTopic() pulumi.StringPtrOutput
- func (o FunctionEventTriggerPtrOutput) RetryPolicy() pulumi.StringPtrOutput
- func (o FunctionEventTriggerPtrOutput) ServiceAccountEmail() pulumi.StringPtrOutput
- func (o FunctionEventTriggerPtrOutput) ToFunctionEventTriggerPtrOutput() FunctionEventTriggerPtrOutput
- func (o FunctionEventTriggerPtrOutput) ToFunctionEventTriggerPtrOutputWithContext(ctx context.Context) FunctionEventTriggerPtrOutput
- func (o FunctionEventTriggerPtrOutput) Trigger() pulumi.StringPtrOutput
- func (o FunctionEventTriggerPtrOutput) TriggerRegion() pulumi.StringPtrOutput
- type FunctionIamBinding
- type FunctionIamBindingArgs
- type FunctionIamBindingArray
- type FunctionIamBindingArrayInput
- type FunctionIamBindingArrayOutput
- func (FunctionIamBindingArrayOutput) ElementType() reflect.Type
- func (o FunctionIamBindingArrayOutput) Index(i pulumi.IntInput) FunctionIamBindingOutput
- func (o FunctionIamBindingArrayOutput) ToFunctionIamBindingArrayOutput() FunctionIamBindingArrayOutput
- func (o FunctionIamBindingArrayOutput) ToFunctionIamBindingArrayOutputWithContext(ctx context.Context) FunctionIamBindingArrayOutput
- type FunctionIamBindingCondition
- type FunctionIamBindingConditionArgs
- func (FunctionIamBindingConditionArgs) ElementType() reflect.Type
- func (i FunctionIamBindingConditionArgs) ToFunctionIamBindingConditionOutput() FunctionIamBindingConditionOutput
- func (i FunctionIamBindingConditionArgs) ToFunctionIamBindingConditionOutputWithContext(ctx context.Context) FunctionIamBindingConditionOutput
- func (i FunctionIamBindingConditionArgs) ToFunctionIamBindingConditionPtrOutput() FunctionIamBindingConditionPtrOutput
- func (i FunctionIamBindingConditionArgs) ToFunctionIamBindingConditionPtrOutputWithContext(ctx context.Context) FunctionIamBindingConditionPtrOutput
- type FunctionIamBindingConditionInput
- type FunctionIamBindingConditionOutput
- func (o FunctionIamBindingConditionOutput) Description() pulumi.StringPtrOutput
- func (FunctionIamBindingConditionOutput) ElementType() reflect.Type
- func (o FunctionIamBindingConditionOutput) Expression() pulumi.StringOutput
- func (o FunctionIamBindingConditionOutput) Title() pulumi.StringOutput
- func (o FunctionIamBindingConditionOutput) ToFunctionIamBindingConditionOutput() FunctionIamBindingConditionOutput
- func (o FunctionIamBindingConditionOutput) ToFunctionIamBindingConditionOutputWithContext(ctx context.Context) FunctionIamBindingConditionOutput
- func (o FunctionIamBindingConditionOutput) ToFunctionIamBindingConditionPtrOutput() FunctionIamBindingConditionPtrOutput
- func (o FunctionIamBindingConditionOutput) ToFunctionIamBindingConditionPtrOutputWithContext(ctx context.Context) FunctionIamBindingConditionPtrOutput
- type FunctionIamBindingConditionPtrInput
- type FunctionIamBindingConditionPtrOutput
- func (o FunctionIamBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o FunctionIamBindingConditionPtrOutput) Elem() FunctionIamBindingConditionOutput
- func (FunctionIamBindingConditionPtrOutput) ElementType() reflect.Type
- func (o FunctionIamBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o FunctionIamBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o FunctionIamBindingConditionPtrOutput) ToFunctionIamBindingConditionPtrOutput() FunctionIamBindingConditionPtrOutput
- func (o FunctionIamBindingConditionPtrOutput) ToFunctionIamBindingConditionPtrOutputWithContext(ctx context.Context) FunctionIamBindingConditionPtrOutput
- type FunctionIamBindingInput
- type FunctionIamBindingMap
- type FunctionIamBindingMapInput
- type FunctionIamBindingMapOutput
- func (FunctionIamBindingMapOutput) ElementType() reflect.Type
- func (o FunctionIamBindingMapOutput) MapIndex(k pulumi.StringInput) FunctionIamBindingOutput
- func (o FunctionIamBindingMapOutput) ToFunctionIamBindingMapOutput() FunctionIamBindingMapOutput
- func (o FunctionIamBindingMapOutput) ToFunctionIamBindingMapOutputWithContext(ctx context.Context) FunctionIamBindingMapOutput
- type FunctionIamBindingOutput
- func (o FunctionIamBindingOutput) CloudFunction() pulumi.StringOutput
- func (o FunctionIamBindingOutput) Condition() FunctionIamBindingConditionPtrOutput
- func (FunctionIamBindingOutput) ElementType() reflect.Type
- func (o FunctionIamBindingOutput) Etag() pulumi.StringOutput
- func (o FunctionIamBindingOutput) Location() pulumi.StringOutput
- func (o FunctionIamBindingOutput) Members() pulumi.StringArrayOutput
- func (o FunctionIamBindingOutput) Project() pulumi.StringOutput
- func (o FunctionIamBindingOutput) Role() pulumi.StringOutput
- func (o FunctionIamBindingOutput) ToFunctionIamBindingOutput() FunctionIamBindingOutput
- func (o FunctionIamBindingOutput) ToFunctionIamBindingOutputWithContext(ctx context.Context) FunctionIamBindingOutput
- type FunctionIamBindingState
- type FunctionIamMember
- type FunctionIamMemberArgs
- type FunctionIamMemberArray
- type FunctionIamMemberArrayInput
- type FunctionIamMemberArrayOutput
- func (FunctionIamMemberArrayOutput) ElementType() reflect.Type
- func (o FunctionIamMemberArrayOutput) Index(i pulumi.IntInput) FunctionIamMemberOutput
- func (o FunctionIamMemberArrayOutput) ToFunctionIamMemberArrayOutput() FunctionIamMemberArrayOutput
- func (o FunctionIamMemberArrayOutput) ToFunctionIamMemberArrayOutputWithContext(ctx context.Context) FunctionIamMemberArrayOutput
- type FunctionIamMemberCondition
- type FunctionIamMemberConditionArgs
- func (FunctionIamMemberConditionArgs) ElementType() reflect.Type
- func (i FunctionIamMemberConditionArgs) ToFunctionIamMemberConditionOutput() FunctionIamMemberConditionOutput
- func (i FunctionIamMemberConditionArgs) ToFunctionIamMemberConditionOutputWithContext(ctx context.Context) FunctionIamMemberConditionOutput
- func (i FunctionIamMemberConditionArgs) ToFunctionIamMemberConditionPtrOutput() FunctionIamMemberConditionPtrOutput
- func (i FunctionIamMemberConditionArgs) ToFunctionIamMemberConditionPtrOutputWithContext(ctx context.Context) FunctionIamMemberConditionPtrOutput
- type FunctionIamMemberConditionInput
- type FunctionIamMemberConditionOutput
- func (o FunctionIamMemberConditionOutput) Description() pulumi.StringPtrOutput
- func (FunctionIamMemberConditionOutput) ElementType() reflect.Type
- func (o FunctionIamMemberConditionOutput) Expression() pulumi.StringOutput
- func (o FunctionIamMemberConditionOutput) Title() pulumi.StringOutput
- func (o FunctionIamMemberConditionOutput) ToFunctionIamMemberConditionOutput() FunctionIamMemberConditionOutput
- func (o FunctionIamMemberConditionOutput) ToFunctionIamMemberConditionOutputWithContext(ctx context.Context) FunctionIamMemberConditionOutput
- func (o FunctionIamMemberConditionOutput) ToFunctionIamMemberConditionPtrOutput() FunctionIamMemberConditionPtrOutput
- func (o FunctionIamMemberConditionOutput) ToFunctionIamMemberConditionPtrOutputWithContext(ctx context.Context) FunctionIamMemberConditionPtrOutput
- type FunctionIamMemberConditionPtrInput
- type FunctionIamMemberConditionPtrOutput
- func (o FunctionIamMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o FunctionIamMemberConditionPtrOutput) Elem() FunctionIamMemberConditionOutput
- func (FunctionIamMemberConditionPtrOutput) ElementType() reflect.Type
- func (o FunctionIamMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o FunctionIamMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o FunctionIamMemberConditionPtrOutput) ToFunctionIamMemberConditionPtrOutput() FunctionIamMemberConditionPtrOutput
- func (o FunctionIamMemberConditionPtrOutput) ToFunctionIamMemberConditionPtrOutputWithContext(ctx context.Context) FunctionIamMemberConditionPtrOutput
- type FunctionIamMemberInput
- type FunctionIamMemberMap
- type FunctionIamMemberMapInput
- type FunctionIamMemberMapOutput
- func (FunctionIamMemberMapOutput) ElementType() reflect.Type
- func (o FunctionIamMemberMapOutput) MapIndex(k pulumi.StringInput) FunctionIamMemberOutput
- func (o FunctionIamMemberMapOutput) ToFunctionIamMemberMapOutput() FunctionIamMemberMapOutput
- func (o FunctionIamMemberMapOutput) ToFunctionIamMemberMapOutputWithContext(ctx context.Context) FunctionIamMemberMapOutput
- type FunctionIamMemberOutput
- func (o FunctionIamMemberOutput) CloudFunction() pulumi.StringOutput
- func (o FunctionIamMemberOutput) Condition() FunctionIamMemberConditionPtrOutput
- func (FunctionIamMemberOutput) ElementType() reflect.Type
- func (o FunctionIamMemberOutput) Etag() pulumi.StringOutput
- func (o FunctionIamMemberOutput) Location() pulumi.StringOutput
- func (o FunctionIamMemberOutput) Member() pulumi.StringOutput
- func (o FunctionIamMemberOutput) Project() pulumi.StringOutput
- func (o FunctionIamMemberOutput) Role() pulumi.StringOutput
- func (o FunctionIamMemberOutput) ToFunctionIamMemberOutput() FunctionIamMemberOutput
- func (o FunctionIamMemberOutput) ToFunctionIamMemberOutputWithContext(ctx context.Context) FunctionIamMemberOutput
- type FunctionIamMemberState
- type FunctionIamPolicy
- type FunctionIamPolicyArgs
- type FunctionIamPolicyArray
- type FunctionIamPolicyArrayInput
- type FunctionIamPolicyArrayOutput
- func (FunctionIamPolicyArrayOutput) ElementType() reflect.Type
- func (o FunctionIamPolicyArrayOutput) Index(i pulumi.IntInput) FunctionIamPolicyOutput
- func (o FunctionIamPolicyArrayOutput) ToFunctionIamPolicyArrayOutput() FunctionIamPolicyArrayOutput
- func (o FunctionIamPolicyArrayOutput) ToFunctionIamPolicyArrayOutputWithContext(ctx context.Context) FunctionIamPolicyArrayOutput
- type FunctionIamPolicyInput
- type FunctionIamPolicyMap
- type FunctionIamPolicyMapInput
- type FunctionIamPolicyMapOutput
- func (FunctionIamPolicyMapOutput) ElementType() reflect.Type
- func (o FunctionIamPolicyMapOutput) MapIndex(k pulumi.StringInput) FunctionIamPolicyOutput
- func (o FunctionIamPolicyMapOutput) ToFunctionIamPolicyMapOutput() FunctionIamPolicyMapOutput
- func (o FunctionIamPolicyMapOutput) ToFunctionIamPolicyMapOutputWithContext(ctx context.Context) FunctionIamPolicyMapOutput
- type FunctionIamPolicyOutput
- func (o FunctionIamPolicyOutput) CloudFunction() pulumi.StringOutput
- func (FunctionIamPolicyOutput) ElementType() reflect.Type
- func (o FunctionIamPolicyOutput) Etag() pulumi.StringOutput
- func (o FunctionIamPolicyOutput) Location() pulumi.StringOutput
- func (o FunctionIamPolicyOutput) PolicyData() pulumi.StringOutput
- func (o FunctionIamPolicyOutput) Project() pulumi.StringOutput
- func (o FunctionIamPolicyOutput) ToFunctionIamPolicyOutput() FunctionIamPolicyOutput
- func (o FunctionIamPolicyOutput) ToFunctionIamPolicyOutputWithContext(ctx context.Context) FunctionIamPolicyOutput
- type FunctionIamPolicyState
- type FunctionInput
- type FunctionMap
- type FunctionMapInput
- type FunctionMapOutput
- type FunctionOutput
- func (o FunctionOutput) BuildConfig() FunctionBuildConfigPtrOutput
- func (o FunctionOutput) Description() pulumi.StringPtrOutput
- func (o FunctionOutput) EffectiveLabels() pulumi.StringMapOutput
- func (FunctionOutput) ElementType() reflect.Type
- func (o FunctionOutput) Environment() pulumi.StringOutput
- func (o FunctionOutput) EventTrigger() FunctionEventTriggerPtrOutput
- func (o FunctionOutput) KmsKeyName() pulumi.StringPtrOutput
- func (o FunctionOutput) Labels() pulumi.StringMapOutput
- func (o FunctionOutput) Location() pulumi.StringOutput
- func (o FunctionOutput) Name() pulumi.StringOutput
- func (o FunctionOutput) Project() pulumi.StringOutput
- func (o FunctionOutput) PulumiLabels() pulumi.StringMapOutput
- func (o FunctionOutput) ServiceConfig() FunctionServiceConfigPtrOutput
- func (o FunctionOutput) State() pulumi.StringOutput
- func (o FunctionOutput) ToFunctionOutput() FunctionOutput
- func (o FunctionOutput) ToFunctionOutputWithContext(ctx context.Context) FunctionOutput
- func (o FunctionOutput) UpdateTime() pulumi.StringOutput
- func (o FunctionOutput) Url() pulumi.StringOutput
- type FunctionServiceConfig
- type FunctionServiceConfigArgs
- func (FunctionServiceConfigArgs) ElementType() reflect.Type
- func (i FunctionServiceConfigArgs) ToFunctionServiceConfigOutput() FunctionServiceConfigOutput
- func (i FunctionServiceConfigArgs) ToFunctionServiceConfigOutputWithContext(ctx context.Context) FunctionServiceConfigOutput
- func (i FunctionServiceConfigArgs) ToFunctionServiceConfigPtrOutput() FunctionServiceConfigPtrOutput
- func (i FunctionServiceConfigArgs) ToFunctionServiceConfigPtrOutputWithContext(ctx context.Context) FunctionServiceConfigPtrOutput
- type FunctionServiceConfigInput
- type FunctionServiceConfigOutput
- func (o FunctionServiceConfigOutput) AllTrafficOnLatestRevision() pulumi.BoolPtrOutput
- func (o FunctionServiceConfigOutput) AvailableCpu() pulumi.StringPtrOutput
- func (o FunctionServiceConfigOutput) AvailableMemory() pulumi.StringPtrOutput
- func (FunctionServiceConfigOutput) ElementType() reflect.Type
- func (o FunctionServiceConfigOutput) EnvironmentVariables() pulumi.StringMapOutput
- func (o FunctionServiceConfigOutput) GcfUri() pulumi.StringPtrOutput
- func (o FunctionServiceConfigOutput) IngressSettings() pulumi.StringPtrOutput
- func (o FunctionServiceConfigOutput) MaxInstanceCount() pulumi.IntPtrOutput
- func (o FunctionServiceConfigOutput) MaxInstanceRequestConcurrency() pulumi.IntPtrOutput
- func (o FunctionServiceConfigOutput) MinInstanceCount() pulumi.IntPtrOutput
- func (o FunctionServiceConfigOutput) SecretEnvironmentVariables() FunctionServiceConfigSecretEnvironmentVariableArrayOutput
- func (o FunctionServiceConfigOutput) SecretVolumes() FunctionServiceConfigSecretVolumeArrayOutput
- func (o FunctionServiceConfigOutput) Service() pulumi.StringPtrOutput
- func (o FunctionServiceConfigOutput) ServiceAccountEmail() pulumi.StringPtrOutput
- func (o FunctionServiceConfigOutput) TimeoutSeconds() pulumi.IntPtrOutput
- func (o FunctionServiceConfigOutput) ToFunctionServiceConfigOutput() FunctionServiceConfigOutput
- func (o FunctionServiceConfigOutput) ToFunctionServiceConfigOutputWithContext(ctx context.Context) FunctionServiceConfigOutput
- func (o FunctionServiceConfigOutput) ToFunctionServiceConfigPtrOutput() FunctionServiceConfigPtrOutput
- func (o FunctionServiceConfigOutput) ToFunctionServiceConfigPtrOutputWithContext(ctx context.Context) FunctionServiceConfigPtrOutput
- func (o FunctionServiceConfigOutput) Uri() pulumi.StringPtrOutput
- func (o FunctionServiceConfigOutput) VpcConnector() pulumi.StringPtrOutput
- func (o FunctionServiceConfigOutput) VpcConnectorEgressSettings() pulumi.StringPtrOutput
- type FunctionServiceConfigPtrInput
- type FunctionServiceConfigPtrOutput
- func (o FunctionServiceConfigPtrOutput) AllTrafficOnLatestRevision() pulumi.BoolPtrOutput
- func (o FunctionServiceConfigPtrOutput) AvailableCpu() pulumi.StringPtrOutput
- func (o FunctionServiceConfigPtrOutput) AvailableMemory() pulumi.StringPtrOutput
- func (o FunctionServiceConfigPtrOutput) Elem() FunctionServiceConfigOutput
- func (FunctionServiceConfigPtrOutput) ElementType() reflect.Type
- func (o FunctionServiceConfigPtrOutput) EnvironmentVariables() pulumi.StringMapOutput
- func (o FunctionServiceConfigPtrOutput) GcfUri() pulumi.StringPtrOutput
- func (o FunctionServiceConfigPtrOutput) IngressSettings() pulumi.StringPtrOutput
- func (o FunctionServiceConfigPtrOutput) MaxInstanceCount() pulumi.IntPtrOutput
- func (o FunctionServiceConfigPtrOutput) MaxInstanceRequestConcurrency() pulumi.IntPtrOutput
- func (o FunctionServiceConfigPtrOutput) MinInstanceCount() pulumi.IntPtrOutput
- func (o FunctionServiceConfigPtrOutput) SecretEnvironmentVariables() FunctionServiceConfigSecretEnvironmentVariableArrayOutput
- func (o FunctionServiceConfigPtrOutput) SecretVolumes() FunctionServiceConfigSecretVolumeArrayOutput
- func (o FunctionServiceConfigPtrOutput) Service() pulumi.StringPtrOutput
- func (o FunctionServiceConfigPtrOutput) ServiceAccountEmail() pulumi.StringPtrOutput
- func (o FunctionServiceConfigPtrOutput) TimeoutSeconds() pulumi.IntPtrOutput
- func (o FunctionServiceConfigPtrOutput) ToFunctionServiceConfigPtrOutput() FunctionServiceConfigPtrOutput
- func (o FunctionServiceConfigPtrOutput) ToFunctionServiceConfigPtrOutputWithContext(ctx context.Context) FunctionServiceConfigPtrOutput
- func (o FunctionServiceConfigPtrOutput) Uri() pulumi.StringPtrOutput
- func (o FunctionServiceConfigPtrOutput) VpcConnector() pulumi.StringPtrOutput
- func (o FunctionServiceConfigPtrOutput) VpcConnectorEgressSettings() pulumi.StringPtrOutput
- type FunctionServiceConfigSecretEnvironmentVariable
- type FunctionServiceConfigSecretEnvironmentVariableArgs
- func (FunctionServiceConfigSecretEnvironmentVariableArgs) ElementType() reflect.Type
- func (i FunctionServiceConfigSecretEnvironmentVariableArgs) ToFunctionServiceConfigSecretEnvironmentVariableOutput() FunctionServiceConfigSecretEnvironmentVariableOutput
- func (i FunctionServiceConfigSecretEnvironmentVariableArgs) ToFunctionServiceConfigSecretEnvironmentVariableOutputWithContext(ctx context.Context) FunctionServiceConfigSecretEnvironmentVariableOutput
- type FunctionServiceConfigSecretEnvironmentVariableArray
- func (FunctionServiceConfigSecretEnvironmentVariableArray) ElementType() reflect.Type
- func (i FunctionServiceConfigSecretEnvironmentVariableArray) ToFunctionServiceConfigSecretEnvironmentVariableArrayOutput() FunctionServiceConfigSecretEnvironmentVariableArrayOutput
- func (i FunctionServiceConfigSecretEnvironmentVariableArray) ToFunctionServiceConfigSecretEnvironmentVariableArrayOutputWithContext(ctx context.Context) FunctionServiceConfigSecretEnvironmentVariableArrayOutput
- type FunctionServiceConfigSecretEnvironmentVariableArrayInput
- type FunctionServiceConfigSecretEnvironmentVariableArrayOutput
- func (FunctionServiceConfigSecretEnvironmentVariableArrayOutput) ElementType() reflect.Type
- func (o FunctionServiceConfigSecretEnvironmentVariableArrayOutput) Index(i pulumi.IntInput) FunctionServiceConfigSecretEnvironmentVariableOutput
- func (o FunctionServiceConfigSecretEnvironmentVariableArrayOutput) ToFunctionServiceConfigSecretEnvironmentVariableArrayOutput() FunctionServiceConfigSecretEnvironmentVariableArrayOutput
- func (o FunctionServiceConfigSecretEnvironmentVariableArrayOutput) ToFunctionServiceConfigSecretEnvironmentVariableArrayOutputWithContext(ctx context.Context) FunctionServiceConfigSecretEnvironmentVariableArrayOutput
- type FunctionServiceConfigSecretEnvironmentVariableInput
- type FunctionServiceConfigSecretEnvironmentVariableOutput
- func (FunctionServiceConfigSecretEnvironmentVariableOutput) ElementType() reflect.Type
- func (o FunctionServiceConfigSecretEnvironmentVariableOutput) Key() pulumi.StringOutput
- func (o FunctionServiceConfigSecretEnvironmentVariableOutput) ProjectId() pulumi.StringOutput
- func (o FunctionServiceConfigSecretEnvironmentVariableOutput) Secret() pulumi.StringOutput
- func (o FunctionServiceConfigSecretEnvironmentVariableOutput) ToFunctionServiceConfigSecretEnvironmentVariableOutput() FunctionServiceConfigSecretEnvironmentVariableOutput
- func (o FunctionServiceConfigSecretEnvironmentVariableOutput) ToFunctionServiceConfigSecretEnvironmentVariableOutputWithContext(ctx context.Context) FunctionServiceConfigSecretEnvironmentVariableOutput
- func (o FunctionServiceConfigSecretEnvironmentVariableOutput) Version() pulumi.StringOutput
- type FunctionServiceConfigSecretVolume
- type FunctionServiceConfigSecretVolumeArgs
- func (FunctionServiceConfigSecretVolumeArgs) ElementType() reflect.Type
- func (i FunctionServiceConfigSecretVolumeArgs) ToFunctionServiceConfigSecretVolumeOutput() FunctionServiceConfigSecretVolumeOutput
- func (i FunctionServiceConfigSecretVolumeArgs) ToFunctionServiceConfigSecretVolumeOutputWithContext(ctx context.Context) FunctionServiceConfigSecretVolumeOutput
- type FunctionServiceConfigSecretVolumeArray
- func (FunctionServiceConfigSecretVolumeArray) ElementType() reflect.Type
- func (i FunctionServiceConfigSecretVolumeArray) ToFunctionServiceConfigSecretVolumeArrayOutput() FunctionServiceConfigSecretVolumeArrayOutput
- func (i FunctionServiceConfigSecretVolumeArray) ToFunctionServiceConfigSecretVolumeArrayOutputWithContext(ctx context.Context) FunctionServiceConfigSecretVolumeArrayOutput
- type FunctionServiceConfigSecretVolumeArrayInput
- type FunctionServiceConfigSecretVolumeArrayOutput
- func (FunctionServiceConfigSecretVolumeArrayOutput) ElementType() reflect.Type
- func (o FunctionServiceConfigSecretVolumeArrayOutput) Index(i pulumi.IntInput) FunctionServiceConfigSecretVolumeOutput
- func (o FunctionServiceConfigSecretVolumeArrayOutput) ToFunctionServiceConfigSecretVolumeArrayOutput() FunctionServiceConfigSecretVolumeArrayOutput
- func (o FunctionServiceConfigSecretVolumeArrayOutput) ToFunctionServiceConfigSecretVolumeArrayOutputWithContext(ctx context.Context) FunctionServiceConfigSecretVolumeArrayOutput
- type FunctionServiceConfigSecretVolumeInput
- type FunctionServiceConfigSecretVolumeOutput
- func (FunctionServiceConfigSecretVolumeOutput) ElementType() reflect.Type
- func (o FunctionServiceConfigSecretVolumeOutput) MountPath() pulumi.StringOutput
- func (o FunctionServiceConfigSecretVolumeOutput) ProjectId() pulumi.StringOutput
- func (o FunctionServiceConfigSecretVolumeOutput) Secret() pulumi.StringOutput
- func (o FunctionServiceConfigSecretVolumeOutput) ToFunctionServiceConfigSecretVolumeOutput() FunctionServiceConfigSecretVolumeOutput
- func (o FunctionServiceConfigSecretVolumeOutput) ToFunctionServiceConfigSecretVolumeOutputWithContext(ctx context.Context) FunctionServiceConfigSecretVolumeOutput
- func (o FunctionServiceConfigSecretVolumeOutput) Versions() FunctionServiceConfigSecretVolumeVersionArrayOutput
- type FunctionServiceConfigSecretVolumeVersion
- type FunctionServiceConfigSecretVolumeVersionArgs
- func (FunctionServiceConfigSecretVolumeVersionArgs) ElementType() reflect.Type
- func (i FunctionServiceConfigSecretVolumeVersionArgs) ToFunctionServiceConfigSecretVolumeVersionOutput() FunctionServiceConfigSecretVolumeVersionOutput
- func (i FunctionServiceConfigSecretVolumeVersionArgs) ToFunctionServiceConfigSecretVolumeVersionOutputWithContext(ctx context.Context) FunctionServiceConfigSecretVolumeVersionOutput
- type FunctionServiceConfigSecretVolumeVersionArray
- func (FunctionServiceConfigSecretVolumeVersionArray) ElementType() reflect.Type
- func (i FunctionServiceConfigSecretVolumeVersionArray) ToFunctionServiceConfigSecretVolumeVersionArrayOutput() FunctionServiceConfigSecretVolumeVersionArrayOutput
- func (i FunctionServiceConfigSecretVolumeVersionArray) ToFunctionServiceConfigSecretVolumeVersionArrayOutputWithContext(ctx context.Context) FunctionServiceConfigSecretVolumeVersionArrayOutput
- type FunctionServiceConfigSecretVolumeVersionArrayInput
- type FunctionServiceConfigSecretVolumeVersionArrayOutput
- func (FunctionServiceConfigSecretVolumeVersionArrayOutput) ElementType() reflect.Type
- func (o FunctionServiceConfigSecretVolumeVersionArrayOutput) Index(i pulumi.IntInput) FunctionServiceConfigSecretVolumeVersionOutput
- func (o FunctionServiceConfigSecretVolumeVersionArrayOutput) ToFunctionServiceConfigSecretVolumeVersionArrayOutput() FunctionServiceConfigSecretVolumeVersionArrayOutput
- func (o FunctionServiceConfigSecretVolumeVersionArrayOutput) ToFunctionServiceConfigSecretVolumeVersionArrayOutputWithContext(ctx context.Context) FunctionServiceConfigSecretVolumeVersionArrayOutput
- type FunctionServiceConfigSecretVolumeVersionInput
- type FunctionServiceConfigSecretVolumeVersionOutput
- func (FunctionServiceConfigSecretVolumeVersionOutput) ElementType() reflect.Type
- func (o FunctionServiceConfigSecretVolumeVersionOutput) Path() pulumi.StringOutput
- func (o FunctionServiceConfigSecretVolumeVersionOutput) ToFunctionServiceConfigSecretVolumeVersionOutput() FunctionServiceConfigSecretVolumeVersionOutput
- func (o FunctionServiceConfigSecretVolumeVersionOutput) ToFunctionServiceConfigSecretVolumeVersionOutputWithContext(ctx context.Context) FunctionServiceConfigSecretVolumeVersionOutput
- func (o FunctionServiceConfigSecretVolumeVersionOutput) Version() pulumi.StringOutput
- type FunctionState
- type GetFunctionBuildConfig
- type GetFunctionBuildConfigArgs
- type GetFunctionBuildConfigArray
- func (GetFunctionBuildConfigArray) ElementType() reflect.Type
- func (i GetFunctionBuildConfigArray) ToGetFunctionBuildConfigArrayOutput() GetFunctionBuildConfigArrayOutput
- func (i GetFunctionBuildConfigArray) ToGetFunctionBuildConfigArrayOutputWithContext(ctx context.Context) GetFunctionBuildConfigArrayOutput
- type GetFunctionBuildConfigArrayInput
- type GetFunctionBuildConfigArrayOutput
- func (GetFunctionBuildConfigArrayOutput) ElementType() reflect.Type
- func (o GetFunctionBuildConfigArrayOutput) Index(i pulumi.IntInput) GetFunctionBuildConfigOutput
- func (o GetFunctionBuildConfigArrayOutput) ToGetFunctionBuildConfigArrayOutput() GetFunctionBuildConfigArrayOutput
- func (o GetFunctionBuildConfigArrayOutput) ToGetFunctionBuildConfigArrayOutputWithContext(ctx context.Context) GetFunctionBuildConfigArrayOutput
- type GetFunctionBuildConfigAutomaticUpdatePolicy
- type GetFunctionBuildConfigAutomaticUpdatePolicyArgs
- func (GetFunctionBuildConfigAutomaticUpdatePolicyArgs) ElementType() reflect.Type
- func (i GetFunctionBuildConfigAutomaticUpdatePolicyArgs) ToGetFunctionBuildConfigAutomaticUpdatePolicyOutput() GetFunctionBuildConfigAutomaticUpdatePolicyOutput
- func (i GetFunctionBuildConfigAutomaticUpdatePolicyArgs) ToGetFunctionBuildConfigAutomaticUpdatePolicyOutputWithContext(ctx context.Context) GetFunctionBuildConfigAutomaticUpdatePolicyOutput
- type GetFunctionBuildConfigAutomaticUpdatePolicyArray
- func (GetFunctionBuildConfigAutomaticUpdatePolicyArray) ElementType() reflect.Type
- func (i GetFunctionBuildConfigAutomaticUpdatePolicyArray) ToGetFunctionBuildConfigAutomaticUpdatePolicyArrayOutput() GetFunctionBuildConfigAutomaticUpdatePolicyArrayOutput
- func (i GetFunctionBuildConfigAutomaticUpdatePolicyArray) ToGetFunctionBuildConfigAutomaticUpdatePolicyArrayOutputWithContext(ctx context.Context) GetFunctionBuildConfigAutomaticUpdatePolicyArrayOutput
- type GetFunctionBuildConfigAutomaticUpdatePolicyArrayInput
- type GetFunctionBuildConfigAutomaticUpdatePolicyArrayOutput
- func (GetFunctionBuildConfigAutomaticUpdatePolicyArrayOutput) ElementType() reflect.Type
- func (o GetFunctionBuildConfigAutomaticUpdatePolicyArrayOutput) Index(i pulumi.IntInput) GetFunctionBuildConfigAutomaticUpdatePolicyOutput
- func (o GetFunctionBuildConfigAutomaticUpdatePolicyArrayOutput) ToGetFunctionBuildConfigAutomaticUpdatePolicyArrayOutput() GetFunctionBuildConfigAutomaticUpdatePolicyArrayOutput
- func (o GetFunctionBuildConfigAutomaticUpdatePolicyArrayOutput) ToGetFunctionBuildConfigAutomaticUpdatePolicyArrayOutputWithContext(ctx context.Context) GetFunctionBuildConfigAutomaticUpdatePolicyArrayOutput
- type GetFunctionBuildConfigAutomaticUpdatePolicyInput
- type GetFunctionBuildConfigAutomaticUpdatePolicyOutput
- func (GetFunctionBuildConfigAutomaticUpdatePolicyOutput) ElementType() reflect.Type
- func (o GetFunctionBuildConfigAutomaticUpdatePolicyOutput) ToGetFunctionBuildConfigAutomaticUpdatePolicyOutput() GetFunctionBuildConfigAutomaticUpdatePolicyOutput
- func (o GetFunctionBuildConfigAutomaticUpdatePolicyOutput) ToGetFunctionBuildConfigAutomaticUpdatePolicyOutputWithContext(ctx context.Context) GetFunctionBuildConfigAutomaticUpdatePolicyOutput
- type GetFunctionBuildConfigInput
- type GetFunctionBuildConfigOnDeployUpdatePolicy
- type GetFunctionBuildConfigOnDeployUpdatePolicyArgs
- func (GetFunctionBuildConfigOnDeployUpdatePolicyArgs) ElementType() reflect.Type
- func (i GetFunctionBuildConfigOnDeployUpdatePolicyArgs) ToGetFunctionBuildConfigOnDeployUpdatePolicyOutput() GetFunctionBuildConfigOnDeployUpdatePolicyOutput
- func (i GetFunctionBuildConfigOnDeployUpdatePolicyArgs) ToGetFunctionBuildConfigOnDeployUpdatePolicyOutputWithContext(ctx context.Context) GetFunctionBuildConfigOnDeployUpdatePolicyOutput
- type GetFunctionBuildConfigOnDeployUpdatePolicyArray
- func (GetFunctionBuildConfigOnDeployUpdatePolicyArray) ElementType() reflect.Type
- func (i GetFunctionBuildConfigOnDeployUpdatePolicyArray) ToGetFunctionBuildConfigOnDeployUpdatePolicyArrayOutput() GetFunctionBuildConfigOnDeployUpdatePolicyArrayOutput
- func (i GetFunctionBuildConfigOnDeployUpdatePolicyArray) ToGetFunctionBuildConfigOnDeployUpdatePolicyArrayOutputWithContext(ctx context.Context) GetFunctionBuildConfigOnDeployUpdatePolicyArrayOutput
- type GetFunctionBuildConfigOnDeployUpdatePolicyArrayInput
- type GetFunctionBuildConfigOnDeployUpdatePolicyArrayOutput
- func (GetFunctionBuildConfigOnDeployUpdatePolicyArrayOutput) ElementType() reflect.Type
- func (o GetFunctionBuildConfigOnDeployUpdatePolicyArrayOutput) Index(i pulumi.IntInput) GetFunctionBuildConfigOnDeployUpdatePolicyOutput
- func (o GetFunctionBuildConfigOnDeployUpdatePolicyArrayOutput) ToGetFunctionBuildConfigOnDeployUpdatePolicyArrayOutput() GetFunctionBuildConfigOnDeployUpdatePolicyArrayOutput
- func (o GetFunctionBuildConfigOnDeployUpdatePolicyArrayOutput) ToGetFunctionBuildConfigOnDeployUpdatePolicyArrayOutputWithContext(ctx context.Context) GetFunctionBuildConfigOnDeployUpdatePolicyArrayOutput
- type GetFunctionBuildConfigOnDeployUpdatePolicyInput
- type GetFunctionBuildConfigOnDeployUpdatePolicyOutput
- func (GetFunctionBuildConfigOnDeployUpdatePolicyOutput) ElementType() reflect.Type
- func (o GetFunctionBuildConfigOnDeployUpdatePolicyOutput) RuntimeVersion() pulumi.StringOutput
- func (o GetFunctionBuildConfigOnDeployUpdatePolicyOutput) ToGetFunctionBuildConfigOnDeployUpdatePolicyOutput() GetFunctionBuildConfigOnDeployUpdatePolicyOutput
- func (o GetFunctionBuildConfigOnDeployUpdatePolicyOutput) ToGetFunctionBuildConfigOnDeployUpdatePolicyOutputWithContext(ctx context.Context) GetFunctionBuildConfigOnDeployUpdatePolicyOutput
- type GetFunctionBuildConfigOutput
- func (o GetFunctionBuildConfigOutput) AutomaticUpdatePolicies() GetFunctionBuildConfigAutomaticUpdatePolicyArrayOutput
- func (o GetFunctionBuildConfigOutput) Build() pulumi.StringOutput
- func (o GetFunctionBuildConfigOutput) DockerRepository() pulumi.StringOutput
- func (GetFunctionBuildConfigOutput) ElementType() reflect.Type
- func (o GetFunctionBuildConfigOutput) EntryPoint() pulumi.StringOutput
- func (o GetFunctionBuildConfigOutput) EnvironmentVariables() pulumi.StringMapOutput
- func (o GetFunctionBuildConfigOutput) OnDeployUpdatePolicies() GetFunctionBuildConfigOnDeployUpdatePolicyArrayOutput
- func (o GetFunctionBuildConfigOutput) Runtime() pulumi.StringOutput
- func (o GetFunctionBuildConfigOutput) ServiceAccount() pulumi.StringOutput
- func (o GetFunctionBuildConfigOutput) Sources() GetFunctionBuildConfigSourceArrayOutput
- func (o GetFunctionBuildConfigOutput) ToGetFunctionBuildConfigOutput() GetFunctionBuildConfigOutput
- func (o GetFunctionBuildConfigOutput) ToGetFunctionBuildConfigOutputWithContext(ctx context.Context) GetFunctionBuildConfigOutput
- func (o GetFunctionBuildConfigOutput) WorkerPool() pulumi.StringOutput
- type GetFunctionBuildConfigSource
- type GetFunctionBuildConfigSourceArgs
- func (GetFunctionBuildConfigSourceArgs) ElementType() reflect.Type
- func (i GetFunctionBuildConfigSourceArgs) ToGetFunctionBuildConfigSourceOutput() GetFunctionBuildConfigSourceOutput
- func (i GetFunctionBuildConfigSourceArgs) ToGetFunctionBuildConfigSourceOutputWithContext(ctx context.Context) GetFunctionBuildConfigSourceOutput
- type GetFunctionBuildConfigSourceArray
- func (GetFunctionBuildConfigSourceArray) ElementType() reflect.Type
- func (i GetFunctionBuildConfigSourceArray) ToGetFunctionBuildConfigSourceArrayOutput() GetFunctionBuildConfigSourceArrayOutput
- func (i GetFunctionBuildConfigSourceArray) ToGetFunctionBuildConfigSourceArrayOutputWithContext(ctx context.Context) GetFunctionBuildConfigSourceArrayOutput
- type GetFunctionBuildConfigSourceArrayInput
- type GetFunctionBuildConfigSourceArrayOutput
- func (GetFunctionBuildConfigSourceArrayOutput) ElementType() reflect.Type
- func (o GetFunctionBuildConfigSourceArrayOutput) Index(i pulumi.IntInput) GetFunctionBuildConfigSourceOutput
- func (o GetFunctionBuildConfigSourceArrayOutput) ToGetFunctionBuildConfigSourceArrayOutput() GetFunctionBuildConfigSourceArrayOutput
- func (o GetFunctionBuildConfigSourceArrayOutput) ToGetFunctionBuildConfigSourceArrayOutputWithContext(ctx context.Context) GetFunctionBuildConfigSourceArrayOutput
- type GetFunctionBuildConfigSourceInput
- type GetFunctionBuildConfigSourceOutput
- func (GetFunctionBuildConfigSourceOutput) ElementType() reflect.Type
- func (o GetFunctionBuildConfigSourceOutput) RepoSources() GetFunctionBuildConfigSourceRepoSourceArrayOutput
- func (o GetFunctionBuildConfigSourceOutput) StorageSources() GetFunctionBuildConfigSourceStorageSourceArrayOutput
- func (o GetFunctionBuildConfigSourceOutput) ToGetFunctionBuildConfigSourceOutput() GetFunctionBuildConfigSourceOutput
- func (o GetFunctionBuildConfigSourceOutput) ToGetFunctionBuildConfigSourceOutputWithContext(ctx context.Context) GetFunctionBuildConfigSourceOutput
- type GetFunctionBuildConfigSourceRepoSource
- type GetFunctionBuildConfigSourceRepoSourceArgs
- func (GetFunctionBuildConfigSourceRepoSourceArgs) ElementType() reflect.Type
- func (i GetFunctionBuildConfigSourceRepoSourceArgs) ToGetFunctionBuildConfigSourceRepoSourceOutput() GetFunctionBuildConfigSourceRepoSourceOutput
- func (i GetFunctionBuildConfigSourceRepoSourceArgs) ToGetFunctionBuildConfigSourceRepoSourceOutputWithContext(ctx context.Context) GetFunctionBuildConfigSourceRepoSourceOutput
- type GetFunctionBuildConfigSourceRepoSourceArray
- func (GetFunctionBuildConfigSourceRepoSourceArray) ElementType() reflect.Type
- func (i GetFunctionBuildConfigSourceRepoSourceArray) ToGetFunctionBuildConfigSourceRepoSourceArrayOutput() GetFunctionBuildConfigSourceRepoSourceArrayOutput
- func (i GetFunctionBuildConfigSourceRepoSourceArray) ToGetFunctionBuildConfigSourceRepoSourceArrayOutputWithContext(ctx context.Context) GetFunctionBuildConfigSourceRepoSourceArrayOutput
- type GetFunctionBuildConfigSourceRepoSourceArrayInput
- type GetFunctionBuildConfigSourceRepoSourceArrayOutput
- func (GetFunctionBuildConfigSourceRepoSourceArrayOutput) ElementType() reflect.Type
- func (o GetFunctionBuildConfigSourceRepoSourceArrayOutput) Index(i pulumi.IntInput) GetFunctionBuildConfigSourceRepoSourceOutput
- func (o GetFunctionBuildConfigSourceRepoSourceArrayOutput) ToGetFunctionBuildConfigSourceRepoSourceArrayOutput() GetFunctionBuildConfigSourceRepoSourceArrayOutput
- func (o GetFunctionBuildConfigSourceRepoSourceArrayOutput) ToGetFunctionBuildConfigSourceRepoSourceArrayOutputWithContext(ctx context.Context) GetFunctionBuildConfigSourceRepoSourceArrayOutput
- type GetFunctionBuildConfigSourceRepoSourceInput
- type GetFunctionBuildConfigSourceRepoSourceOutput
- func (o GetFunctionBuildConfigSourceRepoSourceOutput) BranchName() pulumi.StringOutput
- func (o GetFunctionBuildConfigSourceRepoSourceOutput) CommitSha() pulumi.StringOutput
- func (o GetFunctionBuildConfigSourceRepoSourceOutput) Dir() pulumi.StringOutput
- func (GetFunctionBuildConfigSourceRepoSourceOutput) ElementType() reflect.Type
- func (o GetFunctionBuildConfigSourceRepoSourceOutput) InvertRegex() pulumi.BoolOutput
- func (o GetFunctionBuildConfigSourceRepoSourceOutput) ProjectId() pulumi.StringOutput
- func (o GetFunctionBuildConfigSourceRepoSourceOutput) RepoName() pulumi.StringOutput
- func (o GetFunctionBuildConfigSourceRepoSourceOutput) TagName() pulumi.StringOutput
- func (o GetFunctionBuildConfigSourceRepoSourceOutput) ToGetFunctionBuildConfigSourceRepoSourceOutput() GetFunctionBuildConfigSourceRepoSourceOutput
- func (o GetFunctionBuildConfigSourceRepoSourceOutput) ToGetFunctionBuildConfigSourceRepoSourceOutputWithContext(ctx context.Context) GetFunctionBuildConfigSourceRepoSourceOutput
- type GetFunctionBuildConfigSourceStorageSource
- type GetFunctionBuildConfigSourceStorageSourceArgs
- func (GetFunctionBuildConfigSourceStorageSourceArgs) ElementType() reflect.Type
- func (i GetFunctionBuildConfigSourceStorageSourceArgs) ToGetFunctionBuildConfigSourceStorageSourceOutput() GetFunctionBuildConfigSourceStorageSourceOutput
- func (i GetFunctionBuildConfigSourceStorageSourceArgs) ToGetFunctionBuildConfigSourceStorageSourceOutputWithContext(ctx context.Context) GetFunctionBuildConfigSourceStorageSourceOutput
- type GetFunctionBuildConfigSourceStorageSourceArray
- func (GetFunctionBuildConfigSourceStorageSourceArray) ElementType() reflect.Type
- func (i GetFunctionBuildConfigSourceStorageSourceArray) ToGetFunctionBuildConfigSourceStorageSourceArrayOutput() GetFunctionBuildConfigSourceStorageSourceArrayOutput
- func (i GetFunctionBuildConfigSourceStorageSourceArray) ToGetFunctionBuildConfigSourceStorageSourceArrayOutputWithContext(ctx context.Context) GetFunctionBuildConfigSourceStorageSourceArrayOutput
- type GetFunctionBuildConfigSourceStorageSourceArrayInput
- type GetFunctionBuildConfigSourceStorageSourceArrayOutput
- func (GetFunctionBuildConfigSourceStorageSourceArrayOutput) ElementType() reflect.Type
- func (o GetFunctionBuildConfigSourceStorageSourceArrayOutput) Index(i pulumi.IntInput) GetFunctionBuildConfigSourceStorageSourceOutput
- func (o GetFunctionBuildConfigSourceStorageSourceArrayOutput) ToGetFunctionBuildConfigSourceStorageSourceArrayOutput() GetFunctionBuildConfigSourceStorageSourceArrayOutput
- func (o GetFunctionBuildConfigSourceStorageSourceArrayOutput) ToGetFunctionBuildConfigSourceStorageSourceArrayOutputWithContext(ctx context.Context) GetFunctionBuildConfigSourceStorageSourceArrayOutput
- type GetFunctionBuildConfigSourceStorageSourceInput
- type GetFunctionBuildConfigSourceStorageSourceOutput
- func (o GetFunctionBuildConfigSourceStorageSourceOutput) Bucket() pulumi.StringOutput
- func (GetFunctionBuildConfigSourceStorageSourceOutput) ElementType() reflect.Type
- func (o GetFunctionBuildConfigSourceStorageSourceOutput) Generation() pulumi.IntOutput
- func (o GetFunctionBuildConfigSourceStorageSourceOutput) Object() pulumi.StringOutput
- func (o GetFunctionBuildConfigSourceStorageSourceOutput) ToGetFunctionBuildConfigSourceStorageSourceOutput() GetFunctionBuildConfigSourceStorageSourceOutput
- func (o GetFunctionBuildConfigSourceStorageSourceOutput) ToGetFunctionBuildConfigSourceStorageSourceOutputWithContext(ctx context.Context) GetFunctionBuildConfigSourceStorageSourceOutput
- type GetFunctionEventTrigger
- type GetFunctionEventTriggerArgs
- type GetFunctionEventTriggerArray
- func (GetFunctionEventTriggerArray) ElementType() reflect.Type
- func (i GetFunctionEventTriggerArray) ToGetFunctionEventTriggerArrayOutput() GetFunctionEventTriggerArrayOutput
- func (i GetFunctionEventTriggerArray) ToGetFunctionEventTriggerArrayOutputWithContext(ctx context.Context) GetFunctionEventTriggerArrayOutput
- type GetFunctionEventTriggerArrayInput
- type GetFunctionEventTriggerArrayOutput
- func (GetFunctionEventTriggerArrayOutput) ElementType() reflect.Type
- func (o GetFunctionEventTriggerArrayOutput) Index(i pulumi.IntInput) GetFunctionEventTriggerOutput
- func (o GetFunctionEventTriggerArrayOutput) ToGetFunctionEventTriggerArrayOutput() GetFunctionEventTriggerArrayOutput
- func (o GetFunctionEventTriggerArrayOutput) ToGetFunctionEventTriggerArrayOutputWithContext(ctx context.Context) GetFunctionEventTriggerArrayOutput
- type GetFunctionEventTriggerEventFilter
- type GetFunctionEventTriggerEventFilterArgs
- func (GetFunctionEventTriggerEventFilterArgs) ElementType() reflect.Type
- func (i GetFunctionEventTriggerEventFilterArgs) ToGetFunctionEventTriggerEventFilterOutput() GetFunctionEventTriggerEventFilterOutput
- func (i GetFunctionEventTriggerEventFilterArgs) ToGetFunctionEventTriggerEventFilterOutputWithContext(ctx context.Context) GetFunctionEventTriggerEventFilterOutput
- type GetFunctionEventTriggerEventFilterArray
- func (GetFunctionEventTriggerEventFilterArray) ElementType() reflect.Type
- func (i GetFunctionEventTriggerEventFilterArray) ToGetFunctionEventTriggerEventFilterArrayOutput() GetFunctionEventTriggerEventFilterArrayOutput
- func (i GetFunctionEventTriggerEventFilterArray) ToGetFunctionEventTriggerEventFilterArrayOutputWithContext(ctx context.Context) GetFunctionEventTriggerEventFilterArrayOutput
- type GetFunctionEventTriggerEventFilterArrayInput
- type GetFunctionEventTriggerEventFilterArrayOutput
- func (GetFunctionEventTriggerEventFilterArrayOutput) ElementType() reflect.Type
- func (o GetFunctionEventTriggerEventFilterArrayOutput) Index(i pulumi.IntInput) GetFunctionEventTriggerEventFilterOutput
- func (o GetFunctionEventTriggerEventFilterArrayOutput) ToGetFunctionEventTriggerEventFilterArrayOutput() GetFunctionEventTriggerEventFilterArrayOutput
- func (o GetFunctionEventTriggerEventFilterArrayOutput) ToGetFunctionEventTriggerEventFilterArrayOutputWithContext(ctx context.Context) GetFunctionEventTriggerEventFilterArrayOutput
- type GetFunctionEventTriggerEventFilterInput
- type GetFunctionEventTriggerEventFilterOutput
- func (o GetFunctionEventTriggerEventFilterOutput) Attribute() pulumi.StringOutput
- func (GetFunctionEventTriggerEventFilterOutput) ElementType() reflect.Type
- func (o GetFunctionEventTriggerEventFilterOutput) Operator() pulumi.StringOutput
- func (o GetFunctionEventTriggerEventFilterOutput) ToGetFunctionEventTriggerEventFilterOutput() GetFunctionEventTriggerEventFilterOutput
- func (o GetFunctionEventTriggerEventFilterOutput) ToGetFunctionEventTriggerEventFilterOutputWithContext(ctx context.Context) GetFunctionEventTriggerEventFilterOutput
- func (o GetFunctionEventTriggerEventFilterOutput) Value() pulumi.StringOutput
- type GetFunctionEventTriggerInput
- type GetFunctionEventTriggerOutput
- func (GetFunctionEventTriggerOutput) ElementType() reflect.Type
- func (o GetFunctionEventTriggerOutput) EventFilters() GetFunctionEventTriggerEventFilterArrayOutput
- func (o GetFunctionEventTriggerOutput) EventType() pulumi.StringOutput
- func (o GetFunctionEventTriggerOutput) PubsubTopic() pulumi.StringOutput
- func (o GetFunctionEventTriggerOutput) RetryPolicy() pulumi.StringOutput
- func (o GetFunctionEventTriggerOutput) ServiceAccountEmail() pulumi.StringOutput
- func (o GetFunctionEventTriggerOutput) ToGetFunctionEventTriggerOutput() GetFunctionEventTriggerOutput
- func (o GetFunctionEventTriggerOutput) ToGetFunctionEventTriggerOutputWithContext(ctx context.Context) GetFunctionEventTriggerOutput
- func (o GetFunctionEventTriggerOutput) Trigger() pulumi.StringOutput
- func (o GetFunctionEventTriggerOutput) TriggerRegion() pulumi.StringOutput
- type GetFunctionServiceConfig
- type GetFunctionServiceConfigArgs
- func (GetFunctionServiceConfigArgs) ElementType() reflect.Type
- func (i GetFunctionServiceConfigArgs) ToGetFunctionServiceConfigOutput() GetFunctionServiceConfigOutput
- func (i GetFunctionServiceConfigArgs) ToGetFunctionServiceConfigOutputWithContext(ctx context.Context) GetFunctionServiceConfigOutput
- type GetFunctionServiceConfigArray
- func (GetFunctionServiceConfigArray) ElementType() reflect.Type
- func (i GetFunctionServiceConfigArray) ToGetFunctionServiceConfigArrayOutput() GetFunctionServiceConfigArrayOutput
- func (i GetFunctionServiceConfigArray) ToGetFunctionServiceConfigArrayOutputWithContext(ctx context.Context) GetFunctionServiceConfigArrayOutput
- type GetFunctionServiceConfigArrayInput
- type GetFunctionServiceConfigArrayOutput
- func (GetFunctionServiceConfigArrayOutput) ElementType() reflect.Type
- func (o GetFunctionServiceConfigArrayOutput) Index(i pulumi.IntInput) GetFunctionServiceConfigOutput
- func (o GetFunctionServiceConfigArrayOutput) ToGetFunctionServiceConfigArrayOutput() GetFunctionServiceConfigArrayOutput
- func (o GetFunctionServiceConfigArrayOutput) ToGetFunctionServiceConfigArrayOutputWithContext(ctx context.Context) GetFunctionServiceConfigArrayOutput
- type GetFunctionServiceConfigInput
- type GetFunctionServiceConfigOutput
- func (o GetFunctionServiceConfigOutput) AllTrafficOnLatestRevision() pulumi.BoolOutput
- func (o GetFunctionServiceConfigOutput) AvailableCpu() pulumi.StringOutput
- func (o GetFunctionServiceConfigOutput) AvailableMemory() pulumi.StringOutput
- func (GetFunctionServiceConfigOutput) ElementType() reflect.Type
- func (o GetFunctionServiceConfigOutput) EnvironmentVariables() pulumi.StringMapOutput
- func (o GetFunctionServiceConfigOutput) GcfUri() pulumi.StringOutput
- func (o GetFunctionServiceConfigOutput) IngressSettings() pulumi.StringOutput
- func (o GetFunctionServiceConfigOutput) MaxInstanceCount() pulumi.IntOutput
- func (o GetFunctionServiceConfigOutput) MaxInstanceRequestConcurrency() pulumi.IntOutput
- func (o GetFunctionServiceConfigOutput) MinInstanceCount() pulumi.IntOutput
- func (o GetFunctionServiceConfigOutput) SecretEnvironmentVariables() GetFunctionServiceConfigSecretEnvironmentVariableArrayOutput
- func (o GetFunctionServiceConfigOutput) SecretVolumes() GetFunctionServiceConfigSecretVolumeArrayOutput
- func (o GetFunctionServiceConfigOutput) Service() pulumi.StringOutput
- func (o GetFunctionServiceConfigOutput) ServiceAccountEmail() pulumi.StringOutput
- func (o GetFunctionServiceConfigOutput) TimeoutSeconds() pulumi.IntOutput
- func (o GetFunctionServiceConfigOutput) ToGetFunctionServiceConfigOutput() GetFunctionServiceConfigOutput
- func (o GetFunctionServiceConfigOutput) ToGetFunctionServiceConfigOutputWithContext(ctx context.Context) GetFunctionServiceConfigOutput
- func (o GetFunctionServiceConfigOutput) Uri() pulumi.StringOutput
- func (o GetFunctionServiceConfigOutput) VpcConnector() pulumi.StringOutput
- func (o GetFunctionServiceConfigOutput) VpcConnectorEgressSettings() pulumi.StringOutput
- type GetFunctionServiceConfigSecretEnvironmentVariable
- type GetFunctionServiceConfigSecretEnvironmentVariableArgs
- func (GetFunctionServiceConfigSecretEnvironmentVariableArgs) ElementType() reflect.Type
- func (i GetFunctionServiceConfigSecretEnvironmentVariableArgs) ToGetFunctionServiceConfigSecretEnvironmentVariableOutput() GetFunctionServiceConfigSecretEnvironmentVariableOutput
- func (i GetFunctionServiceConfigSecretEnvironmentVariableArgs) ToGetFunctionServiceConfigSecretEnvironmentVariableOutputWithContext(ctx context.Context) GetFunctionServiceConfigSecretEnvironmentVariableOutput
- type GetFunctionServiceConfigSecretEnvironmentVariableArray
- func (GetFunctionServiceConfigSecretEnvironmentVariableArray) ElementType() reflect.Type
- func (i GetFunctionServiceConfigSecretEnvironmentVariableArray) ToGetFunctionServiceConfigSecretEnvironmentVariableArrayOutput() GetFunctionServiceConfigSecretEnvironmentVariableArrayOutput
- func (i GetFunctionServiceConfigSecretEnvironmentVariableArray) ToGetFunctionServiceConfigSecretEnvironmentVariableArrayOutputWithContext(ctx context.Context) GetFunctionServiceConfigSecretEnvironmentVariableArrayOutput
- type GetFunctionServiceConfigSecretEnvironmentVariableArrayInput
- type GetFunctionServiceConfigSecretEnvironmentVariableArrayOutput
- func (GetFunctionServiceConfigSecretEnvironmentVariableArrayOutput) ElementType() reflect.Type
- func (o GetFunctionServiceConfigSecretEnvironmentVariableArrayOutput) Index(i pulumi.IntInput) GetFunctionServiceConfigSecretEnvironmentVariableOutput
- func (o GetFunctionServiceConfigSecretEnvironmentVariableArrayOutput) ToGetFunctionServiceConfigSecretEnvironmentVariableArrayOutput() GetFunctionServiceConfigSecretEnvironmentVariableArrayOutput
- func (o GetFunctionServiceConfigSecretEnvironmentVariableArrayOutput) ToGetFunctionServiceConfigSecretEnvironmentVariableArrayOutputWithContext(ctx context.Context) GetFunctionServiceConfigSecretEnvironmentVariableArrayOutput
- type GetFunctionServiceConfigSecretEnvironmentVariableInput
- type GetFunctionServiceConfigSecretEnvironmentVariableOutput
- func (GetFunctionServiceConfigSecretEnvironmentVariableOutput) ElementType() reflect.Type
- func (o GetFunctionServiceConfigSecretEnvironmentVariableOutput) Key() pulumi.StringOutput
- func (o GetFunctionServiceConfigSecretEnvironmentVariableOutput) ProjectId() pulumi.StringOutput
- func (o GetFunctionServiceConfigSecretEnvironmentVariableOutput) Secret() pulumi.StringOutput
- func (o GetFunctionServiceConfigSecretEnvironmentVariableOutput) ToGetFunctionServiceConfigSecretEnvironmentVariableOutput() GetFunctionServiceConfigSecretEnvironmentVariableOutput
- func (o GetFunctionServiceConfigSecretEnvironmentVariableOutput) ToGetFunctionServiceConfigSecretEnvironmentVariableOutputWithContext(ctx context.Context) GetFunctionServiceConfigSecretEnvironmentVariableOutput
- func (o GetFunctionServiceConfigSecretEnvironmentVariableOutput) Version() pulumi.StringOutput
- type GetFunctionServiceConfigSecretVolume
- type GetFunctionServiceConfigSecretVolumeArgs
- func (GetFunctionServiceConfigSecretVolumeArgs) ElementType() reflect.Type
- func (i GetFunctionServiceConfigSecretVolumeArgs) ToGetFunctionServiceConfigSecretVolumeOutput() GetFunctionServiceConfigSecretVolumeOutput
- func (i GetFunctionServiceConfigSecretVolumeArgs) ToGetFunctionServiceConfigSecretVolumeOutputWithContext(ctx context.Context) GetFunctionServiceConfigSecretVolumeOutput
- type GetFunctionServiceConfigSecretVolumeArray
- func (GetFunctionServiceConfigSecretVolumeArray) ElementType() reflect.Type
- func (i GetFunctionServiceConfigSecretVolumeArray) ToGetFunctionServiceConfigSecretVolumeArrayOutput() GetFunctionServiceConfigSecretVolumeArrayOutput
- func (i GetFunctionServiceConfigSecretVolumeArray) ToGetFunctionServiceConfigSecretVolumeArrayOutputWithContext(ctx context.Context) GetFunctionServiceConfigSecretVolumeArrayOutput
- type GetFunctionServiceConfigSecretVolumeArrayInput
- type GetFunctionServiceConfigSecretVolumeArrayOutput
- func (GetFunctionServiceConfigSecretVolumeArrayOutput) ElementType() reflect.Type
- func (o GetFunctionServiceConfigSecretVolumeArrayOutput) Index(i pulumi.IntInput) GetFunctionServiceConfigSecretVolumeOutput
- func (o GetFunctionServiceConfigSecretVolumeArrayOutput) ToGetFunctionServiceConfigSecretVolumeArrayOutput() GetFunctionServiceConfigSecretVolumeArrayOutput
- func (o GetFunctionServiceConfigSecretVolumeArrayOutput) ToGetFunctionServiceConfigSecretVolumeArrayOutputWithContext(ctx context.Context) GetFunctionServiceConfigSecretVolumeArrayOutput
- type GetFunctionServiceConfigSecretVolumeInput
- type GetFunctionServiceConfigSecretVolumeOutput
- func (GetFunctionServiceConfigSecretVolumeOutput) ElementType() reflect.Type
- func (o GetFunctionServiceConfigSecretVolumeOutput) MountPath() pulumi.StringOutput
- func (o GetFunctionServiceConfigSecretVolumeOutput) ProjectId() pulumi.StringOutput
- func (o GetFunctionServiceConfigSecretVolumeOutput) Secret() pulumi.StringOutput
- func (o GetFunctionServiceConfigSecretVolumeOutput) ToGetFunctionServiceConfigSecretVolumeOutput() GetFunctionServiceConfigSecretVolumeOutput
- func (o GetFunctionServiceConfigSecretVolumeOutput) ToGetFunctionServiceConfigSecretVolumeOutputWithContext(ctx context.Context) GetFunctionServiceConfigSecretVolumeOutput
- func (o GetFunctionServiceConfigSecretVolumeOutput) Versions() GetFunctionServiceConfigSecretVolumeVersionArrayOutput
- type GetFunctionServiceConfigSecretVolumeVersion
- type GetFunctionServiceConfigSecretVolumeVersionArgs
- func (GetFunctionServiceConfigSecretVolumeVersionArgs) ElementType() reflect.Type
- func (i GetFunctionServiceConfigSecretVolumeVersionArgs) ToGetFunctionServiceConfigSecretVolumeVersionOutput() GetFunctionServiceConfigSecretVolumeVersionOutput
- func (i GetFunctionServiceConfigSecretVolumeVersionArgs) ToGetFunctionServiceConfigSecretVolumeVersionOutputWithContext(ctx context.Context) GetFunctionServiceConfigSecretVolumeVersionOutput
- type GetFunctionServiceConfigSecretVolumeVersionArray
- func (GetFunctionServiceConfigSecretVolumeVersionArray) ElementType() reflect.Type
- func (i GetFunctionServiceConfigSecretVolumeVersionArray) ToGetFunctionServiceConfigSecretVolumeVersionArrayOutput() GetFunctionServiceConfigSecretVolumeVersionArrayOutput
- func (i GetFunctionServiceConfigSecretVolumeVersionArray) ToGetFunctionServiceConfigSecretVolumeVersionArrayOutputWithContext(ctx context.Context) GetFunctionServiceConfigSecretVolumeVersionArrayOutput
- type GetFunctionServiceConfigSecretVolumeVersionArrayInput
- type GetFunctionServiceConfigSecretVolumeVersionArrayOutput
- func (GetFunctionServiceConfigSecretVolumeVersionArrayOutput) ElementType() reflect.Type
- func (o GetFunctionServiceConfigSecretVolumeVersionArrayOutput) Index(i pulumi.IntInput) GetFunctionServiceConfigSecretVolumeVersionOutput
- func (o GetFunctionServiceConfigSecretVolumeVersionArrayOutput) ToGetFunctionServiceConfigSecretVolumeVersionArrayOutput() GetFunctionServiceConfigSecretVolumeVersionArrayOutput
- func (o GetFunctionServiceConfigSecretVolumeVersionArrayOutput) ToGetFunctionServiceConfigSecretVolumeVersionArrayOutputWithContext(ctx context.Context) GetFunctionServiceConfigSecretVolumeVersionArrayOutput
- type GetFunctionServiceConfigSecretVolumeVersionInput
- type GetFunctionServiceConfigSecretVolumeVersionOutput
- func (GetFunctionServiceConfigSecretVolumeVersionOutput) ElementType() reflect.Type
- func (o GetFunctionServiceConfigSecretVolumeVersionOutput) Path() pulumi.StringOutput
- func (o GetFunctionServiceConfigSecretVolumeVersionOutput) ToGetFunctionServiceConfigSecretVolumeVersionOutput() GetFunctionServiceConfigSecretVolumeVersionOutput
- func (o GetFunctionServiceConfigSecretVolumeVersionOutput) ToGetFunctionServiceConfigSecretVolumeVersionOutputWithContext(ctx context.Context) GetFunctionServiceConfigSecretVolumeVersionOutput
- func (o GetFunctionServiceConfigSecretVolumeVersionOutput) Version() pulumi.StringOutput
- type LookupFunctionArgs
- type LookupFunctionIamPolicyArgs
- type LookupFunctionIamPolicyOutputArgs
- type LookupFunctionIamPolicyResult
- type LookupFunctionIamPolicyResultOutput
- func (o LookupFunctionIamPolicyResultOutput) CloudFunction() pulumi.StringOutput
- func (LookupFunctionIamPolicyResultOutput) ElementType() reflect.Type
- func (o LookupFunctionIamPolicyResultOutput) Etag() pulumi.StringOutput
- func (o LookupFunctionIamPolicyResultOutput) Id() pulumi.StringOutput
- func (o LookupFunctionIamPolicyResultOutput) Location() pulumi.StringOutput
- func (o LookupFunctionIamPolicyResultOutput) PolicyData() pulumi.StringOutput
- func (o LookupFunctionIamPolicyResultOutput) Project() pulumi.StringOutput
- func (o LookupFunctionIamPolicyResultOutput) ToLookupFunctionIamPolicyResultOutput() LookupFunctionIamPolicyResultOutput
- func (o LookupFunctionIamPolicyResultOutput) ToLookupFunctionIamPolicyResultOutputWithContext(ctx context.Context) LookupFunctionIamPolicyResultOutput
- type LookupFunctionOutputArgs
- type LookupFunctionResult
- type LookupFunctionResultOutput
- func (o LookupFunctionResultOutput) BuildConfigs() GetFunctionBuildConfigArrayOutput
- func (o LookupFunctionResultOutput) Description() pulumi.StringOutput
- func (o LookupFunctionResultOutput) EffectiveLabels() pulumi.StringMapOutput
- func (LookupFunctionResultOutput) ElementType() reflect.Type
- func (o LookupFunctionResultOutput) Environment() pulumi.StringOutput
- func (o LookupFunctionResultOutput) EventTriggers() GetFunctionEventTriggerArrayOutput
- func (o LookupFunctionResultOutput) Id() pulumi.StringOutput
- func (o LookupFunctionResultOutput) KmsKeyName() pulumi.StringOutput
- func (o LookupFunctionResultOutput) Labels() pulumi.StringMapOutput
- func (o LookupFunctionResultOutput) Location() pulumi.StringOutput
- func (o LookupFunctionResultOutput) Name() pulumi.StringOutput
- func (o LookupFunctionResultOutput) Project() pulumi.StringPtrOutput
- func (o LookupFunctionResultOutput) PulumiLabels() pulumi.StringMapOutput
- func (o LookupFunctionResultOutput) ServiceConfigs() GetFunctionServiceConfigArrayOutput
- func (o LookupFunctionResultOutput) State() pulumi.StringOutput
- func (o LookupFunctionResultOutput) ToLookupFunctionResultOutput() LookupFunctionResultOutput
- func (o LookupFunctionResultOutput) ToLookupFunctionResultOutputWithContext(ctx context.Context) LookupFunctionResultOutput
- func (o LookupFunctionResultOutput) UpdateTime() pulumi.StringOutput
- func (o LookupFunctionResultOutput) Url() pulumi.StringOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Function ¶
type Function struct { pulumi.CustomResourceState // Describes the Build step of the function that builds a container // from the given source. // Structure is documented below. BuildConfig FunctionBuildConfigPtrOutput `pulumi:"buildConfig"` // User-provided description of a function. Description pulumi.StringPtrOutput `pulumi:"description"` // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"` // The environment the function is hosted on. Environment pulumi.StringOutput `pulumi:"environment"` // An Eventarc trigger managed by Google Cloud Functions that fires events in // response to a condition in another service. // Structure is documented below. EventTrigger FunctionEventTriggerPtrOutput `pulumi:"eventTrigger"` // Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. // It must match the pattern projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}. KmsKeyName pulumi.StringPtrOutput `pulumi:"kmsKeyName"` // A set of key/value label pairs associated with this Cloud Function. // // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapOutput `pulumi:"labels"` // The location of this cloud function. // // *** Location pulumi.StringOutput `pulumi:"location"` // A user-defined name of the function. Function names must // be unique globally and match pattern `projects/*/locations/*/functions/*`. 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"` // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"` // Describes the Service being deployed. // Structure is documented below. ServiceConfig FunctionServiceConfigPtrOutput `pulumi:"serviceConfig"` // Describes the current state of the function. State pulumi.StringOutput `pulumi:"state"` // The last update timestamp of a Cloud Function. UpdateTime pulumi.StringOutput `pulumi:"updateTime"` // Output only. The deployed url for the function. Url pulumi.StringOutput `pulumi:"url"` }
A Cloud Function that contains user computation executed in response to an event.
To get more information about function, see:
* [API documentation](https://cloud.google.com/functions/docs/reference/rest/v2beta/projects.locations.functions)
## Example Usage
### Cloudfunctions2 Basic
```go package main
import (
"fmt" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudfunctionsv2" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { project := "my-project-name" bucket, err := storage.NewBucket(ctx, "bucket", &storage.BucketArgs{ Name: pulumi.Sprintf("%v-gcf-source", project), Location: pulumi.String("US"), UniformBucketLevelAccess: pulumi.Bool(true), }) if err != nil { return err } object, err := storage.NewBucketObject(ctx, "object", &storage.BucketObjectArgs{ Name: pulumi.String("function-source.zip"), Bucket: bucket.Name, Source: pulumi.NewFileAsset("function-source.zip"), }) if err != nil { return err } _, err = cloudfunctionsv2.NewFunction(ctx, "function", &cloudfunctionsv2.FunctionArgs{ Name: pulumi.String("function-v2"), Location: pulumi.String("us-central1"), Description: pulumi.String("a new function"), BuildConfig: &cloudfunctionsv2.FunctionBuildConfigArgs{ Runtime: pulumi.String("nodejs16"), EntryPoint: pulumi.String("helloHttp"), Source: &cloudfunctionsv2.FunctionBuildConfigSourceArgs{ StorageSource: &cloudfunctionsv2.FunctionBuildConfigSourceStorageSourceArgs{ Bucket: bucket.Name, Object: object.Name, }, }, }, ServiceConfig: &cloudfunctionsv2.FunctionServiceConfigArgs{ MaxInstanceCount: pulumi.Int(1), AvailableMemory: pulumi.String("256M"), TimeoutSeconds: pulumi.Int(60), }, }) if err != nil { return err } return nil }) }
``` ### Cloudfunctions2 Full
```go package main
import (
"fmt" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudfunctionsv2" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/pubsub" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/serviceaccount" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { project := "my-project-name" account, err := serviceaccount.NewAccount(ctx, "account", &serviceaccount.AccountArgs{ AccountId: pulumi.String("gcf-sa"), DisplayName: pulumi.String("Test Service Account"), }) if err != nil { return err } topic, err := pubsub.NewTopic(ctx, "topic", &pubsub.TopicArgs{ Name: pulumi.String("functions2-topic"), }) if err != nil { return err } bucket, err := storage.NewBucket(ctx, "bucket", &storage.BucketArgs{ Name: pulumi.Sprintf("%v-gcf-source", project), Location: pulumi.String("US"), UniformBucketLevelAccess: pulumi.Bool(true), }) if err != nil { return err } object, err := storage.NewBucketObject(ctx, "object", &storage.BucketObjectArgs{ Name: pulumi.String("function-source.zip"), Bucket: bucket.Name, Source: pulumi.NewFileAsset("function-source.zip"), }) if err != nil { return err } _, err = cloudfunctionsv2.NewFunction(ctx, "function", &cloudfunctionsv2.FunctionArgs{ Name: pulumi.String("gcf-function"), Location: pulumi.String("us-central1"), Description: pulumi.String("a new function"), BuildConfig: &cloudfunctionsv2.FunctionBuildConfigArgs{ Runtime: pulumi.String("nodejs16"), EntryPoint: pulumi.String("helloPubSub"), EnvironmentVariables: pulumi.StringMap{ "BUILD_CONFIG_TEST": pulumi.String("build_test"), }, Source: &cloudfunctionsv2.FunctionBuildConfigSourceArgs{ StorageSource: &cloudfunctionsv2.FunctionBuildConfigSourceStorageSourceArgs{ Bucket: bucket.Name, Object: object.Name, }, }, }, ServiceConfig: &cloudfunctionsv2.FunctionServiceConfigArgs{ MaxInstanceCount: pulumi.Int(3), MinInstanceCount: pulumi.Int(1), AvailableMemory: pulumi.String("4Gi"), TimeoutSeconds: pulumi.Int(60), MaxInstanceRequestConcurrency: pulumi.Int(80), AvailableCpu: pulumi.String("4"), EnvironmentVariables: pulumi.StringMap{ "SERVICE_CONFIG_TEST": pulumi.String("config_test"), "SERVICE_CONFIG_DIFF_TEST": account.Email, }, IngressSettings: pulumi.String("ALLOW_INTERNAL_ONLY"), AllTrafficOnLatestRevision: pulumi.Bool(true), ServiceAccountEmail: account.Email, }, EventTrigger: &cloudfunctionsv2.FunctionEventTriggerArgs{ TriggerRegion: pulumi.String("us-central1"), EventType: pulumi.String("google.cloud.pubsub.topic.v1.messagePublished"), PubsubTopic: topic.ID(), RetryPolicy: pulumi.String("RETRY_POLICY_RETRY"), }, }) if err != nil { return err } return nil }) }
``` ### Cloudfunctions2 Scheduler Auth
```go package main
import (
"fmt" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudfunctionsv2" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudrun" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudscheduler" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/serviceaccount" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { project := "my-project-name" account, err := serviceaccount.NewAccount(ctx, "account", &serviceaccount.AccountArgs{ AccountId: pulumi.String("gcf-sa"), DisplayName: pulumi.String("Test Service Account"), }) if err != nil { return err } bucket, err := storage.NewBucket(ctx, "bucket", &storage.BucketArgs{ Name: pulumi.Sprintf("%v-gcf-source", project), Location: pulumi.String("US"), UniformBucketLevelAccess: pulumi.Bool(true), }) if err != nil { return err } object, err := storage.NewBucketObject(ctx, "object", &storage.BucketObjectArgs{ Name: pulumi.String("function-source.zip"), Bucket: bucket.Name, Source: pulumi.NewFileAsset("function-source.zip"), }) if err != nil { return err } function, err := cloudfunctionsv2.NewFunction(ctx, "function", &cloudfunctionsv2.FunctionArgs{ Name: pulumi.String("gcf-function"), Location: pulumi.String("us-central1"), Description: pulumi.String("a new function"), BuildConfig: &cloudfunctionsv2.FunctionBuildConfigArgs{ Runtime: pulumi.String("nodejs16"), EntryPoint: pulumi.String("helloHttp"), Source: &cloudfunctionsv2.FunctionBuildConfigSourceArgs{ StorageSource: &cloudfunctionsv2.FunctionBuildConfigSourceStorageSourceArgs{ Bucket: bucket.Name, Object: object.Name, }, }, }, ServiceConfig: &cloudfunctionsv2.FunctionServiceConfigArgs{ MinInstanceCount: pulumi.Int(1), AvailableMemory: pulumi.String("256M"), TimeoutSeconds: pulumi.Int(60), ServiceAccountEmail: account.Email, }, }) if err != nil { return err } _, err = cloudfunctionsv2.NewFunctionIamMember(ctx, "invoker", &cloudfunctionsv2.FunctionIamMemberArgs{ Project: function.Project, Location: function.Location, CloudFunction: function.Name, Role: pulumi.String("roles/cloudfunctions.invoker"), Member: account.Email.ApplyT(func(email string) (string, error) { return fmt.Sprintf("serviceAccount:%v", email), nil }).(pulumi.StringOutput), }) if err != nil { return err } _, err = cloudrun.NewIamMember(ctx, "cloud_run_invoker", &cloudrun.IamMemberArgs{ Project: function.Project, Location: function.Location, Service: function.Name, Role: pulumi.String("roles/run.invoker"), Member: account.Email.ApplyT(func(email string) (string, error) { return fmt.Sprintf("serviceAccount:%v", email), nil }).(pulumi.StringOutput), }) if err != nil { return err } _, err = cloudscheduler.NewJob(ctx, "invoke_cloud_function", &cloudscheduler.JobArgs{ Name: pulumi.String("invoke-gcf-function"), Description: pulumi.String("Schedule the HTTPS trigger for cloud function"), Schedule: pulumi.String("0 0 * * *"), Project: function.Project, Region: function.Location, HttpTarget: &cloudscheduler.JobHttpTargetArgs{ Uri: function.ServiceConfig.ApplyT(func(serviceConfig cloudfunctionsv2.FunctionServiceConfig) (*string, error) { return &serviceConfig.Uri, nil }).(pulumi.StringPtrOutput), HttpMethod: pulumi.String("POST"), OidcToken: &cloudscheduler.JobHttpTargetOidcTokenArgs{ Audience: function.ServiceConfig.ApplyT(func(serviceConfig cloudfunctionsv2.FunctionServiceConfig) (string, error) { return fmt.Sprintf("%v/", serviceConfig.Uri), nil }).(pulumi.StringOutput), ServiceAccountEmail: account.Email, }, }, }) if err != nil { return err } return nil }) }
``` ### Cloudfunctions2 Basic Gcs
```go package main
import (
"fmt" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudfunctionsv2" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/projects" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/serviceaccount" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := storage.NewBucket(ctx, "source-bucket", &storage.BucketArgs{ Name: pulumi.String("gcf-source-bucket"), Location: pulumi.String("US"), UniformBucketLevelAccess: pulumi.Bool(true), }) if err != nil { return err } object, err := storage.NewBucketObject(ctx, "object", &storage.BucketObjectArgs{ Name: pulumi.String("function-source.zip"), Bucket: source_bucket.Name, Source: pulumi.NewFileAsset("function-source.zip"), }) if err != nil { return err } _, err = storage.NewBucket(ctx, "trigger-bucket", &storage.BucketArgs{ Name: pulumi.String("gcf-trigger-bucket"), Location: pulumi.String("us-central1"), UniformBucketLevelAccess: pulumi.Bool(true), }) if err != nil { return err } gcsAccount, err := storage.GetProjectServiceAccount(ctx, &storage.GetProjectServiceAccountArgs{}, nil) if err != nil { return err } // To use GCS CloudEvent triggers, the GCS service account requires the Pub/Sub Publisher(roles/pubsub.publisher) IAM role in the specified project. // (See https://cloud.google.com/eventarc/docs/run/quickstart-storage#before-you-begin) _, err = projects.NewIAMMember(ctx, "gcs-pubsub-publishing", &projects.IAMMemberArgs{ Project: pulumi.String("my-project-name"), Role: pulumi.String("roles/pubsub.publisher"), Member: pulumi.Sprintf("serviceAccount:%v", gcsAccount.EmailAddress), }) if err != nil { return err } account, err := serviceaccount.NewAccount(ctx, "account", &serviceaccount.AccountArgs{ AccountId: pulumi.String("gcf-sa"), DisplayName: pulumi.String("Test Service Account - used for both the cloud function and eventarc trigger in the test"), }) if err != nil { return err } // Permissions on the service account used by the function and Eventarc trigger invoking, err := projects.NewIAMMember(ctx, "invoking", &projects.IAMMemberArgs{ Project: pulumi.String("my-project-name"), Role: pulumi.String("roles/run.invoker"), Member: account.Email.ApplyT(func(email string) (string, error) { return fmt.Sprintf("serviceAccount:%v", email), nil }).(pulumi.StringOutput), }, pulumi.DependsOn([]pulumi.Resource{ gcs_pubsub_publishing, })) if err != nil { return err } _, err = projects.NewIAMMember(ctx, "event-receiving", &projects.IAMMemberArgs{ Project: pulumi.String("my-project-name"), Role: pulumi.String("roles/eventarc.eventReceiver"), Member: account.Email.ApplyT(func(email string) (string, error) { return fmt.Sprintf("serviceAccount:%v", email), nil }).(pulumi.StringOutput), }, pulumi.DependsOn([]pulumi.Resource{ invoking, })) if err != nil { return err } _, err = projects.NewIAMMember(ctx, "artifactregistry-reader", &projects.IAMMemberArgs{ Project: pulumi.String("my-project-name"), Role: pulumi.String("roles/artifactregistry.reader"), Member: account.Email.ApplyT(func(email string) (string, error) { return fmt.Sprintf("serviceAccount:%v", email), nil }).(pulumi.StringOutput), }, pulumi.DependsOn([]pulumi.Resource{ event_receiving, })) if err != nil { return err } _, err = cloudfunctionsv2.NewFunction(ctx, "function", &cloudfunctionsv2.FunctionArgs{ Name: pulumi.String("gcf-function"), Location: pulumi.String("us-central1"), Description: pulumi.String("a new function"), BuildConfig: &cloudfunctionsv2.FunctionBuildConfigArgs{ Runtime: pulumi.String("nodejs12"), EntryPoint: pulumi.String("entryPoint"), EnvironmentVariables: pulumi.StringMap{ "BUILD_CONFIG_TEST": pulumi.String("build_test"), }, Source: &cloudfunctionsv2.FunctionBuildConfigSourceArgs{ StorageSource: &cloudfunctionsv2.FunctionBuildConfigSourceStorageSourceArgs{ Bucket: source_bucket.Name, Object: object.Name, }, }, }, ServiceConfig: &cloudfunctionsv2.FunctionServiceConfigArgs{ MaxInstanceCount: pulumi.Int(3), MinInstanceCount: pulumi.Int(1), AvailableMemory: pulumi.String("256M"), TimeoutSeconds: pulumi.Int(60), EnvironmentVariables: pulumi.StringMap{ "SERVICE_CONFIG_TEST": pulumi.String("config_test"), }, IngressSettings: pulumi.String("ALLOW_INTERNAL_ONLY"), AllTrafficOnLatestRevision: pulumi.Bool(true), ServiceAccountEmail: account.Email, }, EventTrigger: &cloudfunctionsv2.FunctionEventTriggerArgs{ EventType: pulumi.String("google.cloud.storage.object.v1.finalized"), RetryPolicy: pulumi.String("RETRY_POLICY_RETRY"), ServiceAccountEmail: account.Email, EventFilters: cloudfunctionsv2.FunctionEventTriggerEventFilterArray{ &cloudfunctionsv2.FunctionEventTriggerEventFilterArgs{ Attribute: pulumi.String("bucket"), Value: trigger_bucket.Name, }, }, }, }, pulumi.DependsOn([]pulumi.Resource{ event_receiving, artifactregistry_reader, })) if err != nil { return err } return nil }) }
``` ### Cloudfunctions2 Basic Auditlogs
```go package main
import (
"fmt" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudfunctionsv2" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/projects" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/serviceaccount" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { // This example follows the examples shown in this Google Cloud Community blog post // https://medium.com/google-cloud/applying-a-path-pattern-when-filtering-in-eventarc-f06b937b4c34 // and the docs: // https://cloud.google.com/eventarc/docs/path-patterns _, err := storage.NewBucket(ctx, "source-bucket", &storage.BucketArgs{ Name: pulumi.String("gcf-source-bucket"), Location: pulumi.String("US"), UniformBucketLevelAccess: pulumi.Bool(true), }) if err != nil { return err } object, err := storage.NewBucketObject(ctx, "object", &storage.BucketObjectArgs{ Name: pulumi.String("function-source.zip"), Bucket: source_bucket.Name, Source: pulumi.NewFileAsset("function-source.zip"), }) if err != nil { return err } account, err := serviceaccount.NewAccount(ctx, "account", &serviceaccount.AccountArgs{ AccountId: pulumi.String("gcf-sa"), DisplayName: pulumi.String("Test Service Account - used for both the cloud function and eventarc trigger in the test"), }) if err != nil { return err } // Note: The right way of listening for Cloud Storage events is to use a Cloud Storage trigger. // Here we use Audit Logs to monitor the bucket so path patterns can be used in the example of // google_cloudfunctions2_function below (Audit Log events have path pattern support) _, err = storage.NewBucket(ctx, "audit-log-bucket", &storage.BucketArgs{ Name: pulumi.String("gcf-auditlog-bucket"), Location: pulumi.String("us-central1"), UniformBucketLevelAccess: pulumi.Bool(true), }) if err != nil { return err } // Permissions on the service account used by the function and Eventarc trigger invoking, err := projects.NewIAMMember(ctx, "invoking", &projects.IAMMemberArgs{ Project: pulumi.String("my-project-name"), Role: pulumi.String("roles/run.invoker"), Member: account.Email.ApplyT(func(email string) (string, error) { return fmt.Sprintf("serviceAccount:%v", email), nil }).(pulumi.StringOutput), }) if err != nil { return err } _, err = projects.NewIAMMember(ctx, "event-receiving", &projects.IAMMemberArgs{ Project: pulumi.String("my-project-name"), Role: pulumi.String("roles/eventarc.eventReceiver"), Member: account.Email.ApplyT(func(email string) (string, error) { return fmt.Sprintf("serviceAccount:%v", email), nil }).(pulumi.StringOutput), }, pulumi.DependsOn([]pulumi.Resource{ invoking, })) if err != nil { return err } _, err = projects.NewIAMMember(ctx, "artifactregistry-reader", &projects.IAMMemberArgs{ Project: pulumi.String("my-project-name"), Role: pulumi.String("roles/artifactregistry.reader"), Member: account.Email.ApplyT(func(email string) (string, error) { return fmt.Sprintf("serviceAccount:%v", email), nil }).(pulumi.StringOutput), }, pulumi.DependsOn([]pulumi.Resource{ event_receiving, })) if err != nil { return err } _, err = cloudfunctionsv2.NewFunction(ctx, "function", &cloudfunctionsv2.FunctionArgs{ Name: pulumi.String("gcf-function"), Location: pulumi.String("us-central1"), Description: pulumi.String("a new function"), BuildConfig: &cloudfunctionsv2.FunctionBuildConfigArgs{ Runtime: pulumi.String("nodejs12"), EntryPoint: pulumi.String("entryPoint"), EnvironmentVariables: pulumi.StringMap{ "BUILD_CONFIG_TEST": pulumi.String("build_test"), }, Source: &cloudfunctionsv2.FunctionBuildConfigSourceArgs{ StorageSource: &cloudfunctionsv2.FunctionBuildConfigSourceStorageSourceArgs{ Bucket: source_bucket.Name, Object: object.Name, }, }, }, ServiceConfig: &cloudfunctionsv2.FunctionServiceConfigArgs{ MaxInstanceCount: pulumi.Int(3), MinInstanceCount: pulumi.Int(1), AvailableMemory: pulumi.String("256M"), TimeoutSeconds: pulumi.Int(60), EnvironmentVariables: pulumi.StringMap{ "SERVICE_CONFIG_TEST": pulumi.String("config_test"), }, IngressSettings: pulumi.String("ALLOW_INTERNAL_ONLY"), AllTrafficOnLatestRevision: pulumi.Bool(true), ServiceAccountEmail: account.Email, }, EventTrigger: &cloudfunctionsv2.FunctionEventTriggerArgs{ TriggerRegion: pulumi.String("us-central1"), EventType: pulumi.String("google.cloud.audit.log.v1.written"), RetryPolicy: pulumi.String("RETRY_POLICY_RETRY"), ServiceAccountEmail: account.Email, EventFilters: cloudfunctionsv2.FunctionEventTriggerEventFilterArray{ &cloudfunctionsv2.FunctionEventTriggerEventFilterArgs{ Attribute: pulumi.String("serviceName"), Value: pulumi.String("storage.googleapis.com"), }, &cloudfunctionsv2.FunctionEventTriggerEventFilterArgs{ Attribute: pulumi.String("methodName"), Value: pulumi.String("storage.objects.create"), }, &cloudfunctionsv2.FunctionEventTriggerEventFilterArgs{ Attribute: pulumi.String("resourceName"), Value: audit_log_bucket.Name.ApplyT(func(name string) (string, error) { return fmt.Sprintf("/projects/_/buckets/%v/objects/*.txt", name), nil }).(pulumi.StringOutput), Operator: pulumi.String("match-path-pattern"), }, }, }, }, pulumi.DependsOn([]pulumi.Resource{ event_receiving, artifactregistry_reader, })) if err != nil { return err } return nil }) }
``` ### Cloudfunctions2 Basic Builder
```go package main
import (
"fmt" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudfunctionsv2" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/projects" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/serviceaccount" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/storage" "github.com/pulumi/pulumi-time/sdk/go/time" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { project := "my-project-name" account, err := serviceaccount.NewAccount(ctx, "account", &serviceaccount.AccountArgs{ AccountId: pulumi.String("gcf-sa"), DisplayName: pulumi.String("Test Service Account"), }) if err != nil { return err } logWriter, err := projects.NewIAMMember(ctx, "log_writer", &projects.IAMMemberArgs{ Project: account.Project, Role: pulumi.String("roles/logging.logWriter"), Member: account.Email.ApplyT(func(email string) (string, error) { return fmt.Sprintf("serviceAccount:%v", email), nil }).(pulumi.StringOutput), }) if err != nil { return err } artifactRegistryWriter, err := projects.NewIAMMember(ctx, "artifact_registry_writer", &projects.IAMMemberArgs{ Project: account.Project, Role: pulumi.String("roles/artifactregistry.writer"), Member: account.Email.ApplyT(func(email string) (string, error) { return fmt.Sprintf("serviceAccount:%v", email), nil }).(pulumi.StringOutput), }) if err != nil { return err } storageObjectAdmin, err := projects.NewIAMMember(ctx, "storage_object_admin", &projects.IAMMemberArgs{ Project: account.Project, Role: pulumi.String("roles/storage.objectAdmin"), Member: account.Email.ApplyT(func(email string) (string, error) { return fmt.Sprintf("serviceAccount:%v", email), nil }).(pulumi.StringOutput), }) if err != nil { return err } bucket, err := storage.NewBucket(ctx, "bucket", &storage.BucketArgs{ Name: pulumi.Sprintf("%v-gcf-source", project), Location: pulumi.String("US"), UniformBucketLevelAccess: pulumi.Bool(true), }) if err != nil { return err } object, err := storage.NewBucketObject(ctx, "object", &storage.BucketObjectArgs{ Name: pulumi.String("function-source.zip"), Bucket: bucket.Name, Source: pulumi.NewFileAsset("function-source.zip"), }) if err != nil { return err } // builder permissions need to stablize before it can pull the source zip wait60s, err := time.NewSleep(ctx, "wait_60s", &time.SleepArgs{ CreateDuration: "60s", }, pulumi.DependsOn([]pulumi.Resource{ logWriter, artifactRegistryWriter, storageObjectAdmin, })) if err != nil { return err } _, err = cloudfunctionsv2.NewFunction(ctx, "function", &cloudfunctionsv2.FunctionArgs{ Name: pulumi.String("function-v2"), Location: pulumi.String("us-central1"), Description: pulumi.String("a new function"), BuildConfig: &cloudfunctionsv2.FunctionBuildConfigArgs{ Runtime: pulumi.String("nodejs16"), EntryPoint: pulumi.String("helloHttp"), Source: &cloudfunctionsv2.FunctionBuildConfigSourceArgs{ StorageSource: &cloudfunctionsv2.FunctionBuildConfigSourceStorageSourceArgs{ Bucket: bucket.Name, Object: object.Name, }, }, ServiceAccount: account.ID(), }, ServiceConfig: &cloudfunctionsv2.FunctionServiceConfigArgs{ MaxInstanceCount: pulumi.Int(1), AvailableMemory: pulumi.String("256M"), TimeoutSeconds: pulumi.Int(60), }, }, pulumi.DependsOn([]pulumi.Resource{ wait60s, })) if err != nil { return err } return nil }) }
``` ### Cloudfunctions2 Secret Env
```go package main
import (
"fmt" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudfunctionsv2" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { project := "my-project-name" bucket, err := storage.NewBucket(ctx, "bucket", &storage.BucketArgs{ Name: pulumi.Sprintf("%v-gcf-source", project), Location: pulumi.String("US"), UniformBucketLevelAccess: pulumi.Bool(true), }) if err != nil { return err } object, err := storage.NewBucketObject(ctx, "object", &storage.BucketObjectArgs{ Name: pulumi.String("function-source.zip"), Bucket: bucket.Name, Source: pulumi.NewFileAsset("function-source.zip"), }) if err != nil { return err } secret, err := secretmanager.NewSecret(ctx, "secret", &secretmanager.SecretArgs{ SecretId: pulumi.String("secret"), Replication: &secretmanager.SecretReplicationArgs{ UserManaged: &secretmanager.SecretReplicationUserManagedArgs{ Replicas: secretmanager.SecretReplicationUserManagedReplicaArray{ &secretmanager.SecretReplicationUserManagedReplicaArgs{ Location: pulumi.String("us-central1"), }, }, }, }, }) if err != nil { return err } secretSecretVersion, err := secretmanager.NewSecretVersion(ctx, "secret", &secretmanager.SecretVersionArgs{ Secret: secret.Name, SecretData: pulumi.String("secret"), Enabled: pulumi.Bool(true), }) if err != nil { return err } _, err = cloudfunctionsv2.NewFunction(ctx, "function", &cloudfunctionsv2.FunctionArgs{ Name: pulumi.String("function-secret"), Location: pulumi.String("us-central1"), Description: pulumi.String("a new function"), BuildConfig: &cloudfunctionsv2.FunctionBuildConfigArgs{ Runtime: pulumi.String("nodejs16"), EntryPoint: pulumi.String("helloHttp"), Source: &cloudfunctionsv2.FunctionBuildConfigSourceArgs{ StorageSource: &cloudfunctionsv2.FunctionBuildConfigSourceStorageSourceArgs{ Bucket: bucket.Name, Object: object.Name, }, }, }, ServiceConfig: &cloudfunctionsv2.FunctionServiceConfigArgs{ MaxInstanceCount: pulumi.Int(1), AvailableMemory: pulumi.String("256M"), TimeoutSeconds: pulumi.Int(60), SecretEnvironmentVariables: cloudfunctionsv2.FunctionServiceConfigSecretEnvironmentVariableArray{ &cloudfunctionsv2.FunctionServiceConfigSecretEnvironmentVariableArgs{ Key: pulumi.String("TEST"), ProjectId: pulumi.String(project), Secret: secret.SecretId, Version: pulumi.String("latest"), }, }, }, }, pulumi.DependsOn([]pulumi.Resource{ secretSecretVersion, })) if err != nil { return err } return nil }) }
``` ### Cloudfunctions2 Secret Volume
```go package main
import (
"fmt" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudfunctionsv2" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { project := "my-project-name" bucket, err := storage.NewBucket(ctx, "bucket", &storage.BucketArgs{ Name: pulumi.Sprintf("%v-gcf-source", project), Location: pulumi.String("US"), UniformBucketLevelAccess: pulumi.Bool(true), }) if err != nil { return err } object, err := storage.NewBucketObject(ctx, "object", &storage.BucketObjectArgs{ Name: pulumi.String("function-source.zip"), Bucket: bucket.Name, Source: pulumi.NewFileAsset("function-source.zip"), }) if err != nil { return err } secret, err := secretmanager.NewSecret(ctx, "secret", &secretmanager.SecretArgs{ SecretId: pulumi.String("secret"), Replication: &secretmanager.SecretReplicationArgs{ UserManaged: &secretmanager.SecretReplicationUserManagedArgs{ Replicas: secretmanager.SecretReplicationUserManagedReplicaArray{ &secretmanager.SecretReplicationUserManagedReplicaArgs{ Location: pulumi.String("us-central1"), }, }, }, }, }) if err != nil { return err } secretSecretVersion, err := secretmanager.NewSecretVersion(ctx, "secret", &secretmanager.SecretVersionArgs{ Secret: secret.Name, SecretData: pulumi.String("secret"), Enabled: pulumi.Bool(true), }) if err != nil { return err } _, err = cloudfunctionsv2.NewFunction(ctx, "function", &cloudfunctionsv2.FunctionArgs{ Name: pulumi.String("function-secret"), Location: pulumi.String("us-central1"), Description: pulumi.String("a new function"), BuildConfig: &cloudfunctionsv2.FunctionBuildConfigArgs{ Runtime: pulumi.String("nodejs16"), EntryPoint: pulumi.String("helloHttp"), Source: &cloudfunctionsv2.FunctionBuildConfigSourceArgs{ StorageSource: &cloudfunctionsv2.FunctionBuildConfigSourceStorageSourceArgs{ Bucket: bucket.Name, Object: object.Name, }, }, }, ServiceConfig: &cloudfunctionsv2.FunctionServiceConfigArgs{ MaxInstanceCount: pulumi.Int(1), AvailableMemory: pulumi.String("256M"), TimeoutSeconds: pulumi.Int(60), SecretVolumes: cloudfunctionsv2.FunctionServiceConfigSecretVolumeArray{ &cloudfunctionsv2.FunctionServiceConfigSecretVolumeArgs{ MountPath: pulumi.String("/etc/secrets"), ProjectId: pulumi.String(project), Secret: secret.SecretId, }, }, }, }, pulumi.DependsOn([]pulumi.Resource{ secretSecretVersion, })) if err != nil { return err } return nil }) }
``` ### Cloudfunctions2 Private Workerpool
```go package main
import (
"fmt" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudbuild" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudfunctionsv2" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { project := "my-project-name" bucket, err := storage.NewBucket(ctx, "bucket", &storage.BucketArgs{ Name: pulumi.Sprintf("%v-gcf-source", project), Location: pulumi.String("US"), UniformBucketLevelAccess: pulumi.Bool(true), }) if err != nil { return err } object, err := storage.NewBucketObject(ctx, "object", &storage.BucketObjectArgs{ Name: pulumi.String("function-source.zip"), Bucket: bucket.Name, Source: pulumi.NewFileAsset("function-source.zip"), }) if err != nil { return err } pool, err := cloudbuild.NewWorkerPool(ctx, "pool", &cloudbuild.WorkerPoolArgs{ Name: pulumi.String("workerpool"), Location: pulumi.String("us-central1"), WorkerConfig: &cloudbuild.WorkerPoolWorkerConfigArgs{ DiskSizeGb: pulumi.Int(100), MachineType: pulumi.String("e2-standard-8"), NoExternalIp: pulumi.Bool(false), }, }) if err != nil { return err } _, err = cloudfunctionsv2.NewFunction(ctx, "function", &cloudfunctionsv2.FunctionArgs{ Name: pulumi.String("function-workerpool"), Location: pulumi.String("us-central1"), Description: pulumi.String("a new function"), BuildConfig: &cloudfunctionsv2.FunctionBuildConfigArgs{ Runtime: pulumi.String("nodejs16"), EntryPoint: pulumi.String("helloHttp"), Source: &cloudfunctionsv2.FunctionBuildConfigSourceArgs{ StorageSource: &cloudfunctionsv2.FunctionBuildConfigSourceStorageSourceArgs{ Bucket: bucket.Name, Object: object.Name, }, }, WorkerPool: pool.ID(), }, ServiceConfig: &cloudfunctionsv2.FunctionServiceConfigArgs{ MaxInstanceCount: pulumi.Int(1), AvailableMemory: pulumi.String("256M"), TimeoutSeconds: pulumi.Int(60), }, }) if err != nil { return err } return nil }) }
``` ### Cloudfunctions2 Cmek Docs
```go package main
import (
"fmt" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/artifactregistry" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudfunctionsv2" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/kms" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/projects" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { project := "my-project-name" projectGetProject, err := organizations.LookupProject(ctx, &organizations.LookupProjectArgs{}, nil) if err != nil { return err } bucket, err := storage.NewBucket(ctx, "bucket", &storage.BucketArgs{ Name: pulumi.Sprintf("%v-gcf-source", project), Location: pulumi.String("US"), UniformBucketLevelAccess: pulumi.Bool(true), }) if err != nil { return err } object, err := storage.NewBucketObject(ctx, "object", &storage.BucketObjectArgs{ Name: pulumi.String("function-source.zip"), Bucket: bucket.Name, Source: pulumi.NewFileAsset("function-source.zip"), }) if err != nil { return err } eaSa, err := projects.NewServiceIdentity(ctx, "ea_sa", &projects.ServiceIdentityArgs{ Project: pulumi.String(projectGetProject.ProjectId), Service: pulumi.String("eventarc.googleapis.com"), }) if err != nil { return err } _, err = artifactregistry.NewRepository(ctx, "unencoded-ar-repo", &artifactregistry.RepositoryArgs{ RepositoryId: pulumi.String("ar-repo"), Location: pulumi.String("us-central1"), Format: pulumi.String("DOCKER"), }) if err != nil { return err } gcfCmekKeyuser, err := kms.NewCryptoKeyIAMBinding(ctx, "gcf_cmek_keyuser", &kms.CryptoKeyIAMBindingArgs{ CryptoKeyId: pulumi.String("cmek-key"), Role: pulumi.String("roles/cloudkms.cryptoKeyEncrypterDecrypter"), Members: pulumi.StringArray{ pulumi.Sprintf("serviceAccount:service-%v@gcf-admin-robot.iam.gserviceaccount.com", projectGetProject.Number), pulumi.Sprintf("serviceAccount:service-%v@gcp-sa-artifactregistry.iam.gserviceaccount.com", projectGetProject.Number), pulumi.Sprintf("serviceAccount:service-%v@gs-project-accounts.iam.gserviceaccount.com", projectGetProject.Number), pulumi.Sprintf("serviceAccount:service-%v@serverless-robot-prod.iam.gserviceaccount.com", projectGetProject.Number), eaSa.Member, }, }, pulumi.DependsOn([]pulumi.Resource{ eaSa, })) if err != nil { return err } _, err = artifactregistry.NewRepository(ctx, "encoded-ar-repo", &artifactregistry.RepositoryArgs{ Location: pulumi.String("us-central1"), RepositoryId: pulumi.String("cmek-repo"), Format: pulumi.String("DOCKER"), KmsKeyName: pulumi.String("cmek-key"), }, pulumi.DependsOn([]pulumi.Resource{ gcfCmekKeyuser, })) if err != nil { return err } _, err = artifactregistry.NewRepositoryIamBinding(ctx, "binding", &artifactregistry.RepositoryIamBindingArgs{ Location: encoded_ar_repo.Location, Repository: encoded_ar_repo.Name, Role: pulumi.String("roles/artifactregistry.admin"), Members: pulumi.StringArray{ pulumi.Sprintf("serviceAccount:service-%v@gcf-admin-robot.iam.gserviceaccount.com", projectGetProject.Number), }, }) if err != nil { return err } _, err = cloudfunctionsv2.NewFunction(ctx, "function", &cloudfunctionsv2.FunctionArgs{ Name: pulumi.String("function-cmek"), Location: pulumi.String("us-central1"), Description: pulumi.String("CMEK function"), KmsKeyName: pulumi.String("cmek-key"), BuildConfig: &cloudfunctionsv2.FunctionBuildConfigArgs{ Runtime: pulumi.String("nodejs16"), EntryPoint: pulumi.String("helloHttp"), DockerRepository: encoded_ar_repo.ID(), Source: &cloudfunctionsv2.FunctionBuildConfigSourceArgs{ StorageSource: &cloudfunctionsv2.FunctionBuildConfigSourceStorageSourceArgs{ Bucket: bucket.Name, Object: object.Name, }, }, }, ServiceConfig: &cloudfunctionsv2.FunctionServiceConfigArgs{ MaxInstanceCount: pulumi.Int(1), AvailableMemory: pulumi.String("256M"), TimeoutSeconds: pulumi.Int(60), }, }, pulumi.DependsOn([]pulumi.Resource{ gcfCmekKeyuser, })) if err != nil { return err } return nil }) }
``` ### Cloudfunctions2 Abiu
```go package main
import (
"fmt" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudfunctionsv2" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/pubsub" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/serviceaccount" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { project := "my-project-name" account, err := serviceaccount.NewAccount(ctx, "account", &serviceaccount.AccountArgs{ AccountId: pulumi.String("gcf-sa"), DisplayName: pulumi.String("Test Service Account"), }) if err != nil { return err } topic, err := pubsub.NewTopic(ctx, "topic", &pubsub.TopicArgs{ Name: pulumi.String("functions2-topic"), }) if err != nil { return err } bucket, err := storage.NewBucket(ctx, "bucket", &storage.BucketArgs{ Name: pulumi.Sprintf("%v-gcf-source", project), Location: pulumi.String("US"), UniformBucketLevelAccess: pulumi.Bool(true), }) if err != nil { return err } object, err := storage.NewBucketObject(ctx, "object", &storage.BucketObjectArgs{ Name: pulumi.String("function-source.zip"), Bucket: bucket.Name, Source: pulumi.NewFileAsset("function-source.zip"), }) if err != nil { return err } _, err = cloudfunctionsv2.NewFunction(ctx, "function", &cloudfunctionsv2.FunctionArgs{ Name: pulumi.String("gcf-function"), Location: pulumi.String("europe-west6"), Description: pulumi.String("a new function"), BuildConfig: &cloudfunctionsv2.FunctionBuildConfigArgs{ Runtime: pulumi.String("nodejs16"), EntryPoint: pulumi.String("helloPubSub"), EnvironmentVariables: pulumi.StringMap{ "BUILD_CONFIG_TEST": pulumi.String("build_test"), }, Source: &cloudfunctionsv2.FunctionBuildConfigSourceArgs{ StorageSource: &cloudfunctionsv2.FunctionBuildConfigSourceStorageSourceArgs{ Bucket: bucket.Name, Object: object.Name, }, }, AutomaticUpdatePolicy: &cloudfunctionsv2.FunctionBuildConfigAutomaticUpdatePolicyArgs{}, }, ServiceConfig: &cloudfunctionsv2.FunctionServiceConfigArgs{ MaxInstanceCount: pulumi.Int(3), MinInstanceCount: pulumi.Int(1), AvailableMemory: pulumi.String("4Gi"), TimeoutSeconds: pulumi.Int(60), MaxInstanceRequestConcurrency: pulumi.Int(80), AvailableCpu: pulumi.String("4"), EnvironmentVariables: pulumi.StringMap{ "SERVICE_CONFIG_TEST": pulumi.String("config_test"), }, IngressSettings: pulumi.String("ALLOW_INTERNAL_ONLY"), AllTrafficOnLatestRevision: pulumi.Bool(true), ServiceAccountEmail: account.Email, }, EventTrigger: &cloudfunctionsv2.FunctionEventTriggerArgs{ TriggerRegion: pulumi.String("us-central1"), EventType: pulumi.String("google.cloud.pubsub.topic.v1.messagePublished"), PubsubTopic: topic.ID(), RetryPolicy: pulumi.String("RETRY_POLICY_RETRY"), }, }) if err != nil { return err } return nil }) }
``` ### Cloudfunctions2 Abiu On Deploy
```go package main
import (
"fmt" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudfunctionsv2" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/pubsub" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/serviceaccount" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { project := "my-project-name" account, err := serviceaccount.NewAccount(ctx, "account", &serviceaccount.AccountArgs{ AccountId: pulumi.String("gcf-sa"), DisplayName: pulumi.String("Test Service Account"), }) if err != nil { return err } topic, err := pubsub.NewTopic(ctx, "topic", &pubsub.TopicArgs{ Name: pulumi.String("functions2-topic"), }) if err != nil { return err } bucket, err := storage.NewBucket(ctx, "bucket", &storage.BucketArgs{ Name: pulumi.Sprintf("%v-gcf-source", project), Location: pulumi.String("US"), UniformBucketLevelAccess: pulumi.Bool(true), }) if err != nil { return err } object, err := storage.NewBucketObject(ctx, "object", &storage.BucketObjectArgs{ Name: pulumi.String("function-source.zip"), Bucket: bucket.Name, Source: pulumi.NewFileAsset("function-source.zip"), }) if err != nil { return err } _, err = cloudfunctionsv2.NewFunction(ctx, "function", &cloudfunctionsv2.FunctionArgs{ Name: pulumi.String("gcf-function"), Location: pulumi.String("europe-west6"), Description: pulumi.String("a new function"), BuildConfig: &cloudfunctionsv2.FunctionBuildConfigArgs{ Runtime: pulumi.String("nodejs16"), EntryPoint: pulumi.String("helloPubSub"), EnvironmentVariables: pulumi.StringMap{ "BUILD_CONFIG_TEST": pulumi.String("build_test"), }, Source: &cloudfunctionsv2.FunctionBuildConfigSourceArgs{ StorageSource: &cloudfunctionsv2.FunctionBuildConfigSourceStorageSourceArgs{ Bucket: bucket.Name, Object: object.Name, }, }, OnDeployUpdatePolicy: &cloudfunctionsv2.FunctionBuildConfigOnDeployUpdatePolicyArgs{}, }, ServiceConfig: &cloudfunctionsv2.FunctionServiceConfigArgs{ MaxInstanceCount: pulumi.Int(3), MinInstanceCount: pulumi.Int(1), AvailableMemory: pulumi.String("4Gi"), TimeoutSeconds: pulumi.Int(60), MaxInstanceRequestConcurrency: pulumi.Int(80), AvailableCpu: pulumi.String("4"), EnvironmentVariables: pulumi.StringMap{ "SERVICE_CONFIG_TEST": pulumi.String("config_test"), }, IngressSettings: pulumi.String("ALLOW_INTERNAL_ONLY"), AllTrafficOnLatestRevision: pulumi.Bool(true), ServiceAccountEmail: account.Email, }, EventTrigger: &cloudfunctionsv2.FunctionEventTriggerArgs{ TriggerRegion: pulumi.String("us-central1"), EventType: pulumi.String("google.cloud.pubsub.topic.v1.messagePublished"), PubsubTopic: topic.ID(), RetryPolicy: pulumi.String("RETRY_POLICY_RETRY"), }, }) if err != nil { return err } return nil }) }
```
## Import
function can be imported using any of these accepted formats:
* `projects/{{project}}/locations/{{location}}/functions/{{name}}`
* `{{project}}/{{location}}/{{name}}`
* `{{location}}/{{name}}`
When using the `pulumi import` command, function can be imported using one of the formats above. For example:
```sh $ pulumi import gcp:cloudfunctionsv2/function:Function default projects/{{project}}/locations/{{location}}/functions/{{name}} ```
```sh $ pulumi import gcp:cloudfunctionsv2/function:Function default {{project}}/{{location}}/{{name}} ```
```sh $ pulumi import gcp:cloudfunctionsv2/function:Function default {{location}}/{{name}} ```
func GetFunction ¶
func GetFunction(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FunctionState, opts ...pulumi.ResourceOption) (*Function, error)
GetFunction gets an existing Function 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 NewFunction ¶
func NewFunction(ctx *pulumi.Context, name string, args *FunctionArgs, opts ...pulumi.ResourceOption) (*Function, error)
NewFunction registers a new resource with the given unique name, arguments, and options.
func (*Function) ElementType ¶
func (*Function) ToFunctionOutput ¶
func (i *Function) ToFunctionOutput() FunctionOutput
func (*Function) ToFunctionOutputWithContext ¶
func (i *Function) ToFunctionOutputWithContext(ctx context.Context) FunctionOutput
type FunctionArgs ¶
type FunctionArgs struct { // Describes the Build step of the function that builds a container // from the given source. // Structure is documented below. BuildConfig FunctionBuildConfigPtrInput // User-provided description of a function. Description pulumi.StringPtrInput // An Eventarc trigger managed by Google Cloud Functions that fires events in // response to a condition in another service. // Structure is documented below. EventTrigger FunctionEventTriggerPtrInput // Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. // It must match the pattern projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}. KmsKeyName pulumi.StringPtrInput // A set of key/value label pairs associated with this Cloud Function. // // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // The location of this cloud function. // // *** Location pulumi.StringInput // A user-defined name of the function. Function names must // be unique globally and match pattern `projects/*/locations/*/functions/*`. 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 // Describes the Service being deployed. // Structure is documented below. ServiceConfig FunctionServiceConfigPtrInput }
The set of arguments for constructing a Function resource.
func (FunctionArgs) ElementType ¶
func (FunctionArgs) ElementType() reflect.Type
type FunctionArray ¶
type FunctionArray []FunctionInput
func (FunctionArray) ElementType ¶
func (FunctionArray) ElementType() reflect.Type
func (FunctionArray) ToFunctionArrayOutput ¶
func (i FunctionArray) ToFunctionArrayOutput() FunctionArrayOutput
func (FunctionArray) ToFunctionArrayOutputWithContext ¶
func (i FunctionArray) ToFunctionArrayOutputWithContext(ctx context.Context) FunctionArrayOutput
type FunctionArrayInput ¶
type FunctionArrayInput interface { pulumi.Input ToFunctionArrayOutput() FunctionArrayOutput ToFunctionArrayOutputWithContext(context.Context) FunctionArrayOutput }
FunctionArrayInput is an input type that accepts FunctionArray and FunctionArrayOutput values. You can construct a concrete instance of `FunctionArrayInput` via:
FunctionArray{ FunctionArgs{...} }
type FunctionArrayOutput ¶
type FunctionArrayOutput struct{ *pulumi.OutputState }
func (FunctionArrayOutput) ElementType ¶
func (FunctionArrayOutput) ElementType() reflect.Type
func (FunctionArrayOutput) Index ¶
func (o FunctionArrayOutput) Index(i pulumi.IntInput) FunctionOutput
func (FunctionArrayOutput) ToFunctionArrayOutput ¶
func (o FunctionArrayOutput) ToFunctionArrayOutput() FunctionArrayOutput
func (FunctionArrayOutput) ToFunctionArrayOutputWithContext ¶
func (o FunctionArrayOutput) ToFunctionArrayOutputWithContext(ctx context.Context) FunctionArrayOutput
type FunctionBuildConfig ¶
type FunctionBuildConfig struct { // Security patches are applied automatically to the runtime without requiring // the function to be redeployed. AutomaticUpdatePolicy *FunctionBuildConfigAutomaticUpdatePolicy `pulumi:"automaticUpdatePolicy"` // (Output) // The Cloud Build name of the latest successful // deployment of the function. Build *string `pulumi:"build"` // User managed repository created in Artifact Registry optionally with a customer managed encryption key. DockerRepository *string `pulumi:"dockerRepository"` // The name of the function (as defined in source code) that will be executed. // Defaults to the resource name suffix, if not specified. For backward // compatibility, if function with given name is not found, then the system // will try to use function named "function". For Node.js this is name of a // function exported by the module specified in source_location. EntryPoint *string `pulumi:"entryPoint"` // User-provided build-time environment variables for the function. EnvironmentVariables map[string]string `pulumi:"environmentVariables"` // Security patches are only applied when a function is redeployed. // Structure is documented below. OnDeployUpdatePolicy *FunctionBuildConfigOnDeployUpdatePolicy `pulumi:"onDeployUpdatePolicy"` // The runtime in which to run the function. Required when deploying a new // function, optional when updating an existing function. Runtime *string `pulumi:"runtime"` // The fully-qualified name of the service account to be used for building the container. ServiceAccount *string `pulumi:"serviceAccount"` // The location of the function source code. // Structure is documented below. Source *FunctionBuildConfigSource `pulumi:"source"` // Name of the Cloud Build Custom Worker Pool that should be used to build the function. WorkerPool *string `pulumi:"workerPool"` }
type FunctionBuildConfigArgs ¶
type FunctionBuildConfigArgs struct { // Security patches are applied automatically to the runtime without requiring // the function to be redeployed. AutomaticUpdatePolicy FunctionBuildConfigAutomaticUpdatePolicyPtrInput `pulumi:"automaticUpdatePolicy"` // (Output) // The Cloud Build name of the latest successful // deployment of the function. Build pulumi.StringPtrInput `pulumi:"build"` // User managed repository created in Artifact Registry optionally with a customer managed encryption key. DockerRepository pulumi.StringPtrInput `pulumi:"dockerRepository"` // The name of the function (as defined in source code) that will be executed. // Defaults to the resource name suffix, if not specified. For backward // compatibility, if function with given name is not found, then the system // will try to use function named "function". For Node.js this is name of a // function exported by the module specified in source_location. EntryPoint pulumi.StringPtrInput `pulumi:"entryPoint"` // User-provided build-time environment variables for the function. EnvironmentVariables pulumi.StringMapInput `pulumi:"environmentVariables"` // Security patches are only applied when a function is redeployed. // Structure is documented below. OnDeployUpdatePolicy FunctionBuildConfigOnDeployUpdatePolicyPtrInput `pulumi:"onDeployUpdatePolicy"` // The runtime in which to run the function. Required when deploying a new // function, optional when updating an existing function. Runtime pulumi.StringPtrInput `pulumi:"runtime"` // The fully-qualified name of the service account to be used for building the container. ServiceAccount pulumi.StringPtrInput `pulumi:"serviceAccount"` // The location of the function source code. // Structure is documented below. Source FunctionBuildConfigSourcePtrInput `pulumi:"source"` // Name of the Cloud Build Custom Worker Pool that should be used to build the function. WorkerPool pulumi.StringPtrInput `pulumi:"workerPool"` }
func (FunctionBuildConfigArgs) ElementType ¶
func (FunctionBuildConfigArgs) ElementType() reflect.Type
func (FunctionBuildConfigArgs) ToFunctionBuildConfigOutput ¶
func (i FunctionBuildConfigArgs) ToFunctionBuildConfigOutput() FunctionBuildConfigOutput
func (FunctionBuildConfigArgs) ToFunctionBuildConfigOutputWithContext ¶
func (i FunctionBuildConfigArgs) ToFunctionBuildConfigOutputWithContext(ctx context.Context) FunctionBuildConfigOutput
func (FunctionBuildConfigArgs) ToFunctionBuildConfigPtrOutput ¶
func (i FunctionBuildConfigArgs) ToFunctionBuildConfigPtrOutput() FunctionBuildConfigPtrOutput
func (FunctionBuildConfigArgs) ToFunctionBuildConfigPtrOutputWithContext ¶
func (i FunctionBuildConfigArgs) ToFunctionBuildConfigPtrOutputWithContext(ctx context.Context) FunctionBuildConfigPtrOutput
type FunctionBuildConfigAutomaticUpdatePolicy ¶
type FunctionBuildConfigAutomaticUpdatePolicy struct { }
type FunctionBuildConfigAutomaticUpdatePolicyArgs ¶
type FunctionBuildConfigAutomaticUpdatePolicyArgs struct { }
func (FunctionBuildConfigAutomaticUpdatePolicyArgs) ElementType ¶
func (FunctionBuildConfigAutomaticUpdatePolicyArgs) ElementType() reflect.Type
func (FunctionBuildConfigAutomaticUpdatePolicyArgs) ToFunctionBuildConfigAutomaticUpdatePolicyOutput ¶
func (i FunctionBuildConfigAutomaticUpdatePolicyArgs) ToFunctionBuildConfigAutomaticUpdatePolicyOutput() FunctionBuildConfigAutomaticUpdatePolicyOutput
func (FunctionBuildConfigAutomaticUpdatePolicyArgs) ToFunctionBuildConfigAutomaticUpdatePolicyOutputWithContext ¶
func (i FunctionBuildConfigAutomaticUpdatePolicyArgs) ToFunctionBuildConfigAutomaticUpdatePolicyOutputWithContext(ctx context.Context) FunctionBuildConfigAutomaticUpdatePolicyOutput
func (FunctionBuildConfigAutomaticUpdatePolicyArgs) ToFunctionBuildConfigAutomaticUpdatePolicyPtrOutput ¶
func (i FunctionBuildConfigAutomaticUpdatePolicyArgs) ToFunctionBuildConfigAutomaticUpdatePolicyPtrOutput() FunctionBuildConfigAutomaticUpdatePolicyPtrOutput
func (FunctionBuildConfigAutomaticUpdatePolicyArgs) ToFunctionBuildConfigAutomaticUpdatePolicyPtrOutputWithContext ¶
func (i FunctionBuildConfigAutomaticUpdatePolicyArgs) ToFunctionBuildConfigAutomaticUpdatePolicyPtrOutputWithContext(ctx context.Context) FunctionBuildConfigAutomaticUpdatePolicyPtrOutput
type FunctionBuildConfigAutomaticUpdatePolicyInput ¶
type FunctionBuildConfigAutomaticUpdatePolicyInput interface { pulumi.Input ToFunctionBuildConfigAutomaticUpdatePolicyOutput() FunctionBuildConfigAutomaticUpdatePolicyOutput ToFunctionBuildConfigAutomaticUpdatePolicyOutputWithContext(context.Context) FunctionBuildConfigAutomaticUpdatePolicyOutput }
FunctionBuildConfigAutomaticUpdatePolicyInput is an input type that accepts FunctionBuildConfigAutomaticUpdatePolicyArgs and FunctionBuildConfigAutomaticUpdatePolicyOutput values. You can construct a concrete instance of `FunctionBuildConfigAutomaticUpdatePolicyInput` via:
FunctionBuildConfigAutomaticUpdatePolicyArgs{...}
type FunctionBuildConfigAutomaticUpdatePolicyOutput ¶
type FunctionBuildConfigAutomaticUpdatePolicyOutput struct{ *pulumi.OutputState }
func (FunctionBuildConfigAutomaticUpdatePolicyOutput) ElementType ¶
func (FunctionBuildConfigAutomaticUpdatePolicyOutput) ElementType() reflect.Type
func (FunctionBuildConfigAutomaticUpdatePolicyOutput) ToFunctionBuildConfigAutomaticUpdatePolicyOutput ¶
func (o FunctionBuildConfigAutomaticUpdatePolicyOutput) ToFunctionBuildConfigAutomaticUpdatePolicyOutput() FunctionBuildConfigAutomaticUpdatePolicyOutput
func (FunctionBuildConfigAutomaticUpdatePolicyOutput) ToFunctionBuildConfigAutomaticUpdatePolicyOutputWithContext ¶
func (o FunctionBuildConfigAutomaticUpdatePolicyOutput) ToFunctionBuildConfigAutomaticUpdatePolicyOutputWithContext(ctx context.Context) FunctionBuildConfigAutomaticUpdatePolicyOutput
func (FunctionBuildConfigAutomaticUpdatePolicyOutput) ToFunctionBuildConfigAutomaticUpdatePolicyPtrOutput ¶
func (o FunctionBuildConfigAutomaticUpdatePolicyOutput) ToFunctionBuildConfigAutomaticUpdatePolicyPtrOutput() FunctionBuildConfigAutomaticUpdatePolicyPtrOutput
func (FunctionBuildConfigAutomaticUpdatePolicyOutput) ToFunctionBuildConfigAutomaticUpdatePolicyPtrOutputWithContext ¶
func (o FunctionBuildConfigAutomaticUpdatePolicyOutput) ToFunctionBuildConfigAutomaticUpdatePolicyPtrOutputWithContext(ctx context.Context) FunctionBuildConfigAutomaticUpdatePolicyPtrOutput
type FunctionBuildConfigAutomaticUpdatePolicyPtrInput ¶
type FunctionBuildConfigAutomaticUpdatePolicyPtrInput interface { pulumi.Input ToFunctionBuildConfigAutomaticUpdatePolicyPtrOutput() FunctionBuildConfigAutomaticUpdatePolicyPtrOutput ToFunctionBuildConfigAutomaticUpdatePolicyPtrOutputWithContext(context.Context) FunctionBuildConfigAutomaticUpdatePolicyPtrOutput }
FunctionBuildConfigAutomaticUpdatePolicyPtrInput is an input type that accepts FunctionBuildConfigAutomaticUpdatePolicyArgs, FunctionBuildConfigAutomaticUpdatePolicyPtr and FunctionBuildConfigAutomaticUpdatePolicyPtrOutput values. You can construct a concrete instance of `FunctionBuildConfigAutomaticUpdatePolicyPtrInput` via:
FunctionBuildConfigAutomaticUpdatePolicyArgs{...} or: nil
func FunctionBuildConfigAutomaticUpdatePolicyPtr ¶
func FunctionBuildConfigAutomaticUpdatePolicyPtr(v *FunctionBuildConfigAutomaticUpdatePolicyArgs) FunctionBuildConfigAutomaticUpdatePolicyPtrInput
type FunctionBuildConfigAutomaticUpdatePolicyPtrOutput ¶
type FunctionBuildConfigAutomaticUpdatePolicyPtrOutput struct{ *pulumi.OutputState }
func (FunctionBuildConfigAutomaticUpdatePolicyPtrOutput) ElementType ¶
func (FunctionBuildConfigAutomaticUpdatePolicyPtrOutput) ElementType() reflect.Type
func (FunctionBuildConfigAutomaticUpdatePolicyPtrOutput) ToFunctionBuildConfigAutomaticUpdatePolicyPtrOutput ¶
func (o FunctionBuildConfigAutomaticUpdatePolicyPtrOutput) ToFunctionBuildConfigAutomaticUpdatePolicyPtrOutput() FunctionBuildConfigAutomaticUpdatePolicyPtrOutput
func (FunctionBuildConfigAutomaticUpdatePolicyPtrOutput) ToFunctionBuildConfigAutomaticUpdatePolicyPtrOutputWithContext ¶
func (o FunctionBuildConfigAutomaticUpdatePolicyPtrOutput) ToFunctionBuildConfigAutomaticUpdatePolicyPtrOutputWithContext(ctx context.Context) FunctionBuildConfigAutomaticUpdatePolicyPtrOutput
type FunctionBuildConfigInput ¶
type FunctionBuildConfigInput interface { pulumi.Input ToFunctionBuildConfigOutput() FunctionBuildConfigOutput ToFunctionBuildConfigOutputWithContext(context.Context) FunctionBuildConfigOutput }
FunctionBuildConfigInput is an input type that accepts FunctionBuildConfigArgs and FunctionBuildConfigOutput values. You can construct a concrete instance of `FunctionBuildConfigInput` via:
FunctionBuildConfigArgs{...}
type FunctionBuildConfigOnDeployUpdatePolicy ¶
type FunctionBuildConfigOnDeployUpdatePolicy struct { // (Output) // The runtime version which was used during latest function deployment. RuntimeVersion *string `pulumi:"runtimeVersion"` }
type FunctionBuildConfigOnDeployUpdatePolicyArgs ¶
type FunctionBuildConfigOnDeployUpdatePolicyArgs struct { // (Output) // The runtime version which was used during latest function deployment. RuntimeVersion pulumi.StringPtrInput `pulumi:"runtimeVersion"` }
func (FunctionBuildConfigOnDeployUpdatePolicyArgs) ElementType ¶
func (FunctionBuildConfigOnDeployUpdatePolicyArgs) ElementType() reflect.Type
func (FunctionBuildConfigOnDeployUpdatePolicyArgs) ToFunctionBuildConfigOnDeployUpdatePolicyOutput ¶
func (i FunctionBuildConfigOnDeployUpdatePolicyArgs) ToFunctionBuildConfigOnDeployUpdatePolicyOutput() FunctionBuildConfigOnDeployUpdatePolicyOutput
func (FunctionBuildConfigOnDeployUpdatePolicyArgs) ToFunctionBuildConfigOnDeployUpdatePolicyOutputWithContext ¶
func (i FunctionBuildConfigOnDeployUpdatePolicyArgs) ToFunctionBuildConfigOnDeployUpdatePolicyOutputWithContext(ctx context.Context) FunctionBuildConfigOnDeployUpdatePolicyOutput
func (FunctionBuildConfigOnDeployUpdatePolicyArgs) ToFunctionBuildConfigOnDeployUpdatePolicyPtrOutput ¶
func (i FunctionBuildConfigOnDeployUpdatePolicyArgs) ToFunctionBuildConfigOnDeployUpdatePolicyPtrOutput() FunctionBuildConfigOnDeployUpdatePolicyPtrOutput
func (FunctionBuildConfigOnDeployUpdatePolicyArgs) ToFunctionBuildConfigOnDeployUpdatePolicyPtrOutputWithContext ¶
func (i FunctionBuildConfigOnDeployUpdatePolicyArgs) ToFunctionBuildConfigOnDeployUpdatePolicyPtrOutputWithContext(ctx context.Context) FunctionBuildConfigOnDeployUpdatePolicyPtrOutput
type FunctionBuildConfigOnDeployUpdatePolicyInput ¶
type FunctionBuildConfigOnDeployUpdatePolicyInput interface { pulumi.Input ToFunctionBuildConfigOnDeployUpdatePolicyOutput() FunctionBuildConfigOnDeployUpdatePolicyOutput ToFunctionBuildConfigOnDeployUpdatePolicyOutputWithContext(context.Context) FunctionBuildConfigOnDeployUpdatePolicyOutput }
FunctionBuildConfigOnDeployUpdatePolicyInput is an input type that accepts FunctionBuildConfigOnDeployUpdatePolicyArgs and FunctionBuildConfigOnDeployUpdatePolicyOutput values. You can construct a concrete instance of `FunctionBuildConfigOnDeployUpdatePolicyInput` via:
FunctionBuildConfigOnDeployUpdatePolicyArgs{...}
type FunctionBuildConfigOnDeployUpdatePolicyOutput ¶
type FunctionBuildConfigOnDeployUpdatePolicyOutput struct{ *pulumi.OutputState }
func (FunctionBuildConfigOnDeployUpdatePolicyOutput) ElementType ¶
func (FunctionBuildConfigOnDeployUpdatePolicyOutput) ElementType() reflect.Type
func (FunctionBuildConfigOnDeployUpdatePolicyOutput) RuntimeVersion ¶
func (o FunctionBuildConfigOnDeployUpdatePolicyOutput) RuntimeVersion() pulumi.StringPtrOutput
(Output) The runtime version which was used during latest function deployment.
func (FunctionBuildConfigOnDeployUpdatePolicyOutput) ToFunctionBuildConfigOnDeployUpdatePolicyOutput ¶
func (o FunctionBuildConfigOnDeployUpdatePolicyOutput) ToFunctionBuildConfigOnDeployUpdatePolicyOutput() FunctionBuildConfigOnDeployUpdatePolicyOutput
func (FunctionBuildConfigOnDeployUpdatePolicyOutput) ToFunctionBuildConfigOnDeployUpdatePolicyOutputWithContext ¶
func (o FunctionBuildConfigOnDeployUpdatePolicyOutput) ToFunctionBuildConfigOnDeployUpdatePolicyOutputWithContext(ctx context.Context) FunctionBuildConfigOnDeployUpdatePolicyOutput
func (FunctionBuildConfigOnDeployUpdatePolicyOutput) ToFunctionBuildConfigOnDeployUpdatePolicyPtrOutput ¶
func (o FunctionBuildConfigOnDeployUpdatePolicyOutput) ToFunctionBuildConfigOnDeployUpdatePolicyPtrOutput() FunctionBuildConfigOnDeployUpdatePolicyPtrOutput
func (FunctionBuildConfigOnDeployUpdatePolicyOutput) ToFunctionBuildConfigOnDeployUpdatePolicyPtrOutputWithContext ¶
func (o FunctionBuildConfigOnDeployUpdatePolicyOutput) ToFunctionBuildConfigOnDeployUpdatePolicyPtrOutputWithContext(ctx context.Context) FunctionBuildConfigOnDeployUpdatePolicyPtrOutput
type FunctionBuildConfigOnDeployUpdatePolicyPtrInput ¶
type FunctionBuildConfigOnDeployUpdatePolicyPtrInput interface { pulumi.Input ToFunctionBuildConfigOnDeployUpdatePolicyPtrOutput() FunctionBuildConfigOnDeployUpdatePolicyPtrOutput ToFunctionBuildConfigOnDeployUpdatePolicyPtrOutputWithContext(context.Context) FunctionBuildConfigOnDeployUpdatePolicyPtrOutput }
FunctionBuildConfigOnDeployUpdatePolicyPtrInput is an input type that accepts FunctionBuildConfigOnDeployUpdatePolicyArgs, FunctionBuildConfigOnDeployUpdatePolicyPtr and FunctionBuildConfigOnDeployUpdatePolicyPtrOutput values. You can construct a concrete instance of `FunctionBuildConfigOnDeployUpdatePolicyPtrInput` via:
FunctionBuildConfigOnDeployUpdatePolicyArgs{...} or: nil
func FunctionBuildConfigOnDeployUpdatePolicyPtr ¶
func FunctionBuildConfigOnDeployUpdatePolicyPtr(v *FunctionBuildConfigOnDeployUpdatePolicyArgs) FunctionBuildConfigOnDeployUpdatePolicyPtrInput
type FunctionBuildConfigOnDeployUpdatePolicyPtrOutput ¶
type FunctionBuildConfigOnDeployUpdatePolicyPtrOutput struct{ *pulumi.OutputState }
func (FunctionBuildConfigOnDeployUpdatePolicyPtrOutput) ElementType ¶
func (FunctionBuildConfigOnDeployUpdatePolicyPtrOutput) ElementType() reflect.Type
func (FunctionBuildConfigOnDeployUpdatePolicyPtrOutput) RuntimeVersion ¶
func (o FunctionBuildConfigOnDeployUpdatePolicyPtrOutput) RuntimeVersion() pulumi.StringPtrOutput
(Output) The runtime version which was used during latest function deployment.
func (FunctionBuildConfigOnDeployUpdatePolicyPtrOutput) ToFunctionBuildConfigOnDeployUpdatePolicyPtrOutput ¶
func (o FunctionBuildConfigOnDeployUpdatePolicyPtrOutput) ToFunctionBuildConfigOnDeployUpdatePolicyPtrOutput() FunctionBuildConfigOnDeployUpdatePolicyPtrOutput
func (FunctionBuildConfigOnDeployUpdatePolicyPtrOutput) ToFunctionBuildConfigOnDeployUpdatePolicyPtrOutputWithContext ¶
func (o FunctionBuildConfigOnDeployUpdatePolicyPtrOutput) ToFunctionBuildConfigOnDeployUpdatePolicyPtrOutputWithContext(ctx context.Context) FunctionBuildConfigOnDeployUpdatePolicyPtrOutput
type FunctionBuildConfigOutput ¶
type FunctionBuildConfigOutput struct{ *pulumi.OutputState }
func (FunctionBuildConfigOutput) AutomaticUpdatePolicy ¶
func (o FunctionBuildConfigOutput) AutomaticUpdatePolicy() FunctionBuildConfigAutomaticUpdatePolicyPtrOutput
Security patches are applied automatically to the runtime without requiring the function to be redeployed.
func (FunctionBuildConfigOutput) Build ¶
func (o FunctionBuildConfigOutput) Build() pulumi.StringPtrOutput
(Output) The Cloud Build name of the latest successful deployment of the function.
func (FunctionBuildConfigOutput) DockerRepository ¶
func (o FunctionBuildConfigOutput) DockerRepository() pulumi.StringPtrOutput
User managed repository created in Artifact Registry optionally with a customer managed encryption key.
func (FunctionBuildConfigOutput) ElementType ¶
func (FunctionBuildConfigOutput) ElementType() reflect.Type
func (FunctionBuildConfigOutput) EntryPoint ¶
func (o FunctionBuildConfigOutput) EntryPoint() pulumi.StringPtrOutput
The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in source_location.
func (FunctionBuildConfigOutput) EnvironmentVariables ¶
func (o FunctionBuildConfigOutput) EnvironmentVariables() pulumi.StringMapOutput
User-provided build-time environment variables for the function.
func (FunctionBuildConfigOutput) OnDeployUpdatePolicy ¶
func (o FunctionBuildConfigOutput) OnDeployUpdatePolicy() FunctionBuildConfigOnDeployUpdatePolicyPtrOutput
Security patches are only applied when a function is redeployed. Structure is documented below.
func (FunctionBuildConfigOutput) Runtime ¶
func (o FunctionBuildConfigOutput) Runtime() pulumi.StringPtrOutput
The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function.
func (FunctionBuildConfigOutput) ServiceAccount ¶
func (o FunctionBuildConfigOutput) ServiceAccount() pulumi.StringPtrOutput
The fully-qualified name of the service account to be used for building the container.
func (FunctionBuildConfigOutput) Source ¶
func (o FunctionBuildConfigOutput) Source() FunctionBuildConfigSourcePtrOutput
The location of the function source code. Structure is documented below.
func (FunctionBuildConfigOutput) ToFunctionBuildConfigOutput ¶
func (o FunctionBuildConfigOutput) ToFunctionBuildConfigOutput() FunctionBuildConfigOutput
func (FunctionBuildConfigOutput) ToFunctionBuildConfigOutputWithContext ¶
func (o FunctionBuildConfigOutput) ToFunctionBuildConfigOutputWithContext(ctx context.Context) FunctionBuildConfigOutput
func (FunctionBuildConfigOutput) ToFunctionBuildConfigPtrOutput ¶
func (o FunctionBuildConfigOutput) ToFunctionBuildConfigPtrOutput() FunctionBuildConfigPtrOutput
func (FunctionBuildConfigOutput) ToFunctionBuildConfigPtrOutputWithContext ¶
func (o FunctionBuildConfigOutput) ToFunctionBuildConfigPtrOutputWithContext(ctx context.Context) FunctionBuildConfigPtrOutput
func (FunctionBuildConfigOutput) WorkerPool ¶
func (o FunctionBuildConfigOutput) WorkerPool() pulumi.StringPtrOutput
Name of the Cloud Build Custom Worker Pool that should be used to build the function.
type FunctionBuildConfigPtrInput ¶
type FunctionBuildConfigPtrInput interface { pulumi.Input ToFunctionBuildConfigPtrOutput() FunctionBuildConfigPtrOutput ToFunctionBuildConfigPtrOutputWithContext(context.Context) FunctionBuildConfigPtrOutput }
FunctionBuildConfigPtrInput is an input type that accepts FunctionBuildConfigArgs, FunctionBuildConfigPtr and FunctionBuildConfigPtrOutput values. You can construct a concrete instance of `FunctionBuildConfigPtrInput` via:
FunctionBuildConfigArgs{...} or: nil
func FunctionBuildConfigPtr ¶
func FunctionBuildConfigPtr(v *FunctionBuildConfigArgs) FunctionBuildConfigPtrInput
type FunctionBuildConfigPtrOutput ¶
type FunctionBuildConfigPtrOutput struct{ *pulumi.OutputState }
func (FunctionBuildConfigPtrOutput) AutomaticUpdatePolicy ¶
func (o FunctionBuildConfigPtrOutput) AutomaticUpdatePolicy() FunctionBuildConfigAutomaticUpdatePolicyPtrOutput
Security patches are applied automatically to the runtime without requiring the function to be redeployed.
func (FunctionBuildConfigPtrOutput) Build ¶
func (o FunctionBuildConfigPtrOutput) Build() pulumi.StringPtrOutput
(Output) The Cloud Build name of the latest successful deployment of the function.
func (FunctionBuildConfigPtrOutput) DockerRepository ¶
func (o FunctionBuildConfigPtrOutput) DockerRepository() pulumi.StringPtrOutput
User managed repository created in Artifact Registry optionally with a customer managed encryption key.
func (FunctionBuildConfigPtrOutput) Elem ¶
func (o FunctionBuildConfigPtrOutput) Elem() FunctionBuildConfigOutput
func (FunctionBuildConfigPtrOutput) ElementType ¶
func (FunctionBuildConfigPtrOutput) ElementType() reflect.Type
func (FunctionBuildConfigPtrOutput) EntryPoint ¶
func (o FunctionBuildConfigPtrOutput) EntryPoint() pulumi.StringPtrOutput
The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in source_location.
func (FunctionBuildConfigPtrOutput) EnvironmentVariables ¶
func (o FunctionBuildConfigPtrOutput) EnvironmentVariables() pulumi.StringMapOutput
User-provided build-time environment variables for the function.
func (FunctionBuildConfigPtrOutput) OnDeployUpdatePolicy ¶
func (o FunctionBuildConfigPtrOutput) OnDeployUpdatePolicy() FunctionBuildConfigOnDeployUpdatePolicyPtrOutput
Security patches are only applied when a function is redeployed. Structure is documented below.
func (FunctionBuildConfigPtrOutput) Runtime ¶
func (o FunctionBuildConfigPtrOutput) Runtime() pulumi.StringPtrOutput
The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function.
func (FunctionBuildConfigPtrOutput) ServiceAccount ¶
func (o FunctionBuildConfigPtrOutput) ServiceAccount() pulumi.StringPtrOutput
The fully-qualified name of the service account to be used for building the container.
func (FunctionBuildConfigPtrOutput) Source ¶
func (o FunctionBuildConfigPtrOutput) Source() FunctionBuildConfigSourcePtrOutput
The location of the function source code. Structure is documented below.
func (FunctionBuildConfigPtrOutput) ToFunctionBuildConfigPtrOutput ¶
func (o FunctionBuildConfigPtrOutput) ToFunctionBuildConfigPtrOutput() FunctionBuildConfigPtrOutput
func (FunctionBuildConfigPtrOutput) ToFunctionBuildConfigPtrOutputWithContext ¶
func (o FunctionBuildConfigPtrOutput) ToFunctionBuildConfigPtrOutputWithContext(ctx context.Context) FunctionBuildConfigPtrOutput
func (FunctionBuildConfigPtrOutput) WorkerPool ¶
func (o FunctionBuildConfigPtrOutput) WorkerPool() pulumi.StringPtrOutput
Name of the Cloud Build Custom Worker Pool that should be used to build the function.
type FunctionBuildConfigSource ¶
type FunctionBuildConfigSource struct { // If provided, get the source from this location in a Cloud Source Repository. // Structure is documented below. RepoSource *FunctionBuildConfigSourceRepoSource `pulumi:"repoSource"` // If provided, get the source from this location in Google Cloud Storage. // Structure is documented below. StorageSource *FunctionBuildConfigSourceStorageSource `pulumi:"storageSource"` }
type FunctionBuildConfigSourceArgs ¶
type FunctionBuildConfigSourceArgs struct { // If provided, get the source from this location in a Cloud Source Repository. // Structure is documented below. RepoSource FunctionBuildConfigSourceRepoSourcePtrInput `pulumi:"repoSource"` // If provided, get the source from this location in Google Cloud Storage. // Structure is documented below. StorageSource FunctionBuildConfigSourceStorageSourcePtrInput `pulumi:"storageSource"` }
func (FunctionBuildConfigSourceArgs) ElementType ¶
func (FunctionBuildConfigSourceArgs) ElementType() reflect.Type
func (FunctionBuildConfigSourceArgs) ToFunctionBuildConfigSourceOutput ¶
func (i FunctionBuildConfigSourceArgs) ToFunctionBuildConfigSourceOutput() FunctionBuildConfigSourceOutput
func (FunctionBuildConfigSourceArgs) ToFunctionBuildConfigSourceOutputWithContext ¶
func (i FunctionBuildConfigSourceArgs) ToFunctionBuildConfigSourceOutputWithContext(ctx context.Context) FunctionBuildConfigSourceOutput
func (FunctionBuildConfigSourceArgs) ToFunctionBuildConfigSourcePtrOutput ¶
func (i FunctionBuildConfigSourceArgs) ToFunctionBuildConfigSourcePtrOutput() FunctionBuildConfigSourcePtrOutput
func (FunctionBuildConfigSourceArgs) ToFunctionBuildConfigSourcePtrOutputWithContext ¶
func (i FunctionBuildConfigSourceArgs) ToFunctionBuildConfigSourcePtrOutputWithContext(ctx context.Context) FunctionBuildConfigSourcePtrOutput
type FunctionBuildConfigSourceInput ¶
type FunctionBuildConfigSourceInput interface { pulumi.Input ToFunctionBuildConfigSourceOutput() FunctionBuildConfigSourceOutput ToFunctionBuildConfigSourceOutputWithContext(context.Context) FunctionBuildConfigSourceOutput }
FunctionBuildConfigSourceInput is an input type that accepts FunctionBuildConfigSourceArgs and FunctionBuildConfigSourceOutput values. You can construct a concrete instance of `FunctionBuildConfigSourceInput` via:
FunctionBuildConfigSourceArgs{...}
type FunctionBuildConfigSourceOutput ¶
type FunctionBuildConfigSourceOutput struct{ *pulumi.OutputState }
func (FunctionBuildConfigSourceOutput) ElementType ¶
func (FunctionBuildConfigSourceOutput) ElementType() reflect.Type
func (FunctionBuildConfigSourceOutput) RepoSource ¶
func (o FunctionBuildConfigSourceOutput) RepoSource() FunctionBuildConfigSourceRepoSourcePtrOutput
If provided, get the source from this location in a Cloud Source Repository. Structure is documented below.
func (FunctionBuildConfigSourceOutput) StorageSource ¶
func (o FunctionBuildConfigSourceOutput) StorageSource() FunctionBuildConfigSourceStorageSourcePtrOutput
If provided, get the source from this location in Google Cloud Storage. Structure is documented below.
func (FunctionBuildConfigSourceOutput) ToFunctionBuildConfigSourceOutput ¶
func (o FunctionBuildConfigSourceOutput) ToFunctionBuildConfigSourceOutput() FunctionBuildConfigSourceOutput
func (FunctionBuildConfigSourceOutput) ToFunctionBuildConfigSourceOutputWithContext ¶
func (o FunctionBuildConfigSourceOutput) ToFunctionBuildConfigSourceOutputWithContext(ctx context.Context) FunctionBuildConfigSourceOutput
func (FunctionBuildConfigSourceOutput) ToFunctionBuildConfigSourcePtrOutput ¶
func (o FunctionBuildConfigSourceOutput) ToFunctionBuildConfigSourcePtrOutput() FunctionBuildConfigSourcePtrOutput
func (FunctionBuildConfigSourceOutput) ToFunctionBuildConfigSourcePtrOutputWithContext ¶
func (o FunctionBuildConfigSourceOutput) ToFunctionBuildConfigSourcePtrOutputWithContext(ctx context.Context) FunctionBuildConfigSourcePtrOutput
type FunctionBuildConfigSourcePtrInput ¶
type FunctionBuildConfigSourcePtrInput interface { pulumi.Input ToFunctionBuildConfigSourcePtrOutput() FunctionBuildConfigSourcePtrOutput ToFunctionBuildConfigSourcePtrOutputWithContext(context.Context) FunctionBuildConfigSourcePtrOutput }
FunctionBuildConfigSourcePtrInput is an input type that accepts FunctionBuildConfigSourceArgs, FunctionBuildConfigSourcePtr and FunctionBuildConfigSourcePtrOutput values. You can construct a concrete instance of `FunctionBuildConfigSourcePtrInput` via:
FunctionBuildConfigSourceArgs{...} or: nil
func FunctionBuildConfigSourcePtr ¶
func FunctionBuildConfigSourcePtr(v *FunctionBuildConfigSourceArgs) FunctionBuildConfigSourcePtrInput
type FunctionBuildConfigSourcePtrOutput ¶
type FunctionBuildConfigSourcePtrOutput struct{ *pulumi.OutputState }
func (FunctionBuildConfigSourcePtrOutput) Elem ¶
func (o FunctionBuildConfigSourcePtrOutput) Elem() FunctionBuildConfigSourceOutput
func (FunctionBuildConfigSourcePtrOutput) ElementType ¶
func (FunctionBuildConfigSourcePtrOutput) ElementType() reflect.Type
func (FunctionBuildConfigSourcePtrOutput) RepoSource ¶
func (o FunctionBuildConfigSourcePtrOutput) RepoSource() FunctionBuildConfigSourceRepoSourcePtrOutput
If provided, get the source from this location in a Cloud Source Repository. Structure is documented below.
func (FunctionBuildConfigSourcePtrOutput) StorageSource ¶
func (o FunctionBuildConfigSourcePtrOutput) StorageSource() FunctionBuildConfigSourceStorageSourcePtrOutput
If provided, get the source from this location in Google Cloud Storage. Structure is documented below.
func (FunctionBuildConfigSourcePtrOutput) ToFunctionBuildConfigSourcePtrOutput ¶
func (o FunctionBuildConfigSourcePtrOutput) ToFunctionBuildConfigSourcePtrOutput() FunctionBuildConfigSourcePtrOutput
func (FunctionBuildConfigSourcePtrOutput) ToFunctionBuildConfigSourcePtrOutputWithContext ¶
func (o FunctionBuildConfigSourcePtrOutput) ToFunctionBuildConfigSourcePtrOutputWithContext(ctx context.Context) FunctionBuildConfigSourcePtrOutput
type FunctionBuildConfigSourceRepoSource ¶
type FunctionBuildConfigSourceRepoSource struct { // Regex matching branches to build. BranchName *string `pulumi:"branchName"` // Regex matching tags to build. CommitSha *string `pulumi:"commitSha"` // Directory, relative to the source root, in which to run the build. Dir *string `pulumi:"dir"` // Only trigger a build if the revision regex does // NOT match the revision regex. InvertRegex *bool `pulumi:"invertRegex"` // ID of the project that owns the Cloud Source Repository. If omitted, the // project ID requesting the build is assumed. ProjectId *string `pulumi:"projectId"` // Name of the Cloud Source Repository. RepoName *string `pulumi:"repoName"` // Regex matching tags to build. TagName *string `pulumi:"tagName"` }
type FunctionBuildConfigSourceRepoSourceArgs ¶
type FunctionBuildConfigSourceRepoSourceArgs struct { // Regex matching branches to build. BranchName pulumi.StringPtrInput `pulumi:"branchName"` // Regex matching tags to build. CommitSha pulumi.StringPtrInput `pulumi:"commitSha"` // Directory, relative to the source root, in which to run the build. Dir pulumi.StringPtrInput `pulumi:"dir"` // Only trigger a build if the revision regex does // NOT match the revision regex. InvertRegex pulumi.BoolPtrInput `pulumi:"invertRegex"` // ID of the project that owns the Cloud Source Repository. If omitted, the // project ID requesting the build is assumed. ProjectId pulumi.StringPtrInput `pulumi:"projectId"` // Name of the Cloud Source Repository. RepoName pulumi.StringPtrInput `pulumi:"repoName"` // Regex matching tags to build. TagName pulumi.StringPtrInput `pulumi:"tagName"` }
func (FunctionBuildConfigSourceRepoSourceArgs) ElementType ¶
func (FunctionBuildConfigSourceRepoSourceArgs) ElementType() reflect.Type
func (FunctionBuildConfigSourceRepoSourceArgs) ToFunctionBuildConfigSourceRepoSourceOutput ¶
func (i FunctionBuildConfigSourceRepoSourceArgs) ToFunctionBuildConfigSourceRepoSourceOutput() FunctionBuildConfigSourceRepoSourceOutput
func (FunctionBuildConfigSourceRepoSourceArgs) ToFunctionBuildConfigSourceRepoSourceOutputWithContext ¶
func (i FunctionBuildConfigSourceRepoSourceArgs) ToFunctionBuildConfigSourceRepoSourceOutputWithContext(ctx context.Context) FunctionBuildConfigSourceRepoSourceOutput
func (FunctionBuildConfigSourceRepoSourceArgs) ToFunctionBuildConfigSourceRepoSourcePtrOutput ¶
func (i FunctionBuildConfigSourceRepoSourceArgs) ToFunctionBuildConfigSourceRepoSourcePtrOutput() FunctionBuildConfigSourceRepoSourcePtrOutput
func (FunctionBuildConfigSourceRepoSourceArgs) ToFunctionBuildConfigSourceRepoSourcePtrOutputWithContext ¶
func (i FunctionBuildConfigSourceRepoSourceArgs) ToFunctionBuildConfigSourceRepoSourcePtrOutputWithContext(ctx context.Context) FunctionBuildConfigSourceRepoSourcePtrOutput
type FunctionBuildConfigSourceRepoSourceInput ¶
type FunctionBuildConfigSourceRepoSourceInput interface { pulumi.Input ToFunctionBuildConfigSourceRepoSourceOutput() FunctionBuildConfigSourceRepoSourceOutput ToFunctionBuildConfigSourceRepoSourceOutputWithContext(context.Context) FunctionBuildConfigSourceRepoSourceOutput }
FunctionBuildConfigSourceRepoSourceInput is an input type that accepts FunctionBuildConfigSourceRepoSourceArgs and FunctionBuildConfigSourceRepoSourceOutput values. You can construct a concrete instance of `FunctionBuildConfigSourceRepoSourceInput` via:
FunctionBuildConfigSourceRepoSourceArgs{...}
type FunctionBuildConfigSourceRepoSourceOutput ¶
type FunctionBuildConfigSourceRepoSourceOutput struct{ *pulumi.OutputState }
func (FunctionBuildConfigSourceRepoSourceOutput) BranchName ¶
func (o FunctionBuildConfigSourceRepoSourceOutput) BranchName() pulumi.StringPtrOutput
Regex matching branches to build.
func (FunctionBuildConfigSourceRepoSourceOutput) CommitSha ¶
func (o FunctionBuildConfigSourceRepoSourceOutput) CommitSha() pulumi.StringPtrOutput
Regex matching tags to build.
func (FunctionBuildConfigSourceRepoSourceOutput) Dir ¶
func (o FunctionBuildConfigSourceRepoSourceOutput) Dir() pulumi.StringPtrOutput
Directory, relative to the source root, in which to run the build.
func (FunctionBuildConfigSourceRepoSourceOutput) ElementType ¶
func (FunctionBuildConfigSourceRepoSourceOutput) ElementType() reflect.Type
func (FunctionBuildConfigSourceRepoSourceOutput) InvertRegex ¶
func (o FunctionBuildConfigSourceRepoSourceOutput) InvertRegex() pulumi.BoolPtrOutput
Only trigger a build if the revision regex does NOT match the revision regex.
func (FunctionBuildConfigSourceRepoSourceOutput) ProjectId ¶
func (o FunctionBuildConfigSourceRepoSourceOutput) ProjectId() pulumi.StringPtrOutput
ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
func (FunctionBuildConfigSourceRepoSourceOutput) RepoName ¶
func (o FunctionBuildConfigSourceRepoSourceOutput) RepoName() pulumi.StringPtrOutput
Name of the Cloud Source Repository.
func (FunctionBuildConfigSourceRepoSourceOutput) TagName ¶
func (o FunctionBuildConfigSourceRepoSourceOutput) TagName() pulumi.StringPtrOutput
Regex matching tags to build.
func (FunctionBuildConfigSourceRepoSourceOutput) ToFunctionBuildConfigSourceRepoSourceOutput ¶
func (o FunctionBuildConfigSourceRepoSourceOutput) ToFunctionBuildConfigSourceRepoSourceOutput() FunctionBuildConfigSourceRepoSourceOutput
func (FunctionBuildConfigSourceRepoSourceOutput) ToFunctionBuildConfigSourceRepoSourceOutputWithContext ¶
func (o FunctionBuildConfigSourceRepoSourceOutput) ToFunctionBuildConfigSourceRepoSourceOutputWithContext(ctx context.Context) FunctionBuildConfigSourceRepoSourceOutput
func (FunctionBuildConfigSourceRepoSourceOutput) ToFunctionBuildConfigSourceRepoSourcePtrOutput ¶
func (o FunctionBuildConfigSourceRepoSourceOutput) ToFunctionBuildConfigSourceRepoSourcePtrOutput() FunctionBuildConfigSourceRepoSourcePtrOutput
func (FunctionBuildConfigSourceRepoSourceOutput) ToFunctionBuildConfigSourceRepoSourcePtrOutputWithContext ¶
func (o FunctionBuildConfigSourceRepoSourceOutput) ToFunctionBuildConfigSourceRepoSourcePtrOutputWithContext(ctx context.Context) FunctionBuildConfigSourceRepoSourcePtrOutput
type FunctionBuildConfigSourceRepoSourcePtrInput ¶
type FunctionBuildConfigSourceRepoSourcePtrInput interface { pulumi.Input ToFunctionBuildConfigSourceRepoSourcePtrOutput() FunctionBuildConfigSourceRepoSourcePtrOutput ToFunctionBuildConfigSourceRepoSourcePtrOutputWithContext(context.Context) FunctionBuildConfigSourceRepoSourcePtrOutput }
FunctionBuildConfigSourceRepoSourcePtrInput is an input type that accepts FunctionBuildConfigSourceRepoSourceArgs, FunctionBuildConfigSourceRepoSourcePtr and FunctionBuildConfigSourceRepoSourcePtrOutput values. You can construct a concrete instance of `FunctionBuildConfigSourceRepoSourcePtrInput` via:
FunctionBuildConfigSourceRepoSourceArgs{...} or: nil
func FunctionBuildConfigSourceRepoSourcePtr ¶
func FunctionBuildConfigSourceRepoSourcePtr(v *FunctionBuildConfigSourceRepoSourceArgs) FunctionBuildConfigSourceRepoSourcePtrInput
type FunctionBuildConfigSourceRepoSourcePtrOutput ¶
type FunctionBuildConfigSourceRepoSourcePtrOutput struct{ *pulumi.OutputState }
func (FunctionBuildConfigSourceRepoSourcePtrOutput) BranchName ¶
func (o FunctionBuildConfigSourceRepoSourcePtrOutput) BranchName() pulumi.StringPtrOutput
Regex matching branches to build.
func (FunctionBuildConfigSourceRepoSourcePtrOutput) CommitSha ¶
func (o FunctionBuildConfigSourceRepoSourcePtrOutput) CommitSha() pulumi.StringPtrOutput
Regex matching tags to build.
func (FunctionBuildConfigSourceRepoSourcePtrOutput) Dir ¶
func (o FunctionBuildConfigSourceRepoSourcePtrOutput) Dir() pulumi.StringPtrOutput
Directory, relative to the source root, in which to run the build.
func (FunctionBuildConfigSourceRepoSourcePtrOutput) ElementType ¶
func (FunctionBuildConfigSourceRepoSourcePtrOutput) ElementType() reflect.Type
func (FunctionBuildConfigSourceRepoSourcePtrOutput) InvertRegex ¶
func (o FunctionBuildConfigSourceRepoSourcePtrOutput) InvertRegex() pulumi.BoolPtrOutput
Only trigger a build if the revision regex does NOT match the revision regex.
func (FunctionBuildConfigSourceRepoSourcePtrOutput) ProjectId ¶
func (o FunctionBuildConfigSourceRepoSourcePtrOutput) ProjectId() pulumi.StringPtrOutput
ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
func (FunctionBuildConfigSourceRepoSourcePtrOutput) RepoName ¶
func (o FunctionBuildConfigSourceRepoSourcePtrOutput) RepoName() pulumi.StringPtrOutput
Name of the Cloud Source Repository.
func (FunctionBuildConfigSourceRepoSourcePtrOutput) TagName ¶
func (o FunctionBuildConfigSourceRepoSourcePtrOutput) TagName() pulumi.StringPtrOutput
Regex matching tags to build.
func (FunctionBuildConfigSourceRepoSourcePtrOutput) ToFunctionBuildConfigSourceRepoSourcePtrOutput ¶
func (o FunctionBuildConfigSourceRepoSourcePtrOutput) ToFunctionBuildConfigSourceRepoSourcePtrOutput() FunctionBuildConfigSourceRepoSourcePtrOutput
func (FunctionBuildConfigSourceRepoSourcePtrOutput) ToFunctionBuildConfigSourceRepoSourcePtrOutputWithContext ¶
func (o FunctionBuildConfigSourceRepoSourcePtrOutput) ToFunctionBuildConfigSourceRepoSourcePtrOutputWithContext(ctx context.Context) FunctionBuildConfigSourceRepoSourcePtrOutput
type FunctionBuildConfigSourceStorageSource ¶
type FunctionBuildConfigSourceStorageSource struct { // Google Cloud Storage bucket containing the source Bucket *string `pulumi:"bucket"` // Google Cloud Storage generation for the object. If the generation // is omitted, the latest generation will be used. Generation *int `pulumi:"generation"` // Google Cloud Storage object containing the source. Object *string `pulumi:"object"` }
type FunctionBuildConfigSourceStorageSourceArgs ¶
type FunctionBuildConfigSourceStorageSourceArgs struct { // Google Cloud Storage bucket containing the source Bucket pulumi.StringPtrInput `pulumi:"bucket"` // Google Cloud Storage generation for the object. If the generation // is omitted, the latest generation will be used. Generation pulumi.IntPtrInput `pulumi:"generation"` // Google Cloud Storage object containing the source. Object pulumi.StringPtrInput `pulumi:"object"` }
func (FunctionBuildConfigSourceStorageSourceArgs) ElementType ¶
func (FunctionBuildConfigSourceStorageSourceArgs) ElementType() reflect.Type
func (FunctionBuildConfigSourceStorageSourceArgs) ToFunctionBuildConfigSourceStorageSourceOutput ¶
func (i FunctionBuildConfigSourceStorageSourceArgs) ToFunctionBuildConfigSourceStorageSourceOutput() FunctionBuildConfigSourceStorageSourceOutput
func (FunctionBuildConfigSourceStorageSourceArgs) ToFunctionBuildConfigSourceStorageSourceOutputWithContext ¶
func (i FunctionBuildConfigSourceStorageSourceArgs) ToFunctionBuildConfigSourceStorageSourceOutputWithContext(ctx context.Context) FunctionBuildConfigSourceStorageSourceOutput
func (FunctionBuildConfigSourceStorageSourceArgs) ToFunctionBuildConfigSourceStorageSourcePtrOutput ¶
func (i FunctionBuildConfigSourceStorageSourceArgs) ToFunctionBuildConfigSourceStorageSourcePtrOutput() FunctionBuildConfigSourceStorageSourcePtrOutput
func (FunctionBuildConfigSourceStorageSourceArgs) ToFunctionBuildConfigSourceStorageSourcePtrOutputWithContext ¶
func (i FunctionBuildConfigSourceStorageSourceArgs) ToFunctionBuildConfigSourceStorageSourcePtrOutputWithContext(ctx context.Context) FunctionBuildConfigSourceStorageSourcePtrOutput
type FunctionBuildConfigSourceStorageSourceInput ¶
type FunctionBuildConfigSourceStorageSourceInput interface { pulumi.Input ToFunctionBuildConfigSourceStorageSourceOutput() FunctionBuildConfigSourceStorageSourceOutput ToFunctionBuildConfigSourceStorageSourceOutputWithContext(context.Context) FunctionBuildConfigSourceStorageSourceOutput }
FunctionBuildConfigSourceStorageSourceInput is an input type that accepts FunctionBuildConfigSourceStorageSourceArgs and FunctionBuildConfigSourceStorageSourceOutput values. You can construct a concrete instance of `FunctionBuildConfigSourceStorageSourceInput` via:
FunctionBuildConfigSourceStorageSourceArgs{...}
type FunctionBuildConfigSourceStorageSourceOutput ¶
type FunctionBuildConfigSourceStorageSourceOutput struct{ *pulumi.OutputState }
func (FunctionBuildConfigSourceStorageSourceOutput) Bucket ¶
func (o FunctionBuildConfigSourceStorageSourceOutput) Bucket() pulumi.StringPtrOutput
Google Cloud Storage bucket containing the source
func (FunctionBuildConfigSourceStorageSourceOutput) ElementType ¶
func (FunctionBuildConfigSourceStorageSourceOutput) ElementType() reflect.Type
func (FunctionBuildConfigSourceStorageSourceOutput) Generation ¶
func (o FunctionBuildConfigSourceStorageSourceOutput) Generation() pulumi.IntPtrOutput
Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
func (FunctionBuildConfigSourceStorageSourceOutput) Object ¶
func (o FunctionBuildConfigSourceStorageSourceOutput) Object() pulumi.StringPtrOutput
Google Cloud Storage object containing the source.
func (FunctionBuildConfigSourceStorageSourceOutput) ToFunctionBuildConfigSourceStorageSourceOutput ¶
func (o FunctionBuildConfigSourceStorageSourceOutput) ToFunctionBuildConfigSourceStorageSourceOutput() FunctionBuildConfigSourceStorageSourceOutput
func (FunctionBuildConfigSourceStorageSourceOutput) ToFunctionBuildConfigSourceStorageSourceOutputWithContext ¶
func (o FunctionBuildConfigSourceStorageSourceOutput) ToFunctionBuildConfigSourceStorageSourceOutputWithContext(ctx context.Context) FunctionBuildConfigSourceStorageSourceOutput
func (FunctionBuildConfigSourceStorageSourceOutput) ToFunctionBuildConfigSourceStorageSourcePtrOutput ¶
func (o FunctionBuildConfigSourceStorageSourceOutput) ToFunctionBuildConfigSourceStorageSourcePtrOutput() FunctionBuildConfigSourceStorageSourcePtrOutput
func (FunctionBuildConfigSourceStorageSourceOutput) ToFunctionBuildConfigSourceStorageSourcePtrOutputWithContext ¶
func (o FunctionBuildConfigSourceStorageSourceOutput) ToFunctionBuildConfigSourceStorageSourcePtrOutputWithContext(ctx context.Context) FunctionBuildConfigSourceStorageSourcePtrOutput
type FunctionBuildConfigSourceStorageSourcePtrInput ¶
type FunctionBuildConfigSourceStorageSourcePtrInput interface { pulumi.Input ToFunctionBuildConfigSourceStorageSourcePtrOutput() FunctionBuildConfigSourceStorageSourcePtrOutput ToFunctionBuildConfigSourceStorageSourcePtrOutputWithContext(context.Context) FunctionBuildConfigSourceStorageSourcePtrOutput }
FunctionBuildConfigSourceStorageSourcePtrInput is an input type that accepts FunctionBuildConfigSourceStorageSourceArgs, FunctionBuildConfigSourceStorageSourcePtr and FunctionBuildConfigSourceStorageSourcePtrOutput values. You can construct a concrete instance of `FunctionBuildConfigSourceStorageSourcePtrInput` via:
FunctionBuildConfigSourceStorageSourceArgs{...} or: nil
func FunctionBuildConfigSourceStorageSourcePtr ¶
func FunctionBuildConfigSourceStorageSourcePtr(v *FunctionBuildConfigSourceStorageSourceArgs) FunctionBuildConfigSourceStorageSourcePtrInput
type FunctionBuildConfigSourceStorageSourcePtrOutput ¶
type FunctionBuildConfigSourceStorageSourcePtrOutput struct{ *pulumi.OutputState }
func (FunctionBuildConfigSourceStorageSourcePtrOutput) Bucket ¶
func (o FunctionBuildConfigSourceStorageSourcePtrOutput) Bucket() pulumi.StringPtrOutput
Google Cloud Storage bucket containing the source
func (FunctionBuildConfigSourceStorageSourcePtrOutput) ElementType ¶
func (FunctionBuildConfigSourceStorageSourcePtrOutput) ElementType() reflect.Type
func (FunctionBuildConfigSourceStorageSourcePtrOutput) Generation ¶
func (o FunctionBuildConfigSourceStorageSourcePtrOutput) Generation() pulumi.IntPtrOutput
Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
func (FunctionBuildConfigSourceStorageSourcePtrOutput) Object ¶
func (o FunctionBuildConfigSourceStorageSourcePtrOutput) Object() pulumi.StringPtrOutput
Google Cloud Storage object containing the source.
func (FunctionBuildConfigSourceStorageSourcePtrOutput) ToFunctionBuildConfigSourceStorageSourcePtrOutput ¶
func (o FunctionBuildConfigSourceStorageSourcePtrOutput) ToFunctionBuildConfigSourceStorageSourcePtrOutput() FunctionBuildConfigSourceStorageSourcePtrOutput
func (FunctionBuildConfigSourceStorageSourcePtrOutput) ToFunctionBuildConfigSourceStorageSourcePtrOutputWithContext ¶
func (o FunctionBuildConfigSourceStorageSourcePtrOutput) ToFunctionBuildConfigSourceStorageSourcePtrOutputWithContext(ctx context.Context) FunctionBuildConfigSourceStorageSourcePtrOutput
type FunctionEventTrigger ¶
type FunctionEventTrigger struct { // Criteria used to filter events. // Structure is documented below. EventFilters []FunctionEventTriggerEventFilter `pulumi:"eventFilters"` // Required. The type of event to observe. EventType *string `pulumi:"eventType"` // The name of a Pub/Sub topic in the same project that will be used // as the transport topic for the event delivery. PubsubTopic *string `pulumi:"pubsubTopic"` // Describes the retry policy in case of function's execution failure. // Retried execution is charged as any other execution. // Possible values are: `RETRY_POLICY_UNSPECIFIED`, `RETRY_POLICY_DO_NOT_RETRY`, `RETRY_POLICY_RETRY`. RetryPolicy *string `pulumi:"retryPolicy"` // Optional. The email of the trigger's service account. The service account // must have permission to invoke Cloud Run services. If empty, defaults to the // Compute Engine default service account: {project_number}-compute@developer.gserviceaccount.com. ServiceAccountEmail *string `pulumi:"serviceAccountEmail"` // (Output) // Output only. The resource name of the Eventarc trigger. Trigger *string `pulumi:"trigger"` // The region that the trigger will be in. The trigger will only receive // events originating in this region. It can be the same // region as the function, a different region or multi-region, or the global // region. If not provided, defaults to the same region as the function. TriggerRegion *string `pulumi:"triggerRegion"` }
type FunctionEventTriggerArgs ¶
type FunctionEventTriggerArgs struct { // Criteria used to filter events. // Structure is documented below. EventFilters FunctionEventTriggerEventFilterArrayInput `pulumi:"eventFilters"` // Required. The type of event to observe. EventType pulumi.StringPtrInput `pulumi:"eventType"` // The name of a Pub/Sub topic in the same project that will be used // as the transport topic for the event delivery. PubsubTopic pulumi.StringPtrInput `pulumi:"pubsubTopic"` // Describes the retry policy in case of function's execution failure. // Retried execution is charged as any other execution. // Possible values are: `RETRY_POLICY_UNSPECIFIED`, `RETRY_POLICY_DO_NOT_RETRY`, `RETRY_POLICY_RETRY`. RetryPolicy pulumi.StringPtrInput `pulumi:"retryPolicy"` // Optional. The email of the trigger's service account. The service account // must have permission to invoke Cloud Run services. If empty, defaults to the // Compute Engine default service account: {project_number}-compute@developer.gserviceaccount.com. ServiceAccountEmail pulumi.StringPtrInput `pulumi:"serviceAccountEmail"` // (Output) // Output only. The resource name of the Eventarc trigger. Trigger pulumi.StringPtrInput `pulumi:"trigger"` // The region that the trigger will be in. The trigger will only receive // events originating in this region. It can be the same // region as the function, a different region or multi-region, or the global // region. If not provided, defaults to the same region as the function. TriggerRegion pulumi.StringPtrInput `pulumi:"triggerRegion"` }
func (FunctionEventTriggerArgs) ElementType ¶
func (FunctionEventTriggerArgs) ElementType() reflect.Type
func (FunctionEventTriggerArgs) ToFunctionEventTriggerOutput ¶
func (i FunctionEventTriggerArgs) ToFunctionEventTriggerOutput() FunctionEventTriggerOutput
func (FunctionEventTriggerArgs) ToFunctionEventTriggerOutputWithContext ¶
func (i FunctionEventTriggerArgs) ToFunctionEventTriggerOutputWithContext(ctx context.Context) FunctionEventTriggerOutput
func (FunctionEventTriggerArgs) ToFunctionEventTriggerPtrOutput ¶
func (i FunctionEventTriggerArgs) ToFunctionEventTriggerPtrOutput() FunctionEventTriggerPtrOutput
func (FunctionEventTriggerArgs) ToFunctionEventTriggerPtrOutputWithContext ¶
func (i FunctionEventTriggerArgs) ToFunctionEventTriggerPtrOutputWithContext(ctx context.Context) FunctionEventTriggerPtrOutput
type FunctionEventTriggerEventFilter ¶
type FunctionEventTriggerEventFilter struct { // 'Required. The name of a CloudEvents attribute. // Currently, only a subset of attributes are supported for filtering. Use the `gcloud eventarc providers describe` command to learn more about events and their attributes. // Do not filter for the 'type' attribute here, as this is already achieved by the resource's `eventType` attribute. Attribute string `pulumi:"attribute"` // Optional. The operator used for matching the events with the value of // the filter. If not specified, only events that have an exact key-value // pair specified in the filter are matched. // The only allowed value is `match-path-pattern`. // [See documentation on path patterns here](https://cloud.google.com/eventarc/docs/path-patterns)' Operator *string `pulumi:"operator"` // Required. The value for the attribute. // If the operator field is set as `match-path-pattern`, this value can be a path pattern instead of an exact value. Value string `pulumi:"value"` }
type FunctionEventTriggerEventFilterArgs ¶
type FunctionEventTriggerEventFilterArgs struct { // 'Required. The name of a CloudEvents attribute. // Currently, only a subset of attributes are supported for filtering. Use the `gcloud eventarc providers describe` command to learn more about events and their attributes. // Do not filter for the 'type' attribute here, as this is already achieved by the resource's `eventType` attribute. Attribute pulumi.StringInput `pulumi:"attribute"` // Optional. The operator used for matching the events with the value of // the filter. If not specified, only events that have an exact key-value // pair specified in the filter are matched. // The only allowed value is `match-path-pattern`. // [See documentation on path patterns here](https://cloud.google.com/eventarc/docs/path-patterns)' Operator pulumi.StringPtrInput `pulumi:"operator"` // Required. The value for the attribute. // If the operator field is set as `match-path-pattern`, this value can be a path pattern instead of an exact value. Value pulumi.StringInput `pulumi:"value"` }
func (FunctionEventTriggerEventFilterArgs) ElementType ¶
func (FunctionEventTriggerEventFilterArgs) ElementType() reflect.Type
func (FunctionEventTriggerEventFilterArgs) ToFunctionEventTriggerEventFilterOutput ¶
func (i FunctionEventTriggerEventFilterArgs) ToFunctionEventTriggerEventFilterOutput() FunctionEventTriggerEventFilterOutput
func (FunctionEventTriggerEventFilterArgs) ToFunctionEventTriggerEventFilterOutputWithContext ¶
func (i FunctionEventTriggerEventFilterArgs) ToFunctionEventTriggerEventFilterOutputWithContext(ctx context.Context) FunctionEventTriggerEventFilterOutput
type FunctionEventTriggerEventFilterArray ¶
type FunctionEventTriggerEventFilterArray []FunctionEventTriggerEventFilterInput
func (FunctionEventTriggerEventFilterArray) ElementType ¶
func (FunctionEventTriggerEventFilterArray) ElementType() reflect.Type
func (FunctionEventTriggerEventFilterArray) ToFunctionEventTriggerEventFilterArrayOutput ¶
func (i FunctionEventTriggerEventFilterArray) ToFunctionEventTriggerEventFilterArrayOutput() FunctionEventTriggerEventFilterArrayOutput
func (FunctionEventTriggerEventFilterArray) ToFunctionEventTriggerEventFilterArrayOutputWithContext ¶
func (i FunctionEventTriggerEventFilterArray) ToFunctionEventTriggerEventFilterArrayOutputWithContext(ctx context.Context) FunctionEventTriggerEventFilterArrayOutput
type FunctionEventTriggerEventFilterArrayInput ¶
type FunctionEventTriggerEventFilterArrayInput interface { pulumi.Input ToFunctionEventTriggerEventFilterArrayOutput() FunctionEventTriggerEventFilterArrayOutput ToFunctionEventTriggerEventFilterArrayOutputWithContext(context.Context) FunctionEventTriggerEventFilterArrayOutput }
FunctionEventTriggerEventFilterArrayInput is an input type that accepts FunctionEventTriggerEventFilterArray and FunctionEventTriggerEventFilterArrayOutput values. You can construct a concrete instance of `FunctionEventTriggerEventFilterArrayInput` via:
FunctionEventTriggerEventFilterArray{ FunctionEventTriggerEventFilterArgs{...} }
type FunctionEventTriggerEventFilterArrayOutput ¶
type FunctionEventTriggerEventFilterArrayOutput struct{ *pulumi.OutputState }
func (FunctionEventTriggerEventFilterArrayOutput) ElementType ¶
func (FunctionEventTriggerEventFilterArrayOutput) ElementType() reflect.Type
func (FunctionEventTriggerEventFilterArrayOutput) ToFunctionEventTriggerEventFilterArrayOutput ¶
func (o FunctionEventTriggerEventFilterArrayOutput) ToFunctionEventTriggerEventFilterArrayOutput() FunctionEventTriggerEventFilterArrayOutput
func (FunctionEventTriggerEventFilterArrayOutput) ToFunctionEventTriggerEventFilterArrayOutputWithContext ¶
func (o FunctionEventTriggerEventFilterArrayOutput) ToFunctionEventTriggerEventFilterArrayOutputWithContext(ctx context.Context) FunctionEventTriggerEventFilterArrayOutput
type FunctionEventTriggerEventFilterInput ¶
type FunctionEventTriggerEventFilterInput interface { pulumi.Input ToFunctionEventTriggerEventFilterOutput() FunctionEventTriggerEventFilterOutput ToFunctionEventTriggerEventFilterOutputWithContext(context.Context) FunctionEventTriggerEventFilterOutput }
FunctionEventTriggerEventFilterInput is an input type that accepts FunctionEventTriggerEventFilterArgs and FunctionEventTriggerEventFilterOutput values. You can construct a concrete instance of `FunctionEventTriggerEventFilterInput` via:
FunctionEventTriggerEventFilterArgs{...}
type FunctionEventTriggerEventFilterOutput ¶
type FunctionEventTriggerEventFilterOutput struct{ *pulumi.OutputState }
func (FunctionEventTriggerEventFilterOutput) Attribute ¶
func (o FunctionEventTriggerEventFilterOutput) Attribute() pulumi.StringOutput
'Required. The name of a CloudEvents attribute. Currently, only a subset of attributes are supported for filtering. Use the `gcloud eventarc providers describe` command to learn more about events and their attributes. Do not filter for the 'type' attribute here, as this is already achieved by the resource's `eventType` attribute.
func (FunctionEventTriggerEventFilterOutput) ElementType ¶
func (FunctionEventTriggerEventFilterOutput) ElementType() reflect.Type
func (FunctionEventTriggerEventFilterOutput) Operator ¶
func (o FunctionEventTriggerEventFilterOutput) Operator() pulumi.StringPtrOutput
Optional. The operator used for matching the events with the value of the filter. If not specified, only events that have an exact key-value pair specified in the filter are matched. The only allowed value is `match-path-pattern`. [See documentation on path patterns here](https://cloud.google.com/eventarc/docs/path-patterns)'
func (FunctionEventTriggerEventFilterOutput) ToFunctionEventTriggerEventFilterOutput ¶
func (o FunctionEventTriggerEventFilterOutput) ToFunctionEventTriggerEventFilterOutput() FunctionEventTriggerEventFilterOutput
func (FunctionEventTriggerEventFilterOutput) ToFunctionEventTriggerEventFilterOutputWithContext ¶
func (o FunctionEventTriggerEventFilterOutput) ToFunctionEventTriggerEventFilterOutputWithContext(ctx context.Context) FunctionEventTriggerEventFilterOutput
func (FunctionEventTriggerEventFilterOutput) Value ¶
func (o FunctionEventTriggerEventFilterOutput) Value() pulumi.StringOutput
Required. The value for the attribute. If the operator field is set as `match-path-pattern`, this value can be a path pattern instead of an exact value.
type FunctionEventTriggerInput ¶
type FunctionEventTriggerInput interface { pulumi.Input ToFunctionEventTriggerOutput() FunctionEventTriggerOutput ToFunctionEventTriggerOutputWithContext(context.Context) FunctionEventTriggerOutput }
FunctionEventTriggerInput is an input type that accepts FunctionEventTriggerArgs and FunctionEventTriggerOutput values. You can construct a concrete instance of `FunctionEventTriggerInput` via:
FunctionEventTriggerArgs{...}
type FunctionEventTriggerOutput ¶
type FunctionEventTriggerOutput struct{ *pulumi.OutputState }
func (FunctionEventTriggerOutput) ElementType ¶
func (FunctionEventTriggerOutput) ElementType() reflect.Type
func (FunctionEventTriggerOutput) EventFilters ¶
func (o FunctionEventTriggerOutput) EventFilters() FunctionEventTriggerEventFilterArrayOutput
Criteria used to filter events. Structure is documented below.
func (FunctionEventTriggerOutput) EventType ¶
func (o FunctionEventTriggerOutput) EventType() pulumi.StringPtrOutput
Required. The type of event to observe.
func (FunctionEventTriggerOutput) PubsubTopic ¶
func (o FunctionEventTriggerOutput) PubsubTopic() pulumi.StringPtrOutput
The name of a Pub/Sub topic in the same project that will be used as the transport topic for the event delivery.
func (FunctionEventTriggerOutput) RetryPolicy ¶
func (o FunctionEventTriggerOutput) RetryPolicy() pulumi.StringPtrOutput
Describes the retry policy in case of function's execution failure. Retried execution is charged as any other execution. Possible values are: `RETRY_POLICY_UNSPECIFIED`, `RETRY_POLICY_DO_NOT_RETRY`, `RETRY_POLICY_RETRY`.
func (FunctionEventTriggerOutput) ServiceAccountEmail ¶
func (o FunctionEventTriggerOutput) ServiceAccountEmail() pulumi.StringPtrOutput
Optional. The email of the trigger's service account. The service account must have permission to invoke Cloud Run services. If empty, defaults to the Compute Engine default service account: {project_number}-compute@developer.gserviceaccount.com.
func (FunctionEventTriggerOutput) ToFunctionEventTriggerOutput ¶
func (o FunctionEventTriggerOutput) ToFunctionEventTriggerOutput() FunctionEventTriggerOutput
func (FunctionEventTriggerOutput) ToFunctionEventTriggerOutputWithContext ¶
func (o FunctionEventTriggerOutput) ToFunctionEventTriggerOutputWithContext(ctx context.Context) FunctionEventTriggerOutput
func (FunctionEventTriggerOutput) ToFunctionEventTriggerPtrOutput ¶
func (o FunctionEventTriggerOutput) ToFunctionEventTriggerPtrOutput() FunctionEventTriggerPtrOutput
func (FunctionEventTriggerOutput) ToFunctionEventTriggerPtrOutputWithContext ¶
func (o FunctionEventTriggerOutput) ToFunctionEventTriggerPtrOutputWithContext(ctx context.Context) FunctionEventTriggerPtrOutput
func (FunctionEventTriggerOutput) Trigger ¶
func (o FunctionEventTriggerOutput) Trigger() pulumi.StringPtrOutput
(Output) Output only. The resource name of the Eventarc trigger.
func (FunctionEventTriggerOutput) TriggerRegion ¶
func (o FunctionEventTriggerOutput) TriggerRegion() pulumi.StringPtrOutput
The region that the trigger will be in. The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.
type FunctionEventTriggerPtrInput ¶
type FunctionEventTriggerPtrInput interface { pulumi.Input ToFunctionEventTriggerPtrOutput() FunctionEventTriggerPtrOutput ToFunctionEventTriggerPtrOutputWithContext(context.Context) FunctionEventTriggerPtrOutput }
FunctionEventTriggerPtrInput is an input type that accepts FunctionEventTriggerArgs, FunctionEventTriggerPtr and FunctionEventTriggerPtrOutput values. You can construct a concrete instance of `FunctionEventTriggerPtrInput` via:
FunctionEventTriggerArgs{...} or: nil
func FunctionEventTriggerPtr ¶
func FunctionEventTriggerPtr(v *FunctionEventTriggerArgs) FunctionEventTriggerPtrInput
type FunctionEventTriggerPtrOutput ¶
type FunctionEventTriggerPtrOutput struct{ *pulumi.OutputState }
func (FunctionEventTriggerPtrOutput) Elem ¶
func (o FunctionEventTriggerPtrOutput) Elem() FunctionEventTriggerOutput
func (FunctionEventTriggerPtrOutput) ElementType ¶
func (FunctionEventTriggerPtrOutput) ElementType() reflect.Type
func (FunctionEventTriggerPtrOutput) EventFilters ¶
func (o FunctionEventTriggerPtrOutput) EventFilters() FunctionEventTriggerEventFilterArrayOutput
Criteria used to filter events. Structure is documented below.
func (FunctionEventTriggerPtrOutput) EventType ¶
func (o FunctionEventTriggerPtrOutput) EventType() pulumi.StringPtrOutput
Required. The type of event to observe.
func (FunctionEventTriggerPtrOutput) PubsubTopic ¶
func (o FunctionEventTriggerPtrOutput) PubsubTopic() pulumi.StringPtrOutput
The name of a Pub/Sub topic in the same project that will be used as the transport topic for the event delivery.
func (FunctionEventTriggerPtrOutput) RetryPolicy ¶
func (o FunctionEventTriggerPtrOutput) RetryPolicy() pulumi.StringPtrOutput
Describes the retry policy in case of function's execution failure. Retried execution is charged as any other execution. Possible values are: `RETRY_POLICY_UNSPECIFIED`, `RETRY_POLICY_DO_NOT_RETRY`, `RETRY_POLICY_RETRY`.
func (FunctionEventTriggerPtrOutput) ServiceAccountEmail ¶
func (o FunctionEventTriggerPtrOutput) ServiceAccountEmail() pulumi.StringPtrOutput
Optional. The email of the trigger's service account. The service account must have permission to invoke Cloud Run services. If empty, defaults to the Compute Engine default service account: {project_number}-compute@developer.gserviceaccount.com.
func (FunctionEventTriggerPtrOutput) ToFunctionEventTriggerPtrOutput ¶
func (o FunctionEventTriggerPtrOutput) ToFunctionEventTriggerPtrOutput() FunctionEventTriggerPtrOutput
func (FunctionEventTriggerPtrOutput) ToFunctionEventTriggerPtrOutputWithContext ¶
func (o FunctionEventTriggerPtrOutput) ToFunctionEventTriggerPtrOutputWithContext(ctx context.Context) FunctionEventTriggerPtrOutput
func (FunctionEventTriggerPtrOutput) Trigger ¶
func (o FunctionEventTriggerPtrOutput) Trigger() pulumi.StringPtrOutput
(Output) Output only. The resource name of the Eventarc trigger.
func (FunctionEventTriggerPtrOutput) TriggerRegion ¶
func (o FunctionEventTriggerPtrOutput) TriggerRegion() pulumi.StringPtrOutput
The region that the trigger will be in. The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.
type FunctionIamBinding ¶
type FunctionIamBinding struct { pulumi.CustomResourceState // Used to find the parent resource to bind the IAM policy to CloudFunction pulumi.StringOutput `pulumi:"cloudFunction"` Condition FunctionIamBindingConditionPtrOutput `pulumi:"condition"` // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // The location of this cloud function. Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringOutput `pulumi:"location"` // 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 // `cloudfunctionsv2.FunctionIamBinding` 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 Functions (2nd gen) function. Each of these resources serves a different use case:
* `cloudfunctionsv2.FunctionIamPolicy`: Authoritative. Sets the IAM policy for the function and replaces any existing policy already attached. * `cloudfunctionsv2.FunctionIamBinding`: 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 function are preserved. * `cloudfunctionsv2.FunctionIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the function are preserved.
A data source can be used to retrieve policy data in advent you do not need creation ¶
* `cloudfunctionsv2.FunctionIamPolicy`: Retrieves the IAM policy for the function
> **Note:** `cloudfunctionsv2.FunctionIamPolicy` **cannot** be used in conjunction with `cloudfunctionsv2.FunctionIamBinding` and `cloudfunctionsv2.FunctionIamMember` or they will fight over what your policy should be.
> **Note:** `cloudfunctionsv2.FunctionIamBinding` resources **can be** used in conjunction with `cloudfunctionsv2.FunctionIamMember` resources **only if** they do not grant privilege to the same role.
## cloudfunctionsv2.FunctionIamPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudfunctionsv2" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/viewer", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = cloudfunctionsv2.NewFunctionIamPolicy(ctx, "policy", &cloudfunctionsv2.FunctionIamPolicyArgs{ Project: pulumi.Any(function.Project), Location: pulumi.Any(function.Location), CloudFunction: pulumi.Any(function.Name), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## cloudfunctionsv2.FunctionIamBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudfunctionsv2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudfunctionsv2.NewFunctionIamBinding(ctx, "binding", &cloudfunctionsv2.FunctionIamBindingArgs{ Project: pulumi.Any(function.Project), Location: pulumi.Any(function.Location), CloudFunction: pulumi.Any(function.Name), Role: pulumi.String("roles/viewer"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## cloudfunctionsv2.FunctionIamMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudfunctionsv2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudfunctionsv2.NewFunctionIamMember(ctx, "member", &cloudfunctionsv2.FunctionIamMemberArgs{ Project: pulumi.Any(function.Project), Location: pulumi.Any(function.Location), CloudFunction: pulumi.Any(function.Name), Role: pulumi.String("roles/viewer"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
## This resource supports User Project Overrides.
-
# IAM policy for Cloud Functions (2nd gen) function Three different resources help you manage your IAM policy for Cloud Functions (2nd gen) function. Each of these resources serves a different use case:
* `cloudfunctionsv2.FunctionIamPolicy`: Authoritative. Sets the IAM policy for the function and replaces any existing policy already attached. * `cloudfunctionsv2.FunctionIamBinding`: 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 function are preserved. * `cloudfunctionsv2.FunctionIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the function are preserved.
A data source can be used to retrieve policy data in advent you do not need creation ¶
* `cloudfunctionsv2.FunctionIamPolicy`: Retrieves the IAM policy for the function
> **Note:** `cloudfunctionsv2.FunctionIamPolicy` **cannot** be used in conjunction with `cloudfunctionsv2.FunctionIamBinding` and `cloudfunctionsv2.FunctionIamMember` or they will fight over what your policy should be.
> **Note:** `cloudfunctionsv2.FunctionIamBinding` resources **can be** used in conjunction with `cloudfunctionsv2.FunctionIamMember` resources **only if** they do not grant privilege to the same role.
## cloudfunctionsv2.FunctionIamPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudfunctionsv2" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/viewer", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = cloudfunctionsv2.NewFunctionIamPolicy(ctx, "policy", &cloudfunctionsv2.FunctionIamPolicyArgs{ Project: pulumi.Any(function.Project), Location: pulumi.Any(function.Location), CloudFunction: pulumi.Any(function.Name), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## cloudfunctionsv2.FunctionIamBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudfunctionsv2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudfunctionsv2.NewFunctionIamBinding(ctx, "binding", &cloudfunctionsv2.FunctionIamBindingArgs{ Project: pulumi.Any(function.Project), Location: pulumi.Any(function.Location), CloudFunction: pulumi.Any(function.Name), Role: pulumi.String("roles/viewer"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## cloudfunctionsv2.FunctionIamMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudfunctionsv2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudfunctionsv2.NewFunctionIamMember(ctx, "member", &cloudfunctionsv2.FunctionIamMemberArgs{ Project: pulumi.Any(function.Project), Location: pulumi.Any(function.Location), CloudFunction: pulumi.Any(function.Name), Role: pulumi.String("roles/viewer"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
## Import
For all import syntaxes, the "resource in question" can take any of the following forms:
* projects/{{project}}/locations/{{location}}/functions/{{cloud_function}}
* {{project}}/{{location}}/{{cloud_function}}
* {{location}}/{{cloud_function}}
* {{cloud_function}}
Any variables not passed in the import command will be taken from the provider configuration.
Cloud Functions (2nd gen) function 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:cloudfunctionsv2/functionIamBinding:FunctionIamBinding editor "projects/{{project}}/locations/{{location}}/functions/{{cloud_function}} 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:cloudfunctionsv2/functionIamBinding:FunctionIamBinding editor "projects/{{project}}/locations/{{location}}/functions/{{cloud_function}} roles/viewer" ```
IAM policy imports use the identifier of the resource in question, e.g.
```sh $ pulumi import gcp:cloudfunctionsv2/functionIamBinding:FunctionIamBinding editor projects/{{project}}/locations/{{location}}/functions/{{cloud_function}} ```
-> **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 GetFunctionIamBinding ¶
func GetFunctionIamBinding(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FunctionIamBindingState, opts ...pulumi.ResourceOption) (*FunctionIamBinding, error)
GetFunctionIamBinding gets an existing FunctionIamBinding 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 NewFunctionIamBinding ¶
func NewFunctionIamBinding(ctx *pulumi.Context, name string, args *FunctionIamBindingArgs, opts ...pulumi.ResourceOption) (*FunctionIamBinding, error)
NewFunctionIamBinding registers a new resource with the given unique name, arguments, and options.
func (*FunctionIamBinding) ElementType ¶
func (*FunctionIamBinding) ElementType() reflect.Type
func (*FunctionIamBinding) ToFunctionIamBindingOutput ¶
func (i *FunctionIamBinding) ToFunctionIamBindingOutput() FunctionIamBindingOutput
func (*FunctionIamBinding) ToFunctionIamBindingOutputWithContext ¶
func (i *FunctionIamBinding) ToFunctionIamBindingOutputWithContext(ctx context.Context) FunctionIamBindingOutput
type FunctionIamBindingArgs ¶
type FunctionIamBindingArgs struct { // Used to find the parent resource to bind the IAM policy to CloudFunction pulumi.StringInput Condition FunctionIamBindingConditionPtrInput // The location of this cloud function. Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location 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 // `cloudfunctionsv2.FunctionIamBinding` 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 FunctionIamBinding resource.
func (FunctionIamBindingArgs) ElementType ¶
func (FunctionIamBindingArgs) ElementType() reflect.Type
type FunctionIamBindingArray ¶
type FunctionIamBindingArray []FunctionIamBindingInput
func (FunctionIamBindingArray) ElementType ¶
func (FunctionIamBindingArray) ElementType() reflect.Type
func (FunctionIamBindingArray) ToFunctionIamBindingArrayOutput ¶
func (i FunctionIamBindingArray) ToFunctionIamBindingArrayOutput() FunctionIamBindingArrayOutput
func (FunctionIamBindingArray) ToFunctionIamBindingArrayOutputWithContext ¶
func (i FunctionIamBindingArray) ToFunctionIamBindingArrayOutputWithContext(ctx context.Context) FunctionIamBindingArrayOutput
type FunctionIamBindingArrayInput ¶
type FunctionIamBindingArrayInput interface { pulumi.Input ToFunctionIamBindingArrayOutput() FunctionIamBindingArrayOutput ToFunctionIamBindingArrayOutputWithContext(context.Context) FunctionIamBindingArrayOutput }
FunctionIamBindingArrayInput is an input type that accepts FunctionIamBindingArray and FunctionIamBindingArrayOutput values. You can construct a concrete instance of `FunctionIamBindingArrayInput` via:
FunctionIamBindingArray{ FunctionIamBindingArgs{...} }
type FunctionIamBindingArrayOutput ¶
type FunctionIamBindingArrayOutput struct{ *pulumi.OutputState }
func (FunctionIamBindingArrayOutput) ElementType ¶
func (FunctionIamBindingArrayOutput) ElementType() reflect.Type
func (FunctionIamBindingArrayOutput) Index ¶
func (o FunctionIamBindingArrayOutput) Index(i pulumi.IntInput) FunctionIamBindingOutput
func (FunctionIamBindingArrayOutput) ToFunctionIamBindingArrayOutput ¶
func (o FunctionIamBindingArrayOutput) ToFunctionIamBindingArrayOutput() FunctionIamBindingArrayOutput
func (FunctionIamBindingArrayOutput) ToFunctionIamBindingArrayOutputWithContext ¶
func (o FunctionIamBindingArrayOutput) ToFunctionIamBindingArrayOutputWithContext(ctx context.Context) FunctionIamBindingArrayOutput
type FunctionIamBindingConditionArgs ¶
type FunctionIamBindingConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` Expression pulumi.StringInput `pulumi:"expression"` Title pulumi.StringInput `pulumi:"title"` }
func (FunctionIamBindingConditionArgs) ElementType ¶
func (FunctionIamBindingConditionArgs) ElementType() reflect.Type
func (FunctionIamBindingConditionArgs) ToFunctionIamBindingConditionOutput ¶
func (i FunctionIamBindingConditionArgs) ToFunctionIamBindingConditionOutput() FunctionIamBindingConditionOutput
func (FunctionIamBindingConditionArgs) ToFunctionIamBindingConditionOutputWithContext ¶
func (i FunctionIamBindingConditionArgs) ToFunctionIamBindingConditionOutputWithContext(ctx context.Context) FunctionIamBindingConditionOutput
func (FunctionIamBindingConditionArgs) ToFunctionIamBindingConditionPtrOutput ¶
func (i FunctionIamBindingConditionArgs) ToFunctionIamBindingConditionPtrOutput() FunctionIamBindingConditionPtrOutput
func (FunctionIamBindingConditionArgs) ToFunctionIamBindingConditionPtrOutputWithContext ¶
func (i FunctionIamBindingConditionArgs) ToFunctionIamBindingConditionPtrOutputWithContext(ctx context.Context) FunctionIamBindingConditionPtrOutput
type FunctionIamBindingConditionInput ¶
type FunctionIamBindingConditionInput interface { pulumi.Input ToFunctionIamBindingConditionOutput() FunctionIamBindingConditionOutput ToFunctionIamBindingConditionOutputWithContext(context.Context) FunctionIamBindingConditionOutput }
FunctionIamBindingConditionInput is an input type that accepts FunctionIamBindingConditionArgs and FunctionIamBindingConditionOutput values. You can construct a concrete instance of `FunctionIamBindingConditionInput` via:
FunctionIamBindingConditionArgs{...}
type FunctionIamBindingConditionOutput ¶
type FunctionIamBindingConditionOutput struct{ *pulumi.OutputState }
func (FunctionIamBindingConditionOutput) Description ¶
func (o FunctionIamBindingConditionOutput) Description() pulumi.StringPtrOutput
func (FunctionIamBindingConditionOutput) ElementType ¶
func (FunctionIamBindingConditionOutput) ElementType() reflect.Type
func (FunctionIamBindingConditionOutput) Expression ¶
func (o FunctionIamBindingConditionOutput) Expression() pulumi.StringOutput
func (FunctionIamBindingConditionOutput) Title ¶
func (o FunctionIamBindingConditionOutput) Title() pulumi.StringOutput
func (FunctionIamBindingConditionOutput) ToFunctionIamBindingConditionOutput ¶
func (o FunctionIamBindingConditionOutput) ToFunctionIamBindingConditionOutput() FunctionIamBindingConditionOutput
func (FunctionIamBindingConditionOutput) ToFunctionIamBindingConditionOutputWithContext ¶
func (o FunctionIamBindingConditionOutput) ToFunctionIamBindingConditionOutputWithContext(ctx context.Context) FunctionIamBindingConditionOutput
func (FunctionIamBindingConditionOutput) ToFunctionIamBindingConditionPtrOutput ¶
func (o FunctionIamBindingConditionOutput) ToFunctionIamBindingConditionPtrOutput() FunctionIamBindingConditionPtrOutput
func (FunctionIamBindingConditionOutput) ToFunctionIamBindingConditionPtrOutputWithContext ¶
func (o FunctionIamBindingConditionOutput) ToFunctionIamBindingConditionPtrOutputWithContext(ctx context.Context) FunctionIamBindingConditionPtrOutput
type FunctionIamBindingConditionPtrInput ¶
type FunctionIamBindingConditionPtrInput interface { pulumi.Input ToFunctionIamBindingConditionPtrOutput() FunctionIamBindingConditionPtrOutput ToFunctionIamBindingConditionPtrOutputWithContext(context.Context) FunctionIamBindingConditionPtrOutput }
FunctionIamBindingConditionPtrInput is an input type that accepts FunctionIamBindingConditionArgs, FunctionIamBindingConditionPtr and FunctionIamBindingConditionPtrOutput values. You can construct a concrete instance of `FunctionIamBindingConditionPtrInput` via:
FunctionIamBindingConditionArgs{...} or: nil
func FunctionIamBindingConditionPtr ¶
func FunctionIamBindingConditionPtr(v *FunctionIamBindingConditionArgs) FunctionIamBindingConditionPtrInput
type FunctionIamBindingConditionPtrOutput ¶
type FunctionIamBindingConditionPtrOutput struct{ *pulumi.OutputState }
func (FunctionIamBindingConditionPtrOutput) Description ¶
func (o FunctionIamBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
func (FunctionIamBindingConditionPtrOutput) ElementType ¶
func (FunctionIamBindingConditionPtrOutput) ElementType() reflect.Type
func (FunctionIamBindingConditionPtrOutput) Expression ¶
func (o FunctionIamBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
func (FunctionIamBindingConditionPtrOutput) Title ¶
func (o FunctionIamBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
func (FunctionIamBindingConditionPtrOutput) ToFunctionIamBindingConditionPtrOutput ¶
func (o FunctionIamBindingConditionPtrOutput) ToFunctionIamBindingConditionPtrOutput() FunctionIamBindingConditionPtrOutput
func (FunctionIamBindingConditionPtrOutput) ToFunctionIamBindingConditionPtrOutputWithContext ¶
func (o FunctionIamBindingConditionPtrOutput) ToFunctionIamBindingConditionPtrOutputWithContext(ctx context.Context) FunctionIamBindingConditionPtrOutput
type FunctionIamBindingInput ¶
type FunctionIamBindingInput interface { pulumi.Input ToFunctionIamBindingOutput() FunctionIamBindingOutput ToFunctionIamBindingOutputWithContext(ctx context.Context) FunctionIamBindingOutput }
type FunctionIamBindingMap ¶
type FunctionIamBindingMap map[string]FunctionIamBindingInput
func (FunctionIamBindingMap) ElementType ¶
func (FunctionIamBindingMap) ElementType() reflect.Type
func (FunctionIamBindingMap) ToFunctionIamBindingMapOutput ¶
func (i FunctionIamBindingMap) ToFunctionIamBindingMapOutput() FunctionIamBindingMapOutput
func (FunctionIamBindingMap) ToFunctionIamBindingMapOutputWithContext ¶
func (i FunctionIamBindingMap) ToFunctionIamBindingMapOutputWithContext(ctx context.Context) FunctionIamBindingMapOutput
type FunctionIamBindingMapInput ¶
type FunctionIamBindingMapInput interface { pulumi.Input ToFunctionIamBindingMapOutput() FunctionIamBindingMapOutput ToFunctionIamBindingMapOutputWithContext(context.Context) FunctionIamBindingMapOutput }
FunctionIamBindingMapInput is an input type that accepts FunctionIamBindingMap and FunctionIamBindingMapOutput values. You can construct a concrete instance of `FunctionIamBindingMapInput` via:
FunctionIamBindingMap{ "key": FunctionIamBindingArgs{...} }
type FunctionIamBindingMapOutput ¶
type FunctionIamBindingMapOutput struct{ *pulumi.OutputState }
func (FunctionIamBindingMapOutput) ElementType ¶
func (FunctionIamBindingMapOutput) ElementType() reflect.Type
func (FunctionIamBindingMapOutput) MapIndex ¶
func (o FunctionIamBindingMapOutput) MapIndex(k pulumi.StringInput) FunctionIamBindingOutput
func (FunctionIamBindingMapOutput) ToFunctionIamBindingMapOutput ¶
func (o FunctionIamBindingMapOutput) ToFunctionIamBindingMapOutput() FunctionIamBindingMapOutput
func (FunctionIamBindingMapOutput) ToFunctionIamBindingMapOutputWithContext ¶
func (o FunctionIamBindingMapOutput) ToFunctionIamBindingMapOutputWithContext(ctx context.Context) FunctionIamBindingMapOutput
type FunctionIamBindingOutput ¶
type FunctionIamBindingOutput struct{ *pulumi.OutputState }
func (FunctionIamBindingOutput) CloudFunction ¶
func (o FunctionIamBindingOutput) CloudFunction() pulumi.StringOutput
Used to find the parent resource to bind the IAM policy to
func (FunctionIamBindingOutput) Condition ¶
func (o FunctionIamBindingOutput) Condition() FunctionIamBindingConditionPtrOutput
func (FunctionIamBindingOutput) ElementType ¶
func (FunctionIamBindingOutput) ElementType() reflect.Type
func (FunctionIamBindingOutput) Etag ¶
func (o FunctionIamBindingOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (FunctionIamBindingOutput) Location ¶
func (o FunctionIamBindingOutput) Location() pulumi.StringOutput
The location of this cloud function. Used to find the parent resource to bind the IAM policy to. If not specified, the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no location is specified, it is taken from the provider configuration.
func (FunctionIamBindingOutput) Members ¶
func (o FunctionIamBindingOutput) 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 (FunctionIamBindingOutput) Project ¶
func (o FunctionIamBindingOutput) 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 (FunctionIamBindingOutput) Role ¶
func (o FunctionIamBindingOutput) Role() pulumi.StringOutput
The role that should be applied. Only one `cloudfunctionsv2.FunctionIamBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.
func (FunctionIamBindingOutput) ToFunctionIamBindingOutput ¶
func (o FunctionIamBindingOutput) ToFunctionIamBindingOutput() FunctionIamBindingOutput
func (FunctionIamBindingOutput) ToFunctionIamBindingOutputWithContext ¶
func (o FunctionIamBindingOutput) ToFunctionIamBindingOutputWithContext(ctx context.Context) FunctionIamBindingOutput
type FunctionIamBindingState ¶
type FunctionIamBindingState struct { // Used to find the parent resource to bind the IAM policy to CloudFunction pulumi.StringPtrInput Condition FunctionIamBindingConditionPtrInput // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput // The location of this cloud function. Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location 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 // `cloudfunctionsv2.FunctionIamBinding` 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 (FunctionIamBindingState) ElementType ¶
func (FunctionIamBindingState) ElementType() reflect.Type
type FunctionIamMember ¶
type FunctionIamMember struct { pulumi.CustomResourceState // Used to find the parent resource to bind the IAM policy to CloudFunction pulumi.StringOutput `pulumi:"cloudFunction"` Condition FunctionIamMemberConditionPtrOutput `pulumi:"condition"` // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // The location of this cloud function. Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringOutput `pulumi:"location"` // 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 // `cloudfunctionsv2.FunctionIamBinding` 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 Functions (2nd gen) function. Each of these resources serves a different use case:
* `cloudfunctionsv2.FunctionIamPolicy`: Authoritative. Sets the IAM policy for the function and replaces any existing policy already attached. * `cloudfunctionsv2.FunctionIamBinding`: 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 function are preserved. * `cloudfunctionsv2.FunctionIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the function are preserved.
A data source can be used to retrieve policy data in advent you do not need creation ¶
* `cloudfunctionsv2.FunctionIamPolicy`: Retrieves the IAM policy for the function
> **Note:** `cloudfunctionsv2.FunctionIamPolicy` **cannot** be used in conjunction with `cloudfunctionsv2.FunctionIamBinding` and `cloudfunctionsv2.FunctionIamMember` or they will fight over what your policy should be.
> **Note:** `cloudfunctionsv2.FunctionIamBinding` resources **can be** used in conjunction with `cloudfunctionsv2.FunctionIamMember` resources **only if** they do not grant privilege to the same role.
## cloudfunctionsv2.FunctionIamPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudfunctionsv2" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/viewer", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = cloudfunctionsv2.NewFunctionIamPolicy(ctx, "policy", &cloudfunctionsv2.FunctionIamPolicyArgs{ Project: pulumi.Any(function.Project), Location: pulumi.Any(function.Location), CloudFunction: pulumi.Any(function.Name), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## cloudfunctionsv2.FunctionIamBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudfunctionsv2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudfunctionsv2.NewFunctionIamBinding(ctx, "binding", &cloudfunctionsv2.FunctionIamBindingArgs{ Project: pulumi.Any(function.Project), Location: pulumi.Any(function.Location), CloudFunction: pulumi.Any(function.Name), Role: pulumi.String("roles/viewer"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## cloudfunctionsv2.FunctionIamMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudfunctionsv2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudfunctionsv2.NewFunctionIamMember(ctx, "member", &cloudfunctionsv2.FunctionIamMemberArgs{ Project: pulumi.Any(function.Project), Location: pulumi.Any(function.Location), CloudFunction: pulumi.Any(function.Name), Role: pulumi.String("roles/viewer"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
## This resource supports User Project Overrides.
-
# IAM policy for Cloud Functions (2nd gen) function Three different resources help you manage your IAM policy for Cloud Functions (2nd gen) function. Each of these resources serves a different use case:
* `cloudfunctionsv2.FunctionIamPolicy`: Authoritative. Sets the IAM policy for the function and replaces any existing policy already attached. * `cloudfunctionsv2.FunctionIamBinding`: 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 function are preserved. * `cloudfunctionsv2.FunctionIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the function are preserved.
A data source can be used to retrieve policy data in advent you do not need creation ¶
* `cloudfunctionsv2.FunctionIamPolicy`: Retrieves the IAM policy for the function
> **Note:** `cloudfunctionsv2.FunctionIamPolicy` **cannot** be used in conjunction with `cloudfunctionsv2.FunctionIamBinding` and `cloudfunctionsv2.FunctionIamMember` or they will fight over what your policy should be.
> **Note:** `cloudfunctionsv2.FunctionIamBinding` resources **can be** used in conjunction with `cloudfunctionsv2.FunctionIamMember` resources **only if** they do not grant privilege to the same role.
## cloudfunctionsv2.FunctionIamPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudfunctionsv2" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/viewer", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = cloudfunctionsv2.NewFunctionIamPolicy(ctx, "policy", &cloudfunctionsv2.FunctionIamPolicyArgs{ Project: pulumi.Any(function.Project), Location: pulumi.Any(function.Location), CloudFunction: pulumi.Any(function.Name), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## cloudfunctionsv2.FunctionIamBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudfunctionsv2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudfunctionsv2.NewFunctionIamBinding(ctx, "binding", &cloudfunctionsv2.FunctionIamBindingArgs{ Project: pulumi.Any(function.Project), Location: pulumi.Any(function.Location), CloudFunction: pulumi.Any(function.Name), Role: pulumi.String("roles/viewer"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## cloudfunctionsv2.FunctionIamMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudfunctionsv2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudfunctionsv2.NewFunctionIamMember(ctx, "member", &cloudfunctionsv2.FunctionIamMemberArgs{ Project: pulumi.Any(function.Project), Location: pulumi.Any(function.Location), CloudFunction: pulumi.Any(function.Name), Role: pulumi.String("roles/viewer"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
## Import
For all import syntaxes, the "resource in question" can take any of the following forms:
* projects/{{project}}/locations/{{location}}/functions/{{cloud_function}}
* {{project}}/{{location}}/{{cloud_function}}
* {{location}}/{{cloud_function}}
* {{cloud_function}}
Any variables not passed in the import command will be taken from the provider configuration.
Cloud Functions (2nd gen) function 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:cloudfunctionsv2/functionIamMember:FunctionIamMember editor "projects/{{project}}/locations/{{location}}/functions/{{cloud_function}} 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:cloudfunctionsv2/functionIamMember:FunctionIamMember editor "projects/{{project}}/locations/{{location}}/functions/{{cloud_function}} roles/viewer" ```
IAM policy imports use the identifier of the resource in question, e.g.
```sh $ pulumi import gcp:cloudfunctionsv2/functionIamMember:FunctionIamMember editor projects/{{project}}/locations/{{location}}/functions/{{cloud_function}} ```
-> **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 GetFunctionIamMember ¶
func GetFunctionIamMember(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FunctionIamMemberState, opts ...pulumi.ResourceOption) (*FunctionIamMember, error)
GetFunctionIamMember gets an existing FunctionIamMember 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 NewFunctionIamMember ¶
func NewFunctionIamMember(ctx *pulumi.Context, name string, args *FunctionIamMemberArgs, opts ...pulumi.ResourceOption) (*FunctionIamMember, error)
NewFunctionIamMember registers a new resource with the given unique name, arguments, and options.
func (*FunctionIamMember) ElementType ¶
func (*FunctionIamMember) ElementType() reflect.Type
func (*FunctionIamMember) ToFunctionIamMemberOutput ¶
func (i *FunctionIamMember) ToFunctionIamMemberOutput() FunctionIamMemberOutput
func (*FunctionIamMember) ToFunctionIamMemberOutputWithContext ¶
func (i *FunctionIamMember) ToFunctionIamMemberOutputWithContext(ctx context.Context) FunctionIamMemberOutput
type FunctionIamMemberArgs ¶
type FunctionIamMemberArgs struct { // Used to find the parent resource to bind the IAM policy to CloudFunction pulumi.StringInput Condition FunctionIamMemberConditionPtrInput // The location of this cloud function. Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location 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.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 // `cloudfunctionsv2.FunctionIamBinding` 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 FunctionIamMember resource.
func (FunctionIamMemberArgs) ElementType ¶
func (FunctionIamMemberArgs) ElementType() reflect.Type
type FunctionIamMemberArray ¶
type FunctionIamMemberArray []FunctionIamMemberInput
func (FunctionIamMemberArray) ElementType ¶
func (FunctionIamMemberArray) ElementType() reflect.Type
func (FunctionIamMemberArray) ToFunctionIamMemberArrayOutput ¶
func (i FunctionIamMemberArray) ToFunctionIamMemberArrayOutput() FunctionIamMemberArrayOutput
func (FunctionIamMemberArray) ToFunctionIamMemberArrayOutputWithContext ¶
func (i FunctionIamMemberArray) ToFunctionIamMemberArrayOutputWithContext(ctx context.Context) FunctionIamMemberArrayOutput
type FunctionIamMemberArrayInput ¶
type FunctionIamMemberArrayInput interface { pulumi.Input ToFunctionIamMemberArrayOutput() FunctionIamMemberArrayOutput ToFunctionIamMemberArrayOutputWithContext(context.Context) FunctionIamMemberArrayOutput }
FunctionIamMemberArrayInput is an input type that accepts FunctionIamMemberArray and FunctionIamMemberArrayOutput values. You can construct a concrete instance of `FunctionIamMemberArrayInput` via:
FunctionIamMemberArray{ FunctionIamMemberArgs{...} }
type FunctionIamMemberArrayOutput ¶
type FunctionIamMemberArrayOutput struct{ *pulumi.OutputState }
func (FunctionIamMemberArrayOutput) ElementType ¶
func (FunctionIamMemberArrayOutput) ElementType() reflect.Type
func (FunctionIamMemberArrayOutput) Index ¶
func (o FunctionIamMemberArrayOutput) Index(i pulumi.IntInput) FunctionIamMemberOutput
func (FunctionIamMemberArrayOutput) ToFunctionIamMemberArrayOutput ¶
func (o FunctionIamMemberArrayOutput) ToFunctionIamMemberArrayOutput() FunctionIamMemberArrayOutput
func (FunctionIamMemberArrayOutput) ToFunctionIamMemberArrayOutputWithContext ¶
func (o FunctionIamMemberArrayOutput) ToFunctionIamMemberArrayOutputWithContext(ctx context.Context) FunctionIamMemberArrayOutput
type FunctionIamMemberConditionArgs ¶
type FunctionIamMemberConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` Expression pulumi.StringInput `pulumi:"expression"` Title pulumi.StringInput `pulumi:"title"` }
func (FunctionIamMemberConditionArgs) ElementType ¶
func (FunctionIamMemberConditionArgs) ElementType() reflect.Type
func (FunctionIamMemberConditionArgs) ToFunctionIamMemberConditionOutput ¶
func (i FunctionIamMemberConditionArgs) ToFunctionIamMemberConditionOutput() FunctionIamMemberConditionOutput
func (FunctionIamMemberConditionArgs) ToFunctionIamMemberConditionOutputWithContext ¶
func (i FunctionIamMemberConditionArgs) ToFunctionIamMemberConditionOutputWithContext(ctx context.Context) FunctionIamMemberConditionOutput
func (FunctionIamMemberConditionArgs) ToFunctionIamMemberConditionPtrOutput ¶
func (i FunctionIamMemberConditionArgs) ToFunctionIamMemberConditionPtrOutput() FunctionIamMemberConditionPtrOutput
func (FunctionIamMemberConditionArgs) ToFunctionIamMemberConditionPtrOutputWithContext ¶
func (i FunctionIamMemberConditionArgs) ToFunctionIamMemberConditionPtrOutputWithContext(ctx context.Context) FunctionIamMemberConditionPtrOutput
type FunctionIamMemberConditionInput ¶
type FunctionIamMemberConditionInput interface { pulumi.Input ToFunctionIamMemberConditionOutput() FunctionIamMemberConditionOutput ToFunctionIamMemberConditionOutputWithContext(context.Context) FunctionIamMemberConditionOutput }
FunctionIamMemberConditionInput is an input type that accepts FunctionIamMemberConditionArgs and FunctionIamMemberConditionOutput values. You can construct a concrete instance of `FunctionIamMemberConditionInput` via:
FunctionIamMemberConditionArgs{...}
type FunctionIamMemberConditionOutput ¶
type FunctionIamMemberConditionOutput struct{ *pulumi.OutputState }
func (FunctionIamMemberConditionOutput) Description ¶
func (o FunctionIamMemberConditionOutput) Description() pulumi.StringPtrOutput
func (FunctionIamMemberConditionOutput) ElementType ¶
func (FunctionIamMemberConditionOutput) ElementType() reflect.Type
func (FunctionIamMemberConditionOutput) Expression ¶
func (o FunctionIamMemberConditionOutput) Expression() pulumi.StringOutput
func (FunctionIamMemberConditionOutput) Title ¶
func (o FunctionIamMemberConditionOutput) Title() pulumi.StringOutput
func (FunctionIamMemberConditionOutput) ToFunctionIamMemberConditionOutput ¶
func (o FunctionIamMemberConditionOutput) ToFunctionIamMemberConditionOutput() FunctionIamMemberConditionOutput
func (FunctionIamMemberConditionOutput) ToFunctionIamMemberConditionOutputWithContext ¶
func (o FunctionIamMemberConditionOutput) ToFunctionIamMemberConditionOutputWithContext(ctx context.Context) FunctionIamMemberConditionOutput
func (FunctionIamMemberConditionOutput) ToFunctionIamMemberConditionPtrOutput ¶
func (o FunctionIamMemberConditionOutput) ToFunctionIamMemberConditionPtrOutput() FunctionIamMemberConditionPtrOutput
func (FunctionIamMemberConditionOutput) ToFunctionIamMemberConditionPtrOutputWithContext ¶
func (o FunctionIamMemberConditionOutput) ToFunctionIamMemberConditionPtrOutputWithContext(ctx context.Context) FunctionIamMemberConditionPtrOutput
type FunctionIamMemberConditionPtrInput ¶
type FunctionIamMemberConditionPtrInput interface { pulumi.Input ToFunctionIamMemberConditionPtrOutput() FunctionIamMemberConditionPtrOutput ToFunctionIamMemberConditionPtrOutputWithContext(context.Context) FunctionIamMemberConditionPtrOutput }
FunctionIamMemberConditionPtrInput is an input type that accepts FunctionIamMemberConditionArgs, FunctionIamMemberConditionPtr and FunctionIamMemberConditionPtrOutput values. You can construct a concrete instance of `FunctionIamMemberConditionPtrInput` via:
FunctionIamMemberConditionArgs{...} or: nil
func FunctionIamMemberConditionPtr ¶
func FunctionIamMemberConditionPtr(v *FunctionIamMemberConditionArgs) FunctionIamMemberConditionPtrInput
type FunctionIamMemberConditionPtrOutput ¶
type FunctionIamMemberConditionPtrOutput struct{ *pulumi.OutputState }
func (FunctionIamMemberConditionPtrOutput) Description ¶
func (o FunctionIamMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
func (FunctionIamMemberConditionPtrOutput) Elem ¶
func (o FunctionIamMemberConditionPtrOutput) Elem() FunctionIamMemberConditionOutput
func (FunctionIamMemberConditionPtrOutput) ElementType ¶
func (FunctionIamMemberConditionPtrOutput) ElementType() reflect.Type
func (FunctionIamMemberConditionPtrOutput) Expression ¶
func (o FunctionIamMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
func (FunctionIamMemberConditionPtrOutput) Title ¶
func (o FunctionIamMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
func (FunctionIamMemberConditionPtrOutput) ToFunctionIamMemberConditionPtrOutput ¶
func (o FunctionIamMemberConditionPtrOutput) ToFunctionIamMemberConditionPtrOutput() FunctionIamMemberConditionPtrOutput
func (FunctionIamMemberConditionPtrOutput) ToFunctionIamMemberConditionPtrOutputWithContext ¶
func (o FunctionIamMemberConditionPtrOutput) ToFunctionIamMemberConditionPtrOutputWithContext(ctx context.Context) FunctionIamMemberConditionPtrOutput
type FunctionIamMemberInput ¶
type FunctionIamMemberInput interface { pulumi.Input ToFunctionIamMemberOutput() FunctionIamMemberOutput ToFunctionIamMemberOutputWithContext(ctx context.Context) FunctionIamMemberOutput }
type FunctionIamMemberMap ¶
type FunctionIamMemberMap map[string]FunctionIamMemberInput
func (FunctionIamMemberMap) ElementType ¶
func (FunctionIamMemberMap) ElementType() reflect.Type
func (FunctionIamMemberMap) ToFunctionIamMemberMapOutput ¶
func (i FunctionIamMemberMap) ToFunctionIamMemberMapOutput() FunctionIamMemberMapOutput
func (FunctionIamMemberMap) ToFunctionIamMemberMapOutputWithContext ¶
func (i FunctionIamMemberMap) ToFunctionIamMemberMapOutputWithContext(ctx context.Context) FunctionIamMemberMapOutput
type FunctionIamMemberMapInput ¶
type FunctionIamMemberMapInput interface { pulumi.Input ToFunctionIamMemberMapOutput() FunctionIamMemberMapOutput ToFunctionIamMemberMapOutputWithContext(context.Context) FunctionIamMemberMapOutput }
FunctionIamMemberMapInput is an input type that accepts FunctionIamMemberMap and FunctionIamMemberMapOutput values. You can construct a concrete instance of `FunctionIamMemberMapInput` via:
FunctionIamMemberMap{ "key": FunctionIamMemberArgs{...} }
type FunctionIamMemberMapOutput ¶
type FunctionIamMemberMapOutput struct{ *pulumi.OutputState }
func (FunctionIamMemberMapOutput) ElementType ¶
func (FunctionIamMemberMapOutput) ElementType() reflect.Type
func (FunctionIamMemberMapOutput) MapIndex ¶
func (o FunctionIamMemberMapOutput) MapIndex(k pulumi.StringInput) FunctionIamMemberOutput
func (FunctionIamMemberMapOutput) ToFunctionIamMemberMapOutput ¶
func (o FunctionIamMemberMapOutput) ToFunctionIamMemberMapOutput() FunctionIamMemberMapOutput
func (FunctionIamMemberMapOutput) ToFunctionIamMemberMapOutputWithContext ¶
func (o FunctionIamMemberMapOutput) ToFunctionIamMemberMapOutputWithContext(ctx context.Context) FunctionIamMemberMapOutput
type FunctionIamMemberOutput ¶
type FunctionIamMemberOutput struct{ *pulumi.OutputState }
func (FunctionIamMemberOutput) CloudFunction ¶
func (o FunctionIamMemberOutput) CloudFunction() pulumi.StringOutput
Used to find the parent resource to bind the IAM policy to
func (FunctionIamMemberOutput) Condition ¶
func (o FunctionIamMemberOutput) Condition() FunctionIamMemberConditionPtrOutput
func (FunctionIamMemberOutput) ElementType ¶
func (FunctionIamMemberOutput) ElementType() reflect.Type
func (FunctionIamMemberOutput) Etag ¶
func (o FunctionIamMemberOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (FunctionIamMemberOutput) Location ¶
func (o FunctionIamMemberOutput) Location() pulumi.StringOutput
The location of this cloud function. Used to find the parent resource to bind the IAM policy to. If not specified, the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no location is specified, it is taken from the provider configuration.
func (FunctionIamMemberOutput) Member ¶
func (o FunctionIamMemberOutput) 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 (FunctionIamMemberOutput) Project ¶
func (o FunctionIamMemberOutput) 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 (FunctionIamMemberOutput) Role ¶
func (o FunctionIamMemberOutput) Role() pulumi.StringOutput
The role that should be applied. Only one `cloudfunctionsv2.FunctionIamBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.
func (FunctionIamMemberOutput) ToFunctionIamMemberOutput ¶
func (o FunctionIamMemberOutput) ToFunctionIamMemberOutput() FunctionIamMemberOutput
func (FunctionIamMemberOutput) ToFunctionIamMemberOutputWithContext ¶
func (o FunctionIamMemberOutput) ToFunctionIamMemberOutputWithContext(ctx context.Context) FunctionIamMemberOutput
type FunctionIamMemberState ¶
type FunctionIamMemberState struct { // Used to find the parent resource to bind the IAM policy to CloudFunction pulumi.StringPtrInput Condition FunctionIamMemberConditionPtrInput // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput // The location of this cloud function. Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location 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 // `cloudfunctionsv2.FunctionIamBinding` 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 (FunctionIamMemberState) ElementType ¶
func (FunctionIamMemberState) ElementType() reflect.Type
type FunctionIamPolicy ¶
type FunctionIamPolicy struct { pulumi.CustomResourceState // Used to find the parent resource to bind the IAM policy to CloudFunction pulumi.StringOutput `pulumi:"cloudFunction"` // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // The location of this cloud function. Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringOutput `pulumi:"location"` // 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 Functions (2nd gen) function. Each of these resources serves a different use case:
* `cloudfunctionsv2.FunctionIamPolicy`: Authoritative. Sets the IAM policy for the function and replaces any existing policy already attached. * `cloudfunctionsv2.FunctionIamBinding`: 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 function are preserved. * `cloudfunctionsv2.FunctionIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the function are preserved.
A data source can be used to retrieve policy data in advent you do not need creation ¶
* `cloudfunctionsv2.FunctionIamPolicy`: Retrieves the IAM policy for the function
> **Note:** `cloudfunctionsv2.FunctionIamPolicy` **cannot** be used in conjunction with `cloudfunctionsv2.FunctionIamBinding` and `cloudfunctionsv2.FunctionIamMember` or they will fight over what your policy should be.
> **Note:** `cloudfunctionsv2.FunctionIamBinding` resources **can be** used in conjunction with `cloudfunctionsv2.FunctionIamMember` resources **only if** they do not grant privilege to the same role.
## cloudfunctionsv2.FunctionIamPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudfunctionsv2" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/viewer", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = cloudfunctionsv2.NewFunctionIamPolicy(ctx, "policy", &cloudfunctionsv2.FunctionIamPolicyArgs{ Project: pulumi.Any(function.Project), Location: pulumi.Any(function.Location), CloudFunction: pulumi.Any(function.Name), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## cloudfunctionsv2.FunctionIamBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudfunctionsv2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudfunctionsv2.NewFunctionIamBinding(ctx, "binding", &cloudfunctionsv2.FunctionIamBindingArgs{ Project: pulumi.Any(function.Project), Location: pulumi.Any(function.Location), CloudFunction: pulumi.Any(function.Name), Role: pulumi.String("roles/viewer"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## cloudfunctionsv2.FunctionIamMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudfunctionsv2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudfunctionsv2.NewFunctionIamMember(ctx, "member", &cloudfunctionsv2.FunctionIamMemberArgs{ Project: pulumi.Any(function.Project), Location: pulumi.Any(function.Location), CloudFunction: pulumi.Any(function.Name), Role: pulumi.String("roles/viewer"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
## This resource supports User Project Overrides.
-
# IAM policy for Cloud Functions (2nd gen) function Three different resources help you manage your IAM policy for Cloud Functions (2nd gen) function. Each of these resources serves a different use case:
* `cloudfunctionsv2.FunctionIamPolicy`: Authoritative. Sets the IAM policy for the function and replaces any existing policy already attached. * `cloudfunctionsv2.FunctionIamBinding`: 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 function are preserved. * `cloudfunctionsv2.FunctionIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the function are preserved.
A data source can be used to retrieve policy data in advent you do not need creation ¶
* `cloudfunctionsv2.FunctionIamPolicy`: Retrieves the IAM policy for the function
> **Note:** `cloudfunctionsv2.FunctionIamPolicy` **cannot** be used in conjunction with `cloudfunctionsv2.FunctionIamBinding` and `cloudfunctionsv2.FunctionIamMember` or they will fight over what your policy should be.
> **Note:** `cloudfunctionsv2.FunctionIamBinding` resources **can be** used in conjunction with `cloudfunctionsv2.FunctionIamMember` resources **only if** they do not grant privilege to the same role.
## cloudfunctionsv2.FunctionIamPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudfunctionsv2" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/viewer", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = cloudfunctionsv2.NewFunctionIamPolicy(ctx, "policy", &cloudfunctionsv2.FunctionIamPolicyArgs{ Project: pulumi.Any(function.Project), Location: pulumi.Any(function.Location), CloudFunction: pulumi.Any(function.Name), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## cloudfunctionsv2.FunctionIamBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudfunctionsv2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudfunctionsv2.NewFunctionIamBinding(ctx, "binding", &cloudfunctionsv2.FunctionIamBindingArgs{ Project: pulumi.Any(function.Project), Location: pulumi.Any(function.Location), CloudFunction: pulumi.Any(function.Name), Role: pulumi.String("roles/viewer"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## cloudfunctionsv2.FunctionIamMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudfunctionsv2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudfunctionsv2.NewFunctionIamMember(ctx, "member", &cloudfunctionsv2.FunctionIamMemberArgs{ Project: pulumi.Any(function.Project), Location: pulumi.Any(function.Location), CloudFunction: pulumi.Any(function.Name), Role: pulumi.String("roles/viewer"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
## Import
For all import syntaxes, the "resource in question" can take any of the following forms:
* projects/{{project}}/locations/{{location}}/functions/{{cloud_function}}
* {{project}}/{{location}}/{{cloud_function}}
* {{location}}/{{cloud_function}}
* {{cloud_function}}
Any variables not passed in the import command will be taken from the provider configuration.
Cloud Functions (2nd gen) function 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:cloudfunctionsv2/functionIamPolicy:FunctionIamPolicy editor "projects/{{project}}/locations/{{location}}/functions/{{cloud_function}} 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:cloudfunctionsv2/functionIamPolicy:FunctionIamPolicy editor "projects/{{project}}/locations/{{location}}/functions/{{cloud_function}} roles/viewer" ```
IAM policy imports use the identifier of the resource in question, e.g.
```sh $ pulumi import gcp:cloudfunctionsv2/functionIamPolicy:FunctionIamPolicy editor projects/{{project}}/locations/{{location}}/functions/{{cloud_function}} ```
-> **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 GetFunctionIamPolicy ¶
func GetFunctionIamPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FunctionIamPolicyState, opts ...pulumi.ResourceOption) (*FunctionIamPolicy, error)
GetFunctionIamPolicy gets an existing FunctionIamPolicy 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 NewFunctionIamPolicy ¶
func NewFunctionIamPolicy(ctx *pulumi.Context, name string, args *FunctionIamPolicyArgs, opts ...pulumi.ResourceOption) (*FunctionIamPolicy, error)
NewFunctionIamPolicy registers a new resource with the given unique name, arguments, and options.
func (*FunctionIamPolicy) ElementType ¶
func (*FunctionIamPolicy) ElementType() reflect.Type
func (*FunctionIamPolicy) ToFunctionIamPolicyOutput ¶
func (i *FunctionIamPolicy) ToFunctionIamPolicyOutput() FunctionIamPolicyOutput
func (*FunctionIamPolicy) ToFunctionIamPolicyOutputWithContext ¶
func (i *FunctionIamPolicy) ToFunctionIamPolicyOutputWithContext(ctx context.Context) FunctionIamPolicyOutput
type FunctionIamPolicyArgs ¶
type FunctionIamPolicyArgs struct { // Used to find the parent resource to bind the IAM policy to CloudFunction pulumi.StringInput // The location of this cloud function. Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringPtrInput // 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 FunctionIamPolicy resource.
func (FunctionIamPolicyArgs) ElementType ¶
func (FunctionIamPolicyArgs) ElementType() reflect.Type
type FunctionIamPolicyArray ¶
type FunctionIamPolicyArray []FunctionIamPolicyInput
func (FunctionIamPolicyArray) ElementType ¶
func (FunctionIamPolicyArray) ElementType() reflect.Type
func (FunctionIamPolicyArray) ToFunctionIamPolicyArrayOutput ¶
func (i FunctionIamPolicyArray) ToFunctionIamPolicyArrayOutput() FunctionIamPolicyArrayOutput
func (FunctionIamPolicyArray) ToFunctionIamPolicyArrayOutputWithContext ¶
func (i FunctionIamPolicyArray) ToFunctionIamPolicyArrayOutputWithContext(ctx context.Context) FunctionIamPolicyArrayOutput
type FunctionIamPolicyArrayInput ¶
type FunctionIamPolicyArrayInput interface { pulumi.Input ToFunctionIamPolicyArrayOutput() FunctionIamPolicyArrayOutput ToFunctionIamPolicyArrayOutputWithContext(context.Context) FunctionIamPolicyArrayOutput }
FunctionIamPolicyArrayInput is an input type that accepts FunctionIamPolicyArray and FunctionIamPolicyArrayOutput values. You can construct a concrete instance of `FunctionIamPolicyArrayInput` via:
FunctionIamPolicyArray{ FunctionIamPolicyArgs{...} }
type FunctionIamPolicyArrayOutput ¶
type FunctionIamPolicyArrayOutput struct{ *pulumi.OutputState }
func (FunctionIamPolicyArrayOutput) ElementType ¶
func (FunctionIamPolicyArrayOutput) ElementType() reflect.Type
func (FunctionIamPolicyArrayOutput) Index ¶
func (o FunctionIamPolicyArrayOutput) Index(i pulumi.IntInput) FunctionIamPolicyOutput
func (FunctionIamPolicyArrayOutput) ToFunctionIamPolicyArrayOutput ¶
func (o FunctionIamPolicyArrayOutput) ToFunctionIamPolicyArrayOutput() FunctionIamPolicyArrayOutput
func (FunctionIamPolicyArrayOutput) ToFunctionIamPolicyArrayOutputWithContext ¶
func (o FunctionIamPolicyArrayOutput) ToFunctionIamPolicyArrayOutputWithContext(ctx context.Context) FunctionIamPolicyArrayOutput
type FunctionIamPolicyInput ¶
type FunctionIamPolicyInput interface { pulumi.Input ToFunctionIamPolicyOutput() FunctionIamPolicyOutput ToFunctionIamPolicyOutputWithContext(ctx context.Context) FunctionIamPolicyOutput }
type FunctionIamPolicyMap ¶
type FunctionIamPolicyMap map[string]FunctionIamPolicyInput
func (FunctionIamPolicyMap) ElementType ¶
func (FunctionIamPolicyMap) ElementType() reflect.Type
func (FunctionIamPolicyMap) ToFunctionIamPolicyMapOutput ¶
func (i FunctionIamPolicyMap) ToFunctionIamPolicyMapOutput() FunctionIamPolicyMapOutput
func (FunctionIamPolicyMap) ToFunctionIamPolicyMapOutputWithContext ¶
func (i FunctionIamPolicyMap) ToFunctionIamPolicyMapOutputWithContext(ctx context.Context) FunctionIamPolicyMapOutput
type FunctionIamPolicyMapInput ¶
type FunctionIamPolicyMapInput interface { pulumi.Input ToFunctionIamPolicyMapOutput() FunctionIamPolicyMapOutput ToFunctionIamPolicyMapOutputWithContext(context.Context) FunctionIamPolicyMapOutput }
FunctionIamPolicyMapInput is an input type that accepts FunctionIamPolicyMap and FunctionIamPolicyMapOutput values. You can construct a concrete instance of `FunctionIamPolicyMapInput` via:
FunctionIamPolicyMap{ "key": FunctionIamPolicyArgs{...} }
type FunctionIamPolicyMapOutput ¶
type FunctionIamPolicyMapOutput struct{ *pulumi.OutputState }
func (FunctionIamPolicyMapOutput) ElementType ¶
func (FunctionIamPolicyMapOutput) ElementType() reflect.Type
func (FunctionIamPolicyMapOutput) MapIndex ¶
func (o FunctionIamPolicyMapOutput) MapIndex(k pulumi.StringInput) FunctionIamPolicyOutput
func (FunctionIamPolicyMapOutput) ToFunctionIamPolicyMapOutput ¶
func (o FunctionIamPolicyMapOutput) ToFunctionIamPolicyMapOutput() FunctionIamPolicyMapOutput
func (FunctionIamPolicyMapOutput) ToFunctionIamPolicyMapOutputWithContext ¶
func (o FunctionIamPolicyMapOutput) ToFunctionIamPolicyMapOutputWithContext(ctx context.Context) FunctionIamPolicyMapOutput
type FunctionIamPolicyOutput ¶
type FunctionIamPolicyOutput struct{ *pulumi.OutputState }
func (FunctionIamPolicyOutput) CloudFunction ¶
func (o FunctionIamPolicyOutput) CloudFunction() pulumi.StringOutput
Used to find the parent resource to bind the IAM policy to
func (FunctionIamPolicyOutput) ElementType ¶
func (FunctionIamPolicyOutput) ElementType() reflect.Type
func (FunctionIamPolicyOutput) Etag ¶
func (o FunctionIamPolicyOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (FunctionIamPolicyOutput) Location ¶
func (o FunctionIamPolicyOutput) Location() pulumi.StringOutput
The location of this cloud function. Used to find the parent resource to bind the IAM policy to. If not specified, the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no location is specified, it is taken from the provider configuration.
func (FunctionIamPolicyOutput) PolicyData ¶
func (o FunctionIamPolicyOutput) PolicyData() pulumi.StringOutput
The policy data generated by a `organizations.getIAMPolicy` data source.
func (FunctionIamPolicyOutput) Project ¶
func (o FunctionIamPolicyOutput) 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 (FunctionIamPolicyOutput) ToFunctionIamPolicyOutput ¶
func (o FunctionIamPolicyOutput) ToFunctionIamPolicyOutput() FunctionIamPolicyOutput
func (FunctionIamPolicyOutput) ToFunctionIamPolicyOutputWithContext ¶
func (o FunctionIamPolicyOutput) ToFunctionIamPolicyOutputWithContext(ctx context.Context) FunctionIamPolicyOutput
type FunctionIamPolicyState ¶
type FunctionIamPolicyState struct { // Used to find the parent resource to bind the IAM policy to CloudFunction pulumi.StringPtrInput // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput // The location of this cloud function. Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location 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 (FunctionIamPolicyState) ElementType ¶
func (FunctionIamPolicyState) ElementType() reflect.Type
type FunctionInput ¶
type FunctionInput interface { pulumi.Input ToFunctionOutput() FunctionOutput ToFunctionOutputWithContext(ctx context.Context) FunctionOutput }
type FunctionMap ¶
type FunctionMap map[string]FunctionInput
func (FunctionMap) ElementType ¶
func (FunctionMap) ElementType() reflect.Type
func (FunctionMap) ToFunctionMapOutput ¶
func (i FunctionMap) ToFunctionMapOutput() FunctionMapOutput
func (FunctionMap) ToFunctionMapOutputWithContext ¶
func (i FunctionMap) ToFunctionMapOutputWithContext(ctx context.Context) FunctionMapOutput
type FunctionMapInput ¶
type FunctionMapInput interface { pulumi.Input ToFunctionMapOutput() FunctionMapOutput ToFunctionMapOutputWithContext(context.Context) FunctionMapOutput }
FunctionMapInput is an input type that accepts FunctionMap and FunctionMapOutput values. You can construct a concrete instance of `FunctionMapInput` via:
FunctionMap{ "key": FunctionArgs{...} }
type FunctionMapOutput ¶
type FunctionMapOutput struct{ *pulumi.OutputState }
func (FunctionMapOutput) ElementType ¶
func (FunctionMapOutput) ElementType() reflect.Type
func (FunctionMapOutput) MapIndex ¶
func (o FunctionMapOutput) MapIndex(k pulumi.StringInput) FunctionOutput
func (FunctionMapOutput) ToFunctionMapOutput ¶
func (o FunctionMapOutput) ToFunctionMapOutput() FunctionMapOutput
func (FunctionMapOutput) ToFunctionMapOutputWithContext ¶
func (o FunctionMapOutput) ToFunctionMapOutputWithContext(ctx context.Context) FunctionMapOutput
type FunctionOutput ¶
type FunctionOutput struct{ *pulumi.OutputState }
func (FunctionOutput) BuildConfig ¶
func (o FunctionOutput) BuildConfig() FunctionBuildConfigPtrOutput
Describes the Build step of the function that builds a container from the given source. Structure is documented below.
func (FunctionOutput) Description ¶
func (o FunctionOutput) Description() pulumi.StringPtrOutput
User-provided description of a function.
func (FunctionOutput) EffectiveLabels ¶
func (o FunctionOutput) EffectiveLabels() pulumi.StringMapOutput
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
func (FunctionOutput) ElementType ¶
func (FunctionOutput) ElementType() reflect.Type
func (FunctionOutput) Environment ¶
func (o FunctionOutput) Environment() pulumi.StringOutput
The environment the function is hosted on.
func (FunctionOutput) EventTrigger ¶
func (o FunctionOutput) EventTrigger() FunctionEventTriggerPtrOutput
An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service. Structure is documented below.
func (FunctionOutput) KmsKeyName ¶
func (o FunctionOutput) KmsKeyName() pulumi.StringPtrOutput
Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}.
func (FunctionOutput) Labels ¶
func (o FunctionOutput) Labels() pulumi.StringMapOutput
A set of key/value label pairs associated with this Cloud Function.
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effectiveLabels` for all of the labels present on the resource.
func (FunctionOutput) Location ¶
func (o FunctionOutput) Location() pulumi.StringOutput
The location of this cloud function.
***
func (FunctionOutput) Name ¶
func (o FunctionOutput) Name() pulumi.StringOutput
A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`.
func (FunctionOutput) Project ¶
func (o FunctionOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (FunctionOutput) PulumiLabels ¶
func (o FunctionOutput) PulumiLabels() pulumi.StringMapOutput
The combination of labels configured directly on the resource and default labels configured on the provider.
func (FunctionOutput) ServiceConfig ¶
func (o FunctionOutput) ServiceConfig() FunctionServiceConfigPtrOutput
Describes the Service being deployed. Structure is documented below.
func (FunctionOutput) State ¶
func (o FunctionOutput) State() pulumi.StringOutput
Describes the current state of the function.
func (FunctionOutput) ToFunctionOutput ¶
func (o FunctionOutput) ToFunctionOutput() FunctionOutput
func (FunctionOutput) ToFunctionOutputWithContext ¶
func (o FunctionOutput) ToFunctionOutputWithContext(ctx context.Context) FunctionOutput
func (FunctionOutput) UpdateTime ¶
func (o FunctionOutput) UpdateTime() pulumi.StringOutput
The last update timestamp of a Cloud Function.
func (FunctionOutput) Url ¶
func (o FunctionOutput) Url() pulumi.StringOutput
Output only. The deployed url for the function.
type FunctionServiceConfig ¶
type FunctionServiceConfig struct { // Whether 100% of traffic is routed to the latest revision. Defaults to true. AllTrafficOnLatestRevision *bool `pulumi:"allTrafficOnLatestRevision"` // The number of CPUs used in a single container instance. Default value is calculated from available memory. AvailableCpu *string `pulumi:"availableCpu"` // The amount of memory available for a function. // Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is // supplied the value is interpreted as bytes. AvailableMemory *string `pulumi:"availableMemory"` // Environment variables that shall be available during function execution. EnvironmentVariables map[string]string `pulumi:"environmentVariables"` // (Output) // URIs of the Service deployed GcfUri *string `pulumi:"gcfUri"` // Available ingress settings. Defaults to "ALLOW_ALL" if unspecified. // Default value is `ALLOW_ALL`. // Possible values are: `ALLOW_ALL`, `ALLOW_INTERNAL_ONLY`, `ALLOW_INTERNAL_AND_GCLB`. IngressSettings *string `pulumi:"ingressSettings"` // The limit on the maximum number of function instances that may coexist at a // given time. MaxInstanceCount *int `pulumi:"maxInstanceCount"` // Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1. MaxInstanceRequestConcurrency *int `pulumi:"maxInstanceRequestConcurrency"` // The limit on the minimum number of function instances that may coexist at a // given time. MinInstanceCount *int `pulumi:"minInstanceCount"` // Secret environment variables configuration. // Structure is documented below. SecretEnvironmentVariables []FunctionServiceConfigSecretEnvironmentVariable `pulumi:"secretEnvironmentVariables"` // Secret volumes configuration. // Structure is documented below. SecretVolumes []FunctionServiceConfigSecretVolume `pulumi:"secretVolumes"` // Name of the service associated with a Function. Service *string `pulumi:"service"` // The email of the service account for this function. ServiceAccountEmail *string `pulumi:"serviceAccountEmail"` // The function execution timeout. Execution is considered failed and // can be terminated if the function is not completed at the end of the // timeout period. Defaults to 60 seconds. TimeoutSeconds *int `pulumi:"timeoutSeconds"` // (Output) // URI of the Service deployed. Uri *string `pulumi:"uri"` // The Serverless VPC Access connector that this cloud function can connect to. VpcConnector *string `pulumi:"vpcConnector"` // Available egress settings. // Possible values are: `VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED`, `PRIVATE_RANGES_ONLY`, `ALL_TRAFFIC`. VpcConnectorEgressSettings *string `pulumi:"vpcConnectorEgressSettings"` }
type FunctionServiceConfigArgs ¶
type FunctionServiceConfigArgs struct { // Whether 100% of traffic is routed to the latest revision. Defaults to true. AllTrafficOnLatestRevision pulumi.BoolPtrInput `pulumi:"allTrafficOnLatestRevision"` // The number of CPUs used in a single container instance. Default value is calculated from available memory. AvailableCpu pulumi.StringPtrInput `pulumi:"availableCpu"` // The amount of memory available for a function. // Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is // supplied the value is interpreted as bytes. AvailableMemory pulumi.StringPtrInput `pulumi:"availableMemory"` // Environment variables that shall be available during function execution. EnvironmentVariables pulumi.StringMapInput `pulumi:"environmentVariables"` // (Output) // URIs of the Service deployed GcfUri pulumi.StringPtrInput `pulumi:"gcfUri"` // Available ingress settings. Defaults to "ALLOW_ALL" if unspecified. // Default value is `ALLOW_ALL`. // Possible values are: `ALLOW_ALL`, `ALLOW_INTERNAL_ONLY`, `ALLOW_INTERNAL_AND_GCLB`. IngressSettings pulumi.StringPtrInput `pulumi:"ingressSettings"` // The limit on the maximum number of function instances that may coexist at a // given time. MaxInstanceCount pulumi.IntPtrInput `pulumi:"maxInstanceCount"` // Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1. MaxInstanceRequestConcurrency pulumi.IntPtrInput `pulumi:"maxInstanceRequestConcurrency"` // The limit on the minimum number of function instances that may coexist at a // given time. MinInstanceCount pulumi.IntPtrInput `pulumi:"minInstanceCount"` // Secret environment variables configuration. // Structure is documented below. SecretEnvironmentVariables FunctionServiceConfigSecretEnvironmentVariableArrayInput `pulumi:"secretEnvironmentVariables"` // Secret volumes configuration. // Structure is documented below. SecretVolumes FunctionServiceConfigSecretVolumeArrayInput `pulumi:"secretVolumes"` // Name of the service associated with a Function. Service pulumi.StringPtrInput `pulumi:"service"` // The email of the service account for this function. ServiceAccountEmail pulumi.StringPtrInput `pulumi:"serviceAccountEmail"` // The function execution timeout. Execution is considered failed and // can be terminated if the function is not completed at the end of the // timeout period. Defaults to 60 seconds. TimeoutSeconds pulumi.IntPtrInput `pulumi:"timeoutSeconds"` // (Output) // URI of the Service deployed. Uri pulumi.StringPtrInput `pulumi:"uri"` // The Serverless VPC Access connector that this cloud function can connect to. VpcConnector pulumi.StringPtrInput `pulumi:"vpcConnector"` // Available egress settings. // Possible values are: `VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED`, `PRIVATE_RANGES_ONLY`, `ALL_TRAFFIC`. VpcConnectorEgressSettings pulumi.StringPtrInput `pulumi:"vpcConnectorEgressSettings"` }
func (FunctionServiceConfigArgs) ElementType ¶
func (FunctionServiceConfigArgs) ElementType() reflect.Type
func (FunctionServiceConfigArgs) ToFunctionServiceConfigOutput ¶
func (i FunctionServiceConfigArgs) ToFunctionServiceConfigOutput() FunctionServiceConfigOutput
func (FunctionServiceConfigArgs) ToFunctionServiceConfigOutputWithContext ¶
func (i FunctionServiceConfigArgs) ToFunctionServiceConfigOutputWithContext(ctx context.Context) FunctionServiceConfigOutput
func (FunctionServiceConfigArgs) ToFunctionServiceConfigPtrOutput ¶
func (i FunctionServiceConfigArgs) ToFunctionServiceConfigPtrOutput() FunctionServiceConfigPtrOutput
func (FunctionServiceConfigArgs) ToFunctionServiceConfigPtrOutputWithContext ¶
func (i FunctionServiceConfigArgs) ToFunctionServiceConfigPtrOutputWithContext(ctx context.Context) FunctionServiceConfigPtrOutput
type FunctionServiceConfigInput ¶
type FunctionServiceConfigInput interface { pulumi.Input ToFunctionServiceConfigOutput() FunctionServiceConfigOutput ToFunctionServiceConfigOutputWithContext(context.Context) FunctionServiceConfigOutput }
FunctionServiceConfigInput is an input type that accepts FunctionServiceConfigArgs and FunctionServiceConfigOutput values. You can construct a concrete instance of `FunctionServiceConfigInput` via:
FunctionServiceConfigArgs{...}
type FunctionServiceConfigOutput ¶
type FunctionServiceConfigOutput struct{ *pulumi.OutputState }
func (FunctionServiceConfigOutput) AllTrafficOnLatestRevision ¶
func (o FunctionServiceConfigOutput) AllTrafficOnLatestRevision() pulumi.BoolPtrOutput
Whether 100% of traffic is routed to the latest revision. Defaults to true.
func (FunctionServiceConfigOutput) AvailableCpu ¶
func (o FunctionServiceConfigOutput) AvailableCpu() pulumi.StringPtrOutput
The number of CPUs used in a single container instance. Default value is calculated from available memory.
func (FunctionServiceConfigOutput) AvailableMemory ¶
func (o FunctionServiceConfigOutput) AvailableMemory() pulumi.StringPtrOutput
The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes.
func (FunctionServiceConfigOutput) ElementType ¶
func (FunctionServiceConfigOutput) ElementType() reflect.Type
func (FunctionServiceConfigOutput) EnvironmentVariables ¶
func (o FunctionServiceConfigOutput) EnvironmentVariables() pulumi.StringMapOutput
Environment variables that shall be available during function execution.
func (FunctionServiceConfigOutput) GcfUri ¶
func (o FunctionServiceConfigOutput) GcfUri() pulumi.StringPtrOutput
(Output) URIs of the Service deployed
func (FunctionServiceConfigOutput) IngressSettings ¶
func (o FunctionServiceConfigOutput) IngressSettings() pulumi.StringPtrOutput
Available ingress settings. Defaults to "ALLOW_ALL" if unspecified. Default value is `ALLOW_ALL`. Possible values are: `ALLOW_ALL`, `ALLOW_INTERNAL_ONLY`, `ALLOW_INTERNAL_AND_GCLB`.
func (FunctionServiceConfigOutput) MaxInstanceCount ¶
func (o FunctionServiceConfigOutput) MaxInstanceCount() pulumi.IntPtrOutput
The limit on the maximum number of function instances that may coexist at a given time.
func (FunctionServiceConfigOutput) MaxInstanceRequestConcurrency ¶
func (o FunctionServiceConfigOutput) MaxInstanceRequestConcurrency() pulumi.IntPtrOutput
Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1.
func (FunctionServiceConfigOutput) MinInstanceCount ¶
func (o FunctionServiceConfigOutput) MinInstanceCount() pulumi.IntPtrOutput
The limit on the minimum number of function instances that may coexist at a given time.
func (FunctionServiceConfigOutput) SecretEnvironmentVariables ¶
func (o FunctionServiceConfigOutput) SecretEnvironmentVariables() FunctionServiceConfigSecretEnvironmentVariableArrayOutput
Secret environment variables configuration. Structure is documented below.
func (FunctionServiceConfigOutput) SecretVolumes ¶
func (o FunctionServiceConfigOutput) SecretVolumes() FunctionServiceConfigSecretVolumeArrayOutput
Secret volumes configuration. Structure is documented below.
func (FunctionServiceConfigOutput) Service ¶
func (o FunctionServiceConfigOutput) Service() pulumi.StringPtrOutput
Name of the service associated with a Function.
func (FunctionServiceConfigOutput) ServiceAccountEmail ¶
func (o FunctionServiceConfigOutput) ServiceAccountEmail() pulumi.StringPtrOutput
The email of the service account for this function.
func (FunctionServiceConfigOutput) TimeoutSeconds ¶
func (o FunctionServiceConfigOutput) TimeoutSeconds() pulumi.IntPtrOutput
The function execution timeout. Execution is considered failed and can be terminated if the function is not completed at the end of the timeout period. Defaults to 60 seconds.
func (FunctionServiceConfigOutput) ToFunctionServiceConfigOutput ¶
func (o FunctionServiceConfigOutput) ToFunctionServiceConfigOutput() FunctionServiceConfigOutput
func (FunctionServiceConfigOutput) ToFunctionServiceConfigOutputWithContext ¶
func (o FunctionServiceConfigOutput) ToFunctionServiceConfigOutputWithContext(ctx context.Context) FunctionServiceConfigOutput
func (FunctionServiceConfigOutput) ToFunctionServiceConfigPtrOutput ¶
func (o FunctionServiceConfigOutput) ToFunctionServiceConfigPtrOutput() FunctionServiceConfigPtrOutput
func (FunctionServiceConfigOutput) ToFunctionServiceConfigPtrOutputWithContext ¶
func (o FunctionServiceConfigOutput) ToFunctionServiceConfigPtrOutputWithContext(ctx context.Context) FunctionServiceConfigPtrOutput
func (FunctionServiceConfigOutput) Uri ¶
func (o FunctionServiceConfigOutput) Uri() pulumi.StringPtrOutput
(Output) URI of the Service deployed.
func (FunctionServiceConfigOutput) VpcConnector ¶
func (o FunctionServiceConfigOutput) VpcConnector() pulumi.StringPtrOutput
The Serverless VPC Access connector that this cloud function can connect to.
func (FunctionServiceConfigOutput) VpcConnectorEgressSettings ¶
func (o FunctionServiceConfigOutput) VpcConnectorEgressSettings() pulumi.StringPtrOutput
Available egress settings. Possible values are: `VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED`, `PRIVATE_RANGES_ONLY`, `ALL_TRAFFIC`.
type FunctionServiceConfigPtrInput ¶
type FunctionServiceConfigPtrInput interface { pulumi.Input ToFunctionServiceConfigPtrOutput() FunctionServiceConfigPtrOutput ToFunctionServiceConfigPtrOutputWithContext(context.Context) FunctionServiceConfigPtrOutput }
FunctionServiceConfigPtrInput is an input type that accepts FunctionServiceConfigArgs, FunctionServiceConfigPtr and FunctionServiceConfigPtrOutput values. You can construct a concrete instance of `FunctionServiceConfigPtrInput` via:
FunctionServiceConfigArgs{...} or: nil
func FunctionServiceConfigPtr ¶
func FunctionServiceConfigPtr(v *FunctionServiceConfigArgs) FunctionServiceConfigPtrInput
type FunctionServiceConfigPtrOutput ¶
type FunctionServiceConfigPtrOutput struct{ *pulumi.OutputState }
func (FunctionServiceConfigPtrOutput) AllTrafficOnLatestRevision ¶
func (o FunctionServiceConfigPtrOutput) AllTrafficOnLatestRevision() pulumi.BoolPtrOutput
Whether 100% of traffic is routed to the latest revision. Defaults to true.
func (FunctionServiceConfigPtrOutput) AvailableCpu ¶
func (o FunctionServiceConfigPtrOutput) AvailableCpu() pulumi.StringPtrOutput
The number of CPUs used in a single container instance. Default value is calculated from available memory.
func (FunctionServiceConfigPtrOutput) AvailableMemory ¶
func (o FunctionServiceConfigPtrOutput) AvailableMemory() pulumi.StringPtrOutput
The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes.
func (FunctionServiceConfigPtrOutput) Elem ¶
func (o FunctionServiceConfigPtrOutput) Elem() FunctionServiceConfigOutput
func (FunctionServiceConfigPtrOutput) ElementType ¶
func (FunctionServiceConfigPtrOutput) ElementType() reflect.Type
func (FunctionServiceConfigPtrOutput) EnvironmentVariables ¶
func (o FunctionServiceConfigPtrOutput) EnvironmentVariables() pulumi.StringMapOutput
Environment variables that shall be available during function execution.
func (FunctionServiceConfigPtrOutput) GcfUri ¶
func (o FunctionServiceConfigPtrOutput) GcfUri() pulumi.StringPtrOutput
(Output) URIs of the Service deployed
func (FunctionServiceConfigPtrOutput) IngressSettings ¶
func (o FunctionServiceConfigPtrOutput) IngressSettings() pulumi.StringPtrOutput
Available ingress settings. Defaults to "ALLOW_ALL" if unspecified. Default value is `ALLOW_ALL`. Possible values are: `ALLOW_ALL`, `ALLOW_INTERNAL_ONLY`, `ALLOW_INTERNAL_AND_GCLB`.
func (FunctionServiceConfigPtrOutput) MaxInstanceCount ¶
func (o FunctionServiceConfigPtrOutput) MaxInstanceCount() pulumi.IntPtrOutput
The limit on the maximum number of function instances that may coexist at a given time.
func (FunctionServiceConfigPtrOutput) MaxInstanceRequestConcurrency ¶
func (o FunctionServiceConfigPtrOutput) MaxInstanceRequestConcurrency() pulumi.IntPtrOutput
Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1.
func (FunctionServiceConfigPtrOutput) MinInstanceCount ¶
func (o FunctionServiceConfigPtrOutput) MinInstanceCount() pulumi.IntPtrOutput
The limit on the minimum number of function instances that may coexist at a given time.
func (FunctionServiceConfigPtrOutput) SecretEnvironmentVariables ¶
func (o FunctionServiceConfigPtrOutput) SecretEnvironmentVariables() FunctionServiceConfigSecretEnvironmentVariableArrayOutput
Secret environment variables configuration. Structure is documented below.
func (FunctionServiceConfigPtrOutput) SecretVolumes ¶
func (o FunctionServiceConfigPtrOutput) SecretVolumes() FunctionServiceConfigSecretVolumeArrayOutput
Secret volumes configuration. Structure is documented below.
func (FunctionServiceConfigPtrOutput) Service ¶
func (o FunctionServiceConfigPtrOutput) Service() pulumi.StringPtrOutput
Name of the service associated with a Function.
func (FunctionServiceConfigPtrOutput) ServiceAccountEmail ¶
func (o FunctionServiceConfigPtrOutput) ServiceAccountEmail() pulumi.StringPtrOutput
The email of the service account for this function.
func (FunctionServiceConfigPtrOutput) TimeoutSeconds ¶
func (o FunctionServiceConfigPtrOutput) TimeoutSeconds() pulumi.IntPtrOutput
The function execution timeout. Execution is considered failed and can be terminated if the function is not completed at the end of the timeout period. Defaults to 60 seconds.
func (FunctionServiceConfigPtrOutput) ToFunctionServiceConfigPtrOutput ¶
func (o FunctionServiceConfigPtrOutput) ToFunctionServiceConfigPtrOutput() FunctionServiceConfigPtrOutput
func (FunctionServiceConfigPtrOutput) ToFunctionServiceConfigPtrOutputWithContext ¶
func (o FunctionServiceConfigPtrOutput) ToFunctionServiceConfigPtrOutputWithContext(ctx context.Context) FunctionServiceConfigPtrOutput
func (FunctionServiceConfigPtrOutput) Uri ¶
func (o FunctionServiceConfigPtrOutput) Uri() pulumi.StringPtrOutput
(Output) URI of the Service deployed.
func (FunctionServiceConfigPtrOutput) VpcConnector ¶
func (o FunctionServiceConfigPtrOutput) VpcConnector() pulumi.StringPtrOutput
The Serverless VPC Access connector that this cloud function can connect to.
func (FunctionServiceConfigPtrOutput) VpcConnectorEgressSettings ¶
func (o FunctionServiceConfigPtrOutput) VpcConnectorEgressSettings() pulumi.StringPtrOutput
Available egress settings. Possible values are: `VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED`, `PRIVATE_RANGES_ONLY`, `ALL_TRAFFIC`.
type FunctionServiceConfigSecretEnvironmentVariable ¶
type FunctionServiceConfigSecretEnvironmentVariable struct { // Name of the environment variable. Key string `pulumi:"key"` // Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function. ProjectId string `pulumi:"projectId"` // Name of the secret in secret manager (not the full resource name). Secret string `pulumi:"secret"` // Version of the secret (version number or the string 'latest'). It is recommended to use a numeric version for secret environment variables as any updates to the secret value is not reflected until new instances start. Version string `pulumi:"version"` }
type FunctionServiceConfigSecretEnvironmentVariableArgs ¶
type FunctionServiceConfigSecretEnvironmentVariableArgs struct { // Name of the environment variable. Key pulumi.StringInput `pulumi:"key"` // Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function. ProjectId pulumi.StringInput `pulumi:"projectId"` // Name of the secret in secret manager (not the full resource name). Secret pulumi.StringInput `pulumi:"secret"` // Version of the secret (version number or the string 'latest'). It is recommended to use a numeric version for secret environment variables as any updates to the secret value is not reflected until new instances start. Version pulumi.StringInput `pulumi:"version"` }
func (FunctionServiceConfigSecretEnvironmentVariableArgs) ElementType ¶
func (FunctionServiceConfigSecretEnvironmentVariableArgs) ElementType() reflect.Type
func (FunctionServiceConfigSecretEnvironmentVariableArgs) ToFunctionServiceConfigSecretEnvironmentVariableOutput ¶
func (i FunctionServiceConfigSecretEnvironmentVariableArgs) ToFunctionServiceConfigSecretEnvironmentVariableOutput() FunctionServiceConfigSecretEnvironmentVariableOutput
func (FunctionServiceConfigSecretEnvironmentVariableArgs) ToFunctionServiceConfigSecretEnvironmentVariableOutputWithContext ¶
func (i FunctionServiceConfigSecretEnvironmentVariableArgs) ToFunctionServiceConfigSecretEnvironmentVariableOutputWithContext(ctx context.Context) FunctionServiceConfigSecretEnvironmentVariableOutput
type FunctionServiceConfigSecretEnvironmentVariableArray ¶
type FunctionServiceConfigSecretEnvironmentVariableArray []FunctionServiceConfigSecretEnvironmentVariableInput
func (FunctionServiceConfigSecretEnvironmentVariableArray) ElementType ¶
func (FunctionServiceConfigSecretEnvironmentVariableArray) ElementType() reflect.Type
func (FunctionServiceConfigSecretEnvironmentVariableArray) ToFunctionServiceConfigSecretEnvironmentVariableArrayOutput ¶
func (i FunctionServiceConfigSecretEnvironmentVariableArray) ToFunctionServiceConfigSecretEnvironmentVariableArrayOutput() FunctionServiceConfigSecretEnvironmentVariableArrayOutput
func (FunctionServiceConfigSecretEnvironmentVariableArray) ToFunctionServiceConfigSecretEnvironmentVariableArrayOutputWithContext ¶
func (i FunctionServiceConfigSecretEnvironmentVariableArray) ToFunctionServiceConfigSecretEnvironmentVariableArrayOutputWithContext(ctx context.Context) FunctionServiceConfigSecretEnvironmentVariableArrayOutput
type FunctionServiceConfigSecretEnvironmentVariableArrayInput ¶
type FunctionServiceConfigSecretEnvironmentVariableArrayInput interface { pulumi.Input ToFunctionServiceConfigSecretEnvironmentVariableArrayOutput() FunctionServiceConfigSecretEnvironmentVariableArrayOutput ToFunctionServiceConfigSecretEnvironmentVariableArrayOutputWithContext(context.Context) FunctionServiceConfigSecretEnvironmentVariableArrayOutput }
FunctionServiceConfigSecretEnvironmentVariableArrayInput is an input type that accepts FunctionServiceConfigSecretEnvironmentVariableArray and FunctionServiceConfigSecretEnvironmentVariableArrayOutput values. You can construct a concrete instance of `FunctionServiceConfigSecretEnvironmentVariableArrayInput` via:
FunctionServiceConfigSecretEnvironmentVariableArray{ FunctionServiceConfigSecretEnvironmentVariableArgs{...} }
type FunctionServiceConfigSecretEnvironmentVariableArrayOutput ¶
type FunctionServiceConfigSecretEnvironmentVariableArrayOutput struct{ *pulumi.OutputState }
func (FunctionServiceConfigSecretEnvironmentVariableArrayOutput) ElementType ¶
func (FunctionServiceConfigSecretEnvironmentVariableArrayOutput) ElementType() reflect.Type
func (FunctionServiceConfigSecretEnvironmentVariableArrayOutput) ToFunctionServiceConfigSecretEnvironmentVariableArrayOutput ¶
func (o FunctionServiceConfigSecretEnvironmentVariableArrayOutput) ToFunctionServiceConfigSecretEnvironmentVariableArrayOutput() FunctionServiceConfigSecretEnvironmentVariableArrayOutput
func (FunctionServiceConfigSecretEnvironmentVariableArrayOutput) ToFunctionServiceConfigSecretEnvironmentVariableArrayOutputWithContext ¶
func (o FunctionServiceConfigSecretEnvironmentVariableArrayOutput) ToFunctionServiceConfigSecretEnvironmentVariableArrayOutputWithContext(ctx context.Context) FunctionServiceConfigSecretEnvironmentVariableArrayOutput
type FunctionServiceConfigSecretEnvironmentVariableInput ¶
type FunctionServiceConfigSecretEnvironmentVariableInput interface { pulumi.Input ToFunctionServiceConfigSecretEnvironmentVariableOutput() FunctionServiceConfigSecretEnvironmentVariableOutput ToFunctionServiceConfigSecretEnvironmentVariableOutputWithContext(context.Context) FunctionServiceConfigSecretEnvironmentVariableOutput }
FunctionServiceConfigSecretEnvironmentVariableInput is an input type that accepts FunctionServiceConfigSecretEnvironmentVariableArgs and FunctionServiceConfigSecretEnvironmentVariableOutput values. You can construct a concrete instance of `FunctionServiceConfigSecretEnvironmentVariableInput` via:
FunctionServiceConfigSecretEnvironmentVariableArgs{...}
type FunctionServiceConfigSecretEnvironmentVariableOutput ¶
type FunctionServiceConfigSecretEnvironmentVariableOutput struct{ *pulumi.OutputState }
func (FunctionServiceConfigSecretEnvironmentVariableOutput) ElementType ¶
func (FunctionServiceConfigSecretEnvironmentVariableOutput) ElementType() reflect.Type
func (FunctionServiceConfigSecretEnvironmentVariableOutput) ProjectId ¶
func (o FunctionServiceConfigSecretEnvironmentVariableOutput) ProjectId() pulumi.StringOutput
Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.
func (FunctionServiceConfigSecretEnvironmentVariableOutput) Secret ¶
func (o FunctionServiceConfigSecretEnvironmentVariableOutput) Secret() pulumi.StringOutput
Name of the secret in secret manager (not the full resource name).
func (FunctionServiceConfigSecretEnvironmentVariableOutput) ToFunctionServiceConfigSecretEnvironmentVariableOutput ¶
func (o FunctionServiceConfigSecretEnvironmentVariableOutput) ToFunctionServiceConfigSecretEnvironmentVariableOutput() FunctionServiceConfigSecretEnvironmentVariableOutput
func (FunctionServiceConfigSecretEnvironmentVariableOutput) ToFunctionServiceConfigSecretEnvironmentVariableOutputWithContext ¶
func (o FunctionServiceConfigSecretEnvironmentVariableOutput) ToFunctionServiceConfigSecretEnvironmentVariableOutputWithContext(ctx context.Context) FunctionServiceConfigSecretEnvironmentVariableOutput
func (FunctionServiceConfigSecretEnvironmentVariableOutput) Version ¶
func (o FunctionServiceConfigSecretEnvironmentVariableOutput) Version() pulumi.StringOutput
Version of the secret (version number or the string 'latest'). It is recommended to use a numeric version for secret environment variables as any updates to the secret value is not reflected until new instances start.
type FunctionServiceConfigSecretVolume ¶
type FunctionServiceConfigSecretVolume struct { // The path within the container to mount the secret volume. For example, setting the mountPath as /etc/secrets would mount the secret value files under the /etc/secrets directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount path: /etc/secrets MountPath string `pulumi:"mountPath"` // Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function. ProjectId string `pulumi:"projectId"` // Name of the secret in secret manager (not the full resource name). Secret string `pulumi:"secret"` // List of secret versions to mount for this secret. If empty, the latest version of the secret will be made available in a file named after the secret under the mount point.' // Structure is documented below. Versions []FunctionServiceConfigSecretVolumeVersion `pulumi:"versions"` }
type FunctionServiceConfigSecretVolumeArgs ¶
type FunctionServiceConfigSecretVolumeArgs struct { // The path within the container to mount the secret volume. For example, setting the mountPath as /etc/secrets would mount the secret value files under the /etc/secrets directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount path: /etc/secrets MountPath pulumi.StringInput `pulumi:"mountPath"` // Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function. ProjectId pulumi.StringInput `pulumi:"projectId"` // Name of the secret in secret manager (not the full resource name). Secret pulumi.StringInput `pulumi:"secret"` // List of secret versions to mount for this secret. If empty, the latest version of the secret will be made available in a file named after the secret under the mount point.' // Structure is documented below. Versions FunctionServiceConfigSecretVolumeVersionArrayInput `pulumi:"versions"` }
func (FunctionServiceConfigSecretVolumeArgs) ElementType ¶
func (FunctionServiceConfigSecretVolumeArgs) ElementType() reflect.Type
func (FunctionServiceConfigSecretVolumeArgs) ToFunctionServiceConfigSecretVolumeOutput ¶
func (i FunctionServiceConfigSecretVolumeArgs) ToFunctionServiceConfigSecretVolumeOutput() FunctionServiceConfigSecretVolumeOutput
func (FunctionServiceConfigSecretVolumeArgs) ToFunctionServiceConfigSecretVolumeOutputWithContext ¶
func (i FunctionServiceConfigSecretVolumeArgs) ToFunctionServiceConfigSecretVolumeOutputWithContext(ctx context.Context) FunctionServiceConfigSecretVolumeOutput
type FunctionServiceConfigSecretVolumeArray ¶
type FunctionServiceConfigSecretVolumeArray []FunctionServiceConfigSecretVolumeInput
func (FunctionServiceConfigSecretVolumeArray) ElementType ¶
func (FunctionServiceConfigSecretVolumeArray) ElementType() reflect.Type
func (FunctionServiceConfigSecretVolumeArray) ToFunctionServiceConfigSecretVolumeArrayOutput ¶
func (i FunctionServiceConfigSecretVolumeArray) ToFunctionServiceConfigSecretVolumeArrayOutput() FunctionServiceConfigSecretVolumeArrayOutput
func (FunctionServiceConfigSecretVolumeArray) ToFunctionServiceConfigSecretVolumeArrayOutputWithContext ¶
func (i FunctionServiceConfigSecretVolumeArray) ToFunctionServiceConfigSecretVolumeArrayOutputWithContext(ctx context.Context) FunctionServiceConfigSecretVolumeArrayOutput
type FunctionServiceConfigSecretVolumeArrayInput ¶
type FunctionServiceConfigSecretVolumeArrayInput interface { pulumi.Input ToFunctionServiceConfigSecretVolumeArrayOutput() FunctionServiceConfigSecretVolumeArrayOutput ToFunctionServiceConfigSecretVolumeArrayOutputWithContext(context.Context) FunctionServiceConfigSecretVolumeArrayOutput }
FunctionServiceConfigSecretVolumeArrayInput is an input type that accepts FunctionServiceConfigSecretVolumeArray and FunctionServiceConfigSecretVolumeArrayOutput values. You can construct a concrete instance of `FunctionServiceConfigSecretVolumeArrayInput` via:
FunctionServiceConfigSecretVolumeArray{ FunctionServiceConfigSecretVolumeArgs{...} }
type FunctionServiceConfigSecretVolumeArrayOutput ¶
type FunctionServiceConfigSecretVolumeArrayOutput struct{ *pulumi.OutputState }
func (FunctionServiceConfigSecretVolumeArrayOutput) ElementType ¶
func (FunctionServiceConfigSecretVolumeArrayOutput) ElementType() reflect.Type
func (FunctionServiceConfigSecretVolumeArrayOutput) ToFunctionServiceConfigSecretVolumeArrayOutput ¶
func (o FunctionServiceConfigSecretVolumeArrayOutput) ToFunctionServiceConfigSecretVolumeArrayOutput() FunctionServiceConfigSecretVolumeArrayOutput
func (FunctionServiceConfigSecretVolumeArrayOutput) ToFunctionServiceConfigSecretVolumeArrayOutputWithContext ¶
func (o FunctionServiceConfigSecretVolumeArrayOutput) ToFunctionServiceConfigSecretVolumeArrayOutputWithContext(ctx context.Context) FunctionServiceConfigSecretVolumeArrayOutput
type FunctionServiceConfigSecretVolumeInput ¶
type FunctionServiceConfigSecretVolumeInput interface { pulumi.Input ToFunctionServiceConfigSecretVolumeOutput() FunctionServiceConfigSecretVolumeOutput ToFunctionServiceConfigSecretVolumeOutputWithContext(context.Context) FunctionServiceConfigSecretVolumeOutput }
FunctionServiceConfigSecretVolumeInput is an input type that accepts FunctionServiceConfigSecretVolumeArgs and FunctionServiceConfigSecretVolumeOutput values. You can construct a concrete instance of `FunctionServiceConfigSecretVolumeInput` via:
FunctionServiceConfigSecretVolumeArgs{...}
type FunctionServiceConfigSecretVolumeOutput ¶
type FunctionServiceConfigSecretVolumeOutput struct{ *pulumi.OutputState }
func (FunctionServiceConfigSecretVolumeOutput) ElementType ¶
func (FunctionServiceConfigSecretVolumeOutput) ElementType() reflect.Type
func (FunctionServiceConfigSecretVolumeOutput) MountPath ¶
func (o FunctionServiceConfigSecretVolumeOutput) MountPath() pulumi.StringOutput
The path within the container to mount the secret volume. For example, setting the mountPath as /etc/secrets would mount the secret value files under the /etc/secrets directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount path: /etc/secrets
func (FunctionServiceConfigSecretVolumeOutput) ProjectId ¶
func (o FunctionServiceConfigSecretVolumeOutput) ProjectId() pulumi.StringOutput
Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.
func (FunctionServiceConfigSecretVolumeOutput) Secret ¶
func (o FunctionServiceConfigSecretVolumeOutput) Secret() pulumi.StringOutput
Name of the secret in secret manager (not the full resource name).
func (FunctionServiceConfigSecretVolumeOutput) ToFunctionServiceConfigSecretVolumeOutput ¶
func (o FunctionServiceConfigSecretVolumeOutput) ToFunctionServiceConfigSecretVolumeOutput() FunctionServiceConfigSecretVolumeOutput
func (FunctionServiceConfigSecretVolumeOutput) ToFunctionServiceConfigSecretVolumeOutputWithContext ¶
func (o FunctionServiceConfigSecretVolumeOutput) ToFunctionServiceConfigSecretVolumeOutputWithContext(ctx context.Context) FunctionServiceConfigSecretVolumeOutput
func (FunctionServiceConfigSecretVolumeOutput) Versions ¶
func (o FunctionServiceConfigSecretVolumeOutput) Versions() FunctionServiceConfigSecretVolumeVersionArrayOutput
List of secret versions to mount for this secret. If empty, the latest version of the secret will be made available in a file named after the secret under the mount point.' Structure is documented below.
type FunctionServiceConfigSecretVolumeVersion ¶
type FunctionServiceConfigSecretVolumeVersion struct { // Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mountPath as '/etc/secrets' and path as secretFoo would mount the secret value file at /etc/secrets/secret_foo. Path string `pulumi:"path"` // Version of the secret (version number or the string 'latest'). It is preferable to use latest version with secret volumes as secret value changes are reflected immediately. Version string `pulumi:"version"` }
type FunctionServiceConfigSecretVolumeVersionArgs ¶
type FunctionServiceConfigSecretVolumeVersionArgs struct { // Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mountPath as '/etc/secrets' and path as secretFoo would mount the secret value file at /etc/secrets/secret_foo. Path pulumi.StringInput `pulumi:"path"` // Version of the secret (version number or the string 'latest'). It is preferable to use latest version with secret volumes as secret value changes are reflected immediately. Version pulumi.StringInput `pulumi:"version"` }
func (FunctionServiceConfigSecretVolumeVersionArgs) ElementType ¶
func (FunctionServiceConfigSecretVolumeVersionArgs) ElementType() reflect.Type
func (FunctionServiceConfigSecretVolumeVersionArgs) ToFunctionServiceConfigSecretVolumeVersionOutput ¶
func (i FunctionServiceConfigSecretVolumeVersionArgs) ToFunctionServiceConfigSecretVolumeVersionOutput() FunctionServiceConfigSecretVolumeVersionOutput
func (FunctionServiceConfigSecretVolumeVersionArgs) ToFunctionServiceConfigSecretVolumeVersionOutputWithContext ¶
func (i FunctionServiceConfigSecretVolumeVersionArgs) ToFunctionServiceConfigSecretVolumeVersionOutputWithContext(ctx context.Context) FunctionServiceConfigSecretVolumeVersionOutput
type FunctionServiceConfigSecretVolumeVersionArray ¶
type FunctionServiceConfigSecretVolumeVersionArray []FunctionServiceConfigSecretVolumeVersionInput
func (FunctionServiceConfigSecretVolumeVersionArray) ElementType ¶
func (FunctionServiceConfigSecretVolumeVersionArray) ElementType() reflect.Type
func (FunctionServiceConfigSecretVolumeVersionArray) ToFunctionServiceConfigSecretVolumeVersionArrayOutput ¶
func (i FunctionServiceConfigSecretVolumeVersionArray) ToFunctionServiceConfigSecretVolumeVersionArrayOutput() FunctionServiceConfigSecretVolumeVersionArrayOutput
func (FunctionServiceConfigSecretVolumeVersionArray) ToFunctionServiceConfigSecretVolumeVersionArrayOutputWithContext ¶
func (i FunctionServiceConfigSecretVolumeVersionArray) ToFunctionServiceConfigSecretVolumeVersionArrayOutputWithContext(ctx context.Context) FunctionServiceConfigSecretVolumeVersionArrayOutput
type FunctionServiceConfigSecretVolumeVersionArrayInput ¶
type FunctionServiceConfigSecretVolumeVersionArrayInput interface { pulumi.Input ToFunctionServiceConfigSecretVolumeVersionArrayOutput() FunctionServiceConfigSecretVolumeVersionArrayOutput ToFunctionServiceConfigSecretVolumeVersionArrayOutputWithContext(context.Context) FunctionServiceConfigSecretVolumeVersionArrayOutput }
FunctionServiceConfigSecretVolumeVersionArrayInput is an input type that accepts FunctionServiceConfigSecretVolumeVersionArray and FunctionServiceConfigSecretVolumeVersionArrayOutput values. You can construct a concrete instance of `FunctionServiceConfigSecretVolumeVersionArrayInput` via:
FunctionServiceConfigSecretVolumeVersionArray{ FunctionServiceConfigSecretVolumeVersionArgs{...} }
type FunctionServiceConfigSecretVolumeVersionArrayOutput ¶
type FunctionServiceConfigSecretVolumeVersionArrayOutput struct{ *pulumi.OutputState }
func (FunctionServiceConfigSecretVolumeVersionArrayOutput) ElementType ¶
func (FunctionServiceConfigSecretVolumeVersionArrayOutput) ElementType() reflect.Type
func (FunctionServiceConfigSecretVolumeVersionArrayOutput) ToFunctionServiceConfigSecretVolumeVersionArrayOutput ¶
func (o FunctionServiceConfigSecretVolumeVersionArrayOutput) ToFunctionServiceConfigSecretVolumeVersionArrayOutput() FunctionServiceConfigSecretVolumeVersionArrayOutput
func (FunctionServiceConfigSecretVolumeVersionArrayOutput) ToFunctionServiceConfigSecretVolumeVersionArrayOutputWithContext ¶
func (o FunctionServiceConfigSecretVolumeVersionArrayOutput) ToFunctionServiceConfigSecretVolumeVersionArrayOutputWithContext(ctx context.Context) FunctionServiceConfigSecretVolumeVersionArrayOutput
type FunctionServiceConfigSecretVolumeVersionInput ¶
type FunctionServiceConfigSecretVolumeVersionInput interface { pulumi.Input ToFunctionServiceConfigSecretVolumeVersionOutput() FunctionServiceConfigSecretVolumeVersionOutput ToFunctionServiceConfigSecretVolumeVersionOutputWithContext(context.Context) FunctionServiceConfigSecretVolumeVersionOutput }
FunctionServiceConfigSecretVolumeVersionInput is an input type that accepts FunctionServiceConfigSecretVolumeVersionArgs and FunctionServiceConfigSecretVolumeVersionOutput values. You can construct a concrete instance of `FunctionServiceConfigSecretVolumeVersionInput` via:
FunctionServiceConfigSecretVolumeVersionArgs{...}
type FunctionServiceConfigSecretVolumeVersionOutput ¶
type FunctionServiceConfigSecretVolumeVersionOutput struct{ *pulumi.OutputState }
func (FunctionServiceConfigSecretVolumeVersionOutput) ElementType ¶
func (FunctionServiceConfigSecretVolumeVersionOutput) ElementType() reflect.Type
func (FunctionServiceConfigSecretVolumeVersionOutput) Path ¶
func (o FunctionServiceConfigSecretVolumeVersionOutput) Path() pulumi.StringOutput
Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mountPath as '/etc/secrets' and path as secretFoo would mount the secret value file at /etc/secrets/secret_foo.
func (FunctionServiceConfigSecretVolumeVersionOutput) ToFunctionServiceConfigSecretVolumeVersionOutput ¶
func (o FunctionServiceConfigSecretVolumeVersionOutput) ToFunctionServiceConfigSecretVolumeVersionOutput() FunctionServiceConfigSecretVolumeVersionOutput
func (FunctionServiceConfigSecretVolumeVersionOutput) ToFunctionServiceConfigSecretVolumeVersionOutputWithContext ¶
func (o FunctionServiceConfigSecretVolumeVersionOutput) ToFunctionServiceConfigSecretVolumeVersionOutputWithContext(ctx context.Context) FunctionServiceConfigSecretVolumeVersionOutput
func (FunctionServiceConfigSecretVolumeVersionOutput) Version ¶
func (o FunctionServiceConfigSecretVolumeVersionOutput) Version() pulumi.StringOutput
Version of the secret (version number or the string 'latest'). It is preferable to use latest version with secret volumes as secret value changes are reflected immediately.
type FunctionState ¶
type FunctionState struct { // Describes the Build step of the function that builds a container // from the given source. // Structure is documented below. BuildConfig FunctionBuildConfigPtrInput // User-provided description of a function. Description pulumi.StringPtrInput // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapInput // The environment the function is hosted on. Environment pulumi.StringPtrInput // An Eventarc trigger managed by Google Cloud Functions that fires events in // response to a condition in another service. // Structure is documented below. EventTrigger FunctionEventTriggerPtrInput // Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. // It must match the pattern projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}. KmsKeyName pulumi.StringPtrInput // A set of key/value label pairs associated with this Cloud Function. // // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // The location of this cloud function. // // *** Location pulumi.StringPtrInput // A user-defined name of the function. Function names must // be unique globally and match pattern `projects/*/locations/*/functions/*`. 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 combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapInput // Describes the Service being deployed. // Structure is documented below. ServiceConfig FunctionServiceConfigPtrInput // Describes the current state of the function. State pulumi.StringPtrInput // The last update timestamp of a Cloud Function. UpdateTime pulumi.StringPtrInput // Output only. The deployed url for the function. Url pulumi.StringPtrInput }
func (FunctionState) ElementType ¶
func (FunctionState) ElementType() reflect.Type
type GetFunctionBuildConfig ¶
type GetFunctionBuildConfig struct { // Security patches are applied automatically to the runtime without requiring // the function to be redeployed. AutomaticUpdatePolicies []GetFunctionBuildConfigAutomaticUpdatePolicy `pulumi:"automaticUpdatePolicies"` // The Cloud Build name of the latest successful // deployment of the function. Build string `pulumi:"build"` // User managed repository created in Artifact Registry optionally with a customer managed encryption key. DockerRepository string `pulumi:"dockerRepository"` // The name of the function (as defined in source code) that will be executed. // Defaults to the resource name suffix, if not specified. For backward // compatibility, if function with given name is not found, then the system // will try to use function named "function". For Node.js this is name of a // function exported by the module specified in source_location. EntryPoint string `pulumi:"entryPoint"` // User-provided build-time environment variables for the function. EnvironmentVariables map[string]string `pulumi:"environmentVariables"` // Security patches are only applied when a function is redeployed. OnDeployUpdatePolicies []GetFunctionBuildConfigOnDeployUpdatePolicy `pulumi:"onDeployUpdatePolicies"` // The runtime in which to run the function. Required when deploying a new // function, optional when updating an existing function. Runtime string `pulumi:"runtime"` // The fully-qualified name of the service account to be used for building the container. ServiceAccount string `pulumi:"serviceAccount"` // The location of the function source code. Sources []GetFunctionBuildConfigSource `pulumi:"sources"` // Name of the Cloud Build Custom Worker Pool that should be used to build the function. WorkerPool string `pulumi:"workerPool"` }
type GetFunctionBuildConfigArgs ¶
type GetFunctionBuildConfigArgs struct { // Security patches are applied automatically to the runtime without requiring // the function to be redeployed. AutomaticUpdatePolicies GetFunctionBuildConfigAutomaticUpdatePolicyArrayInput `pulumi:"automaticUpdatePolicies"` // The Cloud Build name of the latest successful // deployment of the function. Build pulumi.StringInput `pulumi:"build"` // User managed repository created in Artifact Registry optionally with a customer managed encryption key. DockerRepository pulumi.StringInput `pulumi:"dockerRepository"` // The name of the function (as defined in source code) that will be executed. // Defaults to the resource name suffix, if not specified. For backward // compatibility, if function with given name is not found, then the system // will try to use function named "function". For Node.js this is name of a // function exported by the module specified in source_location. EntryPoint pulumi.StringInput `pulumi:"entryPoint"` // User-provided build-time environment variables for the function. EnvironmentVariables pulumi.StringMapInput `pulumi:"environmentVariables"` // Security patches are only applied when a function is redeployed. OnDeployUpdatePolicies GetFunctionBuildConfigOnDeployUpdatePolicyArrayInput `pulumi:"onDeployUpdatePolicies"` // The runtime in which to run the function. Required when deploying a new // function, optional when updating an existing function. Runtime pulumi.StringInput `pulumi:"runtime"` // The fully-qualified name of the service account to be used for building the container. ServiceAccount pulumi.StringInput `pulumi:"serviceAccount"` // The location of the function source code. Sources GetFunctionBuildConfigSourceArrayInput `pulumi:"sources"` // Name of the Cloud Build Custom Worker Pool that should be used to build the function. WorkerPool pulumi.StringInput `pulumi:"workerPool"` }
func (GetFunctionBuildConfigArgs) ElementType ¶
func (GetFunctionBuildConfigArgs) ElementType() reflect.Type
func (GetFunctionBuildConfigArgs) ToGetFunctionBuildConfigOutput ¶
func (i GetFunctionBuildConfigArgs) ToGetFunctionBuildConfigOutput() GetFunctionBuildConfigOutput
func (GetFunctionBuildConfigArgs) ToGetFunctionBuildConfigOutputWithContext ¶
func (i GetFunctionBuildConfigArgs) ToGetFunctionBuildConfigOutputWithContext(ctx context.Context) GetFunctionBuildConfigOutput
type GetFunctionBuildConfigArray ¶
type GetFunctionBuildConfigArray []GetFunctionBuildConfigInput
func (GetFunctionBuildConfigArray) ElementType ¶
func (GetFunctionBuildConfigArray) ElementType() reflect.Type
func (GetFunctionBuildConfigArray) ToGetFunctionBuildConfigArrayOutput ¶
func (i GetFunctionBuildConfigArray) ToGetFunctionBuildConfigArrayOutput() GetFunctionBuildConfigArrayOutput
func (GetFunctionBuildConfigArray) ToGetFunctionBuildConfigArrayOutputWithContext ¶
func (i GetFunctionBuildConfigArray) ToGetFunctionBuildConfigArrayOutputWithContext(ctx context.Context) GetFunctionBuildConfigArrayOutput
type GetFunctionBuildConfigArrayInput ¶
type GetFunctionBuildConfigArrayInput interface { pulumi.Input ToGetFunctionBuildConfigArrayOutput() GetFunctionBuildConfigArrayOutput ToGetFunctionBuildConfigArrayOutputWithContext(context.Context) GetFunctionBuildConfigArrayOutput }
GetFunctionBuildConfigArrayInput is an input type that accepts GetFunctionBuildConfigArray and GetFunctionBuildConfigArrayOutput values. You can construct a concrete instance of `GetFunctionBuildConfigArrayInput` via:
GetFunctionBuildConfigArray{ GetFunctionBuildConfigArgs{...} }
type GetFunctionBuildConfigArrayOutput ¶
type GetFunctionBuildConfigArrayOutput struct{ *pulumi.OutputState }
func (GetFunctionBuildConfigArrayOutput) ElementType ¶
func (GetFunctionBuildConfigArrayOutput) ElementType() reflect.Type
func (GetFunctionBuildConfigArrayOutput) Index ¶
func (o GetFunctionBuildConfigArrayOutput) Index(i pulumi.IntInput) GetFunctionBuildConfigOutput
func (GetFunctionBuildConfigArrayOutput) ToGetFunctionBuildConfigArrayOutput ¶
func (o GetFunctionBuildConfigArrayOutput) ToGetFunctionBuildConfigArrayOutput() GetFunctionBuildConfigArrayOutput
func (GetFunctionBuildConfigArrayOutput) ToGetFunctionBuildConfigArrayOutputWithContext ¶
func (o GetFunctionBuildConfigArrayOutput) ToGetFunctionBuildConfigArrayOutputWithContext(ctx context.Context) GetFunctionBuildConfigArrayOutput
type GetFunctionBuildConfigAutomaticUpdatePolicy ¶
type GetFunctionBuildConfigAutomaticUpdatePolicy struct { }
type GetFunctionBuildConfigAutomaticUpdatePolicyArgs ¶
type GetFunctionBuildConfigAutomaticUpdatePolicyArgs struct { }
func (GetFunctionBuildConfigAutomaticUpdatePolicyArgs) ElementType ¶
func (GetFunctionBuildConfigAutomaticUpdatePolicyArgs) ElementType() reflect.Type
func (GetFunctionBuildConfigAutomaticUpdatePolicyArgs) ToGetFunctionBuildConfigAutomaticUpdatePolicyOutput ¶
func (i GetFunctionBuildConfigAutomaticUpdatePolicyArgs) ToGetFunctionBuildConfigAutomaticUpdatePolicyOutput() GetFunctionBuildConfigAutomaticUpdatePolicyOutput
func (GetFunctionBuildConfigAutomaticUpdatePolicyArgs) ToGetFunctionBuildConfigAutomaticUpdatePolicyOutputWithContext ¶
func (i GetFunctionBuildConfigAutomaticUpdatePolicyArgs) ToGetFunctionBuildConfigAutomaticUpdatePolicyOutputWithContext(ctx context.Context) GetFunctionBuildConfigAutomaticUpdatePolicyOutput
type GetFunctionBuildConfigAutomaticUpdatePolicyArray ¶
type GetFunctionBuildConfigAutomaticUpdatePolicyArray []GetFunctionBuildConfigAutomaticUpdatePolicyInput
func (GetFunctionBuildConfigAutomaticUpdatePolicyArray) ElementType ¶
func (GetFunctionBuildConfigAutomaticUpdatePolicyArray) ElementType() reflect.Type
func (GetFunctionBuildConfigAutomaticUpdatePolicyArray) ToGetFunctionBuildConfigAutomaticUpdatePolicyArrayOutput ¶
func (i GetFunctionBuildConfigAutomaticUpdatePolicyArray) ToGetFunctionBuildConfigAutomaticUpdatePolicyArrayOutput() GetFunctionBuildConfigAutomaticUpdatePolicyArrayOutput
func (GetFunctionBuildConfigAutomaticUpdatePolicyArray) ToGetFunctionBuildConfigAutomaticUpdatePolicyArrayOutputWithContext ¶
func (i GetFunctionBuildConfigAutomaticUpdatePolicyArray) ToGetFunctionBuildConfigAutomaticUpdatePolicyArrayOutputWithContext(ctx context.Context) GetFunctionBuildConfigAutomaticUpdatePolicyArrayOutput
type GetFunctionBuildConfigAutomaticUpdatePolicyArrayInput ¶
type GetFunctionBuildConfigAutomaticUpdatePolicyArrayInput interface { pulumi.Input ToGetFunctionBuildConfigAutomaticUpdatePolicyArrayOutput() GetFunctionBuildConfigAutomaticUpdatePolicyArrayOutput ToGetFunctionBuildConfigAutomaticUpdatePolicyArrayOutputWithContext(context.Context) GetFunctionBuildConfigAutomaticUpdatePolicyArrayOutput }
GetFunctionBuildConfigAutomaticUpdatePolicyArrayInput is an input type that accepts GetFunctionBuildConfigAutomaticUpdatePolicyArray and GetFunctionBuildConfigAutomaticUpdatePolicyArrayOutput values. You can construct a concrete instance of `GetFunctionBuildConfigAutomaticUpdatePolicyArrayInput` via:
GetFunctionBuildConfigAutomaticUpdatePolicyArray{ GetFunctionBuildConfigAutomaticUpdatePolicyArgs{...} }
type GetFunctionBuildConfigAutomaticUpdatePolicyArrayOutput ¶
type GetFunctionBuildConfigAutomaticUpdatePolicyArrayOutput struct{ *pulumi.OutputState }
func (GetFunctionBuildConfigAutomaticUpdatePolicyArrayOutput) ElementType ¶
func (GetFunctionBuildConfigAutomaticUpdatePolicyArrayOutput) ElementType() reflect.Type
func (GetFunctionBuildConfigAutomaticUpdatePolicyArrayOutput) ToGetFunctionBuildConfigAutomaticUpdatePolicyArrayOutput ¶
func (o GetFunctionBuildConfigAutomaticUpdatePolicyArrayOutput) ToGetFunctionBuildConfigAutomaticUpdatePolicyArrayOutput() GetFunctionBuildConfigAutomaticUpdatePolicyArrayOutput
func (GetFunctionBuildConfigAutomaticUpdatePolicyArrayOutput) ToGetFunctionBuildConfigAutomaticUpdatePolicyArrayOutputWithContext ¶
func (o GetFunctionBuildConfigAutomaticUpdatePolicyArrayOutput) ToGetFunctionBuildConfigAutomaticUpdatePolicyArrayOutputWithContext(ctx context.Context) GetFunctionBuildConfigAutomaticUpdatePolicyArrayOutput
type GetFunctionBuildConfigAutomaticUpdatePolicyInput ¶
type GetFunctionBuildConfigAutomaticUpdatePolicyInput interface { pulumi.Input ToGetFunctionBuildConfigAutomaticUpdatePolicyOutput() GetFunctionBuildConfigAutomaticUpdatePolicyOutput ToGetFunctionBuildConfigAutomaticUpdatePolicyOutputWithContext(context.Context) GetFunctionBuildConfigAutomaticUpdatePolicyOutput }
GetFunctionBuildConfigAutomaticUpdatePolicyInput is an input type that accepts GetFunctionBuildConfigAutomaticUpdatePolicyArgs and GetFunctionBuildConfigAutomaticUpdatePolicyOutput values. You can construct a concrete instance of `GetFunctionBuildConfigAutomaticUpdatePolicyInput` via:
GetFunctionBuildConfigAutomaticUpdatePolicyArgs{...}
type GetFunctionBuildConfigAutomaticUpdatePolicyOutput ¶
type GetFunctionBuildConfigAutomaticUpdatePolicyOutput struct{ *pulumi.OutputState }
func (GetFunctionBuildConfigAutomaticUpdatePolicyOutput) ElementType ¶
func (GetFunctionBuildConfigAutomaticUpdatePolicyOutput) ElementType() reflect.Type
func (GetFunctionBuildConfigAutomaticUpdatePolicyOutput) ToGetFunctionBuildConfigAutomaticUpdatePolicyOutput ¶
func (o GetFunctionBuildConfigAutomaticUpdatePolicyOutput) ToGetFunctionBuildConfigAutomaticUpdatePolicyOutput() GetFunctionBuildConfigAutomaticUpdatePolicyOutput
func (GetFunctionBuildConfigAutomaticUpdatePolicyOutput) ToGetFunctionBuildConfigAutomaticUpdatePolicyOutputWithContext ¶
func (o GetFunctionBuildConfigAutomaticUpdatePolicyOutput) ToGetFunctionBuildConfigAutomaticUpdatePolicyOutputWithContext(ctx context.Context) GetFunctionBuildConfigAutomaticUpdatePolicyOutput
type GetFunctionBuildConfigInput ¶
type GetFunctionBuildConfigInput interface { pulumi.Input ToGetFunctionBuildConfigOutput() GetFunctionBuildConfigOutput ToGetFunctionBuildConfigOutputWithContext(context.Context) GetFunctionBuildConfigOutput }
GetFunctionBuildConfigInput is an input type that accepts GetFunctionBuildConfigArgs and GetFunctionBuildConfigOutput values. You can construct a concrete instance of `GetFunctionBuildConfigInput` via:
GetFunctionBuildConfigArgs{...}
type GetFunctionBuildConfigOnDeployUpdatePolicy ¶
type GetFunctionBuildConfigOnDeployUpdatePolicy struct { // The runtime version which was used during latest function deployment. RuntimeVersion string `pulumi:"runtimeVersion"` }
type GetFunctionBuildConfigOnDeployUpdatePolicyArgs ¶
type GetFunctionBuildConfigOnDeployUpdatePolicyArgs struct { // The runtime version which was used during latest function deployment. RuntimeVersion pulumi.StringInput `pulumi:"runtimeVersion"` }
func (GetFunctionBuildConfigOnDeployUpdatePolicyArgs) ElementType ¶
func (GetFunctionBuildConfigOnDeployUpdatePolicyArgs) ElementType() reflect.Type
func (GetFunctionBuildConfigOnDeployUpdatePolicyArgs) ToGetFunctionBuildConfigOnDeployUpdatePolicyOutput ¶
func (i GetFunctionBuildConfigOnDeployUpdatePolicyArgs) ToGetFunctionBuildConfigOnDeployUpdatePolicyOutput() GetFunctionBuildConfigOnDeployUpdatePolicyOutput
func (GetFunctionBuildConfigOnDeployUpdatePolicyArgs) ToGetFunctionBuildConfigOnDeployUpdatePolicyOutputWithContext ¶
func (i GetFunctionBuildConfigOnDeployUpdatePolicyArgs) ToGetFunctionBuildConfigOnDeployUpdatePolicyOutputWithContext(ctx context.Context) GetFunctionBuildConfigOnDeployUpdatePolicyOutput
type GetFunctionBuildConfigOnDeployUpdatePolicyArray ¶
type GetFunctionBuildConfigOnDeployUpdatePolicyArray []GetFunctionBuildConfigOnDeployUpdatePolicyInput
func (GetFunctionBuildConfigOnDeployUpdatePolicyArray) ElementType ¶
func (GetFunctionBuildConfigOnDeployUpdatePolicyArray) ElementType() reflect.Type
func (GetFunctionBuildConfigOnDeployUpdatePolicyArray) ToGetFunctionBuildConfigOnDeployUpdatePolicyArrayOutput ¶
func (i GetFunctionBuildConfigOnDeployUpdatePolicyArray) ToGetFunctionBuildConfigOnDeployUpdatePolicyArrayOutput() GetFunctionBuildConfigOnDeployUpdatePolicyArrayOutput
func (GetFunctionBuildConfigOnDeployUpdatePolicyArray) ToGetFunctionBuildConfigOnDeployUpdatePolicyArrayOutputWithContext ¶
func (i GetFunctionBuildConfigOnDeployUpdatePolicyArray) ToGetFunctionBuildConfigOnDeployUpdatePolicyArrayOutputWithContext(ctx context.Context) GetFunctionBuildConfigOnDeployUpdatePolicyArrayOutput
type GetFunctionBuildConfigOnDeployUpdatePolicyArrayInput ¶
type GetFunctionBuildConfigOnDeployUpdatePolicyArrayInput interface { pulumi.Input ToGetFunctionBuildConfigOnDeployUpdatePolicyArrayOutput() GetFunctionBuildConfigOnDeployUpdatePolicyArrayOutput ToGetFunctionBuildConfigOnDeployUpdatePolicyArrayOutputWithContext(context.Context) GetFunctionBuildConfigOnDeployUpdatePolicyArrayOutput }
GetFunctionBuildConfigOnDeployUpdatePolicyArrayInput is an input type that accepts GetFunctionBuildConfigOnDeployUpdatePolicyArray and GetFunctionBuildConfigOnDeployUpdatePolicyArrayOutput values. You can construct a concrete instance of `GetFunctionBuildConfigOnDeployUpdatePolicyArrayInput` via:
GetFunctionBuildConfigOnDeployUpdatePolicyArray{ GetFunctionBuildConfigOnDeployUpdatePolicyArgs{...} }
type GetFunctionBuildConfigOnDeployUpdatePolicyArrayOutput ¶
type GetFunctionBuildConfigOnDeployUpdatePolicyArrayOutput struct{ *pulumi.OutputState }
func (GetFunctionBuildConfigOnDeployUpdatePolicyArrayOutput) ElementType ¶
func (GetFunctionBuildConfigOnDeployUpdatePolicyArrayOutput) ElementType() reflect.Type
func (GetFunctionBuildConfigOnDeployUpdatePolicyArrayOutput) ToGetFunctionBuildConfigOnDeployUpdatePolicyArrayOutput ¶
func (o GetFunctionBuildConfigOnDeployUpdatePolicyArrayOutput) ToGetFunctionBuildConfigOnDeployUpdatePolicyArrayOutput() GetFunctionBuildConfigOnDeployUpdatePolicyArrayOutput
func (GetFunctionBuildConfigOnDeployUpdatePolicyArrayOutput) ToGetFunctionBuildConfigOnDeployUpdatePolicyArrayOutputWithContext ¶
func (o GetFunctionBuildConfigOnDeployUpdatePolicyArrayOutput) ToGetFunctionBuildConfigOnDeployUpdatePolicyArrayOutputWithContext(ctx context.Context) GetFunctionBuildConfigOnDeployUpdatePolicyArrayOutput
type GetFunctionBuildConfigOnDeployUpdatePolicyInput ¶
type GetFunctionBuildConfigOnDeployUpdatePolicyInput interface { pulumi.Input ToGetFunctionBuildConfigOnDeployUpdatePolicyOutput() GetFunctionBuildConfigOnDeployUpdatePolicyOutput ToGetFunctionBuildConfigOnDeployUpdatePolicyOutputWithContext(context.Context) GetFunctionBuildConfigOnDeployUpdatePolicyOutput }
GetFunctionBuildConfigOnDeployUpdatePolicyInput is an input type that accepts GetFunctionBuildConfigOnDeployUpdatePolicyArgs and GetFunctionBuildConfigOnDeployUpdatePolicyOutput values. You can construct a concrete instance of `GetFunctionBuildConfigOnDeployUpdatePolicyInput` via:
GetFunctionBuildConfigOnDeployUpdatePolicyArgs{...}
type GetFunctionBuildConfigOnDeployUpdatePolicyOutput ¶
type GetFunctionBuildConfigOnDeployUpdatePolicyOutput struct{ *pulumi.OutputState }
func (GetFunctionBuildConfigOnDeployUpdatePolicyOutput) ElementType ¶
func (GetFunctionBuildConfigOnDeployUpdatePolicyOutput) ElementType() reflect.Type
func (GetFunctionBuildConfigOnDeployUpdatePolicyOutput) RuntimeVersion ¶
func (o GetFunctionBuildConfigOnDeployUpdatePolicyOutput) RuntimeVersion() pulumi.StringOutput
The runtime version which was used during latest function deployment.
func (GetFunctionBuildConfigOnDeployUpdatePolicyOutput) ToGetFunctionBuildConfigOnDeployUpdatePolicyOutput ¶
func (o GetFunctionBuildConfigOnDeployUpdatePolicyOutput) ToGetFunctionBuildConfigOnDeployUpdatePolicyOutput() GetFunctionBuildConfigOnDeployUpdatePolicyOutput
func (GetFunctionBuildConfigOnDeployUpdatePolicyOutput) ToGetFunctionBuildConfigOnDeployUpdatePolicyOutputWithContext ¶
func (o GetFunctionBuildConfigOnDeployUpdatePolicyOutput) ToGetFunctionBuildConfigOnDeployUpdatePolicyOutputWithContext(ctx context.Context) GetFunctionBuildConfigOnDeployUpdatePolicyOutput
type GetFunctionBuildConfigOutput ¶
type GetFunctionBuildConfigOutput struct{ *pulumi.OutputState }
func (GetFunctionBuildConfigOutput) AutomaticUpdatePolicies ¶
func (o GetFunctionBuildConfigOutput) AutomaticUpdatePolicies() GetFunctionBuildConfigAutomaticUpdatePolicyArrayOutput
Security patches are applied automatically to the runtime without requiring the function to be redeployed.
func (GetFunctionBuildConfigOutput) Build ¶
func (o GetFunctionBuildConfigOutput) Build() pulumi.StringOutput
The Cloud Build name of the latest successful deployment of the function.
func (GetFunctionBuildConfigOutput) DockerRepository ¶
func (o GetFunctionBuildConfigOutput) DockerRepository() pulumi.StringOutput
User managed repository created in Artifact Registry optionally with a customer managed encryption key.
func (GetFunctionBuildConfigOutput) ElementType ¶
func (GetFunctionBuildConfigOutput) ElementType() reflect.Type
func (GetFunctionBuildConfigOutput) EntryPoint ¶
func (o GetFunctionBuildConfigOutput) EntryPoint() pulumi.StringOutput
The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in source_location.
func (GetFunctionBuildConfigOutput) EnvironmentVariables ¶
func (o GetFunctionBuildConfigOutput) EnvironmentVariables() pulumi.StringMapOutput
User-provided build-time environment variables for the function.
func (GetFunctionBuildConfigOutput) OnDeployUpdatePolicies ¶
func (o GetFunctionBuildConfigOutput) OnDeployUpdatePolicies() GetFunctionBuildConfigOnDeployUpdatePolicyArrayOutput
Security patches are only applied when a function is redeployed.
func (GetFunctionBuildConfigOutput) Runtime ¶
func (o GetFunctionBuildConfigOutput) Runtime() pulumi.StringOutput
The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function.
func (GetFunctionBuildConfigOutput) ServiceAccount ¶
func (o GetFunctionBuildConfigOutput) ServiceAccount() pulumi.StringOutput
The fully-qualified name of the service account to be used for building the container.
func (GetFunctionBuildConfigOutput) Sources ¶
func (o GetFunctionBuildConfigOutput) Sources() GetFunctionBuildConfigSourceArrayOutput
The location of the function source code.
func (GetFunctionBuildConfigOutput) ToGetFunctionBuildConfigOutput ¶
func (o GetFunctionBuildConfigOutput) ToGetFunctionBuildConfigOutput() GetFunctionBuildConfigOutput
func (GetFunctionBuildConfigOutput) ToGetFunctionBuildConfigOutputWithContext ¶
func (o GetFunctionBuildConfigOutput) ToGetFunctionBuildConfigOutputWithContext(ctx context.Context) GetFunctionBuildConfigOutput
func (GetFunctionBuildConfigOutput) WorkerPool ¶
func (o GetFunctionBuildConfigOutput) WorkerPool() pulumi.StringOutput
Name of the Cloud Build Custom Worker Pool that should be used to build the function.
type GetFunctionBuildConfigSource ¶
type GetFunctionBuildConfigSource struct { // If provided, get the source from this location in a Cloud Source Repository. RepoSources []GetFunctionBuildConfigSourceRepoSource `pulumi:"repoSources"` // If provided, get the source from this location in Google Cloud Storage. StorageSources []GetFunctionBuildConfigSourceStorageSource `pulumi:"storageSources"` }
type GetFunctionBuildConfigSourceArgs ¶
type GetFunctionBuildConfigSourceArgs struct { // If provided, get the source from this location in a Cloud Source Repository. RepoSources GetFunctionBuildConfigSourceRepoSourceArrayInput `pulumi:"repoSources"` // If provided, get the source from this location in Google Cloud Storage. StorageSources GetFunctionBuildConfigSourceStorageSourceArrayInput `pulumi:"storageSources"` }
func (GetFunctionBuildConfigSourceArgs) ElementType ¶
func (GetFunctionBuildConfigSourceArgs) ElementType() reflect.Type
func (GetFunctionBuildConfigSourceArgs) ToGetFunctionBuildConfigSourceOutput ¶
func (i GetFunctionBuildConfigSourceArgs) ToGetFunctionBuildConfigSourceOutput() GetFunctionBuildConfigSourceOutput
func (GetFunctionBuildConfigSourceArgs) ToGetFunctionBuildConfigSourceOutputWithContext ¶
func (i GetFunctionBuildConfigSourceArgs) ToGetFunctionBuildConfigSourceOutputWithContext(ctx context.Context) GetFunctionBuildConfigSourceOutput
type GetFunctionBuildConfigSourceArray ¶
type GetFunctionBuildConfigSourceArray []GetFunctionBuildConfigSourceInput
func (GetFunctionBuildConfigSourceArray) ElementType ¶
func (GetFunctionBuildConfigSourceArray) ElementType() reflect.Type
func (GetFunctionBuildConfigSourceArray) ToGetFunctionBuildConfigSourceArrayOutput ¶
func (i GetFunctionBuildConfigSourceArray) ToGetFunctionBuildConfigSourceArrayOutput() GetFunctionBuildConfigSourceArrayOutput
func (GetFunctionBuildConfigSourceArray) ToGetFunctionBuildConfigSourceArrayOutputWithContext ¶
func (i GetFunctionBuildConfigSourceArray) ToGetFunctionBuildConfigSourceArrayOutputWithContext(ctx context.Context) GetFunctionBuildConfigSourceArrayOutput
type GetFunctionBuildConfigSourceArrayInput ¶
type GetFunctionBuildConfigSourceArrayInput interface { pulumi.Input ToGetFunctionBuildConfigSourceArrayOutput() GetFunctionBuildConfigSourceArrayOutput ToGetFunctionBuildConfigSourceArrayOutputWithContext(context.Context) GetFunctionBuildConfigSourceArrayOutput }
GetFunctionBuildConfigSourceArrayInput is an input type that accepts GetFunctionBuildConfigSourceArray and GetFunctionBuildConfigSourceArrayOutput values. You can construct a concrete instance of `GetFunctionBuildConfigSourceArrayInput` via:
GetFunctionBuildConfigSourceArray{ GetFunctionBuildConfigSourceArgs{...} }
type GetFunctionBuildConfigSourceArrayOutput ¶
type GetFunctionBuildConfigSourceArrayOutput struct{ *pulumi.OutputState }
func (GetFunctionBuildConfigSourceArrayOutput) ElementType ¶
func (GetFunctionBuildConfigSourceArrayOutput) ElementType() reflect.Type
func (GetFunctionBuildConfigSourceArrayOutput) ToGetFunctionBuildConfigSourceArrayOutput ¶
func (o GetFunctionBuildConfigSourceArrayOutput) ToGetFunctionBuildConfigSourceArrayOutput() GetFunctionBuildConfigSourceArrayOutput
func (GetFunctionBuildConfigSourceArrayOutput) ToGetFunctionBuildConfigSourceArrayOutputWithContext ¶
func (o GetFunctionBuildConfigSourceArrayOutput) ToGetFunctionBuildConfigSourceArrayOutputWithContext(ctx context.Context) GetFunctionBuildConfigSourceArrayOutput
type GetFunctionBuildConfigSourceInput ¶
type GetFunctionBuildConfigSourceInput interface { pulumi.Input ToGetFunctionBuildConfigSourceOutput() GetFunctionBuildConfigSourceOutput ToGetFunctionBuildConfigSourceOutputWithContext(context.Context) GetFunctionBuildConfigSourceOutput }
GetFunctionBuildConfigSourceInput is an input type that accepts GetFunctionBuildConfigSourceArgs and GetFunctionBuildConfigSourceOutput values. You can construct a concrete instance of `GetFunctionBuildConfigSourceInput` via:
GetFunctionBuildConfigSourceArgs{...}
type GetFunctionBuildConfigSourceOutput ¶
type GetFunctionBuildConfigSourceOutput struct{ *pulumi.OutputState }
func (GetFunctionBuildConfigSourceOutput) ElementType ¶
func (GetFunctionBuildConfigSourceOutput) ElementType() reflect.Type
func (GetFunctionBuildConfigSourceOutput) RepoSources ¶
func (o GetFunctionBuildConfigSourceOutput) RepoSources() GetFunctionBuildConfigSourceRepoSourceArrayOutput
If provided, get the source from this location in a Cloud Source Repository.
func (GetFunctionBuildConfigSourceOutput) StorageSources ¶
func (o GetFunctionBuildConfigSourceOutput) StorageSources() GetFunctionBuildConfigSourceStorageSourceArrayOutput
If provided, get the source from this location in Google Cloud Storage.
func (GetFunctionBuildConfigSourceOutput) ToGetFunctionBuildConfigSourceOutput ¶
func (o GetFunctionBuildConfigSourceOutput) ToGetFunctionBuildConfigSourceOutput() GetFunctionBuildConfigSourceOutput
func (GetFunctionBuildConfigSourceOutput) ToGetFunctionBuildConfigSourceOutputWithContext ¶
func (o GetFunctionBuildConfigSourceOutput) ToGetFunctionBuildConfigSourceOutputWithContext(ctx context.Context) GetFunctionBuildConfigSourceOutput
type GetFunctionBuildConfigSourceRepoSource ¶
type GetFunctionBuildConfigSourceRepoSource struct { // Regex matching branches to build. BranchName string `pulumi:"branchName"` // Regex matching tags to build. CommitSha string `pulumi:"commitSha"` // Directory, relative to the source root, in which to run the build. Dir string `pulumi:"dir"` // Only trigger a build if the revision regex does // NOT match the revision regex. InvertRegex bool `pulumi:"invertRegex"` // ID of the project that owns the Cloud Source Repository. If omitted, the // project ID requesting the build is assumed. ProjectId string `pulumi:"projectId"` // Name of the Cloud Source Repository. RepoName string `pulumi:"repoName"` // Regex matching tags to build. TagName string `pulumi:"tagName"` }
type GetFunctionBuildConfigSourceRepoSourceArgs ¶
type GetFunctionBuildConfigSourceRepoSourceArgs struct { // Regex matching branches to build. BranchName pulumi.StringInput `pulumi:"branchName"` // Regex matching tags to build. CommitSha pulumi.StringInput `pulumi:"commitSha"` // Directory, relative to the source root, in which to run the build. Dir pulumi.StringInput `pulumi:"dir"` // Only trigger a build if the revision regex does // NOT match the revision regex. InvertRegex pulumi.BoolInput `pulumi:"invertRegex"` // ID of the project that owns the Cloud Source Repository. If omitted, the // project ID requesting the build is assumed. ProjectId pulumi.StringInput `pulumi:"projectId"` // Name of the Cloud Source Repository. RepoName pulumi.StringInput `pulumi:"repoName"` // Regex matching tags to build. TagName pulumi.StringInput `pulumi:"tagName"` }
func (GetFunctionBuildConfigSourceRepoSourceArgs) ElementType ¶
func (GetFunctionBuildConfigSourceRepoSourceArgs) ElementType() reflect.Type
func (GetFunctionBuildConfigSourceRepoSourceArgs) ToGetFunctionBuildConfigSourceRepoSourceOutput ¶
func (i GetFunctionBuildConfigSourceRepoSourceArgs) ToGetFunctionBuildConfigSourceRepoSourceOutput() GetFunctionBuildConfigSourceRepoSourceOutput
func (GetFunctionBuildConfigSourceRepoSourceArgs) ToGetFunctionBuildConfigSourceRepoSourceOutputWithContext ¶
func (i GetFunctionBuildConfigSourceRepoSourceArgs) ToGetFunctionBuildConfigSourceRepoSourceOutputWithContext(ctx context.Context) GetFunctionBuildConfigSourceRepoSourceOutput
type GetFunctionBuildConfigSourceRepoSourceArray ¶
type GetFunctionBuildConfigSourceRepoSourceArray []GetFunctionBuildConfigSourceRepoSourceInput
func (GetFunctionBuildConfigSourceRepoSourceArray) ElementType ¶
func (GetFunctionBuildConfigSourceRepoSourceArray) ElementType() reflect.Type
func (GetFunctionBuildConfigSourceRepoSourceArray) ToGetFunctionBuildConfigSourceRepoSourceArrayOutput ¶
func (i GetFunctionBuildConfigSourceRepoSourceArray) ToGetFunctionBuildConfigSourceRepoSourceArrayOutput() GetFunctionBuildConfigSourceRepoSourceArrayOutput
func (GetFunctionBuildConfigSourceRepoSourceArray) ToGetFunctionBuildConfigSourceRepoSourceArrayOutputWithContext ¶
func (i GetFunctionBuildConfigSourceRepoSourceArray) ToGetFunctionBuildConfigSourceRepoSourceArrayOutputWithContext(ctx context.Context) GetFunctionBuildConfigSourceRepoSourceArrayOutput
type GetFunctionBuildConfigSourceRepoSourceArrayInput ¶
type GetFunctionBuildConfigSourceRepoSourceArrayInput interface { pulumi.Input ToGetFunctionBuildConfigSourceRepoSourceArrayOutput() GetFunctionBuildConfigSourceRepoSourceArrayOutput ToGetFunctionBuildConfigSourceRepoSourceArrayOutputWithContext(context.Context) GetFunctionBuildConfigSourceRepoSourceArrayOutput }
GetFunctionBuildConfigSourceRepoSourceArrayInput is an input type that accepts GetFunctionBuildConfigSourceRepoSourceArray and GetFunctionBuildConfigSourceRepoSourceArrayOutput values. You can construct a concrete instance of `GetFunctionBuildConfigSourceRepoSourceArrayInput` via:
GetFunctionBuildConfigSourceRepoSourceArray{ GetFunctionBuildConfigSourceRepoSourceArgs{...} }
type GetFunctionBuildConfigSourceRepoSourceArrayOutput ¶
type GetFunctionBuildConfigSourceRepoSourceArrayOutput struct{ *pulumi.OutputState }
func (GetFunctionBuildConfigSourceRepoSourceArrayOutput) ElementType ¶
func (GetFunctionBuildConfigSourceRepoSourceArrayOutput) ElementType() reflect.Type
func (GetFunctionBuildConfigSourceRepoSourceArrayOutput) ToGetFunctionBuildConfigSourceRepoSourceArrayOutput ¶
func (o GetFunctionBuildConfigSourceRepoSourceArrayOutput) ToGetFunctionBuildConfigSourceRepoSourceArrayOutput() GetFunctionBuildConfigSourceRepoSourceArrayOutput
func (GetFunctionBuildConfigSourceRepoSourceArrayOutput) ToGetFunctionBuildConfigSourceRepoSourceArrayOutputWithContext ¶
func (o GetFunctionBuildConfigSourceRepoSourceArrayOutput) ToGetFunctionBuildConfigSourceRepoSourceArrayOutputWithContext(ctx context.Context) GetFunctionBuildConfigSourceRepoSourceArrayOutput
type GetFunctionBuildConfigSourceRepoSourceInput ¶
type GetFunctionBuildConfigSourceRepoSourceInput interface { pulumi.Input ToGetFunctionBuildConfigSourceRepoSourceOutput() GetFunctionBuildConfigSourceRepoSourceOutput ToGetFunctionBuildConfigSourceRepoSourceOutputWithContext(context.Context) GetFunctionBuildConfigSourceRepoSourceOutput }
GetFunctionBuildConfigSourceRepoSourceInput is an input type that accepts GetFunctionBuildConfigSourceRepoSourceArgs and GetFunctionBuildConfigSourceRepoSourceOutput values. You can construct a concrete instance of `GetFunctionBuildConfigSourceRepoSourceInput` via:
GetFunctionBuildConfigSourceRepoSourceArgs{...}
type GetFunctionBuildConfigSourceRepoSourceOutput ¶
type GetFunctionBuildConfigSourceRepoSourceOutput struct{ *pulumi.OutputState }
func (GetFunctionBuildConfigSourceRepoSourceOutput) BranchName ¶
func (o GetFunctionBuildConfigSourceRepoSourceOutput) BranchName() pulumi.StringOutput
Regex matching branches to build.
func (GetFunctionBuildConfigSourceRepoSourceOutput) CommitSha ¶
func (o GetFunctionBuildConfigSourceRepoSourceOutput) CommitSha() pulumi.StringOutput
Regex matching tags to build.
func (GetFunctionBuildConfigSourceRepoSourceOutput) Dir ¶
func (o GetFunctionBuildConfigSourceRepoSourceOutput) Dir() pulumi.StringOutput
Directory, relative to the source root, in which to run the build.
func (GetFunctionBuildConfigSourceRepoSourceOutput) ElementType ¶
func (GetFunctionBuildConfigSourceRepoSourceOutput) ElementType() reflect.Type
func (GetFunctionBuildConfigSourceRepoSourceOutput) InvertRegex ¶
func (o GetFunctionBuildConfigSourceRepoSourceOutput) InvertRegex() pulumi.BoolOutput
Only trigger a build if the revision regex does NOT match the revision regex.
func (GetFunctionBuildConfigSourceRepoSourceOutput) ProjectId ¶
func (o GetFunctionBuildConfigSourceRepoSourceOutput) ProjectId() pulumi.StringOutput
ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
func (GetFunctionBuildConfigSourceRepoSourceOutput) RepoName ¶
func (o GetFunctionBuildConfigSourceRepoSourceOutput) RepoName() pulumi.StringOutput
Name of the Cloud Source Repository.
func (GetFunctionBuildConfigSourceRepoSourceOutput) TagName ¶
func (o GetFunctionBuildConfigSourceRepoSourceOutput) TagName() pulumi.StringOutput
Regex matching tags to build.
func (GetFunctionBuildConfigSourceRepoSourceOutput) ToGetFunctionBuildConfigSourceRepoSourceOutput ¶
func (o GetFunctionBuildConfigSourceRepoSourceOutput) ToGetFunctionBuildConfigSourceRepoSourceOutput() GetFunctionBuildConfigSourceRepoSourceOutput
func (GetFunctionBuildConfigSourceRepoSourceOutput) ToGetFunctionBuildConfigSourceRepoSourceOutputWithContext ¶
func (o GetFunctionBuildConfigSourceRepoSourceOutput) ToGetFunctionBuildConfigSourceRepoSourceOutputWithContext(ctx context.Context) GetFunctionBuildConfigSourceRepoSourceOutput
type GetFunctionBuildConfigSourceStorageSource ¶
type GetFunctionBuildConfigSourceStorageSource struct { // Google Cloud Storage bucket containing the source Bucket string `pulumi:"bucket"` // Google Cloud Storage generation for the object. If the generation // is omitted, the latest generation will be used. Generation int `pulumi:"generation"` // Google Cloud Storage object containing the source. Object string `pulumi:"object"` }
type GetFunctionBuildConfigSourceStorageSourceArgs ¶
type GetFunctionBuildConfigSourceStorageSourceArgs struct { // Google Cloud Storage bucket containing the source Bucket pulumi.StringInput `pulumi:"bucket"` // Google Cloud Storage generation for the object. If the generation // is omitted, the latest generation will be used. Generation pulumi.IntInput `pulumi:"generation"` // Google Cloud Storage object containing the source. Object pulumi.StringInput `pulumi:"object"` }
func (GetFunctionBuildConfigSourceStorageSourceArgs) ElementType ¶
func (GetFunctionBuildConfigSourceStorageSourceArgs) ElementType() reflect.Type
func (GetFunctionBuildConfigSourceStorageSourceArgs) ToGetFunctionBuildConfigSourceStorageSourceOutput ¶
func (i GetFunctionBuildConfigSourceStorageSourceArgs) ToGetFunctionBuildConfigSourceStorageSourceOutput() GetFunctionBuildConfigSourceStorageSourceOutput
func (GetFunctionBuildConfigSourceStorageSourceArgs) ToGetFunctionBuildConfigSourceStorageSourceOutputWithContext ¶
func (i GetFunctionBuildConfigSourceStorageSourceArgs) ToGetFunctionBuildConfigSourceStorageSourceOutputWithContext(ctx context.Context) GetFunctionBuildConfigSourceStorageSourceOutput
type GetFunctionBuildConfigSourceStorageSourceArray ¶
type GetFunctionBuildConfigSourceStorageSourceArray []GetFunctionBuildConfigSourceStorageSourceInput
func (GetFunctionBuildConfigSourceStorageSourceArray) ElementType ¶
func (GetFunctionBuildConfigSourceStorageSourceArray) ElementType() reflect.Type
func (GetFunctionBuildConfigSourceStorageSourceArray) ToGetFunctionBuildConfigSourceStorageSourceArrayOutput ¶
func (i GetFunctionBuildConfigSourceStorageSourceArray) ToGetFunctionBuildConfigSourceStorageSourceArrayOutput() GetFunctionBuildConfigSourceStorageSourceArrayOutput
func (GetFunctionBuildConfigSourceStorageSourceArray) ToGetFunctionBuildConfigSourceStorageSourceArrayOutputWithContext ¶
func (i GetFunctionBuildConfigSourceStorageSourceArray) ToGetFunctionBuildConfigSourceStorageSourceArrayOutputWithContext(ctx context.Context) GetFunctionBuildConfigSourceStorageSourceArrayOutput
type GetFunctionBuildConfigSourceStorageSourceArrayInput ¶
type GetFunctionBuildConfigSourceStorageSourceArrayInput interface { pulumi.Input ToGetFunctionBuildConfigSourceStorageSourceArrayOutput() GetFunctionBuildConfigSourceStorageSourceArrayOutput ToGetFunctionBuildConfigSourceStorageSourceArrayOutputWithContext(context.Context) GetFunctionBuildConfigSourceStorageSourceArrayOutput }
GetFunctionBuildConfigSourceStorageSourceArrayInput is an input type that accepts GetFunctionBuildConfigSourceStorageSourceArray and GetFunctionBuildConfigSourceStorageSourceArrayOutput values. You can construct a concrete instance of `GetFunctionBuildConfigSourceStorageSourceArrayInput` via:
GetFunctionBuildConfigSourceStorageSourceArray{ GetFunctionBuildConfigSourceStorageSourceArgs{...} }
type GetFunctionBuildConfigSourceStorageSourceArrayOutput ¶
type GetFunctionBuildConfigSourceStorageSourceArrayOutput struct{ *pulumi.OutputState }
func (GetFunctionBuildConfigSourceStorageSourceArrayOutput) ElementType ¶
func (GetFunctionBuildConfigSourceStorageSourceArrayOutput) ElementType() reflect.Type
func (GetFunctionBuildConfigSourceStorageSourceArrayOutput) ToGetFunctionBuildConfigSourceStorageSourceArrayOutput ¶
func (o GetFunctionBuildConfigSourceStorageSourceArrayOutput) ToGetFunctionBuildConfigSourceStorageSourceArrayOutput() GetFunctionBuildConfigSourceStorageSourceArrayOutput
func (GetFunctionBuildConfigSourceStorageSourceArrayOutput) ToGetFunctionBuildConfigSourceStorageSourceArrayOutputWithContext ¶
func (o GetFunctionBuildConfigSourceStorageSourceArrayOutput) ToGetFunctionBuildConfigSourceStorageSourceArrayOutputWithContext(ctx context.Context) GetFunctionBuildConfigSourceStorageSourceArrayOutput
type GetFunctionBuildConfigSourceStorageSourceInput ¶
type GetFunctionBuildConfigSourceStorageSourceInput interface { pulumi.Input ToGetFunctionBuildConfigSourceStorageSourceOutput() GetFunctionBuildConfigSourceStorageSourceOutput ToGetFunctionBuildConfigSourceStorageSourceOutputWithContext(context.Context) GetFunctionBuildConfigSourceStorageSourceOutput }
GetFunctionBuildConfigSourceStorageSourceInput is an input type that accepts GetFunctionBuildConfigSourceStorageSourceArgs and GetFunctionBuildConfigSourceStorageSourceOutput values. You can construct a concrete instance of `GetFunctionBuildConfigSourceStorageSourceInput` via:
GetFunctionBuildConfigSourceStorageSourceArgs{...}
type GetFunctionBuildConfigSourceStorageSourceOutput ¶
type GetFunctionBuildConfigSourceStorageSourceOutput struct{ *pulumi.OutputState }
func (GetFunctionBuildConfigSourceStorageSourceOutput) Bucket ¶
func (o GetFunctionBuildConfigSourceStorageSourceOutput) Bucket() pulumi.StringOutput
Google Cloud Storage bucket containing the source
func (GetFunctionBuildConfigSourceStorageSourceOutput) ElementType ¶
func (GetFunctionBuildConfigSourceStorageSourceOutput) ElementType() reflect.Type
func (GetFunctionBuildConfigSourceStorageSourceOutput) Generation ¶
func (o GetFunctionBuildConfigSourceStorageSourceOutput) Generation() pulumi.IntOutput
Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
func (GetFunctionBuildConfigSourceStorageSourceOutput) Object ¶
func (o GetFunctionBuildConfigSourceStorageSourceOutput) Object() pulumi.StringOutput
Google Cloud Storage object containing the source.
func (GetFunctionBuildConfigSourceStorageSourceOutput) ToGetFunctionBuildConfigSourceStorageSourceOutput ¶
func (o GetFunctionBuildConfigSourceStorageSourceOutput) ToGetFunctionBuildConfigSourceStorageSourceOutput() GetFunctionBuildConfigSourceStorageSourceOutput
func (GetFunctionBuildConfigSourceStorageSourceOutput) ToGetFunctionBuildConfigSourceStorageSourceOutputWithContext ¶
func (o GetFunctionBuildConfigSourceStorageSourceOutput) ToGetFunctionBuildConfigSourceStorageSourceOutputWithContext(ctx context.Context) GetFunctionBuildConfigSourceStorageSourceOutput
type GetFunctionEventTrigger ¶
type GetFunctionEventTrigger struct { // Criteria used to filter events. EventFilters []GetFunctionEventTriggerEventFilter `pulumi:"eventFilters"` // Required. The type of event to observe. EventType string `pulumi:"eventType"` // The name of a Pub/Sub topic in the same project that will be used // as the transport topic for the event delivery. PubsubTopic string `pulumi:"pubsubTopic"` // Describes the retry policy in case of function's execution failure. // Retried execution is charged as any other execution. Possible values: ["RETRY_POLICY_UNSPECIFIED", "RETRY_POLICY_DO_NOT_RETRY", "RETRY_POLICY_RETRY"] RetryPolicy string `pulumi:"retryPolicy"` // Optional. The email of the trigger's service account. The service account // must have permission to invoke Cloud Run services. If empty, defaults to the // Compute Engine default service account: {project_number}-compute@developer.gserviceaccount.com. ServiceAccountEmail string `pulumi:"serviceAccountEmail"` // Output only. The resource name of the Eventarc trigger. Trigger string `pulumi:"trigger"` // The region that the trigger will be in. The trigger will only receive // events originating in this region. It can be the same // region as the function, a different region or multi-region, or the global // region. If not provided, defaults to the same region as the function. TriggerRegion string `pulumi:"triggerRegion"` }
type GetFunctionEventTriggerArgs ¶
type GetFunctionEventTriggerArgs struct { // Criteria used to filter events. EventFilters GetFunctionEventTriggerEventFilterArrayInput `pulumi:"eventFilters"` // Required. The type of event to observe. EventType pulumi.StringInput `pulumi:"eventType"` // The name of a Pub/Sub topic in the same project that will be used // as the transport topic for the event delivery. PubsubTopic pulumi.StringInput `pulumi:"pubsubTopic"` // Describes the retry policy in case of function's execution failure. // Retried execution is charged as any other execution. Possible values: ["RETRY_POLICY_UNSPECIFIED", "RETRY_POLICY_DO_NOT_RETRY", "RETRY_POLICY_RETRY"] RetryPolicy pulumi.StringInput `pulumi:"retryPolicy"` // Optional. The email of the trigger's service account. The service account // must have permission to invoke Cloud Run services. If empty, defaults to the // Compute Engine default service account: {project_number}-compute@developer.gserviceaccount.com. ServiceAccountEmail pulumi.StringInput `pulumi:"serviceAccountEmail"` // Output only. The resource name of the Eventarc trigger. Trigger pulumi.StringInput `pulumi:"trigger"` // The region that the trigger will be in. The trigger will only receive // events originating in this region. It can be the same // region as the function, a different region or multi-region, or the global // region. If not provided, defaults to the same region as the function. TriggerRegion pulumi.StringInput `pulumi:"triggerRegion"` }
func (GetFunctionEventTriggerArgs) ElementType ¶
func (GetFunctionEventTriggerArgs) ElementType() reflect.Type
func (GetFunctionEventTriggerArgs) ToGetFunctionEventTriggerOutput ¶
func (i GetFunctionEventTriggerArgs) ToGetFunctionEventTriggerOutput() GetFunctionEventTriggerOutput
func (GetFunctionEventTriggerArgs) ToGetFunctionEventTriggerOutputWithContext ¶
func (i GetFunctionEventTriggerArgs) ToGetFunctionEventTriggerOutputWithContext(ctx context.Context) GetFunctionEventTriggerOutput
type GetFunctionEventTriggerArray ¶
type GetFunctionEventTriggerArray []GetFunctionEventTriggerInput
func (GetFunctionEventTriggerArray) ElementType ¶
func (GetFunctionEventTriggerArray) ElementType() reflect.Type
func (GetFunctionEventTriggerArray) ToGetFunctionEventTriggerArrayOutput ¶
func (i GetFunctionEventTriggerArray) ToGetFunctionEventTriggerArrayOutput() GetFunctionEventTriggerArrayOutput
func (GetFunctionEventTriggerArray) ToGetFunctionEventTriggerArrayOutputWithContext ¶
func (i GetFunctionEventTriggerArray) ToGetFunctionEventTriggerArrayOutputWithContext(ctx context.Context) GetFunctionEventTriggerArrayOutput
type GetFunctionEventTriggerArrayInput ¶
type GetFunctionEventTriggerArrayInput interface { pulumi.Input ToGetFunctionEventTriggerArrayOutput() GetFunctionEventTriggerArrayOutput ToGetFunctionEventTriggerArrayOutputWithContext(context.Context) GetFunctionEventTriggerArrayOutput }
GetFunctionEventTriggerArrayInput is an input type that accepts GetFunctionEventTriggerArray and GetFunctionEventTriggerArrayOutput values. You can construct a concrete instance of `GetFunctionEventTriggerArrayInput` via:
GetFunctionEventTriggerArray{ GetFunctionEventTriggerArgs{...} }
type GetFunctionEventTriggerArrayOutput ¶
type GetFunctionEventTriggerArrayOutput struct{ *pulumi.OutputState }
func (GetFunctionEventTriggerArrayOutput) ElementType ¶
func (GetFunctionEventTriggerArrayOutput) ElementType() reflect.Type
func (GetFunctionEventTriggerArrayOutput) Index ¶
func (o GetFunctionEventTriggerArrayOutput) Index(i pulumi.IntInput) GetFunctionEventTriggerOutput
func (GetFunctionEventTriggerArrayOutput) ToGetFunctionEventTriggerArrayOutput ¶
func (o GetFunctionEventTriggerArrayOutput) ToGetFunctionEventTriggerArrayOutput() GetFunctionEventTriggerArrayOutput
func (GetFunctionEventTriggerArrayOutput) ToGetFunctionEventTriggerArrayOutputWithContext ¶
func (o GetFunctionEventTriggerArrayOutput) ToGetFunctionEventTriggerArrayOutputWithContext(ctx context.Context) GetFunctionEventTriggerArrayOutput
type GetFunctionEventTriggerEventFilter ¶
type GetFunctionEventTriggerEventFilter struct { // 'Required. The name of a CloudEvents attribute. // Currently, only a subset of attributes are supported for filtering. Use the 'gcloud eventarc providers describe' command to learn more about events and their attributes. // Do not filter for the 'type' attribute here, as this is already achieved by the resource's 'event_type' attribute. Attribute string `pulumi:"attribute"` // Optional. The operator used for matching the events with the value of // the filter. If not specified, only events that have an exact key-value // pair specified in the filter are matched. // The only allowed value is 'match-path-pattern'. // [See documentation on path patterns here](https://cloud.google.com/eventarc/docs/path-patterns)' Operator string `pulumi:"operator"` // Required. The value for the attribute. // If the operator field is set as 'match-path-pattern', this value can be a path pattern instead of an exact value. Value string `pulumi:"value"` }
type GetFunctionEventTriggerEventFilterArgs ¶
type GetFunctionEventTriggerEventFilterArgs struct { // 'Required. The name of a CloudEvents attribute. // Currently, only a subset of attributes are supported for filtering. Use the 'gcloud eventarc providers describe' command to learn more about events and their attributes. // Do not filter for the 'type' attribute here, as this is already achieved by the resource's 'event_type' attribute. Attribute pulumi.StringInput `pulumi:"attribute"` // Optional. The operator used for matching the events with the value of // the filter. If not specified, only events that have an exact key-value // pair specified in the filter are matched. // The only allowed value is 'match-path-pattern'. // [See documentation on path patterns here](https://cloud.google.com/eventarc/docs/path-patterns)' Operator pulumi.StringInput `pulumi:"operator"` // Required. The value for the attribute. // If the operator field is set as 'match-path-pattern', this value can be a path pattern instead of an exact value. Value pulumi.StringInput `pulumi:"value"` }
func (GetFunctionEventTriggerEventFilterArgs) ElementType ¶
func (GetFunctionEventTriggerEventFilterArgs) ElementType() reflect.Type
func (GetFunctionEventTriggerEventFilterArgs) ToGetFunctionEventTriggerEventFilterOutput ¶
func (i GetFunctionEventTriggerEventFilterArgs) ToGetFunctionEventTriggerEventFilterOutput() GetFunctionEventTriggerEventFilterOutput
func (GetFunctionEventTriggerEventFilterArgs) ToGetFunctionEventTriggerEventFilterOutputWithContext ¶
func (i GetFunctionEventTriggerEventFilterArgs) ToGetFunctionEventTriggerEventFilterOutputWithContext(ctx context.Context) GetFunctionEventTriggerEventFilterOutput
type GetFunctionEventTriggerEventFilterArray ¶
type GetFunctionEventTriggerEventFilterArray []GetFunctionEventTriggerEventFilterInput
func (GetFunctionEventTriggerEventFilterArray) ElementType ¶
func (GetFunctionEventTriggerEventFilterArray) ElementType() reflect.Type
func (GetFunctionEventTriggerEventFilterArray) ToGetFunctionEventTriggerEventFilterArrayOutput ¶
func (i GetFunctionEventTriggerEventFilterArray) ToGetFunctionEventTriggerEventFilterArrayOutput() GetFunctionEventTriggerEventFilterArrayOutput
func (GetFunctionEventTriggerEventFilterArray) ToGetFunctionEventTriggerEventFilterArrayOutputWithContext ¶
func (i GetFunctionEventTriggerEventFilterArray) ToGetFunctionEventTriggerEventFilterArrayOutputWithContext(ctx context.Context) GetFunctionEventTriggerEventFilterArrayOutput
type GetFunctionEventTriggerEventFilterArrayInput ¶
type GetFunctionEventTriggerEventFilterArrayInput interface { pulumi.Input ToGetFunctionEventTriggerEventFilterArrayOutput() GetFunctionEventTriggerEventFilterArrayOutput ToGetFunctionEventTriggerEventFilterArrayOutputWithContext(context.Context) GetFunctionEventTriggerEventFilterArrayOutput }
GetFunctionEventTriggerEventFilterArrayInput is an input type that accepts GetFunctionEventTriggerEventFilterArray and GetFunctionEventTriggerEventFilterArrayOutput values. You can construct a concrete instance of `GetFunctionEventTriggerEventFilterArrayInput` via:
GetFunctionEventTriggerEventFilterArray{ GetFunctionEventTriggerEventFilterArgs{...} }
type GetFunctionEventTriggerEventFilterArrayOutput ¶
type GetFunctionEventTriggerEventFilterArrayOutput struct{ *pulumi.OutputState }
func (GetFunctionEventTriggerEventFilterArrayOutput) ElementType ¶
func (GetFunctionEventTriggerEventFilterArrayOutput) ElementType() reflect.Type
func (GetFunctionEventTriggerEventFilterArrayOutput) ToGetFunctionEventTriggerEventFilterArrayOutput ¶
func (o GetFunctionEventTriggerEventFilterArrayOutput) ToGetFunctionEventTriggerEventFilterArrayOutput() GetFunctionEventTriggerEventFilterArrayOutput
func (GetFunctionEventTriggerEventFilterArrayOutput) ToGetFunctionEventTriggerEventFilterArrayOutputWithContext ¶
func (o GetFunctionEventTriggerEventFilterArrayOutput) ToGetFunctionEventTriggerEventFilterArrayOutputWithContext(ctx context.Context) GetFunctionEventTriggerEventFilterArrayOutput
type GetFunctionEventTriggerEventFilterInput ¶
type GetFunctionEventTriggerEventFilterInput interface { pulumi.Input ToGetFunctionEventTriggerEventFilterOutput() GetFunctionEventTriggerEventFilterOutput ToGetFunctionEventTriggerEventFilterOutputWithContext(context.Context) GetFunctionEventTriggerEventFilterOutput }
GetFunctionEventTriggerEventFilterInput is an input type that accepts GetFunctionEventTriggerEventFilterArgs and GetFunctionEventTriggerEventFilterOutput values. You can construct a concrete instance of `GetFunctionEventTriggerEventFilterInput` via:
GetFunctionEventTriggerEventFilterArgs{...}
type GetFunctionEventTriggerEventFilterOutput ¶
type GetFunctionEventTriggerEventFilterOutput struct{ *pulumi.OutputState }
func (GetFunctionEventTriggerEventFilterOutput) Attribute ¶
func (o GetFunctionEventTriggerEventFilterOutput) Attribute() pulumi.StringOutput
'Required. The name of a CloudEvents attribute. Currently, only a subset of attributes are supported for filtering. Use the 'gcloud eventarc providers describe' command to learn more about events and their attributes. Do not filter for the 'type' attribute here, as this is already achieved by the resource's 'event_type' attribute.
func (GetFunctionEventTriggerEventFilterOutput) ElementType ¶
func (GetFunctionEventTriggerEventFilterOutput) ElementType() reflect.Type
func (GetFunctionEventTriggerEventFilterOutput) Operator ¶
func (o GetFunctionEventTriggerEventFilterOutput) Operator() pulumi.StringOutput
Optional. The operator used for matching the events with the value of the filter. If not specified, only events that have an exact key-value pair specified in the filter are matched. The only allowed value is 'match-path-pattern'. [See documentation on path patterns here](https://cloud.google.com/eventarc/docs/path-patterns)'
func (GetFunctionEventTriggerEventFilterOutput) ToGetFunctionEventTriggerEventFilterOutput ¶
func (o GetFunctionEventTriggerEventFilterOutput) ToGetFunctionEventTriggerEventFilterOutput() GetFunctionEventTriggerEventFilterOutput
func (GetFunctionEventTriggerEventFilterOutput) ToGetFunctionEventTriggerEventFilterOutputWithContext ¶
func (o GetFunctionEventTriggerEventFilterOutput) ToGetFunctionEventTriggerEventFilterOutputWithContext(ctx context.Context) GetFunctionEventTriggerEventFilterOutput
func (GetFunctionEventTriggerEventFilterOutput) Value ¶
func (o GetFunctionEventTriggerEventFilterOutput) Value() pulumi.StringOutput
Required. The value for the attribute. If the operator field is set as 'match-path-pattern', this value can be a path pattern instead of an exact value.
type GetFunctionEventTriggerInput ¶
type GetFunctionEventTriggerInput interface { pulumi.Input ToGetFunctionEventTriggerOutput() GetFunctionEventTriggerOutput ToGetFunctionEventTriggerOutputWithContext(context.Context) GetFunctionEventTriggerOutput }
GetFunctionEventTriggerInput is an input type that accepts GetFunctionEventTriggerArgs and GetFunctionEventTriggerOutput values. You can construct a concrete instance of `GetFunctionEventTriggerInput` via:
GetFunctionEventTriggerArgs{...}
type GetFunctionEventTriggerOutput ¶
type GetFunctionEventTriggerOutput struct{ *pulumi.OutputState }
func (GetFunctionEventTriggerOutput) ElementType ¶
func (GetFunctionEventTriggerOutput) ElementType() reflect.Type
func (GetFunctionEventTriggerOutput) EventFilters ¶
func (o GetFunctionEventTriggerOutput) EventFilters() GetFunctionEventTriggerEventFilterArrayOutput
Criteria used to filter events.
func (GetFunctionEventTriggerOutput) EventType ¶
func (o GetFunctionEventTriggerOutput) EventType() pulumi.StringOutput
Required. The type of event to observe.
func (GetFunctionEventTriggerOutput) PubsubTopic ¶
func (o GetFunctionEventTriggerOutput) PubsubTopic() pulumi.StringOutput
The name of a Pub/Sub topic in the same project that will be used as the transport topic for the event delivery.
func (GetFunctionEventTriggerOutput) RetryPolicy ¶
func (o GetFunctionEventTriggerOutput) RetryPolicy() pulumi.StringOutput
Describes the retry policy in case of function's execution failure. Retried execution is charged as any other execution. Possible values: ["RETRY_POLICY_UNSPECIFIED", "RETRY_POLICY_DO_NOT_RETRY", "RETRY_POLICY_RETRY"]
func (GetFunctionEventTriggerOutput) ServiceAccountEmail ¶
func (o GetFunctionEventTriggerOutput) ServiceAccountEmail() pulumi.StringOutput
Optional. The email of the trigger's service account. The service account must have permission to invoke Cloud Run services. If empty, defaults to the Compute Engine default service account: {project_number}-compute@developer.gserviceaccount.com.
func (GetFunctionEventTriggerOutput) ToGetFunctionEventTriggerOutput ¶
func (o GetFunctionEventTriggerOutput) ToGetFunctionEventTriggerOutput() GetFunctionEventTriggerOutput
func (GetFunctionEventTriggerOutput) ToGetFunctionEventTriggerOutputWithContext ¶
func (o GetFunctionEventTriggerOutput) ToGetFunctionEventTriggerOutputWithContext(ctx context.Context) GetFunctionEventTriggerOutput
func (GetFunctionEventTriggerOutput) Trigger ¶
func (o GetFunctionEventTriggerOutput) Trigger() pulumi.StringOutput
Output only. The resource name of the Eventarc trigger.
func (GetFunctionEventTriggerOutput) TriggerRegion ¶
func (o GetFunctionEventTriggerOutput) TriggerRegion() pulumi.StringOutput
The region that the trigger will be in. The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.
type GetFunctionServiceConfig ¶
type GetFunctionServiceConfig struct { // Whether 100% of traffic is routed to the latest revision. Defaults to true. AllTrafficOnLatestRevision bool `pulumi:"allTrafficOnLatestRevision"` // The number of CPUs used in a single container instance. Default value is calculated from available memory. AvailableCpu string `pulumi:"availableCpu"` // The amount of memory available for a function. // Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is // supplied the value is interpreted as bytes. AvailableMemory string `pulumi:"availableMemory"` // Environment variables that shall be available during function execution. EnvironmentVariables map[string]string `pulumi:"environmentVariables"` // URIs of the Service deployed GcfUri string `pulumi:"gcfUri"` // Available ingress settings. Defaults to "ALLOW_ALL" if unspecified. Default value: "ALLOW_ALL" Possible values: ["ALLOW_ALL", "ALLOW_INTERNAL_ONLY", "ALLOW_INTERNAL_AND_GCLB"] IngressSettings string `pulumi:"ingressSettings"` // The limit on the maximum number of function instances that may coexist at a // given time. MaxInstanceCount int `pulumi:"maxInstanceCount"` // Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1. MaxInstanceRequestConcurrency int `pulumi:"maxInstanceRequestConcurrency"` // The limit on the minimum number of function instances that may coexist at a // given time. MinInstanceCount int `pulumi:"minInstanceCount"` // Secret environment variables configuration. SecretEnvironmentVariables []GetFunctionServiceConfigSecretEnvironmentVariable `pulumi:"secretEnvironmentVariables"` // Secret volumes configuration. SecretVolumes []GetFunctionServiceConfigSecretVolume `pulumi:"secretVolumes"` // Name of the service associated with a Function. Service string `pulumi:"service"` // The email of the service account for this function. ServiceAccountEmail string `pulumi:"serviceAccountEmail"` // The function execution timeout. Execution is considered failed and // can be terminated if the function is not completed at the end of the // timeout period. Defaults to 60 seconds. TimeoutSeconds int `pulumi:"timeoutSeconds"` // URI of the Service deployed. Uri string `pulumi:"uri"` // The Serverless VPC Access connector that this cloud function can connect to. VpcConnector string `pulumi:"vpcConnector"` // Available egress settings. Possible values: ["VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED", "PRIVATE_RANGES_ONLY", "ALL_TRAFFIC"] VpcConnectorEgressSettings string `pulumi:"vpcConnectorEgressSettings"` }
type GetFunctionServiceConfigArgs ¶
type GetFunctionServiceConfigArgs struct { // Whether 100% of traffic is routed to the latest revision. Defaults to true. AllTrafficOnLatestRevision pulumi.BoolInput `pulumi:"allTrafficOnLatestRevision"` // The number of CPUs used in a single container instance. Default value is calculated from available memory. AvailableCpu pulumi.StringInput `pulumi:"availableCpu"` // The amount of memory available for a function. // Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is // supplied the value is interpreted as bytes. AvailableMemory pulumi.StringInput `pulumi:"availableMemory"` // Environment variables that shall be available during function execution. EnvironmentVariables pulumi.StringMapInput `pulumi:"environmentVariables"` // URIs of the Service deployed GcfUri pulumi.StringInput `pulumi:"gcfUri"` // Available ingress settings. Defaults to "ALLOW_ALL" if unspecified. Default value: "ALLOW_ALL" Possible values: ["ALLOW_ALL", "ALLOW_INTERNAL_ONLY", "ALLOW_INTERNAL_AND_GCLB"] IngressSettings pulumi.StringInput `pulumi:"ingressSettings"` // The limit on the maximum number of function instances that may coexist at a // given time. MaxInstanceCount pulumi.IntInput `pulumi:"maxInstanceCount"` // Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1. MaxInstanceRequestConcurrency pulumi.IntInput `pulumi:"maxInstanceRequestConcurrency"` // The limit on the minimum number of function instances that may coexist at a // given time. MinInstanceCount pulumi.IntInput `pulumi:"minInstanceCount"` // Secret environment variables configuration. SecretEnvironmentVariables GetFunctionServiceConfigSecretEnvironmentVariableArrayInput `pulumi:"secretEnvironmentVariables"` // Secret volumes configuration. SecretVolumes GetFunctionServiceConfigSecretVolumeArrayInput `pulumi:"secretVolumes"` // Name of the service associated with a Function. Service pulumi.StringInput `pulumi:"service"` // The email of the service account for this function. ServiceAccountEmail pulumi.StringInput `pulumi:"serviceAccountEmail"` // The function execution timeout. Execution is considered failed and // can be terminated if the function is not completed at the end of the // timeout period. Defaults to 60 seconds. TimeoutSeconds pulumi.IntInput `pulumi:"timeoutSeconds"` // URI of the Service deployed. Uri pulumi.StringInput `pulumi:"uri"` // The Serverless VPC Access connector that this cloud function can connect to. VpcConnector pulumi.StringInput `pulumi:"vpcConnector"` // Available egress settings. Possible values: ["VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED", "PRIVATE_RANGES_ONLY", "ALL_TRAFFIC"] VpcConnectorEgressSettings pulumi.StringInput `pulumi:"vpcConnectorEgressSettings"` }
func (GetFunctionServiceConfigArgs) ElementType ¶
func (GetFunctionServiceConfigArgs) ElementType() reflect.Type
func (GetFunctionServiceConfigArgs) ToGetFunctionServiceConfigOutput ¶
func (i GetFunctionServiceConfigArgs) ToGetFunctionServiceConfigOutput() GetFunctionServiceConfigOutput
func (GetFunctionServiceConfigArgs) ToGetFunctionServiceConfigOutputWithContext ¶
func (i GetFunctionServiceConfigArgs) ToGetFunctionServiceConfigOutputWithContext(ctx context.Context) GetFunctionServiceConfigOutput
type GetFunctionServiceConfigArray ¶
type GetFunctionServiceConfigArray []GetFunctionServiceConfigInput
func (GetFunctionServiceConfigArray) ElementType ¶
func (GetFunctionServiceConfigArray) ElementType() reflect.Type
func (GetFunctionServiceConfigArray) ToGetFunctionServiceConfigArrayOutput ¶
func (i GetFunctionServiceConfigArray) ToGetFunctionServiceConfigArrayOutput() GetFunctionServiceConfigArrayOutput
func (GetFunctionServiceConfigArray) ToGetFunctionServiceConfigArrayOutputWithContext ¶
func (i GetFunctionServiceConfigArray) ToGetFunctionServiceConfigArrayOutputWithContext(ctx context.Context) GetFunctionServiceConfigArrayOutput
type GetFunctionServiceConfigArrayInput ¶
type GetFunctionServiceConfigArrayInput interface { pulumi.Input ToGetFunctionServiceConfigArrayOutput() GetFunctionServiceConfigArrayOutput ToGetFunctionServiceConfigArrayOutputWithContext(context.Context) GetFunctionServiceConfigArrayOutput }
GetFunctionServiceConfigArrayInput is an input type that accepts GetFunctionServiceConfigArray and GetFunctionServiceConfigArrayOutput values. You can construct a concrete instance of `GetFunctionServiceConfigArrayInput` via:
GetFunctionServiceConfigArray{ GetFunctionServiceConfigArgs{...} }
type GetFunctionServiceConfigArrayOutput ¶
type GetFunctionServiceConfigArrayOutput struct{ *pulumi.OutputState }
func (GetFunctionServiceConfigArrayOutput) ElementType ¶
func (GetFunctionServiceConfigArrayOutput) ElementType() reflect.Type
func (GetFunctionServiceConfigArrayOutput) Index ¶
func (o GetFunctionServiceConfigArrayOutput) Index(i pulumi.IntInput) GetFunctionServiceConfigOutput
func (GetFunctionServiceConfigArrayOutput) ToGetFunctionServiceConfigArrayOutput ¶
func (o GetFunctionServiceConfigArrayOutput) ToGetFunctionServiceConfigArrayOutput() GetFunctionServiceConfigArrayOutput
func (GetFunctionServiceConfigArrayOutput) ToGetFunctionServiceConfigArrayOutputWithContext ¶
func (o GetFunctionServiceConfigArrayOutput) ToGetFunctionServiceConfigArrayOutputWithContext(ctx context.Context) GetFunctionServiceConfigArrayOutput
type GetFunctionServiceConfigInput ¶
type GetFunctionServiceConfigInput interface { pulumi.Input ToGetFunctionServiceConfigOutput() GetFunctionServiceConfigOutput ToGetFunctionServiceConfigOutputWithContext(context.Context) GetFunctionServiceConfigOutput }
GetFunctionServiceConfigInput is an input type that accepts GetFunctionServiceConfigArgs and GetFunctionServiceConfigOutput values. You can construct a concrete instance of `GetFunctionServiceConfigInput` via:
GetFunctionServiceConfigArgs{...}
type GetFunctionServiceConfigOutput ¶
type GetFunctionServiceConfigOutput struct{ *pulumi.OutputState }
func (GetFunctionServiceConfigOutput) AllTrafficOnLatestRevision ¶
func (o GetFunctionServiceConfigOutput) AllTrafficOnLatestRevision() pulumi.BoolOutput
Whether 100% of traffic is routed to the latest revision. Defaults to true.
func (GetFunctionServiceConfigOutput) AvailableCpu ¶
func (o GetFunctionServiceConfigOutput) AvailableCpu() pulumi.StringOutput
The number of CPUs used in a single container instance. Default value is calculated from available memory.
func (GetFunctionServiceConfigOutput) AvailableMemory ¶
func (o GetFunctionServiceConfigOutput) AvailableMemory() pulumi.StringOutput
The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes.
func (GetFunctionServiceConfigOutput) ElementType ¶
func (GetFunctionServiceConfigOutput) ElementType() reflect.Type
func (GetFunctionServiceConfigOutput) EnvironmentVariables ¶
func (o GetFunctionServiceConfigOutput) EnvironmentVariables() pulumi.StringMapOutput
Environment variables that shall be available during function execution.
func (GetFunctionServiceConfigOutput) GcfUri ¶
func (o GetFunctionServiceConfigOutput) GcfUri() pulumi.StringOutput
URIs of the Service deployed
func (GetFunctionServiceConfigOutput) IngressSettings ¶
func (o GetFunctionServiceConfigOutput) IngressSettings() pulumi.StringOutput
Available ingress settings. Defaults to "ALLOW_ALL" if unspecified. Default value: "ALLOW_ALL" Possible values: ["ALLOW_ALL", "ALLOW_INTERNAL_ONLY", "ALLOW_INTERNAL_AND_GCLB"]
func (GetFunctionServiceConfigOutput) MaxInstanceCount ¶
func (o GetFunctionServiceConfigOutput) MaxInstanceCount() pulumi.IntOutput
The limit on the maximum number of function instances that may coexist at a given time.
func (GetFunctionServiceConfigOutput) MaxInstanceRequestConcurrency ¶
func (o GetFunctionServiceConfigOutput) MaxInstanceRequestConcurrency() pulumi.IntOutput
Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1.
func (GetFunctionServiceConfigOutput) MinInstanceCount ¶
func (o GetFunctionServiceConfigOutput) MinInstanceCount() pulumi.IntOutput
The limit on the minimum number of function instances that may coexist at a given time.
func (GetFunctionServiceConfigOutput) SecretEnvironmentVariables ¶
func (o GetFunctionServiceConfigOutput) SecretEnvironmentVariables() GetFunctionServiceConfigSecretEnvironmentVariableArrayOutput
Secret environment variables configuration.
func (GetFunctionServiceConfigOutput) SecretVolumes ¶
func (o GetFunctionServiceConfigOutput) SecretVolumes() GetFunctionServiceConfigSecretVolumeArrayOutput
Secret volumes configuration.
func (GetFunctionServiceConfigOutput) Service ¶
func (o GetFunctionServiceConfigOutput) Service() pulumi.StringOutput
Name of the service associated with a Function.
func (GetFunctionServiceConfigOutput) ServiceAccountEmail ¶
func (o GetFunctionServiceConfigOutput) ServiceAccountEmail() pulumi.StringOutput
The email of the service account for this function.
func (GetFunctionServiceConfigOutput) TimeoutSeconds ¶
func (o GetFunctionServiceConfigOutput) TimeoutSeconds() pulumi.IntOutput
The function execution timeout. Execution is considered failed and can be terminated if the function is not completed at the end of the timeout period. Defaults to 60 seconds.
func (GetFunctionServiceConfigOutput) ToGetFunctionServiceConfigOutput ¶
func (o GetFunctionServiceConfigOutput) ToGetFunctionServiceConfigOutput() GetFunctionServiceConfigOutput
func (GetFunctionServiceConfigOutput) ToGetFunctionServiceConfigOutputWithContext ¶
func (o GetFunctionServiceConfigOutput) ToGetFunctionServiceConfigOutputWithContext(ctx context.Context) GetFunctionServiceConfigOutput
func (GetFunctionServiceConfigOutput) Uri ¶
func (o GetFunctionServiceConfigOutput) Uri() pulumi.StringOutput
URI of the Service deployed.
func (GetFunctionServiceConfigOutput) VpcConnector ¶
func (o GetFunctionServiceConfigOutput) VpcConnector() pulumi.StringOutput
The Serverless VPC Access connector that this cloud function can connect to.
func (GetFunctionServiceConfigOutput) VpcConnectorEgressSettings ¶
func (o GetFunctionServiceConfigOutput) VpcConnectorEgressSettings() pulumi.StringOutput
Available egress settings. Possible values: ["VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED", "PRIVATE_RANGES_ONLY", "ALL_TRAFFIC"]
type GetFunctionServiceConfigSecretEnvironmentVariable ¶
type GetFunctionServiceConfigSecretEnvironmentVariable struct { // Name of the environment variable. Key string `pulumi:"key"` // Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function. ProjectId string `pulumi:"projectId"` // Name of the secret in secret manager (not the full resource name). Secret string `pulumi:"secret"` // Version of the secret (version number or the string 'latest'). It is recommended to use a numeric version for secret environment variables as any updates to the secret value is not reflected until new instances start. Version string `pulumi:"version"` }
type GetFunctionServiceConfigSecretEnvironmentVariableArgs ¶
type GetFunctionServiceConfigSecretEnvironmentVariableArgs struct { // Name of the environment variable. Key pulumi.StringInput `pulumi:"key"` // Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function. ProjectId pulumi.StringInput `pulumi:"projectId"` // Name of the secret in secret manager (not the full resource name). Secret pulumi.StringInput `pulumi:"secret"` // Version of the secret (version number or the string 'latest'). It is recommended to use a numeric version for secret environment variables as any updates to the secret value is not reflected until new instances start. Version pulumi.StringInput `pulumi:"version"` }
func (GetFunctionServiceConfigSecretEnvironmentVariableArgs) ElementType ¶
func (GetFunctionServiceConfigSecretEnvironmentVariableArgs) ElementType() reflect.Type
func (GetFunctionServiceConfigSecretEnvironmentVariableArgs) ToGetFunctionServiceConfigSecretEnvironmentVariableOutput ¶
func (i GetFunctionServiceConfigSecretEnvironmentVariableArgs) ToGetFunctionServiceConfigSecretEnvironmentVariableOutput() GetFunctionServiceConfigSecretEnvironmentVariableOutput
func (GetFunctionServiceConfigSecretEnvironmentVariableArgs) ToGetFunctionServiceConfigSecretEnvironmentVariableOutputWithContext ¶
func (i GetFunctionServiceConfigSecretEnvironmentVariableArgs) ToGetFunctionServiceConfigSecretEnvironmentVariableOutputWithContext(ctx context.Context) GetFunctionServiceConfigSecretEnvironmentVariableOutput
type GetFunctionServiceConfigSecretEnvironmentVariableArray ¶
type GetFunctionServiceConfigSecretEnvironmentVariableArray []GetFunctionServiceConfigSecretEnvironmentVariableInput
func (GetFunctionServiceConfigSecretEnvironmentVariableArray) ElementType ¶
func (GetFunctionServiceConfigSecretEnvironmentVariableArray) ElementType() reflect.Type
func (GetFunctionServiceConfigSecretEnvironmentVariableArray) ToGetFunctionServiceConfigSecretEnvironmentVariableArrayOutput ¶
func (i GetFunctionServiceConfigSecretEnvironmentVariableArray) ToGetFunctionServiceConfigSecretEnvironmentVariableArrayOutput() GetFunctionServiceConfigSecretEnvironmentVariableArrayOutput
func (GetFunctionServiceConfigSecretEnvironmentVariableArray) ToGetFunctionServiceConfigSecretEnvironmentVariableArrayOutputWithContext ¶
func (i GetFunctionServiceConfigSecretEnvironmentVariableArray) ToGetFunctionServiceConfigSecretEnvironmentVariableArrayOutputWithContext(ctx context.Context) GetFunctionServiceConfigSecretEnvironmentVariableArrayOutput
type GetFunctionServiceConfigSecretEnvironmentVariableArrayInput ¶
type GetFunctionServiceConfigSecretEnvironmentVariableArrayInput interface { pulumi.Input ToGetFunctionServiceConfigSecretEnvironmentVariableArrayOutput() GetFunctionServiceConfigSecretEnvironmentVariableArrayOutput ToGetFunctionServiceConfigSecretEnvironmentVariableArrayOutputWithContext(context.Context) GetFunctionServiceConfigSecretEnvironmentVariableArrayOutput }
GetFunctionServiceConfigSecretEnvironmentVariableArrayInput is an input type that accepts GetFunctionServiceConfigSecretEnvironmentVariableArray and GetFunctionServiceConfigSecretEnvironmentVariableArrayOutput values. You can construct a concrete instance of `GetFunctionServiceConfigSecretEnvironmentVariableArrayInput` via:
GetFunctionServiceConfigSecretEnvironmentVariableArray{ GetFunctionServiceConfigSecretEnvironmentVariableArgs{...} }
type GetFunctionServiceConfigSecretEnvironmentVariableArrayOutput ¶
type GetFunctionServiceConfigSecretEnvironmentVariableArrayOutput struct{ *pulumi.OutputState }
func (GetFunctionServiceConfigSecretEnvironmentVariableArrayOutput) ElementType ¶
func (GetFunctionServiceConfigSecretEnvironmentVariableArrayOutput) ElementType() reflect.Type
func (GetFunctionServiceConfigSecretEnvironmentVariableArrayOutput) ToGetFunctionServiceConfigSecretEnvironmentVariableArrayOutput ¶
func (o GetFunctionServiceConfigSecretEnvironmentVariableArrayOutput) ToGetFunctionServiceConfigSecretEnvironmentVariableArrayOutput() GetFunctionServiceConfigSecretEnvironmentVariableArrayOutput
func (GetFunctionServiceConfigSecretEnvironmentVariableArrayOutput) ToGetFunctionServiceConfigSecretEnvironmentVariableArrayOutputWithContext ¶
func (o GetFunctionServiceConfigSecretEnvironmentVariableArrayOutput) ToGetFunctionServiceConfigSecretEnvironmentVariableArrayOutputWithContext(ctx context.Context) GetFunctionServiceConfigSecretEnvironmentVariableArrayOutput
type GetFunctionServiceConfigSecretEnvironmentVariableInput ¶
type GetFunctionServiceConfigSecretEnvironmentVariableInput interface { pulumi.Input ToGetFunctionServiceConfigSecretEnvironmentVariableOutput() GetFunctionServiceConfigSecretEnvironmentVariableOutput ToGetFunctionServiceConfigSecretEnvironmentVariableOutputWithContext(context.Context) GetFunctionServiceConfigSecretEnvironmentVariableOutput }
GetFunctionServiceConfigSecretEnvironmentVariableInput is an input type that accepts GetFunctionServiceConfigSecretEnvironmentVariableArgs and GetFunctionServiceConfigSecretEnvironmentVariableOutput values. You can construct a concrete instance of `GetFunctionServiceConfigSecretEnvironmentVariableInput` via:
GetFunctionServiceConfigSecretEnvironmentVariableArgs{...}
type GetFunctionServiceConfigSecretEnvironmentVariableOutput ¶
type GetFunctionServiceConfigSecretEnvironmentVariableOutput struct{ *pulumi.OutputState }
func (GetFunctionServiceConfigSecretEnvironmentVariableOutput) ElementType ¶
func (GetFunctionServiceConfigSecretEnvironmentVariableOutput) ElementType() reflect.Type
func (GetFunctionServiceConfigSecretEnvironmentVariableOutput) Key ¶
Name of the environment variable.
func (GetFunctionServiceConfigSecretEnvironmentVariableOutput) ProjectId ¶
func (o GetFunctionServiceConfigSecretEnvironmentVariableOutput) ProjectId() pulumi.StringOutput
Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.
func (GetFunctionServiceConfigSecretEnvironmentVariableOutput) Secret ¶
func (o GetFunctionServiceConfigSecretEnvironmentVariableOutput) Secret() pulumi.StringOutput
Name of the secret in secret manager (not the full resource name).
func (GetFunctionServiceConfigSecretEnvironmentVariableOutput) ToGetFunctionServiceConfigSecretEnvironmentVariableOutput ¶
func (o GetFunctionServiceConfigSecretEnvironmentVariableOutput) ToGetFunctionServiceConfigSecretEnvironmentVariableOutput() GetFunctionServiceConfigSecretEnvironmentVariableOutput
func (GetFunctionServiceConfigSecretEnvironmentVariableOutput) ToGetFunctionServiceConfigSecretEnvironmentVariableOutputWithContext ¶
func (o GetFunctionServiceConfigSecretEnvironmentVariableOutput) ToGetFunctionServiceConfigSecretEnvironmentVariableOutputWithContext(ctx context.Context) GetFunctionServiceConfigSecretEnvironmentVariableOutput
func (GetFunctionServiceConfigSecretEnvironmentVariableOutput) Version ¶
func (o GetFunctionServiceConfigSecretEnvironmentVariableOutput) Version() pulumi.StringOutput
Version of the secret (version number or the string 'latest'). It is recommended to use a numeric version for secret environment variables as any updates to the secret value is not reflected until new instances start.
type GetFunctionServiceConfigSecretVolume ¶
type GetFunctionServiceConfigSecretVolume struct { // The path within the container to mount the secret volume. For example, setting the mountPath as /etc/secrets would mount the secret value files under the /etc/secrets directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount path: /etc/secrets MountPath string `pulumi:"mountPath"` // Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function. ProjectId string `pulumi:"projectId"` // Name of the secret in secret manager (not the full resource name). Secret string `pulumi:"secret"` // List of secret versions to mount for this secret. If empty, the latest version of the secret will be made available in a file named after the secret under the mount point.' Versions []GetFunctionServiceConfigSecretVolumeVersion `pulumi:"versions"` }
type GetFunctionServiceConfigSecretVolumeArgs ¶
type GetFunctionServiceConfigSecretVolumeArgs struct { // The path within the container to mount the secret volume. For example, setting the mountPath as /etc/secrets would mount the secret value files under the /etc/secrets directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount path: /etc/secrets MountPath pulumi.StringInput `pulumi:"mountPath"` // Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function. ProjectId pulumi.StringInput `pulumi:"projectId"` // Name of the secret in secret manager (not the full resource name). Secret pulumi.StringInput `pulumi:"secret"` // List of secret versions to mount for this secret. If empty, the latest version of the secret will be made available in a file named after the secret under the mount point.' Versions GetFunctionServiceConfigSecretVolumeVersionArrayInput `pulumi:"versions"` }
func (GetFunctionServiceConfigSecretVolumeArgs) ElementType ¶
func (GetFunctionServiceConfigSecretVolumeArgs) ElementType() reflect.Type
func (GetFunctionServiceConfigSecretVolumeArgs) ToGetFunctionServiceConfigSecretVolumeOutput ¶
func (i GetFunctionServiceConfigSecretVolumeArgs) ToGetFunctionServiceConfigSecretVolumeOutput() GetFunctionServiceConfigSecretVolumeOutput
func (GetFunctionServiceConfigSecretVolumeArgs) ToGetFunctionServiceConfigSecretVolumeOutputWithContext ¶
func (i GetFunctionServiceConfigSecretVolumeArgs) ToGetFunctionServiceConfigSecretVolumeOutputWithContext(ctx context.Context) GetFunctionServiceConfigSecretVolumeOutput
type GetFunctionServiceConfigSecretVolumeArray ¶
type GetFunctionServiceConfigSecretVolumeArray []GetFunctionServiceConfigSecretVolumeInput
func (GetFunctionServiceConfigSecretVolumeArray) ElementType ¶
func (GetFunctionServiceConfigSecretVolumeArray) ElementType() reflect.Type
func (GetFunctionServiceConfigSecretVolumeArray) ToGetFunctionServiceConfigSecretVolumeArrayOutput ¶
func (i GetFunctionServiceConfigSecretVolumeArray) ToGetFunctionServiceConfigSecretVolumeArrayOutput() GetFunctionServiceConfigSecretVolumeArrayOutput
func (GetFunctionServiceConfigSecretVolumeArray) ToGetFunctionServiceConfigSecretVolumeArrayOutputWithContext ¶
func (i GetFunctionServiceConfigSecretVolumeArray) ToGetFunctionServiceConfigSecretVolumeArrayOutputWithContext(ctx context.Context) GetFunctionServiceConfigSecretVolumeArrayOutput
type GetFunctionServiceConfigSecretVolumeArrayInput ¶
type GetFunctionServiceConfigSecretVolumeArrayInput interface { pulumi.Input ToGetFunctionServiceConfigSecretVolumeArrayOutput() GetFunctionServiceConfigSecretVolumeArrayOutput ToGetFunctionServiceConfigSecretVolumeArrayOutputWithContext(context.Context) GetFunctionServiceConfigSecretVolumeArrayOutput }
GetFunctionServiceConfigSecretVolumeArrayInput is an input type that accepts GetFunctionServiceConfigSecretVolumeArray and GetFunctionServiceConfigSecretVolumeArrayOutput values. You can construct a concrete instance of `GetFunctionServiceConfigSecretVolumeArrayInput` via:
GetFunctionServiceConfigSecretVolumeArray{ GetFunctionServiceConfigSecretVolumeArgs{...} }
type GetFunctionServiceConfigSecretVolumeArrayOutput ¶
type GetFunctionServiceConfigSecretVolumeArrayOutput struct{ *pulumi.OutputState }
func (GetFunctionServiceConfigSecretVolumeArrayOutput) ElementType ¶
func (GetFunctionServiceConfigSecretVolumeArrayOutput) ElementType() reflect.Type
func (GetFunctionServiceConfigSecretVolumeArrayOutput) ToGetFunctionServiceConfigSecretVolumeArrayOutput ¶
func (o GetFunctionServiceConfigSecretVolumeArrayOutput) ToGetFunctionServiceConfigSecretVolumeArrayOutput() GetFunctionServiceConfigSecretVolumeArrayOutput
func (GetFunctionServiceConfigSecretVolumeArrayOutput) ToGetFunctionServiceConfigSecretVolumeArrayOutputWithContext ¶
func (o GetFunctionServiceConfigSecretVolumeArrayOutput) ToGetFunctionServiceConfigSecretVolumeArrayOutputWithContext(ctx context.Context) GetFunctionServiceConfigSecretVolumeArrayOutput
type GetFunctionServiceConfigSecretVolumeInput ¶
type GetFunctionServiceConfigSecretVolumeInput interface { pulumi.Input ToGetFunctionServiceConfigSecretVolumeOutput() GetFunctionServiceConfigSecretVolumeOutput ToGetFunctionServiceConfigSecretVolumeOutputWithContext(context.Context) GetFunctionServiceConfigSecretVolumeOutput }
GetFunctionServiceConfigSecretVolumeInput is an input type that accepts GetFunctionServiceConfigSecretVolumeArgs and GetFunctionServiceConfigSecretVolumeOutput values. You can construct a concrete instance of `GetFunctionServiceConfigSecretVolumeInput` via:
GetFunctionServiceConfigSecretVolumeArgs{...}
type GetFunctionServiceConfigSecretVolumeOutput ¶
type GetFunctionServiceConfigSecretVolumeOutput struct{ *pulumi.OutputState }
func (GetFunctionServiceConfigSecretVolumeOutput) ElementType ¶
func (GetFunctionServiceConfigSecretVolumeOutput) ElementType() reflect.Type
func (GetFunctionServiceConfigSecretVolumeOutput) MountPath ¶
func (o GetFunctionServiceConfigSecretVolumeOutput) MountPath() pulumi.StringOutput
The path within the container to mount the secret volume. For example, setting the mountPath as /etc/secrets would mount the secret value files under the /etc/secrets directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount path: /etc/secrets
func (GetFunctionServiceConfigSecretVolumeOutput) ProjectId ¶
func (o GetFunctionServiceConfigSecretVolumeOutput) ProjectId() pulumi.StringOutput
Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.
func (GetFunctionServiceConfigSecretVolumeOutput) Secret ¶
func (o GetFunctionServiceConfigSecretVolumeOutput) Secret() pulumi.StringOutput
Name of the secret in secret manager (not the full resource name).
func (GetFunctionServiceConfigSecretVolumeOutput) ToGetFunctionServiceConfigSecretVolumeOutput ¶
func (o GetFunctionServiceConfigSecretVolumeOutput) ToGetFunctionServiceConfigSecretVolumeOutput() GetFunctionServiceConfigSecretVolumeOutput
func (GetFunctionServiceConfigSecretVolumeOutput) ToGetFunctionServiceConfigSecretVolumeOutputWithContext ¶
func (o GetFunctionServiceConfigSecretVolumeOutput) ToGetFunctionServiceConfigSecretVolumeOutputWithContext(ctx context.Context) GetFunctionServiceConfigSecretVolumeOutput
func (GetFunctionServiceConfigSecretVolumeOutput) Versions ¶
func (o GetFunctionServiceConfigSecretVolumeOutput) Versions() GetFunctionServiceConfigSecretVolumeVersionArrayOutput
List of secret versions to mount for this secret. If empty, the latest version of the secret will be made available in a file named after the secret under the mount point.'
type GetFunctionServiceConfigSecretVolumeVersion ¶
type GetFunctionServiceConfigSecretVolumeVersion struct { // Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mountPath as '/etc/secrets' and path as secretFoo would mount the secret value file at /etc/secrets/secret_foo. Path string `pulumi:"path"` // Version of the secret (version number or the string 'latest'). It is preferable to use latest version with secret volumes as secret value changes are reflected immediately. Version string `pulumi:"version"` }
type GetFunctionServiceConfigSecretVolumeVersionArgs ¶
type GetFunctionServiceConfigSecretVolumeVersionArgs struct { // Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mountPath as '/etc/secrets' and path as secretFoo would mount the secret value file at /etc/secrets/secret_foo. Path pulumi.StringInput `pulumi:"path"` // Version of the secret (version number or the string 'latest'). It is preferable to use latest version with secret volumes as secret value changes are reflected immediately. Version pulumi.StringInput `pulumi:"version"` }
func (GetFunctionServiceConfigSecretVolumeVersionArgs) ElementType ¶
func (GetFunctionServiceConfigSecretVolumeVersionArgs) ElementType() reflect.Type
func (GetFunctionServiceConfigSecretVolumeVersionArgs) ToGetFunctionServiceConfigSecretVolumeVersionOutput ¶
func (i GetFunctionServiceConfigSecretVolumeVersionArgs) ToGetFunctionServiceConfigSecretVolumeVersionOutput() GetFunctionServiceConfigSecretVolumeVersionOutput
func (GetFunctionServiceConfigSecretVolumeVersionArgs) ToGetFunctionServiceConfigSecretVolumeVersionOutputWithContext ¶
func (i GetFunctionServiceConfigSecretVolumeVersionArgs) ToGetFunctionServiceConfigSecretVolumeVersionOutputWithContext(ctx context.Context) GetFunctionServiceConfigSecretVolumeVersionOutput
type GetFunctionServiceConfigSecretVolumeVersionArray ¶
type GetFunctionServiceConfigSecretVolumeVersionArray []GetFunctionServiceConfigSecretVolumeVersionInput
func (GetFunctionServiceConfigSecretVolumeVersionArray) ElementType ¶
func (GetFunctionServiceConfigSecretVolumeVersionArray) ElementType() reflect.Type
func (GetFunctionServiceConfigSecretVolumeVersionArray) ToGetFunctionServiceConfigSecretVolumeVersionArrayOutput ¶
func (i GetFunctionServiceConfigSecretVolumeVersionArray) ToGetFunctionServiceConfigSecretVolumeVersionArrayOutput() GetFunctionServiceConfigSecretVolumeVersionArrayOutput
func (GetFunctionServiceConfigSecretVolumeVersionArray) ToGetFunctionServiceConfigSecretVolumeVersionArrayOutputWithContext ¶
func (i GetFunctionServiceConfigSecretVolumeVersionArray) ToGetFunctionServiceConfigSecretVolumeVersionArrayOutputWithContext(ctx context.Context) GetFunctionServiceConfigSecretVolumeVersionArrayOutput
type GetFunctionServiceConfigSecretVolumeVersionArrayInput ¶
type GetFunctionServiceConfigSecretVolumeVersionArrayInput interface { pulumi.Input ToGetFunctionServiceConfigSecretVolumeVersionArrayOutput() GetFunctionServiceConfigSecretVolumeVersionArrayOutput ToGetFunctionServiceConfigSecretVolumeVersionArrayOutputWithContext(context.Context) GetFunctionServiceConfigSecretVolumeVersionArrayOutput }
GetFunctionServiceConfigSecretVolumeVersionArrayInput is an input type that accepts GetFunctionServiceConfigSecretVolumeVersionArray and GetFunctionServiceConfigSecretVolumeVersionArrayOutput values. You can construct a concrete instance of `GetFunctionServiceConfigSecretVolumeVersionArrayInput` via:
GetFunctionServiceConfigSecretVolumeVersionArray{ GetFunctionServiceConfigSecretVolumeVersionArgs{...} }
type GetFunctionServiceConfigSecretVolumeVersionArrayOutput ¶
type GetFunctionServiceConfigSecretVolumeVersionArrayOutput struct{ *pulumi.OutputState }
func (GetFunctionServiceConfigSecretVolumeVersionArrayOutput) ElementType ¶
func (GetFunctionServiceConfigSecretVolumeVersionArrayOutput) ElementType() reflect.Type
func (GetFunctionServiceConfigSecretVolumeVersionArrayOutput) ToGetFunctionServiceConfigSecretVolumeVersionArrayOutput ¶
func (o GetFunctionServiceConfigSecretVolumeVersionArrayOutput) ToGetFunctionServiceConfigSecretVolumeVersionArrayOutput() GetFunctionServiceConfigSecretVolumeVersionArrayOutput
func (GetFunctionServiceConfigSecretVolumeVersionArrayOutput) ToGetFunctionServiceConfigSecretVolumeVersionArrayOutputWithContext ¶
func (o GetFunctionServiceConfigSecretVolumeVersionArrayOutput) ToGetFunctionServiceConfigSecretVolumeVersionArrayOutputWithContext(ctx context.Context) GetFunctionServiceConfigSecretVolumeVersionArrayOutput
type GetFunctionServiceConfigSecretVolumeVersionInput ¶
type GetFunctionServiceConfigSecretVolumeVersionInput interface { pulumi.Input ToGetFunctionServiceConfigSecretVolumeVersionOutput() GetFunctionServiceConfigSecretVolumeVersionOutput ToGetFunctionServiceConfigSecretVolumeVersionOutputWithContext(context.Context) GetFunctionServiceConfigSecretVolumeVersionOutput }
GetFunctionServiceConfigSecretVolumeVersionInput is an input type that accepts GetFunctionServiceConfigSecretVolumeVersionArgs and GetFunctionServiceConfigSecretVolumeVersionOutput values. You can construct a concrete instance of `GetFunctionServiceConfigSecretVolumeVersionInput` via:
GetFunctionServiceConfigSecretVolumeVersionArgs{...}
type GetFunctionServiceConfigSecretVolumeVersionOutput ¶
type GetFunctionServiceConfigSecretVolumeVersionOutput struct{ *pulumi.OutputState }
func (GetFunctionServiceConfigSecretVolumeVersionOutput) ElementType ¶
func (GetFunctionServiceConfigSecretVolumeVersionOutput) ElementType() reflect.Type
func (GetFunctionServiceConfigSecretVolumeVersionOutput) Path ¶
func (o GetFunctionServiceConfigSecretVolumeVersionOutput) Path() pulumi.StringOutput
Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mountPath as '/etc/secrets' and path as secretFoo would mount the secret value file at /etc/secrets/secret_foo.
func (GetFunctionServiceConfigSecretVolumeVersionOutput) ToGetFunctionServiceConfigSecretVolumeVersionOutput ¶
func (o GetFunctionServiceConfigSecretVolumeVersionOutput) ToGetFunctionServiceConfigSecretVolumeVersionOutput() GetFunctionServiceConfigSecretVolumeVersionOutput
func (GetFunctionServiceConfigSecretVolumeVersionOutput) ToGetFunctionServiceConfigSecretVolumeVersionOutputWithContext ¶
func (o GetFunctionServiceConfigSecretVolumeVersionOutput) ToGetFunctionServiceConfigSecretVolumeVersionOutputWithContext(ctx context.Context) GetFunctionServiceConfigSecretVolumeVersionOutput
func (GetFunctionServiceConfigSecretVolumeVersionOutput) Version ¶
func (o GetFunctionServiceConfigSecretVolumeVersionOutput) Version() pulumi.StringOutput
Version of the secret (version number or the string 'latest'). It is preferable to use latest version with secret volumes as secret value changes are reflected immediately.
type LookupFunctionArgs ¶
type LookupFunctionArgs struct { // The location in which the resource belongs. // // *** Location string `pulumi:"location"` // The name of a Cloud Function (2nd gen). 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 getFunction.
type LookupFunctionIamPolicyArgs ¶
type LookupFunctionIamPolicyArgs struct { // Used to find the parent resource to bind the IAM policy to CloudFunction string `pulumi:"cloudFunction"` // The location of this cloud function. Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location *string `pulumi:"location"` // 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 getFunctionIamPolicy.
type LookupFunctionIamPolicyOutputArgs ¶
type LookupFunctionIamPolicyOutputArgs struct { // Used to find the parent resource to bind the IAM policy to CloudFunction pulumi.StringInput `pulumi:"cloudFunction"` // The location of this cloud function. Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringPtrInput `pulumi:"location"` // 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 getFunctionIamPolicy.
func (LookupFunctionIamPolicyOutputArgs) ElementType ¶
func (LookupFunctionIamPolicyOutputArgs) ElementType() reflect.Type
type LookupFunctionIamPolicyResult ¶
type LookupFunctionIamPolicyResult struct { CloudFunction string `pulumi:"cloudFunction"` // (Computed) The etag of the IAM policy. Etag string `pulumi:"etag"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Location string `pulumi:"location"` // (Required only by `cloudfunctionsv2.FunctionIamPolicy`) The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData string `pulumi:"policyData"` Project string `pulumi:"project"` }
A collection of values returned by getFunctionIamPolicy.
func LookupFunctionIamPolicy ¶
func LookupFunctionIamPolicy(ctx *pulumi.Context, args *LookupFunctionIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupFunctionIamPolicyResult, error)
Retrieves the current IAM policy data for function
## example
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudfunctionsv2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudfunctionsv2.LookupFunctionIamPolicy(ctx, &cloudfunctionsv2.LookupFunctionIamPolicyArgs{ Project: pulumi.StringRef(function.Project), Location: pulumi.StringRef(function.Location), CloudFunction: function.Name, }, nil) if err != nil { return err } return nil }) }
```
type LookupFunctionIamPolicyResultOutput ¶
type LookupFunctionIamPolicyResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getFunctionIamPolicy.
func LookupFunctionIamPolicyOutput ¶
func LookupFunctionIamPolicyOutput(ctx *pulumi.Context, args LookupFunctionIamPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupFunctionIamPolicyResultOutput
func (LookupFunctionIamPolicyResultOutput) CloudFunction ¶
func (o LookupFunctionIamPolicyResultOutput) CloudFunction() pulumi.StringOutput
func (LookupFunctionIamPolicyResultOutput) ElementType ¶
func (LookupFunctionIamPolicyResultOutput) ElementType() reflect.Type
func (LookupFunctionIamPolicyResultOutput) Etag ¶
func (o LookupFunctionIamPolicyResultOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (LookupFunctionIamPolicyResultOutput) Id ¶
func (o LookupFunctionIamPolicyResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupFunctionIamPolicyResultOutput) Location ¶
func (o LookupFunctionIamPolicyResultOutput) Location() pulumi.StringOutput
func (LookupFunctionIamPolicyResultOutput) PolicyData ¶
func (o LookupFunctionIamPolicyResultOutput) PolicyData() pulumi.StringOutput
(Required only by `cloudfunctionsv2.FunctionIamPolicy`) The policy data generated by a `organizations.getIAMPolicy` data source.
func (LookupFunctionIamPolicyResultOutput) Project ¶
func (o LookupFunctionIamPolicyResultOutput) Project() pulumi.StringOutput
func (LookupFunctionIamPolicyResultOutput) ToLookupFunctionIamPolicyResultOutput ¶
func (o LookupFunctionIamPolicyResultOutput) ToLookupFunctionIamPolicyResultOutput() LookupFunctionIamPolicyResultOutput
func (LookupFunctionIamPolicyResultOutput) ToLookupFunctionIamPolicyResultOutputWithContext ¶
func (o LookupFunctionIamPolicyResultOutput) ToLookupFunctionIamPolicyResultOutputWithContext(ctx context.Context) LookupFunctionIamPolicyResultOutput
type LookupFunctionOutputArgs ¶
type LookupFunctionOutputArgs struct { // The location in which the resource belongs. // // *** Location pulumi.StringInput `pulumi:"location"` // The name of a Cloud Function (2nd gen). 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 getFunction.
func (LookupFunctionOutputArgs) ElementType ¶
func (LookupFunctionOutputArgs) ElementType() reflect.Type
type LookupFunctionResult ¶
type LookupFunctionResult struct { BuildConfigs []GetFunctionBuildConfig `pulumi:"buildConfigs"` Description string `pulumi:"description"` EffectiveLabels map[string]string `pulumi:"effectiveLabels"` Environment string `pulumi:"environment"` EventTriggers []GetFunctionEventTrigger `pulumi:"eventTriggers"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` KmsKeyName string `pulumi:"kmsKeyName"` Labels map[string]string `pulumi:"labels"` Location string `pulumi:"location"` Name string `pulumi:"name"` Project *string `pulumi:"project"` PulumiLabels map[string]string `pulumi:"pulumiLabels"` ServiceConfigs []GetFunctionServiceConfig `pulumi:"serviceConfigs"` State string `pulumi:"state"` UpdateTime string `pulumi:"updateTime"` Url string `pulumi:"url"` }
A collection of values returned by getFunction.
func LookupFunction ¶
func LookupFunction(ctx *pulumi.Context, args *LookupFunctionArgs, opts ...pulumi.InvokeOption) (*LookupFunctionResult, error)
Get information about a Google Cloud Function (2nd gen). For more information see:
* [API documentation](https://cloud.google.com/functions/docs/reference/rest/v2beta/projects.locations.functions).
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudfunctionsv2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudfunctionsv2.LookupFunction(ctx, &cloudfunctionsv2.LookupFunctionArgs{ Name: "function", Location: "us-central1", }, nil) if err != nil { return err } return nil }) }
```
type LookupFunctionResultOutput ¶
type LookupFunctionResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getFunction.
func LookupFunctionOutput ¶
func LookupFunctionOutput(ctx *pulumi.Context, args LookupFunctionOutputArgs, opts ...pulumi.InvokeOption) LookupFunctionResultOutput
func (LookupFunctionResultOutput) BuildConfigs ¶
func (o LookupFunctionResultOutput) BuildConfigs() GetFunctionBuildConfigArrayOutput
func (LookupFunctionResultOutput) Description ¶
func (o LookupFunctionResultOutput) Description() pulumi.StringOutput
func (LookupFunctionResultOutput) EffectiveLabels ¶
func (o LookupFunctionResultOutput) EffectiveLabels() pulumi.StringMapOutput
func (LookupFunctionResultOutput) ElementType ¶
func (LookupFunctionResultOutput) ElementType() reflect.Type
func (LookupFunctionResultOutput) Environment ¶
func (o LookupFunctionResultOutput) Environment() pulumi.StringOutput
func (LookupFunctionResultOutput) EventTriggers ¶
func (o LookupFunctionResultOutput) EventTriggers() GetFunctionEventTriggerArrayOutput
func (LookupFunctionResultOutput) Id ¶
func (o LookupFunctionResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupFunctionResultOutput) KmsKeyName ¶
func (o LookupFunctionResultOutput) KmsKeyName() pulumi.StringOutput
func (LookupFunctionResultOutput) Labels ¶
func (o LookupFunctionResultOutput) Labels() pulumi.StringMapOutput
func (LookupFunctionResultOutput) Location ¶
func (o LookupFunctionResultOutput) Location() pulumi.StringOutput
func (LookupFunctionResultOutput) Name ¶
func (o LookupFunctionResultOutput) Name() pulumi.StringOutput
func (LookupFunctionResultOutput) Project ¶
func (o LookupFunctionResultOutput) Project() pulumi.StringPtrOutput
func (LookupFunctionResultOutput) PulumiLabels ¶
func (o LookupFunctionResultOutput) PulumiLabels() pulumi.StringMapOutput
func (LookupFunctionResultOutput) ServiceConfigs ¶
func (o LookupFunctionResultOutput) ServiceConfigs() GetFunctionServiceConfigArrayOutput
func (LookupFunctionResultOutput) State ¶
func (o LookupFunctionResultOutput) State() pulumi.StringOutput
func (LookupFunctionResultOutput) ToLookupFunctionResultOutput ¶
func (o LookupFunctionResultOutput) ToLookupFunctionResultOutput() LookupFunctionResultOutput
func (LookupFunctionResultOutput) ToLookupFunctionResultOutputWithContext ¶
func (o LookupFunctionResultOutput) ToLookupFunctionResultOutputWithContext(ctx context.Context) LookupFunctionResultOutput
func (LookupFunctionResultOutput) UpdateTime ¶
func (o LookupFunctionResultOutput) UpdateTime() pulumi.StringOutput
func (LookupFunctionResultOutput) Url ¶
func (o LookupFunctionResultOutput) Url() pulumi.StringOutput