Documentation ¶
Index ¶
- type Function
- func (*Function) ElementType() reflect.Type
- func (i *Function) ToFunctionOutput() FunctionOutput
- func (i *Function) ToFunctionOutputWithContext(ctx context.Context) FunctionOutput
- func (i *Function) ToFunctionPtrOutput() FunctionPtrOutput
- func (i *Function) ToFunctionPtrOutputWithContext(ctx context.Context) FunctionPtrOutput
- type FunctionArgs
- type FunctionArray
- type FunctionArrayInput
- type FunctionArrayOutput
- 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 FunctionEventTriggerFailurePolicy
- type FunctionEventTriggerFailurePolicyArgs
- func (FunctionEventTriggerFailurePolicyArgs) ElementType() reflect.Type
- func (i FunctionEventTriggerFailurePolicyArgs) ToFunctionEventTriggerFailurePolicyOutput() FunctionEventTriggerFailurePolicyOutput
- func (i FunctionEventTriggerFailurePolicyArgs) ToFunctionEventTriggerFailurePolicyOutputWithContext(ctx context.Context) FunctionEventTriggerFailurePolicyOutput
- func (i FunctionEventTriggerFailurePolicyArgs) ToFunctionEventTriggerFailurePolicyPtrOutput() FunctionEventTriggerFailurePolicyPtrOutput
- func (i FunctionEventTriggerFailurePolicyArgs) ToFunctionEventTriggerFailurePolicyPtrOutputWithContext(ctx context.Context) FunctionEventTriggerFailurePolicyPtrOutput
- type FunctionEventTriggerFailurePolicyInput
- type FunctionEventTriggerFailurePolicyOutput
- func (FunctionEventTriggerFailurePolicyOutput) ElementType() reflect.Type
- func (o FunctionEventTriggerFailurePolicyOutput) Retry() pulumi.BoolOutput
- func (o FunctionEventTriggerFailurePolicyOutput) ToFunctionEventTriggerFailurePolicyOutput() FunctionEventTriggerFailurePolicyOutput
- func (o FunctionEventTriggerFailurePolicyOutput) ToFunctionEventTriggerFailurePolicyOutputWithContext(ctx context.Context) FunctionEventTriggerFailurePolicyOutput
- func (o FunctionEventTriggerFailurePolicyOutput) ToFunctionEventTriggerFailurePolicyPtrOutput() FunctionEventTriggerFailurePolicyPtrOutput
- func (o FunctionEventTriggerFailurePolicyOutput) ToFunctionEventTriggerFailurePolicyPtrOutputWithContext(ctx context.Context) FunctionEventTriggerFailurePolicyPtrOutput
- type FunctionEventTriggerFailurePolicyPtrInput
- type FunctionEventTriggerFailurePolicyPtrOutput
- func (o FunctionEventTriggerFailurePolicyPtrOutput) Elem() FunctionEventTriggerFailurePolicyOutput
- func (FunctionEventTriggerFailurePolicyPtrOutput) ElementType() reflect.Type
- func (o FunctionEventTriggerFailurePolicyPtrOutput) Retry() pulumi.BoolPtrOutput
- func (o FunctionEventTriggerFailurePolicyPtrOutput) ToFunctionEventTriggerFailurePolicyPtrOutput() FunctionEventTriggerFailurePolicyPtrOutput
- func (o FunctionEventTriggerFailurePolicyPtrOutput) ToFunctionEventTriggerFailurePolicyPtrOutputWithContext(ctx context.Context) FunctionEventTriggerFailurePolicyPtrOutput
- type FunctionEventTriggerInput
- type FunctionEventTriggerOutput
- func (FunctionEventTriggerOutput) ElementType() reflect.Type
- func (o FunctionEventTriggerOutput) EventType() pulumi.StringOutput
- func (o FunctionEventTriggerOutput) FailurePolicy() FunctionEventTriggerFailurePolicyPtrOutput
- func (o FunctionEventTriggerOutput) Resource() pulumi.StringOutput
- 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
- type FunctionEventTriggerPtrInput
- type FunctionEventTriggerPtrOutput
- func (o FunctionEventTriggerPtrOutput) Elem() FunctionEventTriggerOutput
- func (FunctionEventTriggerPtrOutput) ElementType() reflect.Type
- func (o FunctionEventTriggerPtrOutput) EventType() pulumi.StringPtrOutput
- func (o FunctionEventTriggerPtrOutput) FailurePolicy() FunctionEventTriggerFailurePolicyPtrOutput
- func (o FunctionEventTriggerPtrOutput) Resource() pulumi.StringPtrOutput
- func (o FunctionEventTriggerPtrOutput) ToFunctionEventTriggerPtrOutput() FunctionEventTriggerPtrOutput
- func (o FunctionEventTriggerPtrOutput) ToFunctionEventTriggerPtrOutputWithContext(ctx context.Context) FunctionEventTriggerPtrOutput
- type FunctionIamBinding
- func (*FunctionIamBinding) ElementType() reflect.Type
- func (i *FunctionIamBinding) ToFunctionIamBindingOutput() FunctionIamBindingOutput
- func (i *FunctionIamBinding) ToFunctionIamBindingOutputWithContext(ctx context.Context) FunctionIamBindingOutput
- func (i *FunctionIamBinding) ToFunctionIamBindingPtrOutput() FunctionIamBindingPtrOutput
- func (i *FunctionIamBinding) ToFunctionIamBindingPtrOutputWithContext(ctx context.Context) FunctionIamBindingPtrOutput
- 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 (FunctionIamBindingOutput) ElementType() reflect.Type
- func (o FunctionIamBindingOutput) ToFunctionIamBindingOutput() FunctionIamBindingOutput
- func (o FunctionIamBindingOutput) ToFunctionIamBindingOutputWithContext(ctx context.Context) FunctionIamBindingOutput
- func (o FunctionIamBindingOutput) ToFunctionIamBindingPtrOutput() FunctionIamBindingPtrOutput
- func (o FunctionIamBindingOutput) ToFunctionIamBindingPtrOutputWithContext(ctx context.Context) FunctionIamBindingPtrOutput
- type FunctionIamBindingPtrInput
- type FunctionIamBindingPtrOutput
- func (o FunctionIamBindingPtrOutput) Elem() FunctionIamBindingOutput
- func (FunctionIamBindingPtrOutput) ElementType() reflect.Type
- func (o FunctionIamBindingPtrOutput) ToFunctionIamBindingPtrOutput() FunctionIamBindingPtrOutput
- func (o FunctionIamBindingPtrOutput) ToFunctionIamBindingPtrOutputWithContext(ctx context.Context) FunctionIamBindingPtrOutput
- type FunctionIamBindingState
- type FunctionIamMember
- func (*FunctionIamMember) ElementType() reflect.Type
- func (i *FunctionIamMember) ToFunctionIamMemberOutput() FunctionIamMemberOutput
- func (i *FunctionIamMember) ToFunctionIamMemberOutputWithContext(ctx context.Context) FunctionIamMemberOutput
- func (i *FunctionIamMember) ToFunctionIamMemberPtrOutput() FunctionIamMemberPtrOutput
- func (i *FunctionIamMember) ToFunctionIamMemberPtrOutputWithContext(ctx context.Context) FunctionIamMemberPtrOutput
- 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 (FunctionIamMemberOutput) ElementType() reflect.Type
- func (o FunctionIamMemberOutput) ToFunctionIamMemberOutput() FunctionIamMemberOutput
- func (o FunctionIamMemberOutput) ToFunctionIamMemberOutputWithContext(ctx context.Context) FunctionIamMemberOutput
- func (o FunctionIamMemberOutput) ToFunctionIamMemberPtrOutput() FunctionIamMemberPtrOutput
- func (o FunctionIamMemberOutput) ToFunctionIamMemberPtrOutputWithContext(ctx context.Context) FunctionIamMemberPtrOutput
- type FunctionIamMemberPtrInput
- type FunctionIamMemberPtrOutput
- func (o FunctionIamMemberPtrOutput) Elem() FunctionIamMemberOutput
- func (FunctionIamMemberPtrOutput) ElementType() reflect.Type
- func (o FunctionIamMemberPtrOutput) ToFunctionIamMemberPtrOutput() FunctionIamMemberPtrOutput
- func (o FunctionIamMemberPtrOutput) ToFunctionIamMemberPtrOutputWithContext(ctx context.Context) FunctionIamMemberPtrOutput
- type FunctionIamMemberState
- type FunctionIamPolicy
- func (*FunctionIamPolicy) ElementType() reflect.Type
- func (i *FunctionIamPolicy) ToFunctionIamPolicyOutput() FunctionIamPolicyOutput
- func (i *FunctionIamPolicy) ToFunctionIamPolicyOutputWithContext(ctx context.Context) FunctionIamPolicyOutput
- func (i *FunctionIamPolicy) ToFunctionIamPolicyPtrOutput() FunctionIamPolicyPtrOutput
- func (i *FunctionIamPolicy) ToFunctionIamPolicyPtrOutputWithContext(ctx context.Context) FunctionIamPolicyPtrOutput
- 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 (FunctionIamPolicyOutput) ElementType() reflect.Type
- func (o FunctionIamPolicyOutput) ToFunctionIamPolicyOutput() FunctionIamPolicyOutput
- func (o FunctionIamPolicyOutput) ToFunctionIamPolicyOutputWithContext(ctx context.Context) FunctionIamPolicyOutput
- func (o FunctionIamPolicyOutput) ToFunctionIamPolicyPtrOutput() FunctionIamPolicyPtrOutput
- func (o FunctionIamPolicyOutput) ToFunctionIamPolicyPtrOutputWithContext(ctx context.Context) FunctionIamPolicyPtrOutput
- type FunctionIamPolicyPtrInput
- type FunctionIamPolicyPtrOutput
- func (o FunctionIamPolicyPtrOutput) Elem() FunctionIamPolicyOutput
- func (FunctionIamPolicyPtrOutput) ElementType() reflect.Type
- func (o FunctionIamPolicyPtrOutput) ToFunctionIamPolicyPtrOutput() FunctionIamPolicyPtrOutput
- func (o FunctionIamPolicyPtrOutput) ToFunctionIamPolicyPtrOutputWithContext(ctx context.Context) FunctionIamPolicyPtrOutput
- type FunctionIamPolicyState
- type FunctionInput
- type FunctionMap
- type FunctionMapInput
- type FunctionMapOutput
- type FunctionOutput
- func (FunctionOutput) ElementType() reflect.Type
- func (o FunctionOutput) ToFunctionOutput() FunctionOutput
- func (o FunctionOutput) ToFunctionOutputWithContext(ctx context.Context) FunctionOutput
- func (o FunctionOutput) ToFunctionPtrOutput() FunctionPtrOutput
- func (o FunctionOutput) ToFunctionPtrOutputWithContext(ctx context.Context) FunctionPtrOutput
- type FunctionPtrInput
- type FunctionPtrOutput
- type FunctionSourceRepository
- type FunctionSourceRepositoryArgs
- func (FunctionSourceRepositoryArgs) ElementType() reflect.Type
- func (i FunctionSourceRepositoryArgs) ToFunctionSourceRepositoryOutput() FunctionSourceRepositoryOutput
- func (i FunctionSourceRepositoryArgs) ToFunctionSourceRepositoryOutputWithContext(ctx context.Context) FunctionSourceRepositoryOutput
- func (i FunctionSourceRepositoryArgs) ToFunctionSourceRepositoryPtrOutput() FunctionSourceRepositoryPtrOutput
- func (i FunctionSourceRepositoryArgs) ToFunctionSourceRepositoryPtrOutputWithContext(ctx context.Context) FunctionSourceRepositoryPtrOutput
- type FunctionSourceRepositoryInput
- type FunctionSourceRepositoryOutput
- func (o FunctionSourceRepositoryOutput) DeployedUrl() pulumi.StringPtrOutput
- func (FunctionSourceRepositoryOutput) ElementType() reflect.Type
- func (o FunctionSourceRepositoryOutput) ToFunctionSourceRepositoryOutput() FunctionSourceRepositoryOutput
- func (o FunctionSourceRepositoryOutput) ToFunctionSourceRepositoryOutputWithContext(ctx context.Context) FunctionSourceRepositoryOutput
- func (o FunctionSourceRepositoryOutput) ToFunctionSourceRepositoryPtrOutput() FunctionSourceRepositoryPtrOutput
- func (o FunctionSourceRepositoryOutput) ToFunctionSourceRepositoryPtrOutputWithContext(ctx context.Context) FunctionSourceRepositoryPtrOutput
- func (o FunctionSourceRepositoryOutput) Url() pulumi.StringOutput
- type FunctionSourceRepositoryPtrInput
- type FunctionSourceRepositoryPtrOutput
- func (o FunctionSourceRepositoryPtrOutput) DeployedUrl() pulumi.StringPtrOutput
- func (o FunctionSourceRepositoryPtrOutput) Elem() FunctionSourceRepositoryOutput
- func (FunctionSourceRepositoryPtrOutput) ElementType() reflect.Type
- func (o FunctionSourceRepositoryPtrOutput) ToFunctionSourceRepositoryPtrOutput() FunctionSourceRepositoryPtrOutput
- func (o FunctionSourceRepositoryPtrOutput) ToFunctionSourceRepositoryPtrOutputWithContext(ctx context.Context) FunctionSourceRepositoryPtrOutput
- func (o FunctionSourceRepositoryPtrOutput) Url() pulumi.StringPtrOutput
- type FunctionState
- 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 GetFunctionEventTriggerFailurePolicy
- type GetFunctionEventTriggerFailurePolicyArgs
- func (GetFunctionEventTriggerFailurePolicyArgs) ElementType() reflect.Type
- func (i GetFunctionEventTriggerFailurePolicyArgs) ToGetFunctionEventTriggerFailurePolicyOutput() GetFunctionEventTriggerFailurePolicyOutput
- func (i GetFunctionEventTriggerFailurePolicyArgs) ToGetFunctionEventTriggerFailurePolicyOutputWithContext(ctx context.Context) GetFunctionEventTriggerFailurePolicyOutput
- type GetFunctionEventTriggerFailurePolicyArray
- func (GetFunctionEventTriggerFailurePolicyArray) ElementType() reflect.Type
- func (i GetFunctionEventTriggerFailurePolicyArray) ToGetFunctionEventTriggerFailurePolicyArrayOutput() GetFunctionEventTriggerFailurePolicyArrayOutput
- func (i GetFunctionEventTriggerFailurePolicyArray) ToGetFunctionEventTriggerFailurePolicyArrayOutputWithContext(ctx context.Context) GetFunctionEventTriggerFailurePolicyArrayOutput
- type GetFunctionEventTriggerFailurePolicyArrayInput
- type GetFunctionEventTriggerFailurePolicyArrayOutput
- func (GetFunctionEventTriggerFailurePolicyArrayOutput) ElementType() reflect.Type
- func (o GetFunctionEventTriggerFailurePolicyArrayOutput) Index(i pulumi.IntInput) GetFunctionEventTriggerFailurePolicyOutput
- func (o GetFunctionEventTriggerFailurePolicyArrayOutput) ToGetFunctionEventTriggerFailurePolicyArrayOutput() GetFunctionEventTriggerFailurePolicyArrayOutput
- func (o GetFunctionEventTriggerFailurePolicyArrayOutput) ToGetFunctionEventTriggerFailurePolicyArrayOutputWithContext(ctx context.Context) GetFunctionEventTriggerFailurePolicyArrayOutput
- type GetFunctionEventTriggerFailurePolicyInput
- type GetFunctionEventTriggerFailurePolicyOutput
- func (GetFunctionEventTriggerFailurePolicyOutput) ElementType() reflect.Type
- func (o GetFunctionEventTriggerFailurePolicyOutput) Retry() pulumi.BoolOutput
- func (o GetFunctionEventTriggerFailurePolicyOutput) ToGetFunctionEventTriggerFailurePolicyOutput() GetFunctionEventTriggerFailurePolicyOutput
- func (o GetFunctionEventTriggerFailurePolicyOutput) ToGetFunctionEventTriggerFailurePolicyOutputWithContext(ctx context.Context) GetFunctionEventTriggerFailurePolicyOutput
- type GetFunctionEventTriggerInput
- type GetFunctionEventTriggerOutput
- func (GetFunctionEventTriggerOutput) ElementType() reflect.Type
- func (o GetFunctionEventTriggerOutput) EventType() pulumi.StringOutput
- func (o GetFunctionEventTriggerOutput) FailurePolicies() GetFunctionEventTriggerFailurePolicyArrayOutput
- func (o GetFunctionEventTriggerOutput) Resource() pulumi.StringOutput
- func (o GetFunctionEventTriggerOutput) ToGetFunctionEventTriggerOutput() GetFunctionEventTriggerOutput
- func (o GetFunctionEventTriggerOutput) ToGetFunctionEventTriggerOutputWithContext(ctx context.Context) GetFunctionEventTriggerOutput
- type GetFunctionSourceRepository
- type GetFunctionSourceRepositoryArgs
- func (GetFunctionSourceRepositoryArgs) ElementType() reflect.Type
- func (i GetFunctionSourceRepositoryArgs) ToGetFunctionSourceRepositoryOutput() GetFunctionSourceRepositoryOutput
- func (i GetFunctionSourceRepositoryArgs) ToGetFunctionSourceRepositoryOutputWithContext(ctx context.Context) GetFunctionSourceRepositoryOutput
- type GetFunctionSourceRepositoryArray
- func (GetFunctionSourceRepositoryArray) ElementType() reflect.Type
- func (i GetFunctionSourceRepositoryArray) ToGetFunctionSourceRepositoryArrayOutput() GetFunctionSourceRepositoryArrayOutput
- func (i GetFunctionSourceRepositoryArray) ToGetFunctionSourceRepositoryArrayOutputWithContext(ctx context.Context) GetFunctionSourceRepositoryArrayOutput
- type GetFunctionSourceRepositoryArrayInput
- type GetFunctionSourceRepositoryArrayOutput
- func (GetFunctionSourceRepositoryArrayOutput) ElementType() reflect.Type
- func (o GetFunctionSourceRepositoryArrayOutput) Index(i pulumi.IntInput) GetFunctionSourceRepositoryOutput
- func (o GetFunctionSourceRepositoryArrayOutput) ToGetFunctionSourceRepositoryArrayOutput() GetFunctionSourceRepositoryArrayOutput
- func (o GetFunctionSourceRepositoryArrayOutput) ToGetFunctionSourceRepositoryArrayOutputWithContext(ctx context.Context) GetFunctionSourceRepositoryArrayOutput
- type GetFunctionSourceRepositoryInput
- type GetFunctionSourceRepositoryOutput
- func (o GetFunctionSourceRepositoryOutput) DeployedUrl() pulumi.StringOutput
- func (GetFunctionSourceRepositoryOutput) ElementType() reflect.Type
- func (o GetFunctionSourceRepositoryOutput) ToGetFunctionSourceRepositoryOutput() GetFunctionSourceRepositoryOutput
- func (o GetFunctionSourceRepositoryOutput) ToGetFunctionSourceRepositoryOutputWithContext(ctx context.Context) GetFunctionSourceRepositoryOutput
- func (o GetFunctionSourceRepositoryOutput) Url() pulumi.StringOutput
- type LookupFunctionArgs
- type LookupFunctionOutputArgs
- type LookupFunctionResult
- type LookupFunctionResultOutput
- func (o LookupFunctionResultOutput) AvailableMemoryMb() pulumi.IntOutput
- func (o LookupFunctionResultOutput) BuildEnvironmentVariables() pulumi.MapOutput
- func (o LookupFunctionResultOutput) Description() pulumi.StringOutput
- func (LookupFunctionResultOutput) ElementType() reflect.Type
- func (o LookupFunctionResultOutput) EntryPoint() pulumi.StringOutput
- func (o LookupFunctionResultOutput) EnvironmentVariables() pulumi.MapOutput
- func (o LookupFunctionResultOutput) EventTriggers() GetFunctionEventTriggerArrayOutput
- func (o LookupFunctionResultOutput) HttpsTriggerUrl() pulumi.StringOutput
- func (o LookupFunctionResultOutput) Id() pulumi.StringOutput
- func (o LookupFunctionResultOutput) IngressSettings() pulumi.StringOutput
- func (o LookupFunctionResultOutput) Labels() pulumi.MapOutput
- func (o LookupFunctionResultOutput) MaxInstances() pulumi.IntOutput
- func (o LookupFunctionResultOutput) MinInstances() pulumi.IntOutput
- func (o LookupFunctionResultOutput) Name() pulumi.StringOutput
- func (o LookupFunctionResultOutput) Project() pulumi.StringPtrOutput
- func (o LookupFunctionResultOutput) Region() pulumi.StringPtrOutput
- func (o LookupFunctionResultOutput) Runtime() pulumi.StringOutput
- func (o LookupFunctionResultOutput) ServiceAccountEmail() pulumi.StringOutput
- func (o LookupFunctionResultOutput) SourceArchiveBucket() pulumi.StringOutput
- func (o LookupFunctionResultOutput) SourceArchiveObject() pulumi.StringOutput
- func (o LookupFunctionResultOutput) SourceRepositories() GetFunctionSourceRepositoryArrayOutput
- func (o LookupFunctionResultOutput) Timeout() pulumi.IntOutput
- func (o LookupFunctionResultOutput) ToLookupFunctionResultOutput() LookupFunctionResultOutput
- func (o LookupFunctionResultOutput) ToLookupFunctionResultOutputWithContext(ctx context.Context) LookupFunctionResultOutput
- func (o LookupFunctionResultOutput) TriggerHttp() pulumi.BoolOutput
- func (o LookupFunctionResultOutput) VpcConnector() pulumi.StringOutput
- func (o LookupFunctionResultOutput) VpcConnectorEgressSettings() 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 // Memory (in MB), available to the function. Default value is `256`. Possible values include `128`, `256`, `512`, `1024`, etc. AvailableMemoryMb pulumi.IntPtrOutput `pulumi:"availableMemoryMb"` // A set of key/value environment variable pairs available during build time. BuildEnvironmentVariables pulumi.MapOutput `pulumi:"buildEnvironmentVariables"` // Description of the function. Description pulumi.StringPtrOutput `pulumi:"description"` // Name of the function that will be executed when the Google Cloud Function is triggered. EntryPoint pulumi.StringPtrOutput `pulumi:"entryPoint"` // A set of key/value environment variable pairs to assign to the function. EnvironmentVariables pulumi.MapOutput `pulumi:"environmentVariables"` // A source that fires events in response to a condition in another service. Structure is documented below. Cannot be used with `triggerHttp`. EventTrigger FunctionEventTriggerOutput `pulumi:"eventTrigger"` // URL which triggers function execution. Returned only if `triggerHttp` is used. HttpsTriggerUrl pulumi.StringOutput `pulumi:"httpsTriggerUrl"` // String value that controls what traffic can reach the function. Allowed values are `ALLOW_ALL`, `ALLOW_INTERNAL_AND_GCLB` and `ALLOW_INTERNAL_ONLY`. Check [ingress documentation](https://cloud.google.com/functions/docs/networking/network-settings#ingress_settings) to see the impact of each settings value. Changes to this field will recreate the cloud function. IngressSettings pulumi.StringPtrOutput `pulumi:"ingressSettings"` // A set of key/value label pairs to assign to the function. Label keys must follow the requirements at https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements. Labels pulumi.MapOutput `pulumi:"labels"` // The limit on the maximum number of function instances that may coexist at a given time. MaxInstances pulumi.IntPtrOutput `pulumi:"maxInstances"` // The limit on the minimum number of function instances that may coexist at a given time. MinInstances pulumi.IntPtrOutput `pulumi:"minInstances"` // A user-defined name of the function. Function names must be unique globally. Name pulumi.StringOutput `pulumi:"name"` // Project of the function. If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // Region of function. If it is not provided, the provider region is used. Region pulumi.StringOutput `pulumi:"region"` // The runtime in which the function is going to run. // Eg. `"nodejs10"`, `"nodejs12"`, `"nodejs14"`, `"python37"`, `"python38"`, `"python39"`, `"dotnet3"`, `"go113"`, `"java11"`, `"ruby27"`, etc. Check the [official doc](https://cloud.google.com/functions/docs/concepts/exec#runtimes) for the up-to-date list. Runtime pulumi.StringOutput `pulumi:"runtime"` // If provided, the self-provided service account to run the function with. ServiceAccountEmail pulumi.StringOutput `pulumi:"serviceAccountEmail"` // The GCS bucket containing the zip archive which contains the function. SourceArchiveBucket pulumi.StringPtrOutput `pulumi:"sourceArchiveBucket"` // The source archive object (file) in archive bucket. SourceArchiveObject pulumi.StringPtrOutput `pulumi:"sourceArchiveObject"` // Represents parameters related to source repository where a function is hosted. // Cannot be set alongside `sourceArchiveBucket` or `sourceArchiveObject`. Structure is documented below. SourceRepository FunctionSourceRepositoryPtrOutput `pulumi:"sourceRepository"` // Timeout (in seconds) for the function. Default value is 60 seconds. Cannot be more than 540 seconds. Timeout pulumi.IntPtrOutput `pulumi:"timeout"` // Boolean variable. Any HTTP request (of a supported type) to the endpoint will trigger function execution. Supported HTTP request types are: POST, PUT, GET, DELETE, and OPTIONS. Endpoint is returned as `httpsTriggerUrl`. Cannot be used with `eventTrigger`. TriggerHttp pulumi.BoolPtrOutput `pulumi:"triggerHttp"` // The VPC Network Connector that this cloud function can connect to. It should be set up as fully-qualified URI. The format of this field is `projects/*/locations/*/connectors/*`. VpcConnector pulumi.StringPtrOutput `pulumi:"vpcConnector"` // The egress settings for the connector, controlling what traffic is diverted through it. Allowed values are `ALL_TRAFFIC` and `PRIVATE_RANGES_ONLY`. Defaults to `PRIVATE_RANGES_ONLY`. If unset, this field preserves the previously set value. VpcConnectorEgressSettings pulumi.StringOutput `pulumi:"vpcConnectorEgressSettings"` }
Creates a new Cloud Function. For more information see:
* [API documentation](https://cloud.google.com/functions/docs/reference/rest/v1/projects.locations.functions) * How-to Guides
- [Official Documentation](https://cloud.google.com/functions/docs)
> **Warning:** As of November 1, 2019, newly created Functions are private-by-default and will require [appropriate IAM permissions](https://cloud.google.com/functions/docs/reference/iam/roles) to be invoked. See below examples for how to set up the appropriate permissions, or view the [Cloud Functions IAM resources](https://www.terraform.io/docs/providers/google/r/cloudfunctions_cloud_function_iam.html) for Cloud Functions.
## Example Usage ### Public Function
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudfunctions" "github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { bucket, err := storage.NewBucket(ctx, "bucket", &storage.BucketArgs{ Location: pulumi.String("US"), }) if err != nil { return err } archive, err := storage.NewBucketObject(ctx, "archive", &storage.BucketObjectArgs{ Bucket: bucket.Name, Source: pulumi.NewFileAsset("./path/to/zip/file/which/contains/code"), }) if err != nil { return err } function, err := cloudfunctions.NewFunction(ctx, "function", &cloudfunctions.FunctionArgs{ Description: pulumi.String("My function"), Runtime: pulumi.String("nodejs14"), AvailableMemoryMb: pulumi.Int(128), SourceArchiveBucket: bucket.Name, SourceArchiveObject: archive.Name, TriggerHttp: pulumi.Bool(true), EntryPoint: pulumi.String("helloGET"), }) if err != nil { return err } _, err = cloudfunctions.NewFunctionIamMember(ctx, "invoker", &cloudfunctions.FunctionIamMemberArgs{ Project: function.Project, Region: function.Region, CloudFunction: function.Name, Role: pulumi.String("roles/cloudfunctions.invoker"), Member: pulumi.String("allUsers"), }) if err != nil { return err } return nil }) }
``` ### Single User
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudfunctions" "github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { bucket, err := storage.NewBucket(ctx, "bucket", &storage.BucketArgs{ Location: pulumi.String("US"), }) if err != nil { return err } archive, err := storage.NewBucketObject(ctx, "archive", &storage.BucketObjectArgs{ Bucket: bucket.Name, Source: pulumi.NewFileAsset("./path/to/zip/file/which/contains/code"), }) if err != nil { return err } function, err := cloudfunctions.NewFunction(ctx, "function", &cloudfunctions.FunctionArgs{ Description: pulumi.String("My function"), Runtime: pulumi.String("nodejs14"), AvailableMemoryMb: pulumi.Int(128), SourceArchiveBucket: bucket.Name, SourceArchiveObject: archive.Name, TriggerHttp: pulumi.Bool(true), Timeout: pulumi.Int(60), EntryPoint: pulumi.String("helloGET"), Labels: pulumi.AnyMap{ "my-label": pulumi.Any("my-label-value"), }, EnvironmentVariables: pulumi.AnyMap{ "MY_ENV_VAR": pulumi.Any("my-env-var-value"), }, }) if err != nil { return err } _, err = cloudfunctions.NewFunctionIamMember(ctx, "invoker", &cloudfunctions.FunctionIamMemberArgs{ Project: function.Project, Region: function.Region, CloudFunction: function.Name, Role: pulumi.String("roles/cloudfunctions.invoker"), Member: pulumi.String("user:myFunctionInvoker@example.com"), }) if err != nil { return err } return nil }) }
```
## Import
Functions can be imported using the `name` or `{{project}}/{{region}}/name`, e.g.
```sh
$ pulumi import gcp:cloudfunctions/function:Function default function-test
```
```sh
$ pulumi import gcp:cloudfunctions/function:Function default {{project}}/{{region}}/function-test
```
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
func (*Function) ToFunctionPtrOutput ¶
func (i *Function) ToFunctionPtrOutput() FunctionPtrOutput
func (*Function) ToFunctionPtrOutputWithContext ¶
func (i *Function) ToFunctionPtrOutputWithContext(ctx context.Context) FunctionPtrOutput
type FunctionArgs ¶
type FunctionArgs struct { // Memory (in MB), available to the function. Default value is `256`. Possible values include `128`, `256`, `512`, `1024`, etc. AvailableMemoryMb pulumi.IntPtrInput // A set of key/value environment variable pairs available during build time. BuildEnvironmentVariables pulumi.MapInput // Description of the function. Description pulumi.StringPtrInput // Name of the function that will be executed when the Google Cloud Function is triggered. EntryPoint pulumi.StringPtrInput // A set of key/value environment variable pairs to assign to the function. EnvironmentVariables pulumi.MapInput // A source that fires events in response to a condition in another service. Structure is documented below. Cannot be used with `triggerHttp`. EventTrigger FunctionEventTriggerPtrInput // URL which triggers function execution. Returned only if `triggerHttp` is used. HttpsTriggerUrl pulumi.StringPtrInput // String value that controls what traffic can reach the function. Allowed values are `ALLOW_ALL`, `ALLOW_INTERNAL_AND_GCLB` and `ALLOW_INTERNAL_ONLY`. Check [ingress documentation](https://cloud.google.com/functions/docs/networking/network-settings#ingress_settings) to see the impact of each settings value. Changes to this field will recreate the cloud function. IngressSettings pulumi.StringPtrInput // A set of key/value label pairs to assign to the function. Label keys must follow the requirements at https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements. Labels pulumi.MapInput // The limit on the maximum number of function instances that may coexist at a given time. MaxInstances pulumi.IntPtrInput // The limit on the minimum number of function instances that may coexist at a given time. MinInstances pulumi.IntPtrInput // A user-defined name of the function. Function names must be unique globally. Name pulumi.StringPtrInput // Project of the function. If it is not provided, the provider project is used. Project pulumi.StringPtrInput // Region of function. If it is not provided, the provider region is used. Region pulumi.StringPtrInput // The runtime in which the function is going to run. // Eg. `"nodejs10"`, `"nodejs12"`, `"nodejs14"`, `"python37"`, `"python38"`, `"python39"`, `"dotnet3"`, `"go113"`, `"java11"`, `"ruby27"`, etc. Check the [official doc](https://cloud.google.com/functions/docs/concepts/exec#runtimes) for the up-to-date list. Runtime pulumi.StringInput // If provided, the self-provided service account to run the function with. ServiceAccountEmail pulumi.StringPtrInput // The GCS bucket containing the zip archive which contains the function. SourceArchiveBucket pulumi.StringPtrInput // The source archive object (file) in archive bucket. SourceArchiveObject pulumi.StringPtrInput // Represents parameters related to source repository where a function is hosted. // Cannot be set alongside `sourceArchiveBucket` or `sourceArchiveObject`. Structure is documented below. SourceRepository FunctionSourceRepositoryPtrInput // Timeout (in seconds) for the function. Default value is 60 seconds. Cannot be more than 540 seconds. Timeout pulumi.IntPtrInput // Boolean variable. Any HTTP request (of a supported type) to the endpoint will trigger function execution. Supported HTTP request types are: POST, PUT, GET, DELETE, and OPTIONS. Endpoint is returned as `httpsTriggerUrl`. Cannot be used with `eventTrigger`. TriggerHttp pulumi.BoolPtrInput // The VPC Network Connector that this cloud function can connect to. It should be set up as fully-qualified URI. The format of this field is `projects/*/locations/*/connectors/*`. VpcConnector pulumi.StringPtrInput // The egress settings for the connector, controlling what traffic is diverted through it. Allowed values are `ALL_TRAFFIC` and `PRIVATE_RANGES_ONLY`. Defaults to `PRIVATE_RANGES_ONLY`. If unset, this field preserves the previously set value. VpcConnectorEgressSettings pulumi.StringPtrInput }
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 FunctionEventTrigger ¶
type FunctionEventTrigger struct { // The type of event to observe. For example: `"google.storage.object.finalize"`. // See the documentation on [calling Cloud Functions](https://cloud.google.com/functions/docs/calling/) for a // full reference of accepted triggers. EventType string `pulumi:"eventType"` // Specifies policy for failed executions. Structure is documented below. FailurePolicy *FunctionEventTriggerFailurePolicy `pulumi:"failurePolicy"` // Required. The name or partial URI of the resource from // which to observe events. For example, `"myBucket"` or `"projects/my-project/topics/my-topic"` Resource string `pulumi:"resource"` }
type FunctionEventTriggerArgs ¶
type FunctionEventTriggerArgs struct { // The type of event to observe. For example: `"google.storage.object.finalize"`. // See the documentation on [calling Cloud Functions](https://cloud.google.com/functions/docs/calling/) for a // full reference of accepted triggers. EventType pulumi.StringInput `pulumi:"eventType"` // Specifies policy for failed executions. Structure is documented below. FailurePolicy FunctionEventTriggerFailurePolicyPtrInput `pulumi:"failurePolicy"` // Required. The name or partial URI of the resource from // which to observe events. For example, `"myBucket"` or `"projects/my-project/topics/my-topic"` Resource pulumi.StringInput `pulumi:"resource"` }
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 FunctionEventTriggerFailurePolicy ¶
type FunctionEventTriggerFailurePolicy struct { // Whether the function should be retried on failure. Defaults to `false`. Retry bool `pulumi:"retry"` }
type FunctionEventTriggerFailurePolicyArgs ¶
type FunctionEventTriggerFailurePolicyArgs struct { // Whether the function should be retried on failure. Defaults to `false`. Retry pulumi.BoolInput `pulumi:"retry"` }
func (FunctionEventTriggerFailurePolicyArgs) ElementType ¶
func (FunctionEventTriggerFailurePolicyArgs) ElementType() reflect.Type
func (FunctionEventTriggerFailurePolicyArgs) ToFunctionEventTriggerFailurePolicyOutput ¶
func (i FunctionEventTriggerFailurePolicyArgs) ToFunctionEventTriggerFailurePolicyOutput() FunctionEventTriggerFailurePolicyOutput
func (FunctionEventTriggerFailurePolicyArgs) ToFunctionEventTriggerFailurePolicyOutputWithContext ¶
func (i FunctionEventTriggerFailurePolicyArgs) ToFunctionEventTriggerFailurePolicyOutputWithContext(ctx context.Context) FunctionEventTriggerFailurePolicyOutput
func (FunctionEventTriggerFailurePolicyArgs) ToFunctionEventTriggerFailurePolicyPtrOutput ¶
func (i FunctionEventTriggerFailurePolicyArgs) ToFunctionEventTriggerFailurePolicyPtrOutput() FunctionEventTriggerFailurePolicyPtrOutput
func (FunctionEventTriggerFailurePolicyArgs) ToFunctionEventTriggerFailurePolicyPtrOutputWithContext ¶
func (i FunctionEventTriggerFailurePolicyArgs) ToFunctionEventTriggerFailurePolicyPtrOutputWithContext(ctx context.Context) FunctionEventTriggerFailurePolicyPtrOutput
type FunctionEventTriggerFailurePolicyInput ¶
type FunctionEventTriggerFailurePolicyInput interface { pulumi.Input ToFunctionEventTriggerFailurePolicyOutput() FunctionEventTriggerFailurePolicyOutput ToFunctionEventTriggerFailurePolicyOutputWithContext(context.Context) FunctionEventTriggerFailurePolicyOutput }
FunctionEventTriggerFailurePolicyInput is an input type that accepts FunctionEventTriggerFailurePolicyArgs and FunctionEventTriggerFailurePolicyOutput values. You can construct a concrete instance of `FunctionEventTriggerFailurePolicyInput` via:
FunctionEventTriggerFailurePolicyArgs{...}
type FunctionEventTriggerFailurePolicyOutput ¶
type FunctionEventTriggerFailurePolicyOutput struct{ *pulumi.OutputState }
func (FunctionEventTriggerFailurePolicyOutput) ElementType ¶
func (FunctionEventTriggerFailurePolicyOutput) ElementType() reflect.Type
func (FunctionEventTriggerFailurePolicyOutput) Retry ¶
func (o FunctionEventTriggerFailurePolicyOutput) Retry() pulumi.BoolOutput
Whether the function should be retried on failure. Defaults to `false`.
func (FunctionEventTriggerFailurePolicyOutput) ToFunctionEventTriggerFailurePolicyOutput ¶
func (o FunctionEventTriggerFailurePolicyOutput) ToFunctionEventTriggerFailurePolicyOutput() FunctionEventTriggerFailurePolicyOutput
func (FunctionEventTriggerFailurePolicyOutput) ToFunctionEventTriggerFailurePolicyOutputWithContext ¶
func (o FunctionEventTriggerFailurePolicyOutput) ToFunctionEventTriggerFailurePolicyOutputWithContext(ctx context.Context) FunctionEventTriggerFailurePolicyOutput
func (FunctionEventTriggerFailurePolicyOutput) ToFunctionEventTriggerFailurePolicyPtrOutput ¶
func (o FunctionEventTriggerFailurePolicyOutput) ToFunctionEventTriggerFailurePolicyPtrOutput() FunctionEventTriggerFailurePolicyPtrOutput
func (FunctionEventTriggerFailurePolicyOutput) ToFunctionEventTriggerFailurePolicyPtrOutputWithContext ¶
func (o FunctionEventTriggerFailurePolicyOutput) ToFunctionEventTriggerFailurePolicyPtrOutputWithContext(ctx context.Context) FunctionEventTriggerFailurePolicyPtrOutput
type FunctionEventTriggerFailurePolicyPtrInput ¶
type FunctionEventTriggerFailurePolicyPtrInput interface { pulumi.Input ToFunctionEventTriggerFailurePolicyPtrOutput() FunctionEventTriggerFailurePolicyPtrOutput ToFunctionEventTriggerFailurePolicyPtrOutputWithContext(context.Context) FunctionEventTriggerFailurePolicyPtrOutput }
FunctionEventTriggerFailurePolicyPtrInput is an input type that accepts FunctionEventTriggerFailurePolicyArgs, FunctionEventTriggerFailurePolicyPtr and FunctionEventTriggerFailurePolicyPtrOutput values. You can construct a concrete instance of `FunctionEventTriggerFailurePolicyPtrInput` via:
FunctionEventTriggerFailurePolicyArgs{...} or: nil
func FunctionEventTriggerFailurePolicyPtr ¶
func FunctionEventTriggerFailurePolicyPtr(v *FunctionEventTriggerFailurePolicyArgs) FunctionEventTriggerFailurePolicyPtrInput
type FunctionEventTriggerFailurePolicyPtrOutput ¶
type FunctionEventTriggerFailurePolicyPtrOutput struct{ *pulumi.OutputState }
func (FunctionEventTriggerFailurePolicyPtrOutput) ElementType ¶
func (FunctionEventTriggerFailurePolicyPtrOutput) ElementType() reflect.Type
func (FunctionEventTriggerFailurePolicyPtrOutput) Retry ¶
func (o FunctionEventTriggerFailurePolicyPtrOutput) Retry() pulumi.BoolPtrOutput
Whether the function should be retried on failure. Defaults to `false`.
func (FunctionEventTriggerFailurePolicyPtrOutput) ToFunctionEventTriggerFailurePolicyPtrOutput ¶
func (o FunctionEventTriggerFailurePolicyPtrOutput) ToFunctionEventTriggerFailurePolicyPtrOutput() FunctionEventTriggerFailurePolicyPtrOutput
func (FunctionEventTriggerFailurePolicyPtrOutput) ToFunctionEventTriggerFailurePolicyPtrOutputWithContext ¶
func (o FunctionEventTriggerFailurePolicyPtrOutput) ToFunctionEventTriggerFailurePolicyPtrOutputWithContext(ctx context.Context) FunctionEventTriggerFailurePolicyPtrOutput
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) EventType ¶
func (o FunctionEventTriggerOutput) EventType() pulumi.StringOutput
The type of event to observe. For example: `"google.storage.object.finalize"`. See the documentation on [calling Cloud Functions](https://cloud.google.com/functions/docs/calling/) for a full reference of accepted triggers.
func (FunctionEventTriggerOutput) FailurePolicy ¶
func (o FunctionEventTriggerOutput) FailurePolicy() FunctionEventTriggerFailurePolicyPtrOutput
Specifies policy for failed executions. Structure is documented below.
func (FunctionEventTriggerOutput) Resource ¶
func (o FunctionEventTriggerOutput) Resource() pulumi.StringOutput
Required. The name or partial URI of the resource from which to observe events. For example, `"myBucket"` or `"projects/my-project/topics/my-topic"`
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
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) EventType ¶
func (o FunctionEventTriggerPtrOutput) EventType() pulumi.StringPtrOutput
The type of event to observe. For example: `"google.storage.object.finalize"`. See the documentation on [calling Cloud Functions](https://cloud.google.com/functions/docs/calling/) for a full reference of accepted triggers.
func (FunctionEventTriggerPtrOutput) FailurePolicy ¶
func (o FunctionEventTriggerPtrOutput) FailurePolicy() FunctionEventTriggerFailurePolicyPtrOutput
Specifies policy for failed executions. Structure is documented below.
func (FunctionEventTriggerPtrOutput) Resource ¶
func (o FunctionEventTriggerPtrOutput) Resource() pulumi.StringPtrOutput
Required. The name or partial URI of the resource from which to observe events. For example, `"myBucket"` or `"projects/my-project/topics/my-topic"`
func (FunctionEventTriggerPtrOutput) ToFunctionEventTriggerPtrOutput ¶
func (o FunctionEventTriggerPtrOutput) ToFunctionEventTriggerPtrOutput() FunctionEventTriggerPtrOutput
func (FunctionEventTriggerPtrOutput) ToFunctionEventTriggerPtrOutputWithContext ¶
func (o FunctionEventTriggerPtrOutput) ToFunctionEventTriggerPtrOutputWithContext(ctx context.Context) FunctionEventTriggerPtrOutput
type FunctionIamBinding ¶
type FunctionIamBinding struct { pulumi.CustomResourceState CloudFunction pulumi.StringOutput `pulumi:"cloudFunction"` Condition FunctionIamBindingConditionPtrOutput `pulumi:"condition"` Etag pulumi.StringOutput `pulumi:"etag"` Members pulumi.StringArrayOutput `pulumi:"members"` Project pulumi.StringOutput `pulumi:"project"` Region pulumi.StringOutput `pulumi:"region"` Role pulumi.StringOutput `pulumi:"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
func (*FunctionIamBinding) ToFunctionIamBindingPtrOutput ¶
func (i *FunctionIamBinding) ToFunctionIamBindingPtrOutput() FunctionIamBindingPtrOutput
func (*FunctionIamBinding) ToFunctionIamBindingPtrOutputWithContext ¶
func (i *FunctionIamBinding) ToFunctionIamBindingPtrOutputWithContext(ctx context.Context) FunctionIamBindingPtrOutput
type FunctionIamBindingArgs ¶
type FunctionIamBindingArgs struct { CloudFunction pulumi.StringInput Condition FunctionIamBindingConditionPtrInput Members pulumi.StringArrayInput Project pulumi.StringPtrInput Region pulumi.StringPtrInput 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) ElementType ¶
func (FunctionIamBindingOutput) ElementType() reflect.Type
func (FunctionIamBindingOutput) ToFunctionIamBindingOutput ¶
func (o FunctionIamBindingOutput) ToFunctionIamBindingOutput() FunctionIamBindingOutput
func (FunctionIamBindingOutput) ToFunctionIamBindingOutputWithContext ¶
func (o FunctionIamBindingOutput) ToFunctionIamBindingOutputWithContext(ctx context.Context) FunctionIamBindingOutput
func (FunctionIamBindingOutput) ToFunctionIamBindingPtrOutput ¶
func (o FunctionIamBindingOutput) ToFunctionIamBindingPtrOutput() FunctionIamBindingPtrOutput
func (FunctionIamBindingOutput) ToFunctionIamBindingPtrOutputWithContext ¶
func (o FunctionIamBindingOutput) ToFunctionIamBindingPtrOutputWithContext(ctx context.Context) FunctionIamBindingPtrOutput
type FunctionIamBindingPtrInput ¶
type FunctionIamBindingPtrInput interface { pulumi.Input ToFunctionIamBindingPtrOutput() FunctionIamBindingPtrOutput ToFunctionIamBindingPtrOutputWithContext(ctx context.Context) FunctionIamBindingPtrOutput }
type FunctionIamBindingPtrOutput ¶
type FunctionIamBindingPtrOutput struct{ *pulumi.OutputState }
func (FunctionIamBindingPtrOutput) Elem ¶
func (o FunctionIamBindingPtrOutput) Elem() FunctionIamBindingOutput
func (FunctionIamBindingPtrOutput) ElementType ¶
func (FunctionIamBindingPtrOutput) ElementType() reflect.Type
func (FunctionIamBindingPtrOutput) ToFunctionIamBindingPtrOutput ¶
func (o FunctionIamBindingPtrOutput) ToFunctionIamBindingPtrOutput() FunctionIamBindingPtrOutput
func (FunctionIamBindingPtrOutput) ToFunctionIamBindingPtrOutputWithContext ¶
func (o FunctionIamBindingPtrOutput) ToFunctionIamBindingPtrOutputWithContext(ctx context.Context) FunctionIamBindingPtrOutput
type FunctionIamBindingState ¶
type FunctionIamBindingState struct { CloudFunction pulumi.StringPtrInput Condition FunctionIamBindingConditionPtrInput Etag pulumi.StringPtrInput Members pulumi.StringArrayInput Project pulumi.StringPtrInput Region pulumi.StringPtrInput Role pulumi.StringPtrInput }
func (FunctionIamBindingState) ElementType ¶
func (FunctionIamBindingState) ElementType() reflect.Type
type FunctionIamMember ¶
type FunctionIamMember struct { pulumi.CustomResourceState CloudFunction pulumi.StringOutput `pulumi:"cloudFunction"` Condition FunctionIamMemberConditionPtrOutput `pulumi:"condition"` Etag pulumi.StringOutput `pulumi:"etag"` Member pulumi.StringOutput `pulumi:"member"` Project pulumi.StringOutput `pulumi:"project"` Region pulumi.StringOutput `pulumi:"region"` Role pulumi.StringOutput `pulumi:"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
func (*FunctionIamMember) ToFunctionIamMemberPtrOutput ¶
func (i *FunctionIamMember) ToFunctionIamMemberPtrOutput() FunctionIamMemberPtrOutput
func (*FunctionIamMember) ToFunctionIamMemberPtrOutputWithContext ¶
func (i *FunctionIamMember) ToFunctionIamMemberPtrOutputWithContext(ctx context.Context) FunctionIamMemberPtrOutput
type FunctionIamMemberArgs ¶
type FunctionIamMemberArgs struct { CloudFunction pulumi.StringInput Condition FunctionIamMemberConditionPtrInput Member pulumi.StringInput Project pulumi.StringPtrInput Region pulumi.StringPtrInput 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) ElementType ¶
func (FunctionIamMemberOutput) ElementType() reflect.Type
func (FunctionIamMemberOutput) ToFunctionIamMemberOutput ¶
func (o FunctionIamMemberOutput) ToFunctionIamMemberOutput() FunctionIamMemberOutput
func (FunctionIamMemberOutput) ToFunctionIamMemberOutputWithContext ¶
func (o FunctionIamMemberOutput) ToFunctionIamMemberOutputWithContext(ctx context.Context) FunctionIamMemberOutput
func (FunctionIamMemberOutput) ToFunctionIamMemberPtrOutput ¶
func (o FunctionIamMemberOutput) ToFunctionIamMemberPtrOutput() FunctionIamMemberPtrOutput
func (FunctionIamMemberOutput) ToFunctionIamMemberPtrOutputWithContext ¶
func (o FunctionIamMemberOutput) ToFunctionIamMemberPtrOutputWithContext(ctx context.Context) FunctionIamMemberPtrOutput
type FunctionIamMemberPtrInput ¶
type FunctionIamMemberPtrInput interface { pulumi.Input ToFunctionIamMemberPtrOutput() FunctionIamMemberPtrOutput ToFunctionIamMemberPtrOutputWithContext(ctx context.Context) FunctionIamMemberPtrOutput }
type FunctionIamMemberPtrOutput ¶
type FunctionIamMemberPtrOutput struct{ *pulumi.OutputState }
func (FunctionIamMemberPtrOutput) Elem ¶
func (o FunctionIamMemberPtrOutput) Elem() FunctionIamMemberOutput
func (FunctionIamMemberPtrOutput) ElementType ¶
func (FunctionIamMemberPtrOutput) ElementType() reflect.Type
func (FunctionIamMemberPtrOutput) ToFunctionIamMemberPtrOutput ¶
func (o FunctionIamMemberPtrOutput) ToFunctionIamMemberPtrOutput() FunctionIamMemberPtrOutput
func (FunctionIamMemberPtrOutput) ToFunctionIamMemberPtrOutputWithContext ¶
func (o FunctionIamMemberPtrOutput) ToFunctionIamMemberPtrOutputWithContext(ctx context.Context) FunctionIamMemberPtrOutput
type FunctionIamMemberState ¶
type FunctionIamMemberState struct { CloudFunction pulumi.StringPtrInput Condition FunctionIamMemberConditionPtrInput Etag pulumi.StringPtrInput Member pulumi.StringPtrInput Project pulumi.StringPtrInput Region pulumi.StringPtrInput Role pulumi.StringPtrInput }
func (FunctionIamMemberState) ElementType ¶
func (FunctionIamMemberState) ElementType() reflect.Type
type FunctionIamPolicy ¶
type FunctionIamPolicy struct { pulumi.CustomResourceState CloudFunction pulumi.StringOutput `pulumi:"cloudFunction"` Etag pulumi.StringOutput `pulumi:"etag"` PolicyData pulumi.StringOutput `pulumi:"policyData"` Project pulumi.StringOutput `pulumi:"project"` Region pulumi.StringOutput `pulumi:"region"` }
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
func (*FunctionIamPolicy) ToFunctionIamPolicyPtrOutput ¶
func (i *FunctionIamPolicy) ToFunctionIamPolicyPtrOutput() FunctionIamPolicyPtrOutput
func (*FunctionIamPolicy) ToFunctionIamPolicyPtrOutputWithContext ¶
func (i *FunctionIamPolicy) ToFunctionIamPolicyPtrOutputWithContext(ctx context.Context) FunctionIamPolicyPtrOutput
type FunctionIamPolicyArgs ¶
type FunctionIamPolicyArgs struct { CloudFunction pulumi.StringInput PolicyData pulumi.StringInput Project pulumi.StringPtrInput Region 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) ElementType ¶
func (FunctionIamPolicyOutput) ElementType() reflect.Type
func (FunctionIamPolicyOutput) ToFunctionIamPolicyOutput ¶
func (o FunctionIamPolicyOutput) ToFunctionIamPolicyOutput() FunctionIamPolicyOutput
func (FunctionIamPolicyOutput) ToFunctionIamPolicyOutputWithContext ¶
func (o FunctionIamPolicyOutput) ToFunctionIamPolicyOutputWithContext(ctx context.Context) FunctionIamPolicyOutput
func (FunctionIamPolicyOutput) ToFunctionIamPolicyPtrOutput ¶
func (o FunctionIamPolicyOutput) ToFunctionIamPolicyPtrOutput() FunctionIamPolicyPtrOutput
func (FunctionIamPolicyOutput) ToFunctionIamPolicyPtrOutputWithContext ¶
func (o FunctionIamPolicyOutput) ToFunctionIamPolicyPtrOutputWithContext(ctx context.Context) FunctionIamPolicyPtrOutput
type FunctionIamPolicyPtrInput ¶
type FunctionIamPolicyPtrInput interface { pulumi.Input ToFunctionIamPolicyPtrOutput() FunctionIamPolicyPtrOutput ToFunctionIamPolicyPtrOutputWithContext(ctx context.Context) FunctionIamPolicyPtrOutput }
type FunctionIamPolicyPtrOutput ¶
type FunctionIamPolicyPtrOutput struct{ *pulumi.OutputState }
func (FunctionIamPolicyPtrOutput) Elem ¶
func (o FunctionIamPolicyPtrOutput) Elem() FunctionIamPolicyOutput
func (FunctionIamPolicyPtrOutput) ElementType ¶
func (FunctionIamPolicyPtrOutput) ElementType() reflect.Type
func (FunctionIamPolicyPtrOutput) ToFunctionIamPolicyPtrOutput ¶
func (o FunctionIamPolicyPtrOutput) ToFunctionIamPolicyPtrOutput() FunctionIamPolicyPtrOutput
func (FunctionIamPolicyPtrOutput) ToFunctionIamPolicyPtrOutputWithContext ¶
func (o FunctionIamPolicyPtrOutput) ToFunctionIamPolicyPtrOutputWithContext(ctx context.Context) FunctionIamPolicyPtrOutput
type FunctionIamPolicyState ¶
type FunctionIamPolicyState struct { CloudFunction pulumi.StringPtrInput Etag pulumi.StringPtrInput PolicyData pulumi.StringPtrInput Project pulumi.StringPtrInput Region 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) ElementType ¶
func (FunctionOutput) ElementType() reflect.Type
func (FunctionOutput) ToFunctionOutput ¶
func (o FunctionOutput) ToFunctionOutput() FunctionOutput
func (FunctionOutput) ToFunctionOutputWithContext ¶
func (o FunctionOutput) ToFunctionOutputWithContext(ctx context.Context) FunctionOutput
func (FunctionOutput) ToFunctionPtrOutput ¶
func (o FunctionOutput) ToFunctionPtrOutput() FunctionPtrOutput
func (FunctionOutput) ToFunctionPtrOutputWithContext ¶
func (o FunctionOutput) ToFunctionPtrOutputWithContext(ctx context.Context) FunctionPtrOutput
type FunctionPtrInput ¶
type FunctionPtrInput interface { pulumi.Input ToFunctionPtrOutput() FunctionPtrOutput ToFunctionPtrOutputWithContext(ctx context.Context) FunctionPtrOutput }
type FunctionPtrOutput ¶
type FunctionPtrOutput struct{ *pulumi.OutputState }
func (FunctionPtrOutput) Elem ¶
func (o FunctionPtrOutput) Elem() FunctionOutput
func (FunctionPtrOutput) ElementType ¶
func (FunctionPtrOutput) ElementType() reflect.Type
func (FunctionPtrOutput) ToFunctionPtrOutput ¶
func (o FunctionPtrOutput) ToFunctionPtrOutput() FunctionPtrOutput
func (FunctionPtrOutput) ToFunctionPtrOutputWithContext ¶
func (o FunctionPtrOutput) ToFunctionPtrOutputWithContext(ctx context.Context) FunctionPtrOutput
type FunctionSourceRepositoryArgs ¶
type FunctionSourceRepositoryArgs struct { DeployedUrl pulumi.StringPtrInput `pulumi:"deployedUrl"` // The URL pointing to the hosted repository where the function is defined. There are supported Cloud Source Repository URLs in the following formats: Url pulumi.StringInput `pulumi:"url"` }
func (FunctionSourceRepositoryArgs) ElementType ¶
func (FunctionSourceRepositoryArgs) ElementType() reflect.Type
func (FunctionSourceRepositoryArgs) ToFunctionSourceRepositoryOutput ¶
func (i FunctionSourceRepositoryArgs) ToFunctionSourceRepositoryOutput() FunctionSourceRepositoryOutput
func (FunctionSourceRepositoryArgs) ToFunctionSourceRepositoryOutputWithContext ¶
func (i FunctionSourceRepositoryArgs) ToFunctionSourceRepositoryOutputWithContext(ctx context.Context) FunctionSourceRepositoryOutput
func (FunctionSourceRepositoryArgs) ToFunctionSourceRepositoryPtrOutput ¶
func (i FunctionSourceRepositoryArgs) ToFunctionSourceRepositoryPtrOutput() FunctionSourceRepositoryPtrOutput
func (FunctionSourceRepositoryArgs) ToFunctionSourceRepositoryPtrOutputWithContext ¶
func (i FunctionSourceRepositoryArgs) ToFunctionSourceRepositoryPtrOutputWithContext(ctx context.Context) FunctionSourceRepositoryPtrOutput
type FunctionSourceRepositoryInput ¶
type FunctionSourceRepositoryInput interface { pulumi.Input ToFunctionSourceRepositoryOutput() FunctionSourceRepositoryOutput ToFunctionSourceRepositoryOutputWithContext(context.Context) FunctionSourceRepositoryOutput }
FunctionSourceRepositoryInput is an input type that accepts FunctionSourceRepositoryArgs and FunctionSourceRepositoryOutput values. You can construct a concrete instance of `FunctionSourceRepositoryInput` via:
FunctionSourceRepositoryArgs{...}
type FunctionSourceRepositoryOutput ¶
type FunctionSourceRepositoryOutput struct{ *pulumi.OutputState }
func (FunctionSourceRepositoryOutput) DeployedUrl ¶
func (o FunctionSourceRepositoryOutput) DeployedUrl() pulumi.StringPtrOutput
func (FunctionSourceRepositoryOutput) ElementType ¶
func (FunctionSourceRepositoryOutput) ElementType() reflect.Type
func (FunctionSourceRepositoryOutput) ToFunctionSourceRepositoryOutput ¶
func (o FunctionSourceRepositoryOutput) ToFunctionSourceRepositoryOutput() FunctionSourceRepositoryOutput
func (FunctionSourceRepositoryOutput) ToFunctionSourceRepositoryOutputWithContext ¶
func (o FunctionSourceRepositoryOutput) ToFunctionSourceRepositoryOutputWithContext(ctx context.Context) FunctionSourceRepositoryOutput
func (FunctionSourceRepositoryOutput) ToFunctionSourceRepositoryPtrOutput ¶
func (o FunctionSourceRepositoryOutput) ToFunctionSourceRepositoryPtrOutput() FunctionSourceRepositoryPtrOutput
func (FunctionSourceRepositoryOutput) ToFunctionSourceRepositoryPtrOutputWithContext ¶
func (o FunctionSourceRepositoryOutput) ToFunctionSourceRepositoryPtrOutputWithContext(ctx context.Context) FunctionSourceRepositoryPtrOutput
func (FunctionSourceRepositoryOutput) Url ¶
func (o FunctionSourceRepositoryOutput) Url() pulumi.StringOutput
The URL pointing to the hosted repository where the function is defined. There are supported Cloud Source Repository URLs in the following formats:
type FunctionSourceRepositoryPtrInput ¶
type FunctionSourceRepositoryPtrInput interface { pulumi.Input ToFunctionSourceRepositoryPtrOutput() FunctionSourceRepositoryPtrOutput ToFunctionSourceRepositoryPtrOutputWithContext(context.Context) FunctionSourceRepositoryPtrOutput }
FunctionSourceRepositoryPtrInput is an input type that accepts FunctionSourceRepositoryArgs, FunctionSourceRepositoryPtr and FunctionSourceRepositoryPtrOutput values. You can construct a concrete instance of `FunctionSourceRepositoryPtrInput` via:
FunctionSourceRepositoryArgs{...} or: nil
func FunctionSourceRepositoryPtr ¶
func FunctionSourceRepositoryPtr(v *FunctionSourceRepositoryArgs) FunctionSourceRepositoryPtrInput
type FunctionSourceRepositoryPtrOutput ¶
type FunctionSourceRepositoryPtrOutput struct{ *pulumi.OutputState }
func (FunctionSourceRepositoryPtrOutput) DeployedUrl ¶
func (o FunctionSourceRepositoryPtrOutput) DeployedUrl() pulumi.StringPtrOutput
func (FunctionSourceRepositoryPtrOutput) Elem ¶
func (o FunctionSourceRepositoryPtrOutput) Elem() FunctionSourceRepositoryOutput
func (FunctionSourceRepositoryPtrOutput) ElementType ¶
func (FunctionSourceRepositoryPtrOutput) ElementType() reflect.Type
func (FunctionSourceRepositoryPtrOutput) ToFunctionSourceRepositoryPtrOutput ¶
func (o FunctionSourceRepositoryPtrOutput) ToFunctionSourceRepositoryPtrOutput() FunctionSourceRepositoryPtrOutput
func (FunctionSourceRepositoryPtrOutput) ToFunctionSourceRepositoryPtrOutputWithContext ¶
func (o FunctionSourceRepositoryPtrOutput) ToFunctionSourceRepositoryPtrOutputWithContext(ctx context.Context) FunctionSourceRepositoryPtrOutput
func (FunctionSourceRepositoryPtrOutput) Url ¶
func (o FunctionSourceRepositoryPtrOutput) Url() pulumi.StringPtrOutput
The URL pointing to the hosted repository where the function is defined. There are supported Cloud Source Repository URLs in the following formats:
type FunctionState ¶
type FunctionState struct { // Memory (in MB), available to the function. Default value is `256`. Possible values include `128`, `256`, `512`, `1024`, etc. AvailableMemoryMb pulumi.IntPtrInput // A set of key/value environment variable pairs available during build time. BuildEnvironmentVariables pulumi.MapInput // Description of the function. Description pulumi.StringPtrInput // Name of the function that will be executed when the Google Cloud Function is triggered. EntryPoint pulumi.StringPtrInput // A set of key/value environment variable pairs to assign to the function. EnvironmentVariables pulumi.MapInput // A source that fires events in response to a condition in another service. Structure is documented below. Cannot be used with `triggerHttp`. EventTrigger FunctionEventTriggerPtrInput // URL which triggers function execution. Returned only if `triggerHttp` is used. HttpsTriggerUrl pulumi.StringPtrInput // String value that controls what traffic can reach the function. Allowed values are `ALLOW_ALL`, `ALLOW_INTERNAL_AND_GCLB` and `ALLOW_INTERNAL_ONLY`. Check [ingress documentation](https://cloud.google.com/functions/docs/networking/network-settings#ingress_settings) to see the impact of each settings value. Changes to this field will recreate the cloud function. IngressSettings pulumi.StringPtrInput // A set of key/value label pairs to assign to the function. Label keys must follow the requirements at https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements. Labels pulumi.MapInput // The limit on the maximum number of function instances that may coexist at a given time. MaxInstances pulumi.IntPtrInput // The limit on the minimum number of function instances that may coexist at a given time. MinInstances pulumi.IntPtrInput // A user-defined name of the function. Function names must be unique globally. Name pulumi.StringPtrInput // Project of the function. If it is not provided, the provider project is used. Project pulumi.StringPtrInput // Region of function. If it is not provided, the provider region is used. Region pulumi.StringPtrInput // The runtime in which the function is going to run. // Eg. `"nodejs10"`, `"nodejs12"`, `"nodejs14"`, `"python37"`, `"python38"`, `"python39"`, `"dotnet3"`, `"go113"`, `"java11"`, `"ruby27"`, etc. Check the [official doc](https://cloud.google.com/functions/docs/concepts/exec#runtimes) for the up-to-date list. Runtime pulumi.StringPtrInput // If provided, the self-provided service account to run the function with. ServiceAccountEmail pulumi.StringPtrInput // The GCS bucket containing the zip archive which contains the function. SourceArchiveBucket pulumi.StringPtrInput // The source archive object (file) in archive bucket. SourceArchiveObject pulumi.StringPtrInput // Represents parameters related to source repository where a function is hosted. // Cannot be set alongside `sourceArchiveBucket` or `sourceArchiveObject`. Structure is documented below. SourceRepository FunctionSourceRepositoryPtrInput // Timeout (in seconds) for the function. Default value is 60 seconds. Cannot be more than 540 seconds. Timeout pulumi.IntPtrInput // Boolean variable. Any HTTP request (of a supported type) to the endpoint will trigger function execution. Supported HTTP request types are: POST, PUT, GET, DELETE, and OPTIONS. Endpoint is returned as `httpsTriggerUrl`. Cannot be used with `eventTrigger`. TriggerHttp pulumi.BoolPtrInput // The VPC Network Connector that this cloud function can connect to. It should be set up as fully-qualified URI. The format of this field is `projects/*/locations/*/connectors/*`. VpcConnector pulumi.StringPtrInput // The egress settings for the connector, controlling what traffic is diverted through it. Allowed values are `ALL_TRAFFIC` and `PRIVATE_RANGES_ONLY`. Defaults to `PRIVATE_RANGES_ONLY`. If unset, this field preserves the previously set value. VpcConnectorEgressSettings pulumi.StringPtrInput }
func (FunctionState) ElementType ¶
func (FunctionState) ElementType() reflect.Type
type GetFunctionEventTrigger ¶
type GetFunctionEventTrigger struct { // The type of event to observe. For example: `"google.storage.object.finalize"`. // See the documentation on [calling Cloud Functions](https://cloud.google.com/functions/docs/calling/) // for a full reference of accepted triggers. EventType string `pulumi:"eventType"` // Policy for failed executions. Structure is documented below. FailurePolicies []GetFunctionEventTriggerFailurePolicy `pulumi:"failurePolicies"` // The name of the resource whose events are being observed, for example, `"myBucket"` Resource string `pulumi:"resource"` }
type GetFunctionEventTriggerArgs ¶
type GetFunctionEventTriggerArgs struct { // The type of event to observe. For example: `"google.storage.object.finalize"`. // See the documentation on [calling Cloud Functions](https://cloud.google.com/functions/docs/calling/) // for a full reference of accepted triggers. EventType pulumi.StringInput `pulumi:"eventType"` // Policy for failed executions. Structure is documented below. FailurePolicies GetFunctionEventTriggerFailurePolicyArrayInput `pulumi:"failurePolicies"` // The name of the resource whose events are being observed, for example, `"myBucket"` Resource pulumi.StringInput `pulumi:"resource"` }
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 GetFunctionEventTriggerFailurePolicy ¶
type GetFunctionEventTriggerFailurePolicy struct { // Whether the function should be retried on failure. Retry bool `pulumi:"retry"` }
type GetFunctionEventTriggerFailurePolicyArgs ¶
type GetFunctionEventTriggerFailurePolicyArgs struct { // Whether the function should be retried on failure. Retry pulumi.BoolInput `pulumi:"retry"` }
func (GetFunctionEventTriggerFailurePolicyArgs) ElementType ¶
func (GetFunctionEventTriggerFailurePolicyArgs) ElementType() reflect.Type
func (GetFunctionEventTriggerFailurePolicyArgs) ToGetFunctionEventTriggerFailurePolicyOutput ¶
func (i GetFunctionEventTriggerFailurePolicyArgs) ToGetFunctionEventTriggerFailurePolicyOutput() GetFunctionEventTriggerFailurePolicyOutput
func (GetFunctionEventTriggerFailurePolicyArgs) ToGetFunctionEventTriggerFailurePolicyOutputWithContext ¶
func (i GetFunctionEventTriggerFailurePolicyArgs) ToGetFunctionEventTriggerFailurePolicyOutputWithContext(ctx context.Context) GetFunctionEventTriggerFailurePolicyOutput
type GetFunctionEventTriggerFailurePolicyArray ¶
type GetFunctionEventTriggerFailurePolicyArray []GetFunctionEventTriggerFailurePolicyInput
func (GetFunctionEventTriggerFailurePolicyArray) ElementType ¶
func (GetFunctionEventTriggerFailurePolicyArray) ElementType() reflect.Type
func (GetFunctionEventTriggerFailurePolicyArray) ToGetFunctionEventTriggerFailurePolicyArrayOutput ¶
func (i GetFunctionEventTriggerFailurePolicyArray) ToGetFunctionEventTriggerFailurePolicyArrayOutput() GetFunctionEventTriggerFailurePolicyArrayOutput
func (GetFunctionEventTriggerFailurePolicyArray) ToGetFunctionEventTriggerFailurePolicyArrayOutputWithContext ¶
func (i GetFunctionEventTriggerFailurePolicyArray) ToGetFunctionEventTriggerFailurePolicyArrayOutputWithContext(ctx context.Context) GetFunctionEventTriggerFailurePolicyArrayOutput
type GetFunctionEventTriggerFailurePolicyArrayInput ¶
type GetFunctionEventTriggerFailurePolicyArrayInput interface { pulumi.Input ToGetFunctionEventTriggerFailurePolicyArrayOutput() GetFunctionEventTriggerFailurePolicyArrayOutput ToGetFunctionEventTriggerFailurePolicyArrayOutputWithContext(context.Context) GetFunctionEventTriggerFailurePolicyArrayOutput }
GetFunctionEventTriggerFailurePolicyArrayInput is an input type that accepts GetFunctionEventTriggerFailurePolicyArray and GetFunctionEventTriggerFailurePolicyArrayOutput values. You can construct a concrete instance of `GetFunctionEventTriggerFailurePolicyArrayInput` via:
GetFunctionEventTriggerFailurePolicyArray{ GetFunctionEventTriggerFailurePolicyArgs{...} }
type GetFunctionEventTriggerFailurePolicyArrayOutput ¶
type GetFunctionEventTriggerFailurePolicyArrayOutput struct{ *pulumi.OutputState }
func (GetFunctionEventTriggerFailurePolicyArrayOutput) ElementType ¶
func (GetFunctionEventTriggerFailurePolicyArrayOutput) ElementType() reflect.Type
func (GetFunctionEventTriggerFailurePolicyArrayOutput) ToGetFunctionEventTriggerFailurePolicyArrayOutput ¶
func (o GetFunctionEventTriggerFailurePolicyArrayOutput) ToGetFunctionEventTriggerFailurePolicyArrayOutput() GetFunctionEventTriggerFailurePolicyArrayOutput
func (GetFunctionEventTriggerFailurePolicyArrayOutput) ToGetFunctionEventTriggerFailurePolicyArrayOutputWithContext ¶
func (o GetFunctionEventTriggerFailurePolicyArrayOutput) ToGetFunctionEventTriggerFailurePolicyArrayOutputWithContext(ctx context.Context) GetFunctionEventTriggerFailurePolicyArrayOutput
type GetFunctionEventTriggerFailurePolicyInput ¶
type GetFunctionEventTriggerFailurePolicyInput interface { pulumi.Input ToGetFunctionEventTriggerFailurePolicyOutput() GetFunctionEventTriggerFailurePolicyOutput ToGetFunctionEventTriggerFailurePolicyOutputWithContext(context.Context) GetFunctionEventTriggerFailurePolicyOutput }
GetFunctionEventTriggerFailurePolicyInput is an input type that accepts GetFunctionEventTriggerFailurePolicyArgs and GetFunctionEventTriggerFailurePolicyOutput values. You can construct a concrete instance of `GetFunctionEventTriggerFailurePolicyInput` via:
GetFunctionEventTriggerFailurePolicyArgs{...}
type GetFunctionEventTriggerFailurePolicyOutput ¶
type GetFunctionEventTriggerFailurePolicyOutput struct{ *pulumi.OutputState }
func (GetFunctionEventTriggerFailurePolicyOutput) ElementType ¶
func (GetFunctionEventTriggerFailurePolicyOutput) ElementType() reflect.Type
func (GetFunctionEventTriggerFailurePolicyOutput) Retry ¶
func (o GetFunctionEventTriggerFailurePolicyOutput) Retry() pulumi.BoolOutput
Whether the function should be retried on failure.
func (GetFunctionEventTriggerFailurePolicyOutput) ToGetFunctionEventTriggerFailurePolicyOutput ¶
func (o GetFunctionEventTriggerFailurePolicyOutput) ToGetFunctionEventTriggerFailurePolicyOutput() GetFunctionEventTriggerFailurePolicyOutput
func (GetFunctionEventTriggerFailurePolicyOutput) ToGetFunctionEventTriggerFailurePolicyOutputWithContext ¶
func (o GetFunctionEventTriggerFailurePolicyOutput) ToGetFunctionEventTriggerFailurePolicyOutputWithContext(ctx context.Context) GetFunctionEventTriggerFailurePolicyOutput
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) EventType ¶
func (o GetFunctionEventTriggerOutput) EventType() pulumi.StringOutput
The type of event to observe. For example: `"google.storage.object.finalize"`. See the documentation on [calling Cloud Functions](https://cloud.google.com/functions/docs/calling/) for a full reference of accepted triggers.
func (GetFunctionEventTriggerOutput) FailurePolicies ¶
func (o GetFunctionEventTriggerOutput) FailurePolicies() GetFunctionEventTriggerFailurePolicyArrayOutput
Policy for failed executions. Structure is documented below.
func (GetFunctionEventTriggerOutput) Resource ¶
func (o GetFunctionEventTriggerOutput) Resource() pulumi.StringOutput
The name of the resource whose events are being observed, for example, `"myBucket"`
func (GetFunctionEventTriggerOutput) ToGetFunctionEventTriggerOutput ¶
func (o GetFunctionEventTriggerOutput) ToGetFunctionEventTriggerOutput() GetFunctionEventTriggerOutput
func (GetFunctionEventTriggerOutput) ToGetFunctionEventTriggerOutputWithContext ¶
func (o GetFunctionEventTriggerOutput) ToGetFunctionEventTriggerOutputWithContext(ctx context.Context) GetFunctionEventTriggerOutput
type GetFunctionSourceRepositoryArgs ¶
type GetFunctionSourceRepositoryArgs struct { DeployedUrl pulumi.StringInput `pulumi:"deployedUrl"` // The URL pointing to the hosted repository where the function is defined. Url pulumi.StringInput `pulumi:"url"` }
func (GetFunctionSourceRepositoryArgs) ElementType ¶
func (GetFunctionSourceRepositoryArgs) ElementType() reflect.Type
func (GetFunctionSourceRepositoryArgs) ToGetFunctionSourceRepositoryOutput ¶
func (i GetFunctionSourceRepositoryArgs) ToGetFunctionSourceRepositoryOutput() GetFunctionSourceRepositoryOutput
func (GetFunctionSourceRepositoryArgs) ToGetFunctionSourceRepositoryOutputWithContext ¶
func (i GetFunctionSourceRepositoryArgs) ToGetFunctionSourceRepositoryOutputWithContext(ctx context.Context) GetFunctionSourceRepositoryOutput
type GetFunctionSourceRepositoryArray ¶
type GetFunctionSourceRepositoryArray []GetFunctionSourceRepositoryInput
func (GetFunctionSourceRepositoryArray) ElementType ¶
func (GetFunctionSourceRepositoryArray) ElementType() reflect.Type
func (GetFunctionSourceRepositoryArray) ToGetFunctionSourceRepositoryArrayOutput ¶
func (i GetFunctionSourceRepositoryArray) ToGetFunctionSourceRepositoryArrayOutput() GetFunctionSourceRepositoryArrayOutput
func (GetFunctionSourceRepositoryArray) ToGetFunctionSourceRepositoryArrayOutputWithContext ¶
func (i GetFunctionSourceRepositoryArray) ToGetFunctionSourceRepositoryArrayOutputWithContext(ctx context.Context) GetFunctionSourceRepositoryArrayOutput
type GetFunctionSourceRepositoryArrayInput ¶
type GetFunctionSourceRepositoryArrayInput interface { pulumi.Input ToGetFunctionSourceRepositoryArrayOutput() GetFunctionSourceRepositoryArrayOutput ToGetFunctionSourceRepositoryArrayOutputWithContext(context.Context) GetFunctionSourceRepositoryArrayOutput }
GetFunctionSourceRepositoryArrayInput is an input type that accepts GetFunctionSourceRepositoryArray and GetFunctionSourceRepositoryArrayOutput values. You can construct a concrete instance of `GetFunctionSourceRepositoryArrayInput` via:
GetFunctionSourceRepositoryArray{ GetFunctionSourceRepositoryArgs{...} }
type GetFunctionSourceRepositoryArrayOutput ¶
type GetFunctionSourceRepositoryArrayOutput struct{ *pulumi.OutputState }
func (GetFunctionSourceRepositoryArrayOutput) ElementType ¶
func (GetFunctionSourceRepositoryArrayOutput) ElementType() reflect.Type
func (GetFunctionSourceRepositoryArrayOutput) ToGetFunctionSourceRepositoryArrayOutput ¶
func (o GetFunctionSourceRepositoryArrayOutput) ToGetFunctionSourceRepositoryArrayOutput() GetFunctionSourceRepositoryArrayOutput
func (GetFunctionSourceRepositoryArrayOutput) ToGetFunctionSourceRepositoryArrayOutputWithContext ¶
func (o GetFunctionSourceRepositoryArrayOutput) ToGetFunctionSourceRepositoryArrayOutputWithContext(ctx context.Context) GetFunctionSourceRepositoryArrayOutput
type GetFunctionSourceRepositoryInput ¶
type GetFunctionSourceRepositoryInput interface { pulumi.Input ToGetFunctionSourceRepositoryOutput() GetFunctionSourceRepositoryOutput ToGetFunctionSourceRepositoryOutputWithContext(context.Context) GetFunctionSourceRepositoryOutput }
GetFunctionSourceRepositoryInput is an input type that accepts GetFunctionSourceRepositoryArgs and GetFunctionSourceRepositoryOutput values. You can construct a concrete instance of `GetFunctionSourceRepositoryInput` via:
GetFunctionSourceRepositoryArgs{...}
type GetFunctionSourceRepositoryOutput ¶
type GetFunctionSourceRepositoryOutput struct{ *pulumi.OutputState }
func (GetFunctionSourceRepositoryOutput) DeployedUrl ¶
func (o GetFunctionSourceRepositoryOutput) DeployedUrl() pulumi.StringOutput
func (GetFunctionSourceRepositoryOutput) ElementType ¶
func (GetFunctionSourceRepositoryOutput) ElementType() reflect.Type
func (GetFunctionSourceRepositoryOutput) ToGetFunctionSourceRepositoryOutput ¶
func (o GetFunctionSourceRepositoryOutput) ToGetFunctionSourceRepositoryOutput() GetFunctionSourceRepositoryOutput
func (GetFunctionSourceRepositoryOutput) ToGetFunctionSourceRepositoryOutputWithContext ¶
func (o GetFunctionSourceRepositoryOutput) ToGetFunctionSourceRepositoryOutputWithContext(ctx context.Context) GetFunctionSourceRepositoryOutput
func (GetFunctionSourceRepositoryOutput) Url ¶
func (o GetFunctionSourceRepositoryOutput) Url() pulumi.StringOutput
The URL pointing to the hosted repository where the function is defined.
type LookupFunctionArgs ¶
type LookupFunctionArgs struct { // The name of a Cloud Function. 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"` // The region in which the resource belongs. If it // is not provided, the provider region is used. Region *string `pulumi:"region"` }
A collection of arguments for invoking getFunction.
type LookupFunctionOutputArgs ¶
type LookupFunctionOutputArgs struct { // The name of a Cloud Function. 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"` // The region in which the resource belongs. If it // is not provided, the provider region is used. Region pulumi.StringPtrInput `pulumi:"region"` }
A collection of arguments for invoking getFunction.
func (LookupFunctionOutputArgs) ElementType ¶
func (LookupFunctionOutputArgs) ElementType() reflect.Type
type LookupFunctionResult ¶
type LookupFunctionResult struct { // Available memory (in MB) to the function. AvailableMemoryMb int `pulumi:"availableMemoryMb"` BuildEnvironmentVariables map[string]interface{} `pulumi:"buildEnvironmentVariables"` // Description of the function. Description string `pulumi:"description"` // Name of a JavaScript function that will be executed when the Google Cloud Function is triggered. EntryPoint string `pulumi:"entryPoint"` EnvironmentVariables map[string]interface{} `pulumi:"environmentVariables"` // A source that fires events in response to a condition in another service. Structure is documented below. EventTriggers []GetFunctionEventTrigger `pulumi:"eventTriggers"` // If function is triggered by HTTP, trigger URL is set here. HttpsTriggerUrl string `pulumi:"httpsTriggerUrl"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Controls what traffic can reach the function. IngressSettings string `pulumi:"ingressSettings"` // A map of labels applied to this function. Labels map[string]interface{} `pulumi:"labels"` // The limit on the maximum number of function instances that may coexist at a given time. MaxInstances int `pulumi:"maxInstances"` MinInstances int `pulumi:"minInstances"` // The name of the Cloud Function. Name string `pulumi:"name"` Project *string `pulumi:"project"` Region *string `pulumi:"region"` // The runtime in which the function is running. Runtime string `pulumi:"runtime"` // The service account email to be assumed by the cloud function. ServiceAccountEmail string `pulumi:"serviceAccountEmail"` // The GCS bucket containing the zip archive which contains the function. SourceArchiveBucket string `pulumi:"sourceArchiveBucket"` // The source archive object (file) in archive bucket. SourceArchiveObject string `pulumi:"sourceArchiveObject"` // The URL of the Cloud Source Repository that the function is deployed from. Structure is documented below. SourceRepositories []GetFunctionSourceRepository `pulumi:"sourceRepositories"` // Function execution timeout (in seconds). Timeout int `pulumi:"timeout"` // If function is triggered by HTTP, this boolean is set. TriggerHttp bool `pulumi:"triggerHttp"` // The VPC Network Connector that this cloud function can connect to. VpcConnector string `pulumi:"vpcConnector"` // The egress settings for the connector, controlling what traffic is diverted through it. VpcConnectorEgressSettings string `pulumi:"vpcConnectorEgressSettings"` }
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. For more information see the [official documentation](https://cloud.google.com/functions/docs/) and [API](https://cloud.google.com/functions/docs/apis).
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudfunctions" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudfunctions.LookupFunction(ctx, &cloudfunctions.LookupFunctionArgs{ Name: "function", }, 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) AvailableMemoryMb ¶
func (o LookupFunctionResultOutput) AvailableMemoryMb() pulumi.IntOutput
Available memory (in MB) to the function.
func (LookupFunctionResultOutput) BuildEnvironmentVariables ¶
func (o LookupFunctionResultOutput) BuildEnvironmentVariables() pulumi.MapOutput
func (LookupFunctionResultOutput) Description ¶
func (o LookupFunctionResultOutput) Description() pulumi.StringOutput
Description of the function.
func (LookupFunctionResultOutput) ElementType ¶
func (LookupFunctionResultOutput) ElementType() reflect.Type
func (LookupFunctionResultOutput) EntryPoint ¶
func (o LookupFunctionResultOutput) EntryPoint() pulumi.StringOutput
Name of a JavaScript function that will be executed when the Google Cloud Function is triggered.
func (LookupFunctionResultOutput) EnvironmentVariables ¶
func (o LookupFunctionResultOutput) EnvironmentVariables() pulumi.MapOutput
func (LookupFunctionResultOutput) EventTriggers ¶
func (o LookupFunctionResultOutput) EventTriggers() GetFunctionEventTriggerArrayOutput
A source that fires events in response to a condition in another service. Structure is documented below.
func (LookupFunctionResultOutput) HttpsTriggerUrl ¶
func (o LookupFunctionResultOutput) HttpsTriggerUrl() pulumi.StringOutput
If function is triggered by HTTP, trigger URL is set here.
func (LookupFunctionResultOutput) Id ¶
func (o LookupFunctionResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupFunctionResultOutput) IngressSettings ¶
func (o LookupFunctionResultOutput) IngressSettings() pulumi.StringOutput
Controls what traffic can reach the function.
func (LookupFunctionResultOutput) Labels ¶
func (o LookupFunctionResultOutput) Labels() pulumi.MapOutput
A map of labels applied to this function.
func (LookupFunctionResultOutput) MaxInstances ¶
func (o LookupFunctionResultOutput) MaxInstances() pulumi.IntOutput
The limit on the maximum number of function instances that may coexist at a given time.
func (LookupFunctionResultOutput) MinInstances ¶ added in v6.6.0
func (o LookupFunctionResultOutput) MinInstances() pulumi.IntOutput
func (LookupFunctionResultOutput) Name ¶
func (o LookupFunctionResultOutput) Name() pulumi.StringOutput
The name of the Cloud Function.
func (LookupFunctionResultOutput) Project ¶
func (o LookupFunctionResultOutput) Project() pulumi.StringPtrOutput
func (LookupFunctionResultOutput) Region ¶
func (o LookupFunctionResultOutput) Region() pulumi.StringPtrOutput
func (LookupFunctionResultOutput) Runtime ¶
func (o LookupFunctionResultOutput) Runtime() pulumi.StringOutput
The runtime in which the function is running.
func (LookupFunctionResultOutput) ServiceAccountEmail ¶
func (o LookupFunctionResultOutput) ServiceAccountEmail() pulumi.StringOutput
The service account email to be assumed by the cloud function.
func (LookupFunctionResultOutput) SourceArchiveBucket ¶
func (o LookupFunctionResultOutput) SourceArchiveBucket() pulumi.StringOutput
The GCS bucket containing the zip archive which contains the function.
func (LookupFunctionResultOutput) SourceArchiveObject ¶
func (o LookupFunctionResultOutput) SourceArchiveObject() pulumi.StringOutput
The source archive object (file) in archive bucket.
func (LookupFunctionResultOutput) SourceRepositories ¶
func (o LookupFunctionResultOutput) SourceRepositories() GetFunctionSourceRepositoryArrayOutput
The URL of the Cloud Source Repository that the function is deployed from. Structure is documented below.
func (LookupFunctionResultOutput) Timeout ¶
func (o LookupFunctionResultOutput) Timeout() pulumi.IntOutput
Function execution timeout (in seconds).
func (LookupFunctionResultOutput) ToLookupFunctionResultOutput ¶
func (o LookupFunctionResultOutput) ToLookupFunctionResultOutput() LookupFunctionResultOutput
func (LookupFunctionResultOutput) ToLookupFunctionResultOutputWithContext ¶
func (o LookupFunctionResultOutput) ToLookupFunctionResultOutputWithContext(ctx context.Context) LookupFunctionResultOutput
func (LookupFunctionResultOutput) TriggerHttp ¶
func (o LookupFunctionResultOutput) TriggerHttp() pulumi.BoolOutput
If function is triggered by HTTP, this boolean is set.
func (LookupFunctionResultOutput) VpcConnector ¶
func (o LookupFunctionResultOutput) VpcConnector() pulumi.StringOutput
The VPC Network Connector that this cloud function can connect to.
func (LookupFunctionResultOutput) VpcConnectorEgressSettings ¶
func (o LookupFunctionResultOutput) VpcConnectorEgressSettings() pulumi.StringOutput
The egress settings for the connector, controlling what traffic is diverted through it.