Documentation ¶
Index ¶
- type Channel
- type ChannelArgs
- type ChannelArray
- type ChannelArrayInput
- type ChannelArrayOutput
- type ChannelInput
- type ChannelMap
- type ChannelMapInput
- type ChannelMapOutput
- type ChannelOutput
- func (o ChannelOutput) ActivationToken() pulumi.StringOutput
- func (o ChannelOutput) CreateTime() pulumi.StringOutput
- func (o ChannelOutput) CryptoKeyName() pulumi.StringPtrOutput
- func (ChannelOutput) ElementType() reflect.Type
- func (o ChannelOutput) Location() pulumi.StringOutput
- func (o ChannelOutput) Name() pulumi.StringOutput
- func (o ChannelOutput) Project() pulumi.StringOutput
- func (o ChannelOutput) PubsubTopic() pulumi.StringOutput
- func (o ChannelOutput) State() pulumi.StringOutput
- func (o ChannelOutput) ThirdPartyProvider() pulumi.StringPtrOutput
- func (o ChannelOutput) ToChannelOutput() ChannelOutput
- func (o ChannelOutput) ToChannelOutputWithContext(ctx context.Context) ChannelOutput
- func (o ChannelOutput) Uid() pulumi.StringOutput
- func (o ChannelOutput) UpdateTime() pulumi.StringOutput
- type ChannelState
- type GoogleChannelConfig
- type GoogleChannelConfigArgs
- type GoogleChannelConfigArray
- type GoogleChannelConfigArrayInput
- type GoogleChannelConfigArrayOutput
- func (GoogleChannelConfigArrayOutput) ElementType() reflect.Type
- func (o GoogleChannelConfigArrayOutput) Index(i pulumi.IntInput) GoogleChannelConfigOutput
- func (o GoogleChannelConfigArrayOutput) ToGoogleChannelConfigArrayOutput() GoogleChannelConfigArrayOutput
- func (o GoogleChannelConfigArrayOutput) ToGoogleChannelConfigArrayOutputWithContext(ctx context.Context) GoogleChannelConfigArrayOutput
- type GoogleChannelConfigInput
- type GoogleChannelConfigMap
- type GoogleChannelConfigMapInput
- type GoogleChannelConfigMapOutput
- func (GoogleChannelConfigMapOutput) ElementType() reflect.Type
- func (o GoogleChannelConfigMapOutput) MapIndex(k pulumi.StringInput) GoogleChannelConfigOutput
- func (o GoogleChannelConfigMapOutput) ToGoogleChannelConfigMapOutput() GoogleChannelConfigMapOutput
- func (o GoogleChannelConfigMapOutput) ToGoogleChannelConfigMapOutputWithContext(ctx context.Context) GoogleChannelConfigMapOutput
- type GoogleChannelConfigOutput
- func (o GoogleChannelConfigOutput) CryptoKeyName() pulumi.StringPtrOutput
- func (GoogleChannelConfigOutput) ElementType() reflect.Type
- func (o GoogleChannelConfigOutput) Location() pulumi.StringOutput
- func (o GoogleChannelConfigOutput) Name() pulumi.StringOutput
- func (o GoogleChannelConfigOutput) Project() pulumi.StringOutput
- func (o GoogleChannelConfigOutput) ToGoogleChannelConfigOutput() GoogleChannelConfigOutput
- func (o GoogleChannelConfigOutput) ToGoogleChannelConfigOutputWithContext(ctx context.Context) GoogleChannelConfigOutput
- func (o GoogleChannelConfigOutput) UpdateTime() pulumi.StringOutput
- type GoogleChannelConfigState
- type Trigger
- type TriggerArgs
- type TriggerArray
- type TriggerArrayInput
- type TriggerArrayOutput
- type TriggerDestination
- type TriggerDestinationArgs
- func (TriggerDestinationArgs) ElementType() reflect.Type
- func (i TriggerDestinationArgs) ToTriggerDestinationOutput() TriggerDestinationOutput
- func (i TriggerDestinationArgs) ToTriggerDestinationOutputWithContext(ctx context.Context) TriggerDestinationOutput
- func (i TriggerDestinationArgs) ToTriggerDestinationPtrOutput() TriggerDestinationPtrOutput
- func (i TriggerDestinationArgs) ToTriggerDestinationPtrOutputWithContext(ctx context.Context) TriggerDestinationPtrOutput
- type TriggerDestinationCloudRunService
- type TriggerDestinationCloudRunServiceArgs
- func (TriggerDestinationCloudRunServiceArgs) ElementType() reflect.Type
- func (i TriggerDestinationCloudRunServiceArgs) ToTriggerDestinationCloudRunServiceOutput() TriggerDestinationCloudRunServiceOutput
- func (i TriggerDestinationCloudRunServiceArgs) ToTriggerDestinationCloudRunServiceOutputWithContext(ctx context.Context) TriggerDestinationCloudRunServiceOutput
- func (i TriggerDestinationCloudRunServiceArgs) ToTriggerDestinationCloudRunServicePtrOutput() TriggerDestinationCloudRunServicePtrOutput
- func (i TriggerDestinationCloudRunServiceArgs) ToTriggerDestinationCloudRunServicePtrOutputWithContext(ctx context.Context) TriggerDestinationCloudRunServicePtrOutput
- type TriggerDestinationCloudRunServiceInput
- type TriggerDestinationCloudRunServiceOutput
- func (TriggerDestinationCloudRunServiceOutput) ElementType() reflect.Type
- func (o TriggerDestinationCloudRunServiceOutput) Path() pulumi.StringPtrOutput
- func (o TriggerDestinationCloudRunServiceOutput) Region() pulumi.StringPtrOutput
- func (o TriggerDestinationCloudRunServiceOutput) Service() pulumi.StringOutput
- func (o TriggerDestinationCloudRunServiceOutput) ToTriggerDestinationCloudRunServiceOutput() TriggerDestinationCloudRunServiceOutput
- func (o TriggerDestinationCloudRunServiceOutput) ToTriggerDestinationCloudRunServiceOutputWithContext(ctx context.Context) TriggerDestinationCloudRunServiceOutput
- func (o TriggerDestinationCloudRunServiceOutput) ToTriggerDestinationCloudRunServicePtrOutput() TriggerDestinationCloudRunServicePtrOutput
- func (o TriggerDestinationCloudRunServiceOutput) ToTriggerDestinationCloudRunServicePtrOutputWithContext(ctx context.Context) TriggerDestinationCloudRunServicePtrOutput
- type TriggerDestinationCloudRunServicePtrInput
- type TriggerDestinationCloudRunServicePtrOutput
- func (o TriggerDestinationCloudRunServicePtrOutput) Elem() TriggerDestinationCloudRunServiceOutput
- func (TriggerDestinationCloudRunServicePtrOutput) ElementType() reflect.Type
- func (o TriggerDestinationCloudRunServicePtrOutput) Path() pulumi.StringPtrOutput
- func (o TriggerDestinationCloudRunServicePtrOutput) Region() pulumi.StringPtrOutput
- func (o TriggerDestinationCloudRunServicePtrOutput) Service() pulumi.StringPtrOutput
- func (o TriggerDestinationCloudRunServicePtrOutput) ToTriggerDestinationCloudRunServicePtrOutput() TriggerDestinationCloudRunServicePtrOutput
- func (o TriggerDestinationCloudRunServicePtrOutput) ToTriggerDestinationCloudRunServicePtrOutputWithContext(ctx context.Context) TriggerDestinationCloudRunServicePtrOutput
- type TriggerDestinationGke
- type TriggerDestinationGkeArgs
- func (TriggerDestinationGkeArgs) ElementType() reflect.Type
- func (i TriggerDestinationGkeArgs) ToTriggerDestinationGkeOutput() TriggerDestinationGkeOutput
- func (i TriggerDestinationGkeArgs) ToTriggerDestinationGkeOutputWithContext(ctx context.Context) TriggerDestinationGkeOutput
- func (i TriggerDestinationGkeArgs) ToTriggerDestinationGkePtrOutput() TriggerDestinationGkePtrOutput
- func (i TriggerDestinationGkeArgs) ToTriggerDestinationGkePtrOutputWithContext(ctx context.Context) TriggerDestinationGkePtrOutput
- type TriggerDestinationGkeInput
- type TriggerDestinationGkeOutput
- func (o TriggerDestinationGkeOutput) Cluster() pulumi.StringOutput
- func (TriggerDestinationGkeOutput) ElementType() reflect.Type
- func (o TriggerDestinationGkeOutput) Location() pulumi.StringOutput
- func (o TriggerDestinationGkeOutput) Namespace() pulumi.StringOutput
- func (o TriggerDestinationGkeOutput) Path() pulumi.StringPtrOutput
- func (o TriggerDestinationGkeOutput) Service() pulumi.StringOutput
- func (o TriggerDestinationGkeOutput) ToTriggerDestinationGkeOutput() TriggerDestinationGkeOutput
- func (o TriggerDestinationGkeOutput) ToTriggerDestinationGkeOutputWithContext(ctx context.Context) TriggerDestinationGkeOutput
- func (o TriggerDestinationGkeOutput) ToTriggerDestinationGkePtrOutput() TriggerDestinationGkePtrOutput
- func (o TriggerDestinationGkeOutput) ToTriggerDestinationGkePtrOutputWithContext(ctx context.Context) TriggerDestinationGkePtrOutput
- type TriggerDestinationGkePtrInput
- type TriggerDestinationGkePtrOutput
- func (o TriggerDestinationGkePtrOutput) Cluster() pulumi.StringPtrOutput
- func (o TriggerDestinationGkePtrOutput) Elem() TriggerDestinationGkeOutput
- func (TriggerDestinationGkePtrOutput) ElementType() reflect.Type
- func (o TriggerDestinationGkePtrOutput) Location() pulumi.StringPtrOutput
- func (o TriggerDestinationGkePtrOutput) Namespace() pulumi.StringPtrOutput
- func (o TriggerDestinationGkePtrOutput) Path() pulumi.StringPtrOutput
- func (o TriggerDestinationGkePtrOutput) Service() pulumi.StringPtrOutput
- func (o TriggerDestinationGkePtrOutput) ToTriggerDestinationGkePtrOutput() TriggerDestinationGkePtrOutput
- func (o TriggerDestinationGkePtrOutput) ToTriggerDestinationGkePtrOutputWithContext(ctx context.Context) TriggerDestinationGkePtrOutput
- type TriggerDestinationHttpEndpoint
- type TriggerDestinationHttpEndpointArgs
- func (TriggerDestinationHttpEndpointArgs) ElementType() reflect.Type
- func (i TriggerDestinationHttpEndpointArgs) ToTriggerDestinationHttpEndpointOutput() TriggerDestinationHttpEndpointOutput
- func (i TriggerDestinationHttpEndpointArgs) ToTriggerDestinationHttpEndpointOutputWithContext(ctx context.Context) TriggerDestinationHttpEndpointOutput
- func (i TriggerDestinationHttpEndpointArgs) ToTriggerDestinationHttpEndpointPtrOutput() TriggerDestinationHttpEndpointPtrOutput
- func (i TriggerDestinationHttpEndpointArgs) ToTriggerDestinationHttpEndpointPtrOutputWithContext(ctx context.Context) TriggerDestinationHttpEndpointPtrOutput
- type TriggerDestinationHttpEndpointInput
- type TriggerDestinationHttpEndpointOutput
- func (TriggerDestinationHttpEndpointOutput) ElementType() reflect.Type
- func (o TriggerDestinationHttpEndpointOutput) ToTriggerDestinationHttpEndpointOutput() TriggerDestinationHttpEndpointOutput
- func (o TriggerDestinationHttpEndpointOutput) ToTriggerDestinationHttpEndpointOutputWithContext(ctx context.Context) TriggerDestinationHttpEndpointOutput
- func (o TriggerDestinationHttpEndpointOutput) ToTriggerDestinationHttpEndpointPtrOutput() TriggerDestinationHttpEndpointPtrOutput
- func (o TriggerDestinationHttpEndpointOutput) ToTriggerDestinationHttpEndpointPtrOutputWithContext(ctx context.Context) TriggerDestinationHttpEndpointPtrOutput
- func (o TriggerDestinationHttpEndpointOutput) Uri() pulumi.StringOutput
- type TriggerDestinationHttpEndpointPtrInput
- type TriggerDestinationHttpEndpointPtrOutput
- func (o TriggerDestinationHttpEndpointPtrOutput) Elem() TriggerDestinationHttpEndpointOutput
- func (TriggerDestinationHttpEndpointPtrOutput) ElementType() reflect.Type
- func (o TriggerDestinationHttpEndpointPtrOutput) ToTriggerDestinationHttpEndpointPtrOutput() TriggerDestinationHttpEndpointPtrOutput
- func (o TriggerDestinationHttpEndpointPtrOutput) ToTriggerDestinationHttpEndpointPtrOutputWithContext(ctx context.Context) TriggerDestinationHttpEndpointPtrOutput
- func (o TriggerDestinationHttpEndpointPtrOutput) Uri() pulumi.StringPtrOutput
- type TriggerDestinationInput
- type TriggerDestinationNetworkConfig
- type TriggerDestinationNetworkConfigArgs
- func (TriggerDestinationNetworkConfigArgs) ElementType() reflect.Type
- func (i TriggerDestinationNetworkConfigArgs) ToTriggerDestinationNetworkConfigOutput() TriggerDestinationNetworkConfigOutput
- func (i TriggerDestinationNetworkConfigArgs) ToTriggerDestinationNetworkConfigOutputWithContext(ctx context.Context) TriggerDestinationNetworkConfigOutput
- func (i TriggerDestinationNetworkConfigArgs) ToTriggerDestinationNetworkConfigPtrOutput() TriggerDestinationNetworkConfigPtrOutput
- func (i TriggerDestinationNetworkConfigArgs) ToTriggerDestinationNetworkConfigPtrOutputWithContext(ctx context.Context) TriggerDestinationNetworkConfigPtrOutput
- type TriggerDestinationNetworkConfigInput
- type TriggerDestinationNetworkConfigOutput
- func (TriggerDestinationNetworkConfigOutput) ElementType() reflect.Type
- func (o TriggerDestinationNetworkConfigOutput) NetworkAttachment() pulumi.StringOutput
- func (o TriggerDestinationNetworkConfigOutput) ToTriggerDestinationNetworkConfigOutput() TriggerDestinationNetworkConfigOutput
- func (o TriggerDestinationNetworkConfigOutput) ToTriggerDestinationNetworkConfigOutputWithContext(ctx context.Context) TriggerDestinationNetworkConfigOutput
- func (o TriggerDestinationNetworkConfigOutput) ToTriggerDestinationNetworkConfigPtrOutput() TriggerDestinationNetworkConfigPtrOutput
- func (o TriggerDestinationNetworkConfigOutput) ToTriggerDestinationNetworkConfigPtrOutputWithContext(ctx context.Context) TriggerDestinationNetworkConfigPtrOutput
- type TriggerDestinationNetworkConfigPtrInput
- type TriggerDestinationNetworkConfigPtrOutput
- func (o TriggerDestinationNetworkConfigPtrOutput) Elem() TriggerDestinationNetworkConfigOutput
- func (TriggerDestinationNetworkConfigPtrOutput) ElementType() reflect.Type
- func (o TriggerDestinationNetworkConfigPtrOutput) NetworkAttachment() pulumi.StringPtrOutput
- func (o TriggerDestinationNetworkConfigPtrOutput) ToTriggerDestinationNetworkConfigPtrOutput() TriggerDestinationNetworkConfigPtrOutput
- func (o TriggerDestinationNetworkConfigPtrOutput) ToTriggerDestinationNetworkConfigPtrOutputWithContext(ctx context.Context) TriggerDestinationNetworkConfigPtrOutput
- type TriggerDestinationOutput
- func (o TriggerDestinationOutput) CloudFunction() pulumi.StringPtrOutput
- func (o TriggerDestinationOutput) CloudRunService() TriggerDestinationCloudRunServicePtrOutput
- func (TriggerDestinationOutput) ElementType() reflect.Type
- func (o TriggerDestinationOutput) Gke() TriggerDestinationGkePtrOutput
- func (o TriggerDestinationOutput) HttpEndpoint() TriggerDestinationHttpEndpointPtrOutput
- func (o TriggerDestinationOutput) NetworkConfig() TriggerDestinationNetworkConfigPtrOutput
- func (o TriggerDestinationOutput) ToTriggerDestinationOutput() TriggerDestinationOutput
- func (o TriggerDestinationOutput) ToTriggerDestinationOutputWithContext(ctx context.Context) TriggerDestinationOutput
- func (o TriggerDestinationOutput) ToTriggerDestinationPtrOutput() TriggerDestinationPtrOutput
- func (o TriggerDestinationOutput) ToTriggerDestinationPtrOutputWithContext(ctx context.Context) TriggerDestinationPtrOutput
- func (o TriggerDestinationOutput) Workflow() pulumi.StringPtrOutput
- type TriggerDestinationPtrInput
- type TriggerDestinationPtrOutput
- func (o TriggerDestinationPtrOutput) CloudFunction() pulumi.StringPtrOutput
- func (o TriggerDestinationPtrOutput) CloudRunService() TriggerDestinationCloudRunServicePtrOutput
- func (o TriggerDestinationPtrOutput) Elem() TriggerDestinationOutput
- func (TriggerDestinationPtrOutput) ElementType() reflect.Type
- func (o TriggerDestinationPtrOutput) Gke() TriggerDestinationGkePtrOutput
- func (o TriggerDestinationPtrOutput) HttpEndpoint() TriggerDestinationHttpEndpointPtrOutput
- func (o TriggerDestinationPtrOutput) NetworkConfig() TriggerDestinationNetworkConfigPtrOutput
- func (o TriggerDestinationPtrOutput) ToTriggerDestinationPtrOutput() TriggerDestinationPtrOutput
- func (o TriggerDestinationPtrOutput) ToTriggerDestinationPtrOutputWithContext(ctx context.Context) TriggerDestinationPtrOutput
- func (o TriggerDestinationPtrOutput) Workflow() pulumi.StringPtrOutput
- type TriggerInput
- type TriggerMap
- type TriggerMapInput
- type TriggerMapOutput
- type TriggerMatchingCriteria
- type TriggerMatchingCriteriaArgs
- type TriggerMatchingCriteriaArray
- func (TriggerMatchingCriteriaArray) ElementType() reflect.Type
- func (i TriggerMatchingCriteriaArray) ToTriggerMatchingCriteriaArrayOutput() TriggerMatchingCriteriaArrayOutput
- func (i TriggerMatchingCriteriaArray) ToTriggerMatchingCriteriaArrayOutputWithContext(ctx context.Context) TriggerMatchingCriteriaArrayOutput
- type TriggerMatchingCriteriaArrayInput
- type TriggerMatchingCriteriaArrayOutput
- func (TriggerMatchingCriteriaArrayOutput) ElementType() reflect.Type
- func (o TriggerMatchingCriteriaArrayOutput) Index(i pulumi.IntInput) TriggerMatchingCriteriaOutput
- func (o TriggerMatchingCriteriaArrayOutput) ToTriggerMatchingCriteriaArrayOutput() TriggerMatchingCriteriaArrayOutput
- func (o TriggerMatchingCriteriaArrayOutput) ToTriggerMatchingCriteriaArrayOutputWithContext(ctx context.Context) TriggerMatchingCriteriaArrayOutput
- type TriggerMatchingCriteriaInput
- type TriggerMatchingCriteriaOutput
- func (o TriggerMatchingCriteriaOutput) Attribute() pulumi.StringOutput
- func (TriggerMatchingCriteriaOutput) ElementType() reflect.Type
- func (o TriggerMatchingCriteriaOutput) Operator() pulumi.StringPtrOutput
- func (o TriggerMatchingCriteriaOutput) ToTriggerMatchingCriteriaOutput() TriggerMatchingCriteriaOutput
- func (o TriggerMatchingCriteriaOutput) ToTriggerMatchingCriteriaOutputWithContext(ctx context.Context) TriggerMatchingCriteriaOutput
- func (o TriggerMatchingCriteriaOutput) Value() pulumi.StringOutput
- type TriggerOutput
- func (o TriggerOutput) Channel() pulumi.StringPtrOutput
- func (o TriggerOutput) Conditions() pulumi.StringMapOutput
- func (o TriggerOutput) CreateTime() pulumi.StringOutput
- func (o TriggerOutput) Destination() TriggerDestinationOutput
- func (o TriggerOutput) EffectiveLabels() pulumi.StringMapOutput
- func (TriggerOutput) ElementType() reflect.Type
- func (o TriggerOutput) Etag() pulumi.StringOutput
- func (o TriggerOutput) EventDataContentType() pulumi.StringOutput
- func (o TriggerOutput) Labels() pulumi.StringMapOutput
- func (o TriggerOutput) Location() pulumi.StringOutput
- func (o TriggerOutput) MatchingCriterias() TriggerMatchingCriteriaArrayOutput
- func (o TriggerOutput) Name() pulumi.StringOutput
- func (o TriggerOutput) Project() pulumi.StringOutput
- func (o TriggerOutput) PulumiLabels() pulumi.StringMapOutput
- func (o TriggerOutput) ServiceAccount() pulumi.StringPtrOutput
- func (o TriggerOutput) ToTriggerOutput() TriggerOutput
- func (o TriggerOutput) ToTriggerOutputWithContext(ctx context.Context) TriggerOutput
- func (o TriggerOutput) Transport() TriggerTransportOutput
- func (o TriggerOutput) Uid() pulumi.StringOutput
- func (o TriggerOutput) UpdateTime() pulumi.StringOutput
- type TriggerState
- type TriggerTransport
- type TriggerTransportArgs
- func (TriggerTransportArgs) ElementType() reflect.Type
- func (i TriggerTransportArgs) ToTriggerTransportOutput() TriggerTransportOutput
- func (i TriggerTransportArgs) ToTriggerTransportOutputWithContext(ctx context.Context) TriggerTransportOutput
- func (i TriggerTransportArgs) ToTriggerTransportPtrOutput() TriggerTransportPtrOutput
- func (i TriggerTransportArgs) ToTriggerTransportPtrOutputWithContext(ctx context.Context) TriggerTransportPtrOutput
- type TriggerTransportInput
- type TriggerTransportOutput
- func (TriggerTransportOutput) ElementType() reflect.Type
- func (o TriggerTransportOutput) Pubsub() TriggerTransportPubsubPtrOutput
- func (o TriggerTransportOutput) ToTriggerTransportOutput() TriggerTransportOutput
- func (o TriggerTransportOutput) ToTriggerTransportOutputWithContext(ctx context.Context) TriggerTransportOutput
- func (o TriggerTransportOutput) ToTriggerTransportPtrOutput() TriggerTransportPtrOutput
- func (o TriggerTransportOutput) ToTriggerTransportPtrOutputWithContext(ctx context.Context) TriggerTransportPtrOutput
- type TriggerTransportPtrInput
- type TriggerTransportPtrOutput
- func (o TriggerTransportPtrOutput) Elem() TriggerTransportOutput
- func (TriggerTransportPtrOutput) ElementType() reflect.Type
- func (o TriggerTransportPtrOutput) Pubsub() TriggerTransportPubsubPtrOutput
- func (o TriggerTransportPtrOutput) ToTriggerTransportPtrOutput() TriggerTransportPtrOutput
- func (o TriggerTransportPtrOutput) ToTriggerTransportPtrOutputWithContext(ctx context.Context) TriggerTransportPtrOutput
- type TriggerTransportPubsub
- type TriggerTransportPubsubArgs
- func (TriggerTransportPubsubArgs) ElementType() reflect.Type
- func (i TriggerTransportPubsubArgs) ToTriggerTransportPubsubOutput() TriggerTransportPubsubOutput
- func (i TriggerTransportPubsubArgs) ToTriggerTransportPubsubOutputWithContext(ctx context.Context) TriggerTransportPubsubOutput
- func (i TriggerTransportPubsubArgs) ToTriggerTransportPubsubPtrOutput() TriggerTransportPubsubPtrOutput
- func (i TriggerTransportPubsubArgs) ToTriggerTransportPubsubPtrOutputWithContext(ctx context.Context) TriggerTransportPubsubPtrOutput
- type TriggerTransportPubsubInput
- type TriggerTransportPubsubOutput
- func (TriggerTransportPubsubOutput) ElementType() reflect.Type
- func (o TriggerTransportPubsubOutput) Subscription() pulumi.StringPtrOutput
- func (o TriggerTransportPubsubOutput) ToTriggerTransportPubsubOutput() TriggerTransportPubsubOutput
- func (o TriggerTransportPubsubOutput) ToTriggerTransportPubsubOutputWithContext(ctx context.Context) TriggerTransportPubsubOutput
- func (o TriggerTransportPubsubOutput) ToTriggerTransportPubsubPtrOutput() TriggerTransportPubsubPtrOutput
- func (o TriggerTransportPubsubOutput) ToTriggerTransportPubsubPtrOutputWithContext(ctx context.Context) TriggerTransportPubsubPtrOutput
- func (o TriggerTransportPubsubOutput) Topic() pulumi.StringPtrOutput
- type TriggerTransportPubsubPtrInput
- type TriggerTransportPubsubPtrOutput
- func (o TriggerTransportPubsubPtrOutput) Elem() TriggerTransportPubsubOutput
- func (TriggerTransportPubsubPtrOutput) ElementType() reflect.Type
- func (o TriggerTransportPubsubPtrOutput) Subscription() pulumi.StringPtrOutput
- func (o TriggerTransportPubsubPtrOutput) ToTriggerTransportPubsubPtrOutput() TriggerTransportPubsubPtrOutput
- func (o TriggerTransportPubsubPtrOutput) ToTriggerTransportPubsubPtrOutputWithContext(ctx context.Context) TriggerTransportPubsubPtrOutput
- func (o TriggerTransportPubsubPtrOutput) Topic() pulumi.StringPtrOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Channel ¶
type Channel struct { pulumi.CustomResourceState // Output only. The activation token for the channel. The token must be used by the provider to register the channel for publishing. ActivationToken pulumi.StringOutput `pulumi:"activationToken"` // Output only. The creation time. CreateTime pulumi.StringOutput `pulumi:"createTime"` // Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`. CryptoKeyName pulumi.StringPtrOutput `pulumi:"cryptoKeyName"` // The location for the resource Location pulumi.StringOutput `pulumi:"location"` // Required. The resource name of the channel. Must be unique within the location on the project. // // *** Name pulumi.StringOutput `pulumi:"name"` // The project for the resource Project pulumi.StringOutput `pulumi:"project"` // Output only. The name of the Pub/Sub topic created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{project}/topics/{topic_id}`. PubsubTopic pulumi.StringOutput `pulumi:"pubsubTopic"` // Output only. The state of a Channel. Possible values: STATE_UNSPECIFIED, PENDING, ACTIVE, INACTIVE State pulumi.StringOutput `pulumi:"state"` // The name of the event provider (e.g. Eventarc SaaS partner) associated with the channel. This provider will be granted permissions to publish events to the channel. Format: `projects/{project}/locations/{location}/providers/{provider_id}`. ThirdPartyProvider pulumi.StringPtrOutput `pulumi:"thirdPartyProvider"` // Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted. Uid pulumi.StringOutput `pulumi:"uid"` // Output only. The last-modified time. UpdateTime pulumi.StringOutput `pulumi:"updateTime"` }
The Eventarc Channel resource
## Example Usage
### Basic ```go package main
import (
"fmt" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/eventarc" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/kms" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { testProject, err := organizations.LookupProject(ctx, &organizations.LookupProjectArgs{ ProjectId: pulumi.StringRef("my-project-name"), }, nil) if err != nil { return err } testKeyRing, err := kms.GetKMSKeyRing(ctx, &kms.GetKMSKeyRingArgs{ Name: "keyring", Location: "us-west1", }, nil) if err != nil { return err } _, err = kms.GetKMSCryptoKey(ctx, &kms.GetKMSCryptoKeyArgs{ Name: "key", KeyRing: testKeyRing.Id, }, nil) if err != nil { return err } key1Member, err := kms.NewCryptoKeyIAMMember(ctx, "key1_member", &kms.CryptoKeyIAMMemberArgs{ CryptoKeyId: pulumi.Any(key1.Id), Role: pulumi.String("roles/cloudkms.cryptoKeyEncrypterDecrypter"), Member: pulumi.Sprintf("serviceAccount:service-%v@gcp-sa-eventarc.iam.gserviceaccount.com", testProject.Number), }) if err != nil { return err } _, err = eventarc.NewChannel(ctx, "primary", &eventarc.ChannelArgs{ Location: pulumi.String("us-west1"), Name: pulumi.String("channel"), Project: pulumi.String(testProject.ProjectId), CryptoKeyName: pulumi.Any(key1.Id), ThirdPartyProvider: pulumi.Sprintf("projects/%v/locations/us-west1/providers/datadog", testProject.ProjectId), }, pulumi.DependsOn([]pulumi.Resource{ key1Member, })) if err != nil { return err } return nil }) }
```
## Import
Channel can be imported using any of these accepted formats:
* `projects/{{project}}/locations/{{location}}/channels/{{name}}`
* `{{project}}/{{location}}/{{name}}`
* `{{location}}/{{name}}`
When using the `pulumi import` command, Channel can be imported using one of the formats above. For example:
```sh $ pulumi import gcp:eventarc/channel:Channel default projects/{{project}}/locations/{{location}}/channels/{{name}} ```
```sh $ pulumi import gcp:eventarc/channel:Channel default {{project}}/{{location}}/{{name}} ```
```sh $ pulumi import gcp:eventarc/channel:Channel default {{location}}/{{name}} ```
func GetChannel ¶
func GetChannel(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ChannelState, opts ...pulumi.ResourceOption) (*Channel, error)
GetChannel gets an existing Channel 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 NewChannel ¶
func NewChannel(ctx *pulumi.Context, name string, args *ChannelArgs, opts ...pulumi.ResourceOption) (*Channel, error)
NewChannel registers a new resource with the given unique name, arguments, and options.
func (*Channel) ElementType ¶
func (*Channel) ToChannelOutput ¶
func (i *Channel) ToChannelOutput() ChannelOutput
func (*Channel) ToChannelOutputWithContext ¶
func (i *Channel) ToChannelOutputWithContext(ctx context.Context) ChannelOutput
type ChannelArgs ¶
type ChannelArgs struct { // Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`. CryptoKeyName pulumi.StringPtrInput // The location for the resource Location pulumi.StringInput // Required. The resource name of the channel. Must be unique within the location on the project. // // *** Name pulumi.StringPtrInput // The project for the resource Project pulumi.StringPtrInput // The name of the event provider (e.g. Eventarc SaaS partner) associated with the channel. This provider will be granted permissions to publish events to the channel. Format: `projects/{project}/locations/{location}/providers/{provider_id}`. ThirdPartyProvider pulumi.StringPtrInput }
The set of arguments for constructing a Channel resource.
func (ChannelArgs) ElementType ¶
func (ChannelArgs) ElementType() reflect.Type
type ChannelArray ¶
type ChannelArray []ChannelInput
func (ChannelArray) ElementType ¶
func (ChannelArray) ElementType() reflect.Type
func (ChannelArray) ToChannelArrayOutput ¶
func (i ChannelArray) ToChannelArrayOutput() ChannelArrayOutput
func (ChannelArray) ToChannelArrayOutputWithContext ¶
func (i ChannelArray) ToChannelArrayOutputWithContext(ctx context.Context) ChannelArrayOutput
type ChannelArrayInput ¶
type ChannelArrayInput interface { pulumi.Input ToChannelArrayOutput() ChannelArrayOutput ToChannelArrayOutputWithContext(context.Context) ChannelArrayOutput }
ChannelArrayInput is an input type that accepts ChannelArray and ChannelArrayOutput values. You can construct a concrete instance of `ChannelArrayInput` via:
ChannelArray{ ChannelArgs{...} }
type ChannelArrayOutput ¶
type ChannelArrayOutput struct{ *pulumi.OutputState }
func (ChannelArrayOutput) ElementType ¶
func (ChannelArrayOutput) ElementType() reflect.Type
func (ChannelArrayOutput) Index ¶
func (o ChannelArrayOutput) Index(i pulumi.IntInput) ChannelOutput
func (ChannelArrayOutput) ToChannelArrayOutput ¶
func (o ChannelArrayOutput) ToChannelArrayOutput() ChannelArrayOutput
func (ChannelArrayOutput) ToChannelArrayOutputWithContext ¶
func (o ChannelArrayOutput) ToChannelArrayOutputWithContext(ctx context.Context) ChannelArrayOutput
type ChannelInput ¶
type ChannelInput interface { pulumi.Input ToChannelOutput() ChannelOutput ToChannelOutputWithContext(ctx context.Context) ChannelOutput }
type ChannelMap ¶
type ChannelMap map[string]ChannelInput
func (ChannelMap) ElementType ¶
func (ChannelMap) ElementType() reflect.Type
func (ChannelMap) ToChannelMapOutput ¶
func (i ChannelMap) ToChannelMapOutput() ChannelMapOutput
func (ChannelMap) ToChannelMapOutputWithContext ¶
func (i ChannelMap) ToChannelMapOutputWithContext(ctx context.Context) ChannelMapOutput
type ChannelMapInput ¶
type ChannelMapInput interface { pulumi.Input ToChannelMapOutput() ChannelMapOutput ToChannelMapOutputWithContext(context.Context) ChannelMapOutput }
ChannelMapInput is an input type that accepts ChannelMap and ChannelMapOutput values. You can construct a concrete instance of `ChannelMapInput` via:
ChannelMap{ "key": ChannelArgs{...} }
type ChannelMapOutput ¶
type ChannelMapOutput struct{ *pulumi.OutputState }
func (ChannelMapOutput) ElementType ¶
func (ChannelMapOutput) ElementType() reflect.Type
func (ChannelMapOutput) MapIndex ¶
func (o ChannelMapOutput) MapIndex(k pulumi.StringInput) ChannelOutput
func (ChannelMapOutput) ToChannelMapOutput ¶
func (o ChannelMapOutput) ToChannelMapOutput() ChannelMapOutput
func (ChannelMapOutput) ToChannelMapOutputWithContext ¶
func (o ChannelMapOutput) ToChannelMapOutputWithContext(ctx context.Context) ChannelMapOutput
type ChannelOutput ¶
type ChannelOutput struct{ *pulumi.OutputState }
func (ChannelOutput) ActivationToken ¶
func (o ChannelOutput) ActivationToken() pulumi.StringOutput
Output only. The activation token for the channel. The token must be used by the provider to register the channel for publishing.
func (ChannelOutput) CreateTime ¶
func (o ChannelOutput) CreateTime() pulumi.StringOutput
Output only. The creation time.
func (ChannelOutput) CryptoKeyName ¶
func (o ChannelOutput) CryptoKeyName() pulumi.StringPtrOutput
Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
func (ChannelOutput) ElementType ¶
func (ChannelOutput) ElementType() reflect.Type
func (ChannelOutput) Location ¶
func (o ChannelOutput) Location() pulumi.StringOutput
The location for the resource
func (ChannelOutput) Name ¶
func (o ChannelOutput) Name() pulumi.StringOutput
Required. The resource name of the channel. Must be unique within the location on the project.
***
func (ChannelOutput) Project ¶
func (o ChannelOutput) Project() pulumi.StringOutput
The project for the resource
func (ChannelOutput) PubsubTopic ¶
func (o ChannelOutput) PubsubTopic() pulumi.StringOutput
Output only. The name of the Pub/Sub topic created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{project}/topics/{topic_id}`.
func (ChannelOutput) State ¶
func (o ChannelOutput) State() pulumi.StringOutput
Output only. The state of a Channel. Possible values: STATE_UNSPECIFIED, PENDING, ACTIVE, INACTIVE
func (ChannelOutput) ThirdPartyProvider ¶
func (o ChannelOutput) ThirdPartyProvider() pulumi.StringPtrOutput
The name of the event provider (e.g. Eventarc SaaS partner) associated with the channel. This provider will be granted permissions to publish events to the channel. Format: `projects/{project}/locations/{location}/providers/{provider_id}`.
func (ChannelOutput) ToChannelOutput ¶
func (o ChannelOutput) ToChannelOutput() ChannelOutput
func (ChannelOutput) ToChannelOutputWithContext ¶
func (o ChannelOutput) ToChannelOutputWithContext(ctx context.Context) ChannelOutput
func (ChannelOutput) Uid ¶
func (o ChannelOutput) Uid() pulumi.StringOutput
Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
func (ChannelOutput) UpdateTime ¶
func (o ChannelOutput) UpdateTime() pulumi.StringOutput
Output only. The last-modified time.
type ChannelState ¶
type ChannelState struct { // Output only. The activation token for the channel. The token must be used by the provider to register the channel for publishing. ActivationToken pulumi.StringPtrInput // Output only. The creation time. CreateTime pulumi.StringPtrInput // Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`. CryptoKeyName pulumi.StringPtrInput // The location for the resource Location pulumi.StringPtrInput // Required. The resource name of the channel. Must be unique within the location on the project. // // *** Name pulumi.StringPtrInput // The project for the resource Project pulumi.StringPtrInput // Output only. The name of the Pub/Sub topic created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{project}/topics/{topic_id}`. PubsubTopic pulumi.StringPtrInput // Output only. The state of a Channel. Possible values: STATE_UNSPECIFIED, PENDING, ACTIVE, INACTIVE State pulumi.StringPtrInput // The name of the event provider (e.g. Eventarc SaaS partner) associated with the channel. This provider will be granted permissions to publish events to the channel. Format: `projects/{project}/locations/{location}/providers/{provider_id}`. ThirdPartyProvider pulumi.StringPtrInput // Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted. Uid pulumi.StringPtrInput // Output only. The last-modified time. UpdateTime pulumi.StringPtrInput }
func (ChannelState) ElementType ¶
func (ChannelState) ElementType() reflect.Type
type GoogleChannelConfig ¶
type GoogleChannelConfig struct { pulumi.CustomResourceState // Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`. CryptoKeyName pulumi.StringPtrOutput `pulumi:"cryptoKeyName"` // The location for the resource Location pulumi.StringOutput `pulumi:"location"` // Required. The resource name of the config. Must be in the format of, `projects/{project}/locations/{location}/googleChannelConfig`. // // *** Name pulumi.StringOutput `pulumi:"name"` // The project for the resource Project pulumi.StringOutput `pulumi:"project"` // Output only. The last-modified time. UpdateTime pulumi.StringOutput `pulumi:"updateTime"` }
The Eventarc GoogleChannelConfig resource
## Example Usage
### Basic ```go package main
import (
"fmt" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/eventarc" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/kms" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { testProject, err := organizations.LookupProject(ctx, &organizations.LookupProjectArgs{ ProjectId: pulumi.StringRef("my-project-name"), }, nil) if err != nil { return err } testKeyRing, err := kms.GetKMSKeyRing(ctx, &kms.GetKMSKeyRingArgs{ Name: "keyring", Location: "us-west1", }, nil) if err != nil { return err } _, err = kms.GetKMSCryptoKey(ctx, &kms.GetKMSCryptoKeyArgs{ Name: "key", KeyRing: testKeyRing.Id, }, nil) if err != nil { return err } key1Member, err := kms.NewCryptoKeyIAMMember(ctx, "key1_member", &kms.CryptoKeyIAMMemberArgs{ CryptoKeyId: pulumi.Any(key1.Id), Role: pulumi.String("roles/cloudkms.cryptoKeyEncrypterDecrypter"), Member: pulumi.Sprintf("serviceAccount:service-%v@gcp-sa-eventarc.iam.gserviceaccount.com", testProject.Number), }) if err != nil { return err } _, err = eventarc.NewGoogleChannelConfig(ctx, "primary", &eventarc.GoogleChannelConfigArgs{ Location: pulumi.String("us-west1"), Name: pulumi.String("channel"), Project: pulumi.String(testProject.ProjectId), CryptoKeyName: pulumi.Any(key1.Id), }, pulumi.DependsOn([]pulumi.Resource{ key1Member, })) if err != nil { return err } return nil }) }
```
## Import
GoogleChannelConfig can be imported using any of these accepted formats:
* `projects/{{project}}/locations/{{location}}/googleChannelConfig`
* `{{project}}/{{location}}`
* `{{location}}`
When using the `pulumi import` command, GoogleChannelConfig can be imported using one of the formats above. For example:
```sh $ pulumi import gcp:eventarc/googleChannelConfig:GoogleChannelConfig default projects/{{project}}/locations/{{location}}/googleChannelConfig ```
```sh $ pulumi import gcp:eventarc/googleChannelConfig:GoogleChannelConfig default {{project}}/{{location}} ```
```sh $ pulumi import gcp:eventarc/googleChannelConfig:GoogleChannelConfig default {{location}} ```
func GetGoogleChannelConfig ¶
func GetGoogleChannelConfig(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GoogleChannelConfigState, opts ...pulumi.ResourceOption) (*GoogleChannelConfig, error)
GetGoogleChannelConfig gets an existing GoogleChannelConfig 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 NewGoogleChannelConfig ¶
func NewGoogleChannelConfig(ctx *pulumi.Context, name string, args *GoogleChannelConfigArgs, opts ...pulumi.ResourceOption) (*GoogleChannelConfig, error)
NewGoogleChannelConfig registers a new resource with the given unique name, arguments, and options.
func (*GoogleChannelConfig) ElementType ¶
func (*GoogleChannelConfig) ElementType() reflect.Type
func (*GoogleChannelConfig) ToGoogleChannelConfigOutput ¶
func (i *GoogleChannelConfig) ToGoogleChannelConfigOutput() GoogleChannelConfigOutput
func (*GoogleChannelConfig) ToGoogleChannelConfigOutputWithContext ¶
func (i *GoogleChannelConfig) ToGoogleChannelConfigOutputWithContext(ctx context.Context) GoogleChannelConfigOutput
type GoogleChannelConfigArgs ¶
type GoogleChannelConfigArgs struct { // Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`. CryptoKeyName pulumi.StringPtrInput // The location for the resource Location pulumi.StringInput // Required. The resource name of the config. Must be in the format of, `projects/{project}/locations/{location}/googleChannelConfig`. // // *** Name pulumi.StringPtrInput // The project for the resource Project pulumi.StringPtrInput }
The set of arguments for constructing a GoogleChannelConfig resource.
func (GoogleChannelConfigArgs) ElementType ¶
func (GoogleChannelConfigArgs) ElementType() reflect.Type
type GoogleChannelConfigArray ¶
type GoogleChannelConfigArray []GoogleChannelConfigInput
func (GoogleChannelConfigArray) ElementType ¶
func (GoogleChannelConfigArray) ElementType() reflect.Type
func (GoogleChannelConfigArray) ToGoogleChannelConfigArrayOutput ¶
func (i GoogleChannelConfigArray) ToGoogleChannelConfigArrayOutput() GoogleChannelConfigArrayOutput
func (GoogleChannelConfigArray) ToGoogleChannelConfigArrayOutputWithContext ¶
func (i GoogleChannelConfigArray) ToGoogleChannelConfigArrayOutputWithContext(ctx context.Context) GoogleChannelConfigArrayOutput
type GoogleChannelConfigArrayInput ¶
type GoogleChannelConfigArrayInput interface { pulumi.Input ToGoogleChannelConfigArrayOutput() GoogleChannelConfigArrayOutput ToGoogleChannelConfigArrayOutputWithContext(context.Context) GoogleChannelConfigArrayOutput }
GoogleChannelConfigArrayInput is an input type that accepts GoogleChannelConfigArray and GoogleChannelConfigArrayOutput values. You can construct a concrete instance of `GoogleChannelConfigArrayInput` via:
GoogleChannelConfigArray{ GoogleChannelConfigArgs{...} }
type GoogleChannelConfigArrayOutput ¶
type GoogleChannelConfigArrayOutput struct{ *pulumi.OutputState }
func (GoogleChannelConfigArrayOutput) ElementType ¶
func (GoogleChannelConfigArrayOutput) ElementType() reflect.Type
func (GoogleChannelConfigArrayOutput) Index ¶
func (o GoogleChannelConfigArrayOutput) Index(i pulumi.IntInput) GoogleChannelConfigOutput
func (GoogleChannelConfigArrayOutput) ToGoogleChannelConfigArrayOutput ¶
func (o GoogleChannelConfigArrayOutput) ToGoogleChannelConfigArrayOutput() GoogleChannelConfigArrayOutput
func (GoogleChannelConfigArrayOutput) ToGoogleChannelConfigArrayOutputWithContext ¶
func (o GoogleChannelConfigArrayOutput) ToGoogleChannelConfigArrayOutputWithContext(ctx context.Context) GoogleChannelConfigArrayOutput
type GoogleChannelConfigInput ¶
type GoogleChannelConfigInput interface { pulumi.Input ToGoogleChannelConfigOutput() GoogleChannelConfigOutput ToGoogleChannelConfigOutputWithContext(ctx context.Context) GoogleChannelConfigOutput }
type GoogleChannelConfigMap ¶
type GoogleChannelConfigMap map[string]GoogleChannelConfigInput
func (GoogleChannelConfigMap) ElementType ¶
func (GoogleChannelConfigMap) ElementType() reflect.Type
func (GoogleChannelConfigMap) ToGoogleChannelConfigMapOutput ¶
func (i GoogleChannelConfigMap) ToGoogleChannelConfigMapOutput() GoogleChannelConfigMapOutput
func (GoogleChannelConfigMap) ToGoogleChannelConfigMapOutputWithContext ¶
func (i GoogleChannelConfigMap) ToGoogleChannelConfigMapOutputWithContext(ctx context.Context) GoogleChannelConfigMapOutput
type GoogleChannelConfigMapInput ¶
type GoogleChannelConfigMapInput interface { pulumi.Input ToGoogleChannelConfigMapOutput() GoogleChannelConfigMapOutput ToGoogleChannelConfigMapOutputWithContext(context.Context) GoogleChannelConfigMapOutput }
GoogleChannelConfigMapInput is an input type that accepts GoogleChannelConfigMap and GoogleChannelConfigMapOutput values. You can construct a concrete instance of `GoogleChannelConfigMapInput` via:
GoogleChannelConfigMap{ "key": GoogleChannelConfigArgs{...} }
type GoogleChannelConfigMapOutput ¶
type GoogleChannelConfigMapOutput struct{ *pulumi.OutputState }
func (GoogleChannelConfigMapOutput) ElementType ¶
func (GoogleChannelConfigMapOutput) ElementType() reflect.Type
func (GoogleChannelConfigMapOutput) MapIndex ¶
func (o GoogleChannelConfigMapOutput) MapIndex(k pulumi.StringInput) GoogleChannelConfigOutput
func (GoogleChannelConfigMapOutput) ToGoogleChannelConfigMapOutput ¶
func (o GoogleChannelConfigMapOutput) ToGoogleChannelConfigMapOutput() GoogleChannelConfigMapOutput
func (GoogleChannelConfigMapOutput) ToGoogleChannelConfigMapOutputWithContext ¶
func (o GoogleChannelConfigMapOutput) ToGoogleChannelConfigMapOutputWithContext(ctx context.Context) GoogleChannelConfigMapOutput
type GoogleChannelConfigOutput ¶
type GoogleChannelConfigOutput struct{ *pulumi.OutputState }
func (GoogleChannelConfigOutput) CryptoKeyName ¶
func (o GoogleChannelConfigOutput) CryptoKeyName() pulumi.StringPtrOutput
Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
func (GoogleChannelConfigOutput) ElementType ¶
func (GoogleChannelConfigOutput) ElementType() reflect.Type
func (GoogleChannelConfigOutput) Location ¶
func (o GoogleChannelConfigOutput) Location() pulumi.StringOutput
The location for the resource
func (GoogleChannelConfigOutput) Name ¶
func (o GoogleChannelConfigOutput) Name() pulumi.StringOutput
Required. The resource name of the config. Must be in the format of, `projects/{project}/locations/{location}/googleChannelConfig`.
***
func (GoogleChannelConfigOutput) Project ¶
func (o GoogleChannelConfigOutput) Project() pulumi.StringOutput
The project for the resource
func (GoogleChannelConfigOutput) ToGoogleChannelConfigOutput ¶
func (o GoogleChannelConfigOutput) ToGoogleChannelConfigOutput() GoogleChannelConfigOutput
func (GoogleChannelConfigOutput) ToGoogleChannelConfigOutputWithContext ¶
func (o GoogleChannelConfigOutput) ToGoogleChannelConfigOutputWithContext(ctx context.Context) GoogleChannelConfigOutput
func (GoogleChannelConfigOutput) UpdateTime ¶
func (o GoogleChannelConfigOutput) UpdateTime() pulumi.StringOutput
Output only. The last-modified time.
type GoogleChannelConfigState ¶
type GoogleChannelConfigState struct { // Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`. CryptoKeyName pulumi.StringPtrInput // The location for the resource Location pulumi.StringPtrInput // Required. The resource name of the config. Must be in the format of, `projects/{project}/locations/{location}/googleChannelConfig`. // // *** Name pulumi.StringPtrInput // The project for the resource Project pulumi.StringPtrInput // Output only. The last-modified time. UpdateTime pulumi.StringPtrInput }
func (GoogleChannelConfigState) ElementType ¶
func (GoogleChannelConfigState) ElementType() reflect.Type
type Trigger ¶
type Trigger struct { pulumi.CustomResourceState // Optional. The name of the channel associated with the trigger in // `projects/{project}/locations/{location}/channels/{channel}` format. You must provide a channel to receive events from // Eventarc SaaS partners. Channel pulumi.StringPtrOutput `pulumi:"channel"` // Output only. The reason(s) why a trigger is in FAILED state. Conditions pulumi.StringMapOutput `pulumi:"conditions"` // Output only. The creation time. CreateTime pulumi.StringOutput `pulumi:"createTime"` // Required. Destination specifies where the events should be sent to. Destination TriggerDestinationOutput `pulumi:"destination"` // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"` // Output only. This checksum is computed by the server based on the value of other fields, and may be sent only on create requests to ensure the client has an up-to-date value before proceeding. Etag pulumi.StringOutput `pulumi:"etag"` // Optional. EventDataContentType specifies the type of payload in MIME format that is expected from the CloudEvent data // field. This is set to `application/json` if the value is not defined. EventDataContentType pulumi.StringOutput `pulumi:"eventDataContentType"` // Optional. User labels attached to the triggers that can be used to group resources. **Note**: This field is // non-authoritative, and will only manage the labels present in your configuration. Please refer to the field // `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapOutput `pulumi:"labels"` // The location for the resource Location pulumi.StringOutput `pulumi:"location"` // Required. null The list of filters that applies to event attributes. Only events that match all the provided filters will be sent to the destination. MatchingCriterias TriggerMatchingCriteriaArrayOutput `pulumi:"matchingCriterias"` // Required. The resource name of the trigger. Must be unique within the location on the project. Name pulumi.StringOutput `pulumi:"name"` // The project for the resource Project pulumi.StringOutput `pulumi:"project"` // The combination of labels configured directly on the resource and default labels configured on the provider. PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"` // Optional. The IAM service account email associated with the trigger. The service account represents the identity of the // trigger. The principal who calls this API must have `iam.serviceAccounts.actAs` permission in the service account. See // https://cloud.google.com/iam/docs/understanding-service-accounts#sa_common for more information. For Cloud Run // destinations, this service account is used to generate identity tokens when invoking the service. See // https://cloud.google.com/run/docs/triggering/pubsub-push#create-service-account for information on how to invoke // authenticated Cloud Run services. In order to create Audit Log triggers, the service account should also have // `roles/eventarc.eventReceiver` IAM role. ServiceAccount pulumi.StringPtrOutput `pulumi:"serviceAccount"` // Optional. In order to deliver messages, Eventarc may use other GCP products as transport intermediary. This field // contains a reference to that transport intermediary. This information can be used for debugging purposes. Transport TriggerTransportOutput `pulumi:"transport"` // Output only. Server assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted. Uid pulumi.StringOutput `pulumi:"uid"` // Output only. The last-modified time. UpdateTime pulumi.StringOutput `pulumi:"updateTime"` }
The Eventarc Trigger resource
## Example Usage
### Basic ```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudrun" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/eventarc" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/pubsub" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudrun.NewService(ctx, "default", &cloudrun.ServiceArgs{ Name: pulumi.String("eventarc-service"), Location: pulumi.String("europe-west1"), Metadata: &cloudrun.ServiceMetadataArgs{ Namespace: pulumi.String("my-project-name"), }, Template: &cloudrun.ServiceTemplateArgs{ Spec: &cloudrun.ServiceTemplateSpecArgs{ Containers: cloudrun.ServiceTemplateSpecContainerArray{ &cloudrun.ServiceTemplateSpecContainerArgs{ Image: pulumi.String("gcr.io/cloudrun/hello"), Ports: cloudrun.ServiceTemplateSpecContainerPortArray{ &cloudrun.ServiceTemplateSpecContainerPortArgs{ ContainerPort: pulumi.Int(8080), }, }, }, }, ContainerConcurrency: pulumi.Int(50), TimeoutSeconds: pulumi.Int(100), }, }, Traffics: cloudrun.ServiceTrafficArray{ &cloudrun.ServiceTrafficArgs{ Percent: pulumi.Int(100), LatestRevision: pulumi.Bool(true), }, }, }) if err != nil { return err } _, err = eventarc.NewTrigger(ctx, "primary", &eventarc.TriggerArgs{ Name: pulumi.String("name"), Location: pulumi.String("europe-west1"), MatchingCriterias: eventarc.TriggerMatchingCriteriaArray{ &eventarc.TriggerMatchingCriteriaArgs{ Attribute: pulumi.String("type"), Value: pulumi.String("google.cloud.pubsub.topic.v1.messagePublished"), }, }, Destination: &eventarc.TriggerDestinationArgs{ CloudRunService: &eventarc.TriggerDestinationCloudRunServiceArgs{ Service: _default.Name, Region: pulumi.String("europe-west1"), }, }, Labels: pulumi.StringMap{ "foo": pulumi.String("bar"), }, }) if err != nil { return err } _, err = pubsub.NewTopic(ctx, "foo", &pubsub.TopicArgs{ Name: pulumi.String("topic"), }) if err != nil { return err } return nil }) }
```
## Import
Trigger can be imported using any of these accepted formats:
* `projects/{{project}}/locations/{{location}}/triggers/{{name}}`
* `{{project}}/{{location}}/{{name}}`
* `{{location}}/{{name}}`
When using the `pulumi import` command, Trigger can be imported using one of the formats above. For example:
```sh $ pulumi import gcp:eventarc/trigger:Trigger default projects/{{project}}/locations/{{location}}/triggers/{{name}} ```
```sh $ pulumi import gcp:eventarc/trigger:Trigger default {{project}}/{{location}}/{{name}} ```
```sh $ pulumi import gcp:eventarc/trigger:Trigger default {{location}}/{{name}} ```
func GetTrigger ¶
func GetTrigger(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TriggerState, opts ...pulumi.ResourceOption) (*Trigger, error)
GetTrigger gets an existing Trigger 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 NewTrigger ¶
func NewTrigger(ctx *pulumi.Context, name string, args *TriggerArgs, opts ...pulumi.ResourceOption) (*Trigger, error)
NewTrigger registers a new resource with the given unique name, arguments, and options.
func (*Trigger) ElementType ¶
func (*Trigger) ToTriggerOutput ¶
func (i *Trigger) ToTriggerOutput() TriggerOutput
func (*Trigger) ToTriggerOutputWithContext ¶
func (i *Trigger) ToTriggerOutputWithContext(ctx context.Context) TriggerOutput
type TriggerArgs ¶
type TriggerArgs struct { // Optional. The name of the channel associated with the trigger in // `projects/{project}/locations/{location}/channels/{channel}` format. You must provide a channel to receive events from // Eventarc SaaS partners. Channel pulumi.StringPtrInput // Required. Destination specifies where the events should be sent to. Destination TriggerDestinationInput // Optional. EventDataContentType specifies the type of payload in MIME format that is expected from the CloudEvent data // field. This is set to `application/json` if the value is not defined. EventDataContentType pulumi.StringPtrInput // Optional. User labels attached to the triggers that can be used to group resources. **Note**: This field is // non-authoritative, and will only manage the labels present in your configuration. Please refer to the field // `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // The location for the resource Location pulumi.StringInput // Required. null The list of filters that applies to event attributes. Only events that match all the provided filters will be sent to the destination. MatchingCriterias TriggerMatchingCriteriaArrayInput // Required. The resource name of the trigger. Must be unique within the location on the project. Name pulumi.StringPtrInput // The project for the resource Project pulumi.StringPtrInput // Optional. The IAM service account email associated with the trigger. The service account represents the identity of the // trigger. The principal who calls this API must have `iam.serviceAccounts.actAs` permission in the service account. See // https://cloud.google.com/iam/docs/understanding-service-accounts#sa_common for more information. For Cloud Run // destinations, this service account is used to generate identity tokens when invoking the service. See // https://cloud.google.com/run/docs/triggering/pubsub-push#create-service-account for information on how to invoke // authenticated Cloud Run services. In order to create Audit Log triggers, the service account should also have // `roles/eventarc.eventReceiver` IAM role. ServiceAccount pulumi.StringPtrInput // Optional. In order to deliver messages, Eventarc may use other GCP products as transport intermediary. This field // contains a reference to that transport intermediary. This information can be used for debugging purposes. Transport TriggerTransportPtrInput }
The set of arguments for constructing a Trigger resource.
func (TriggerArgs) ElementType ¶
func (TriggerArgs) ElementType() reflect.Type
type TriggerArray ¶
type TriggerArray []TriggerInput
func (TriggerArray) ElementType ¶
func (TriggerArray) ElementType() reflect.Type
func (TriggerArray) ToTriggerArrayOutput ¶
func (i TriggerArray) ToTriggerArrayOutput() TriggerArrayOutput
func (TriggerArray) ToTriggerArrayOutputWithContext ¶
func (i TriggerArray) ToTriggerArrayOutputWithContext(ctx context.Context) TriggerArrayOutput
type TriggerArrayInput ¶
type TriggerArrayInput interface { pulumi.Input ToTriggerArrayOutput() TriggerArrayOutput ToTriggerArrayOutputWithContext(context.Context) TriggerArrayOutput }
TriggerArrayInput is an input type that accepts TriggerArray and TriggerArrayOutput values. You can construct a concrete instance of `TriggerArrayInput` via:
TriggerArray{ TriggerArgs{...} }
type TriggerArrayOutput ¶
type TriggerArrayOutput struct{ *pulumi.OutputState }
func (TriggerArrayOutput) ElementType ¶
func (TriggerArrayOutput) ElementType() reflect.Type
func (TriggerArrayOutput) Index ¶
func (o TriggerArrayOutput) Index(i pulumi.IntInput) TriggerOutput
func (TriggerArrayOutput) ToTriggerArrayOutput ¶
func (o TriggerArrayOutput) ToTriggerArrayOutput() TriggerArrayOutput
func (TriggerArrayOutput) ToTriggerArrayOutputWithContext ¶
func (o TriggerArrayOutput) ToTriggerArrayOutputWithContext(ctx context.Context) TriggerArrayOutput
type TriggerDestination ¶
type TriggerDestination struct { // The Cloud Function resource name. Only Cloud Functions V2 is supported. Format projects/{project}/locations/{location}/functions/{function} This is a read-only field. [WARNING] Creating Cloud Functions V2 triggers is only supported via the Cloud Functions product. An error will be returned if the user sets this value. CloudFunction *string `pulumi:"cloudFunction"` // Cloud Run fully-managed service that receives the events. The service should be running in the same project of the trigger. CloudRunService *TriggerDestinationCloudRunService `pulumi:"cloudRunService"` // A GKE service capable of receiving events. The service should be running in the same project as the trigger. Gke *TriggerDestinationGke `pulumi:"gke"` // An HTTP endpoint destination described by an URI. HttpEndpoint *TriggerDestinationHttpEndpoint `pulumi:"httpEndpoint"` // Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type. NetworkConfig *TriggerDestinationNetworkConfig `pulumi:"networkConfig"` // The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the trigger. Format: `projects/{project}/locations/{location}/workflows/{workflow}` Workflow *string `pulumi:"workflow"` }
type TriggerDestinationArgs ¶
type TriggerDestinationArgs struct { // The Cloud Function resource name. Only Cloud Functions V2 is supported. Format projects/{project}/locations/{location}/functions/{function} This is a read-only field. [WARNING] Creating Cloud Functions V2 triggers is only supported via the Cloud Functions product. An error will be returned if the user sets this value. CloudFunction pulumi.StringPtrInput `pulumi:"cloudFunction"` // Cloud Run fully-managed service that receives the events. The service should be running in the same project of the trigger. CloudRunService TriggerDestinationCloudRunServicePtrInput `pulumi:"cloudRunService"` // A GKE service capable of receiving events. The service should be running in the same project as the trigger. Gke TriggerDestinationGkePtrInput `pulumi:"gke"` // An HTTP endpoint destination described by an URI. HttpEndpoint TriggerDestinationHttpEndpointPtrInput `pulumi:"httpEndpoint"` // Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type. NetworkConfig TriggerDestinationNetworkConfigPtrInput `pulumi:"networkConfig"` // The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the trigger. Format: `projects/{project}/locations/{location}/workflows/{workflow}` Workflow pulumi.StringPtrInput `pulumi:"workflow"` }
func (TriggerDestinationArgs) ElementType ¶
func (TriggerDestinationArgs) ElementType() reflect.Type
func (TriggerDestinationArgs) ToTriggerDestinationOutput ¶
func (i TriggerDestinationArgs) ToTriggerDestinationOutput() TriggerDestinationOutput
func (TriggerDestinationArgs) ToTriggerDestinationOutputWithContext ¶
func (i TriggerDestinationArgs) ToTriggerDestinationOutputWithContext(ctx context.Context) TriggerDestinationOutput
func (TriggerDestinationArgs) ToTriggerDestinationPtrOutput ¶
func (i TriggerDestinationArgs) ToTriggerDestinationPtrOutput() TriggerDestinationPtrOutput
func (TriggerDestinationArgs) ToTriggerDestinationPtrOutputWithContext ¶
func (i TriggerDestinationArgs) ToTriggerDestinationPtrOutputWithContext(ctx context.Context) TriggerDestinationPtrOutput
type TriggerDestinationCloudRunService ¶
type TriggerDestinationCloudRunService struct { // Optional. The relative path on the Cloud Run service the events should be sent to. The value must conform to the definition of URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute". Path *string `pulumi:"path"` // Required. The region the Cloud Run service is deployed in. Region *string `pulumi:"region"` // Required. The name of the Cloud Run service being addressed. See https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services. Only services located in the same project of the trigger object can be addressed. Service string `pulumi:"service"` }
type TriggerDestinationCloudRunServiceArgs ¶
type TriggerDestinationCloudRunServiceArgs struct { // Optional. The relative path on the Cloud Run service the events should be sent to. The value must conform to the definition of URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute". Path pulumi.StringPtrInput `pulumi:"path"` // Required. The region the Cloud Run service is deployed in. Region pulumi.StringPtrInput `pulumi:"region"` // Required. The name of the Cloud Run service being addressed. See https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services. Only services located in the same project of the trigger object can be addressed. Service pulumi.StringInput `pulumi:"service"` }
func (TriggerDestinationCloudRunServiceArgs) ElementType ¶
func (TriggerDestinationCloudRunServiceArgs) ElementType() reflect.Type
func (TriggerDestinationCloudRunServiceArgs) ToTriggerDestinationCloudRunServiceOutput ¶
func (i TriggerDestinationCloudRunServiceArgs) ToTriggerDestinationCloudRunServiceOutput() TriggerDestinationCloudRunServiceOutput
func (TriggerDestinationCloudRunServiceArgs) ToTriggerDestinationCloudRunServiceOutputWithContext ¶
func (i TriggerDestinationCloudRunServiceArgs) ToTriggerDestinationCloudRunServiceOutputWithContext(ctx context.Context) TriggerDestinationCloudRunServiceOutput
func (TriggerDestinationCloudRunServiceArgs) ToTriggerDestinationCloudRunServicePtrOutput ¶
func (i TriggerDestinationCloudRunServiceArgs) ToTriggerDestinationCloudRunServicePtrOutput() TriggerDestinationCloudRunServicePtrOutput
func (TriggerDestinationCloudRunServiceArgs) ToTriggerDestinationCloudRunServicePtrOutputWithContext ¶
func (i TriggerDestinationCloudRunServiceArgs) ToTriggerDestinationCloudRunServicePtrOutputWithContext(ctx context.Context) TriggerDestinationCloudRunServicePtrOutput
type TriggerDestinationCloudRunServiceInput ¶
type TriggerDestinationCloudRunServiceInput interface { pulumi.Input ToTriggerDestinationCloudRunServiceOutput() TriggerDestinationCloudRunServiceOutput ToTriggerDestinationCloudRunServiceOutputWithContext(context.Context) TriggerDestinationCloudRunServiceOutput }
TriggerDestinationCloudRunServiceInput is an input type that accepts TriggerDestinationCloudRunServiceArgs and TriggerDestinationCloudRunServiceOutput values. You can construct a concrete instance of `TriggerDestinationCloudRunServiceInput` via:
TriggerDestinationCloudRunServiceArgs{...}
type TriggerDestinationCloudRunServiceOutput ¶
type TriggerDestinationCloudRunServiceOutput struct{ *pulumi.OutputState }
func (TriggerDestinationCloudRunServiceOutput) ElementType ¶
func (TriggerDestinationCloudRunServiceOutput) ElementType() reflect.Type
func (TriggerDestinationCloudRunServiceOutput) Path ¶
func (o TriggerDestinationCloudRunServiceOutput) Path() pulumi.StringPtrOutput
Optional. The relative path on the Cloud Run service the events should be sent to. The value must conform to the definition of URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".
func (TriggerDestinationCloudRunServiceOutput) Region ¶
func (o TriggerDestinationCloudRunServiceOutput) Region() pulumi.StringPtrOutput
Required. The region the Cloud Run service is deployed in.
func (TriggerDestinationCloudRunServiceOutput) Service ¶
func (o TriggerDestinationCloudRunServiceOutput) Service() pulumi.StringOutput
Required. The name of the Cloud Run service being addressed. See https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services. Only services located in the same project of the trigger object can be addressed.
func (TriggerDestinationCloudRunServiceOutput) ToTriggerDestinationCloudRunServiceOutput ¶
func (o TriggerDestinationCloudRunServiceOutput) ToTriggerDestinationCloudRunServiceOutput() TriggerDestinationCloudRunServiceOutput
func (TriggerDestinationCloudRunServiceOutput) ToTriggerDestinationCloudRunServiceOutputWithContext ¶
func (o TriggerDestinationCloudRunServiceOutput) ToTriggerDestinationCloudRunServiceOutputWithContext(ctx context.Context) TriggerDestinationCloudRunServiceOutput
func (TriggerDestinationCloudRunServiceOutput) ToTriggerDestinationCloudRunServicePtrOutput ¶
func (o TriggerDestinationCloudRunServiceOutput) ToTriggerDestinationCloudRunServicePtrOutput() TriggerDestinationCloudRunServicePtrOutput
func (TriggerDestinationCloudRunServiceOutput) ToTriggerDestinationCloudRunServicePtrOutputWithContext ¶
func (o TriggerDestinationCloudRunServiceOutput) ToTriggerDestinationCloudRunServicePtrOutputWithContext(ctx context.Context) TriggerDestinationCloudRunServicePtrOutput
type TriggerDestinationCloudRunServicePtrInput ¶
type TriggerDestinationCloudRunServicePtrInput interface { pulumi.Input ToTriggerDestinationCloudRunServicePtrOutput() TriggerDestinationCloudRunServicePtrOutput ToTriggerDestinationCloudRunServicePtrOutputWithContext(context.Context) TriggerDestinationCloudRunServicePtrOutput }
TriggerDestinationCloudRunServicePtrInput is an input type that accepts TriggerDestinationCloudRunServiceArgs, TriggerDestinationCloudRunServicePtr and TriggerDestinationCloudRunServicePtrOutput values. You can construct a concrete instance of `TriggerDestinationCloudRunServicePtrInput` via:
TriggerDestinationCloudRunServiceArgs{...} or: nil
func TriggerDestinationCloudRunServicePtr ¶
func TriggerDestinationCloudRunServicePtr(v *TriggerDestinationCloudRunServiceArgs) TriggerDestinationCloudRunServicePtrInput
type TriggerDestinationCloudRunServicePtrOutput ¶
type TriggerDestinationCloudRunServicePtrOutput struct{ *pulumi.OutputState }
func (TriggerDestinationCloudRunServicePtrOutput) ElementType ¶
func (TriggerDestinationCloudRunServicePtrOutput) ElementType() reflect.Type
func (TriggerDestinationCloudRunServicePtrOutput) Path ¶
func (o TriggerDestinationCloudRunServicePtrOutput) Path() pulumi.StringPtrOutput
Optional. The relative path on the Cloud Run service the events should be sent to. The value must conform to the definition of URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".
func (TriggerDestinationCloudRunServicePtrOutput) Region ¶
func (o TriggerDestinationCloudRunServicePtrOutput) Region() pulumi.StringPtrOutput
Required. The region the Cloud Run service is deployed in.
func (TriggerDestinationCloudRunServicePtrOutput) Service ¶
func (o TriggerDestinationCloudRunServicePtrOutput) Service() pulumi.StringPtrOutput
Required. The name of the Cloud Run service being addressed. See https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services. Only services located in the same project of the trigger object can be addressed.
func (TriggerDestinationCloudRunServicePtrOutput) ToTriggerDestinationCloudRunServicePtrOutput ¶
func (o TriggerDestinationCloudRunServicePtrOutput) ToTriggerDestinationCloudRunServicePtrOutput() TriggerDestinationCloudRunServicePtrOutput
func (TriggerDestinationCloudRunServicePtrOutput) ToTriggerDestinationCloudRunServicePtrOutputWithContext ¶
func (o TriggerDestinationCloudRunServicePtrOutput) ToTriggerDestinationCloudRunServicePtrOutputWithContext(ctx context.Context) TriggerDestinationCloudRunServicePtrOutput
type TriggerDestinationGke ¶
type TriggerDestinationGke struct { // Required. The name of the cluster the GKE service is running in. The cluster must be running in the same project as the trigger being created. Cluster string `pulumi:"cluster"` // Required. The name of the Google Compute Engine in which the cluster resides, which can either be compute zone (for example, us-central1-a) for the zonal clusters or region (for example, us-central1) for regional clusters. Location string `pulumi:"location"` // Required. The namespace the GKE service is running in. Namespace string `pulumi:"namespace"` // Optional. The relative path on the GKE service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute". Path *string `pulumi:"path"` // Required. Name of the GKE service. Service string `pulumi:"service"` }
type TriggerDestinationGkeArgs ¶
type TriggerDestinationGkeArgs struct { // Required. The name of the cluster the GKE service is running in. The cluster must be running in the same project as the trigger being created. Cluster pulumi.StringInput `pulumi:"cluster"` // Required. The name of the Google Compute Engine in which the cluster resides, which can either be compute zone (for example, us-central1-a) for the zonal clusters or region (for example, us-central1) for regional clusters. Location pulumi.StringInput `pulumi:"location"` // Required. The namespace the GKE service is running in. Namespace pulumi.StringInput `pulumi:"namespace"` // Optional. The relative path on the GKE service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute". Path pulumi.StringPtrInput `pulumi:"path"` // Required. Name of the GKE service. Service pulumi.StringInput `pulumi:"service"` }
func (TriggerDestinationGkeArgs) ElementType ¶
func (TriggerDestinationGkeArgs) ElementType() reflect.Type
func (TriggerDestinationGkeArgs) ToTriggerDestinationGkeOutput ¶
func (i TriggerDestinationGkeArgs) ToTriggerDestinationGkeOutput() TriggerDestinationGkeOutput
func (TriggerDestinationGkeArgs) ToTriggerDestinationGkeOutputWithContext ¶
func (i TriggerDestinationGkeArgs) ToTriggerDestinationGkeOutputWithContext(ctx context.Context) TriggerDestinationGkeOutput
func (TriggerDestinationGkeArgs) ToTriggerDestinationGkePtrOutput ¶
func (i TriggerDestinationGkeArgs) ToTriggerDestinationGkePtrOutput() TriggerDestinationGkePtrOutput
func (TriggerDestinationGkeArgs) ToTriggerDestinationGkePtrOutputWithContext ¶
func (i TriggerDestinationGkeArgs) ToTriggerDestinationGkePtrOutputWithContext(ctx context.Context) TriggerDestinationGkePtrOutput
type TriggerDestinationGkeInput ¶
type TriggerDestinationGkeInput interface { pulumi.Input ToTriggerDestinationGkeOutput() TriggerDestinationGkeOutput ToTriggerDestinationGkeOutputWithContext(context.Context) TriggerDestinationGkeOutput }
TriggerDestinationGkeInput is an input type that accepts TriggerDestinationGkeArgs and TriggerDestinationGkeOutput values. You can construct a concrete instance of `TriggerDestinationGkeInput` via:
TriggerDestinationGkeArgs{...}
type TriggerDestinationGkeOutput ¶
type TriggerDestinationGkeOutput struct{ *pulumi.OutputState }
func (TriggerDestinationGkeOutput) Cluster ¶
func (o TriggerDestinationGkeOutput) Cluster() pulumi.StringOutput
Required. The name of the cluster the GKE service is running in. The cluster must be running in the same project as the trigger being created.
func (TriggerDestinationGkeOutput) ElementType ¶
func (TriggerDestinationGkeOutput) ElementType() reflect.Type
func (TriggerDestinationGkeOutput) Location ¶
func (o TriggerDestinationGkeOutput) Location() pulumi.StringOutput
Required. The name of the Google Compute Engine in which the cluster resides, which can either be compute zone (for example, us-central1-a) for the zonal clusters or region (for example, us-central1) for regional clusters.
func (TriggerDestinationGkeOutput) Namespace ¶
func (o TriggerDestinationGkeOutput) Namespace() pulumi.StringOutput
Required. The namespace the GKE service is running in.
func (TriggerDestinationGkeOutput) Path ¶
func (o TriggerDestinationGkeOutput) Path() pulumi.StringPtrOutput
Optional. The relative path on the GKE service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".
func (TriggerDestinationGkeOutput) Service ¶
func (o TriggerDestinationGkeOutput) Service() pulumi.StringOutput
Required. Name of the GKE service.
func (TriggerDestinationGkeOutput) ToTriggerDestinationGkeOutput ¶
func (o TriggerDestinationGkeOutput) ToTriggerDestinationGkeOutput() TriggerDestinationGkeOutput
func (TriggerDestinationGkeOutput) ToTriggerDestinationGkeOutputWithContext ¶
func (o TriggerDestinationGkeOutput) ToTriggerDestinationGkeOutputWithContext(ctx context.Context) TriggerDestinationGkeOutput
func (TriggerDestinationGkeOutput) ToTriggerDestinationGkePtrOutput ¶
func (o TriggerDestinationGkeOutput) ToTriggerDestinationGkePtrOutput() TriggerDestinationGkePtrOutput
func (TriggerDestinationGkeOutput) ToTriggerDestinationGkePtrOutputWithContext ¶
func (o TriggerDestinationGkeOutput) ToTriggerDestinationGkePtrOutputWithContext(ctx context.Context) TriggerDestinationGkePtrOutput
type TriggerDestinationGkePtrInput ¶
type TriggerDestinationGkePtrInput interface { pulumi.Input ToTriggerDestinationGkePtrOutput() TriggerDestinationGkePtrOutput ToTriggerDestinationGkePtrOutputWithContext(context.Context) TriggerDestinationGkePtrOutput }
TriggerDestinationGkePtrInput is an input type that accepts TriggerDestinationGkeArgs, TriggerDestinationGkePtr and TriggerDestinationGkePtrOutput values. You can construct a concrete instance of `TriggerDestinationGkePtrInput` via:
TriggerDestinationGkeArgs{...} or: nil
func TriggerDestinationGkePtr ¶
func TriggerDestinationGkePtr(v *TriggerDestinationGkeArgs) TriggerDestinationGkePtrInput
type TriggerDestinationGkePtrOutput ¶
type TriggerDestinationGkePtrOutput struct{ *pulumi.OutputState }
func (TriggerDestinationGkePtrOutput) Cluster ¶
func (o TriggerDestinationGkePtrOutput) Cluster() pulumi.StringPtrOutput
Required. The name of the cluster the GKE service is running in. The cluster must be running in the same project as the trigger being created.
func (TriggerDestinationGkePtrOutput) Elem ¶
func (o TriggerDestinationGkePtrOutput) Elem() TriggerDestinationGkeOutput
func (TriggerDestinationGkePtrOutput) ElementType ¶
func (TriggerDestinationGkePtrOutput) ElementType() reflect.Type
func (TriggerDestinationGkePtrOutput) Location ¶
func (o TriggerDestinationGkePtrOutput) Location() pulumi.StringPtrOutput
Required. The name of the Google Compute Engine in which the cluster resides, which can either be compute zone (for example, us-central1-a) for the zonal clusters or region (for example, us-central1) for regional clusters.
func (TriggerDestinationGkePtrOutput) Namespace ¶
func (o TriggerDestinationGkePtrOutput) Namespace() pulumi.StringPtrOutput
Required. The namespace the GKE service is running in.
func (TriggerDestinationGkePtrOutput) Path ¶
func (o TriggerDestinationGkePtrOutput) Path() pulumi.StringPtrOutput
Optional. The relative path on the GKE service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".
func (TriggerDestinationGkePtrOutput) Service ¶
func (o TriggerDestinationGkePtrOutput) Service() pulumi.StringPtrOutput
Required. Name of the GKE service.
func (TriggerDestinationGkePtrOutput) ToTriggerDestinationGkePtrOutput ¶
func (o TriggerDestinationGkePtrOutput) ToTriggerDestinationGkePtrOutput() TriggerDestinationGkePtrOutput
func (TriggerDestinationGkePtrOutput) ToTriggerDestinationGkePtrOutputWithContext ¶
func (o TriggerDestinationGkePtrOutput) ToTriggerDestinationGkePtrOutputWithContext(ctx context.Context) TriggerDestinationGkePtrOutput
type TriggerDestinationHttpEndpoint ¶
type TriggerDestinationHttpEndpoint struct { // Required. The URI of the HTTP enpdoint. The value must be a RFC2396 URI string. Examples: `http://10.10.10.8:80/route`, `http://svc.us-central1.p.local:8080/`. Only HTTP and HTTPS protocols are supported. The host can be either a static IP addressable from the VPC specified by the network config, or an internal DNS hostname of the service resolvable via Cloud DNS. Uri string `pulumi:"uri"` }
type TriggerDestinationHttpEndpointArgs ¶
type TriggerDestinationHttpEndpointArgs struct { // Required. The URI of the HTTP enpdoint. The value must be a RFC2396 URI string. Examples: `http://10.10.10.8:80/route`, `http://svc.us-central1.p.local:8080/`. Only HTTP and HTTPS protocols are supported. The host can be either a static IP addressable from the VPC specified by the network config, or an internal DNS hostname of the service resolvable via Cloud DNS. Uri pulumi.StringInput `pulumi:"uri"` }
func (TriggerDestinationHttpEndpointArgs) ElementType ¶
func (TriggerDestinationHttpEndpointArgs) ElementType() reflect.Type
func (TriggerDestinationHttpEndpointArgs) ToTriggerDestinationHttpEndpointOutput ¶
func (i TriggerDestinationHttpEndpointArgs) ToTriggerDestinationHttpEndpointOutput() TriggerDestinationHttpEndpointOutput
func (TriggerDestinationHttpEndpointArgs) ToTriggerDestinationHttpEndpointOutputWithContext ¶
func (i TriggerDestinationHttpEndpointArgs) ToTriggerDestinationHttpEndpointOutputWithContext(ctx context.Context) TriggerDestinationHttpEndpointOutput
func (TriggerDestinationHttpEndpointArgs) ToTriggerDestinationHttpEndpointPtrOutput ¶
func (i TriggerDestinationHttpEndpointArgs) ToTriggerDestinationHttpEndpointPtrOutput() TriggerDestinationHttpEndpointPtrOutput
func (TriggerDestinationHttpEndpointArgs) ToTriggerDestinationHttpEndpointPtrOutputWithContext ¶
func (i TriggerDestinationHttpEndpointArgs) ToTriggerDestinationHttpEndpointPtrOutputWithContext(ctx context.Context) TriggerDestinationHttpEndpointPtrOutput
type TriggerDestinationHttpEndpointInput ¶
type TriggerDestinationHttpEndpointInput interface { pulumi.Input ToTriggerDestinationHttpEndpointOutput() TriggerDestinationHttpEndpointOutput ToTriggerDestinationHttpEndpointOutputWithContext(context.Context) TriggerDestinationHttpEndpointOutput }
TriggerDestinationHttpEndpointInput is an input type that accepts TriggerDestinationHttpEndpointArgs and TriggerDestinationHttpEndpointOutput values. You can construct a concrete instance of `TriggerDestinationHttpEndpointInput` via:
TriggerDestinationHttpEndpointArgs{...}
type TriggerDestinationHttpEndpointOutput ¶
type TriggerDestinationHttpEndpointOutput struct{ *pulumi.OutputState }
func (TriggerDestinationHttpEndpointOutput) ElementType ¶
func (TriggerDestinationHttpEndpointOutput) ElementType() reflect.Type
func (TriggerDestinationHttpEndpointOutput) ToTriggerDestinationHttpEndpointOutput ¶
func (o TriggerDestinationHttpEndpointOutput) ToTriggerDestinationHttpEndpointOutput() TriggerDestinationHttpEndpointOutput
func (TriggerDestinationHttpEndpointOutput) ToTriggerDestinationHttpEndpointOutputWithContext ¶
func (o TriggerDestinationHttpEndpointOutput) ToTriggerDestinationHttpEndpointOutputWithContext(ctx context.Context) TriggerDestinationHttpEndpointOutput
func (TriggerDestinationHttpEndpointOutput) ToTriggerDestinationHttpEndpointPtrOutput ¶
func (o TriggerDestinationHttpEndpointOutput) ToTriggerDestinationHttpEndpointPtrOutput() TriggerDestinationHttpEndpointPtrOutput
func (TriggerDestinationHttpEndpointOutput) ToTriggerDestinationHttpEndpointPtrOutputWithContext ¶
func (o TriggerDestinationHttpEndpointOutput) ToTriggerDestinationHttpEndpointPtrOutputWithContext(ctx context.Context) TriggerDestinationHttpEndpointPtrOutput
func (TriggerDestinationHttpEndpointOutput) Uri ¶
func (o TriggerDestinationHttpEndpointOutput) Uri() pulumi.StringOutput
Required. The URI of the HTTP enpdoint. The value must be a RFC2396 URI string. Examples: `http://10.10.10.8:80/route`, `http://svc.us-central1.p.local:8080/`. Only HTTP and HTTPS protocols are supported. The host can be either a static IP addressable from the VPC specified by the network config, or an internal DNS hostname of the service resolvable via Cloud DNS.
type TriggerDestinationHttpEndpointPtrInput ¶
type TriggerDestinationHttpEndpointPtrInput interface { pulumi.Input ToTriggerDestinationHttpEndpointPtrOutput() TriggerDestinationHttpEndpointPtrOutput ToTriggerDestinationHttpEndpointPtrOutputWithContext(context.Context) TriggerDestinationHttpEndpointPtrOutput }
TriggerDestinationHttpEndpointPtrInput is an input type that accepts TriggerDestinationHttpEndpointArgs, TriggerDestinationHttpEndpointPtr and TriggerDestinationHttpEndpointPtrOutput values. You can construct a concrete instance of `TriggerDestinationHttpEndpointPtrInput` via:
TriggerDestinationHttpEndpointArgs{...} or: nil
func TriggerDestinationHttpEndpointPtr ¶
func TriggerDestinationHttpEndpointPtr(v *TriggerDestinationHttpEndpointArgs) TriggerDestinationHttpEndpointPtrInput
type TriggerDestinationHttpEndpointPtrOutput ¶
type TriggerDestinationHttpEndpointPtrOutput struct{ *pulumi.OutputState }
func (TriggerDestinationHttpEndpointPtrOutput) ElementType ¶
func (TriggerDestinationHttpEndpointPtrOutput) ElementType() reflect.Type
func (TriggerDestinationHttpEndpointPtrOutput) ToTriggerDestinationHttpEndpointPtrOutput ¶
func (o TriggerDestinationHttpEndpointPtrOutput) ToTriggerDestinationHttpEndpointPtrOutput() TriggerDestinationHttpEndpointPtrOutput
func (TriggerDestinationHttpEndpointPtrOutput) ToTriggerDestinationHttpEndpointPtrOutputWithContext ¶
func (o TriggerDestinationHttpEndpointPtrOutput) ToTriggerDestinationHttpEndpointPtrOutputWithContext(ctx context.Context) TriggerDestinationHttpEndpointPtrOutput
func (TriggerDestinationHttpEndpointPtrOutput) Uri ¶
func (o TriggerDestinationHttpEndpointPtrOutput) Uri() pulumi.StringPtrOutput
Required. The URI of the HTTP enpdoint. The value must be a RFC2396 URI string. Examples: `http://10.10.10.8:80/route`, `http://svc.us-central1.p.local:8080/`. Only HTTP and HTTPS protocols are supported. The host can be either a static IP addressable from the VPC specified by the network config, or an internal DNS hostname of the service resolvable via Cloud DNS.
type TriggerDestinationInput ¶
type TriggerDestinationInput interface { pulumi.Input ToTriggerDestinationOutput() TriggerDestinationOutput ToTriggerDestinationOutputWithContext(context.Context) TriggerDestinationOutput }
TriggerDestinationInput is an input type that accepts TriggerDestinationArgs and TriggerDestinationOutput values. You can construct a concrete instance of `TriggerDestinationInput` via:
TriggerDestinationArgs{...}
type TriggerDestinationNetworkConfig ¶
type TriggerDestinationNetworkConfig struct { // Required. Name of the NetworkAttachment that allows access to the destination VPC. Format: `projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}` NetworkAttachment string `pulumi:"networkAttachment"` }
type TriggerDestinationNetworkConfigArgs ¶
type TriggerDestinationNetworkConfigArgs struct { // Required. Name of the NetworkAttachment that allows access to the destination VPC. Format: `projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}` NetworkAttachment pulumi.StringInput `pulumi:"networkAttachment"` }
func (TriggerDestinationNetworkConfigArgs) ElementType ¶
func (TriggerDestinationNetworkConfigArgs) ElementType() reflect.Type
func (TriggerDestinationNetworkConfigArgs) ToTriggerDestinationNetworkConfigOutput ¶
func (i TriggerDestinationNetworkConfigArgs) ToTriggerDestinationNetworkConfigOutput() TriggerDestinationNetworkConfigOutput
func (TriggerDestinationNetworkConfigArgs) ToTriggerDestinationNetworkConfigOutputWithContext ¶
func (i TriggerDestinationNetworkConfigArgs) ToTriggerDestinationNetworkConfigOutputWithContext(ctx context.Context) TriggerDestinationNetworkConfigOutput
func (TriggerDestinationNetworkConfigArgs) ToTriggerDestinationNetworkConfigPtrOutput ¶
func (i TriggerDestinationNetworkConfigArgs) ToTriggerDestinationNetworkConfigPtrOutput() TriggerDestinationNetworkConfigPtrOutput
func (TriggerDestinationNetworkConfigArgs) ToTriggerDestinationNetworkConfigPtrOutputWithContext ¶
func (i TriggerDestinationNetworkConfigArgs) ToTriggerDestinationNetworkConfigPtrOutputWithContext(ctx context.Context) TriggerDestinationNetworkConfigPtrOutput
type TriggerDestinationNetworkConfigInput ¶
type TriggerDestinationNetworkConfigInput interface { pulumi.Input ToTriggerDestinationNetworkConfigOutput() TriggerDestinationNetworkConfigOutput ToTriggerDestinationNetworkConfigOutputWithContext(context.Context) TriggerDestinationNetworkConfigOutput }
TriggerDestinationNetworkConfigInput is an input type that accepts TriggerDestinationNetworkConfigArgs and TriggerDestinationNetworkConfigOutput values. You can construct a concrete instance of `TriggerDestinationNetworkConfigInput` via:
TriggerDestinationNetworkConfigArgs{...}
type TriggerDestinationNetworkConfigOutput ¶
type TriggerDestinationNetworkConfigOutput struct{ *pulumi.OutputState }
func (TriggerDestinationNetworkConfigOutput) ElementType ¶
func (TriggerDestinationNetworkConfigOutput) ElementType() reflect.Type
func (TriggerDestinationNetworkConfigOutput) NetworkAttachment ¶
func (o TriggerDestinationNetworkConfigOutput) NetworkAttachment() pulumi.StringOutput
Required. Name of the NetworkAttachment that allows access to the destination VPC. Format: `projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}`
func (TriggerDestinationNetworkConfigOutput) ToTriggerDestinationNetworkConfigOutput ¶
func (o TriggerDestinationNetworkConfigOutput) ToTriggerDestinationNetworkConfigOutput() TriggerDestinationNetworkConfigOutput
func (TriggerDestinationNetworkConfigOutput) ToTriggerDestinationNetworkConfigOutputWithContext ¶
func (o TriggerDestinationNetworkConfigOutput) ToTriggerDestinationNetworkConfigOutputWithContext(ctx context.Context) TriggerDestinationNetworkConfigOutput
func (TriggerDestinationNetworkConfigOutput) ToTriggerDestinationNetworkConfigPtrOutput ¶
func (o TriggerDestinationNetworkConfigOutput) ToTriggerDestinationNetworkConfigPtrOutput() TriggerDestinationNetworkConfigPtrOutput
func (TriggerDestinationNetworkConfigOutput) ToTriggerDestinationNetworkConfigPtrOutputWithContext ¶
func (o TriggerDestinationNetworkConfigOutput) ToTriggerDestinationNetworkConfigPtrOutputWithContext(ctx context.Context) TriggerDestinationNetworkConfigPtrOutput
type TriggerDestinationNetworkConfigPtrInput ¶
type TriggerDestinationNetworkConfigPtrInput interface { pulumi.Input ToTriggerDestinationNetworkConfigPtrOutput() TriggerDestinationNetworkConfigPtrOutput ToTriggerDestinationNetworkConfigPtrOutputWithContext(context.Context) TriggerDestinationNetworkConfigPtrOutput }
TriggerDestinationNetworkConfigPtrInput is an input type that accepts TriggerDestinationNetworkConfigArgs, TriggerDestinationNetworkConfigPtr and TriggerDestinationNetworkConfigPtrOutput values. You can construct a concrete instance of `TriggerDestinationNetworkConfigPtrInput` via:
TriggerDestinationNetworkConfigArgs{...} or: nil
func TriggerDestinationNetworkConfigPtr ¶
func TriggerDestinationNetworkConfigPtr(v *TriggerDestinationNetworkConfigArgs) TriggerDestinationNetworkConfigPtrInput
type TriggerDestinationNetworkConfigPtrOutput ¶
type TriggerDestinationNetworkConfigPtrOutput struct{ *pulumi.OutputState }
func (TriggerDestinationNetworkConfigPtrOutput) ElementType ¶
func (TriggerDestinationNetworkConfigPtrOutput) ElementType() reflect.Type
func (TriggerDestinationNetworkConfigPtrOutput) NetworkAttachment ¶
func (o TriggerDestinationNetworkConfigPtrOutput) NetworkAttachment() pulumi.StringPtrOutput
Required. Name of the NetworkAttachment that allows access to the destination VPC. Format: `projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}`
func (TriggerDestinationNetworkConfigPtrOutput) ToTriggerDestinationNetworkConfigPtrOutput ¶
func (o TriggerDestinationNetworkConfigPtrOutput) ToTriggerDestinationNetworkConfigPtrOutput() TriggerDestinationNetworkConfigPtrOutput
func (TriggerDestinationNetworkConfigPtrOutput) ToTriggerDestinationNetworkConfigPtrOutputWithContext ¶
func (o TriggerDestinationNetworkConfigPtrOutput) ToTriggerDestinationNetworkConfigPtrOutputWithContext(ctx context.Context) TriggerDestinationNetworkConfigPtrOutput
type TriggerDestinationOutput ¶
type TriggerDestinationOutput struct{ *pulumi.OutputState }
func (TriggerDestinationOutput) CloudFunction ¶
func (o TriggerDestinationOutput) CloudFunction() pulumi.StringPtrOutput
The Cloud Function resource name. Only Cloud Functions V2 is supported. Format projects/{project}/locations/{location}/functions/{function} This is a read-only field. [WARNING] Creating Cloud Functions V2 triggers is only supported via the Cloud Functions product. An error will be returned if the user sets this value.
func (TriggerDestinationOutput) CloudRunService ¶
func (o TriggerDestinationOutput) CloudRunService() TriggerDestinationCloudRunServicePtrOutput
Cloud Run fully-managed service that receives the events. The service should be running in the same project of the trigger.
func (TriggerDestinationOutput) ElementType ¶
func (TriggerDestinationOutput) ElementType() reflect.Type
func (TriggerDestinationOutput) Gke ¶
func (o TriggerDestinationOutput) Gke() TriggerDestinationGkePtrOutput
A GKE service capable of receiving events. The service should be running in the same project as the trigger.
func (TriggerDestinationOutput) HttpEndpoint ¶
func (o TriggerDestinationOutput) HttpEndpoint() TriggerDestinationHttpEndpointPtrOutput
An HTTP endpoint destination described by an URI.
func (TriggerDestinationOutput) NetworkConfig ¶
func (o TriggerDestinationOutput) NetworkConfig() TriggerDestinationNetworkConfigPtrOutput
Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type.
func (TriggerDestinationOutput) ToTriggerDestinationOutput ¶
func (o TriggerDestinationOutput) ToTriggerDestinationOutput() TriggerDestinationOutput
func (TriggerDestinationOutput) ToTriggerDestinationOutputWithContext ¶
func (o TriggerDestinationOutput) ToTriggerDestinationOutputWithContext(ctx context.Context) TriggerDestinationOutput
func (TriggerDestinationOutput) ToTriggerDestinationPtrOutput ¶
func (o TriggerDestinationOutput) ToTriggerDestinationPtrOutput() TriggerDestinationPtrOutput
func (TriggerDestinationOutput) ToTriggerDestinationPtrOutputWithContext ¶
func (o TriggerDestinationOutput) ToTriggerDestinationPtrOutputWithContext(ctx context.Context) TriggerDestinationPtrOutput
func (TriggerDestinationOutput) Workflow ¶
func (o TriggerDestinationOutput) Workflow() pulumi.StringPtrOutput
The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the trigger. Format: `projects/{project}/locations/{location}/workflows/{workflow}`
type TriggerDestinationPtrInput ¶
type TriggerDestinationPtrInput interface { pulumi.Input ToTriggerDestinationPtrOutput() TriggerDestinationPtrOutput ToTriggerDestinationPtrOutputWithContext(context.Context) TriggerDestinationPtrOutput }
TriggerDestinationPtrInput is an input type that accepts TriggerDestinationArgs, TriggerDestinationPtr and TriggerDestinationPtrOutput values. You can construct a concrete instance of `TriggerDestinationPtrInput` via:
TriggerDestinationArgs{...} or: nil
func TriggerDestinationPtr ¶
func TriggerDestinationPtr(v *TriggerDestinationArgs) TriggerDestinationPtrInput
type TriggerDestinationPtrOutput ¶
type TriggerDestinationPtrOutput struct{ *pulumi.OutputState }
func (TriggerDestinationPtrOutput) CloudFunction ¶
func (o TriggerDestinationPtrOutput) CloudFunction() pulumi.StringPtrOutput
The Cloud Function resource name. Only Cloud Functions V2 is supported. Format projects/{project}/locations/{location}/functions/{function} This is a read-only field. [WARNING] Creating Cloud Functions V2 triggers is only supported via the Cloud Functions product. An error will be returned if the user sets this value.
func (TriggerDestinationPtrOutput) CloudRunService ¶
func (o TriggerDestinationPtrOutput) CloudRunService() TriggerDestinationCloudRunServicePtrOutput
Cloud Run fully-managed service that receives the events. The service should be running in the same project of the trigger.
func (TriggerDestinationPtrOutput) Elem ¶
func (o TriggerDestinationPtrOutput) Elem() TriggerDestinationOutput
func (TriggerDestinationPtrOutput) ElementType ¶
func (TriggerDestinationPtrOutput) ElementType() reflect.Type
func (TriggerDestinationPtrOutput) Gke ¶
func (o TriggerDestinationPtrOutput) Gke() TriggerDestinationGkePtrOutput
A GKE service capable of receiving events. The service should be running in the same project as the trigger.
func (TriggerDestinationPtrOutput) HttpEndpoint ¶
func (o TriggerDestinationPtrOutput) HttpEndpoint() TriggerDestinationHttpEndpointPtrOutput
An HTTP endpoint destination described by an URI.
func (TriggerDestinationPtrOutput) NetworkConfig ¶
func (o TriggerDestinationPtrOutput) NetworkConfig() TriggerDestinationNetworkConfigPtrOutput
Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type.
func (TriggerDestinationPtrOutput) ToTriggerDestinationPtrOutput ¶
func (o TriggerDestinationPtrOutput) ToTriggerDestinationPtrOutput() TriggerDestinationPtrOutput
func (TriggerDestinationPtrOutput) ToTriggerDestinationPtrOutputWithContext ¶
func (o TriggerDestinationPtrOutput) ToTriggerDestinationPtrOutputWithContext(ctx context.Context) TriggerDestinationPtrOutput
func (TriggerDestinationPtrOutput) Workflow ¶
func (o TriggerDestinationPtrOutput) Workflow() pulumi.StringPtrOutput
The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the trigger. Format: `projects/{project}/locations/{location}/workflows/{workflow}`
type TriggerInput ¶
type TriggerInput interface { pulumi.Input ToTriggerOutput() TriggerOutput ToTriggerOutputWithContext(ctx context.Context) TriggerOutput }
type TriggerMap ¶
type TriggerMap map[string]TriggerInput
func (TriggerMap) ElementType ¶
func (TriggerMap) ElementType() reflect.Type
func (TriggerMap) ToTriggerMapOutput ¶
func (i TriggerMap) ToTriggerMapOutput() TriggerMapOutput
func (TriggerMap) ToTriggerMapOutputWithContext ¶
func (i TriggerMap) ToTriggerMapOutputWithContext(ctx context.Context) TriggerMapOutput
type TriggerMapInput ¶
type TriggerMapInput interface { pulumi.Input ToTriggerMapOutput() TriggerMapOutput ToTriggerMapOutputWithContext(context.Context) TriggerMapOutput }
TriggerMapInput is an input type that accepts TriggerMap and TriggerMapOutput values. You can construct a concrete instance of `TriggerMapInput` via:
TriggerMap{ "key": TriggerArgs{...} }
type TriggerMapOutput ¶
type TriggerMapOutput struct{ *pulumi.OutputState }
func (TriggerMapOutput) ElementType ¶
func (TriggerMapOutput) ElementType() reflect.Type
func (TriggerMapOutput) MapIndex ¶
func (o TriggerMapOutput) MapIndex(k pulumi.StringInput) TriggerOutput
func (TriggerMapOutput) ToTriggerMapOutput ¶
func (o TriggerMapOutput) ToTriggerMapOutput() TriggerMapOutput
func (TriggerMapOutput) ToTriggerMapOutputWithContext ¶
func (o TriggerMapOutput) ToTriggerMapOutputWithContext(ctx context.Context) TriggerMapOutput
type TriggerMatchingCriteria ¶
type TriggerMatchingCriteria struct { // Required. The name of a CloudEvents attribute. Currently, only a subset of attributes are supported for filtering. All triggers MUST provide a filter for the 'type' attribute. Attribute string `pulumi:"attribute"` // Optional. The operator used for matching the events with the value of the filter. If not specified, only events that have an exact key-value pair specified in the filter are matched. The only allowed value is `match-path-pattern`. Operator *string `pulumi:"operator"` // Required. The value for the attribute. See https://cloud.google.com/eventarc/docs/creating-triggers#trigger-gcloud for available values. // // *** Value string `pulumi:"value"` }
type TriggerMatchingCriteriaArgs ¶
type TriggerMatchingCriteriaArgs struct { // Required. The name of a CloudEvents attribute. Currently, only a subset of attributes are supported for filtering. All triggers MUST provide a filter for the 'type' attribute. Attribute pulumi.StringInput `pulumi:"attribute"` // Optional. The operator used for matching the events with the value of the filter. If not specified, only events that have an exact key-value pair specified in the filter are matched. The only allowed value is `match-path-pattern`. Operator pulumi.StringPtrInput `pulumi:"operator"` // Required. The value for the attribute. See https://cloud.google.com/eventarc/docs/creating-triggers#trigger-gcloud for available values. // // *** Value pulumi.StringInput `pulumi:"value"` }
func (TriggerMatchingCriteriaArgs) ElementType ¶
func (TriggerMatchingCriteriaArgs) ElementType() reflect.Type
func (TriggerMatchingCriteriaArgs) ToTriggerMatchingCriteriaOutput ¶
func (i TriggerMatchingCriteriaArgs) ToTriggerMatchingCriteriaOutput() TriggerMatchingCriteriaOutput
func (TriggerMatchingCriteriaArgs) ToTriggerMatchingCriteriaOutputWithContext ¶
func (i TriggerMatchingCriteriaArgs) ToTriggerMatchingCriteriaOutputWithContext(ctx context.Context) TriggerMatchingCriteriaOutput
type TriggerMatchingCriteriaArray ¶
type TriggerMatchingCriteriaArray []TriggerMatchingCriteriaInput
func (TriggerMatchingCriteriaArray) ElementType ¶
func (TriggerMatchingCriteriaArray) ElementType() reflect.Type
func (TriggerMatchingCriteriaArray) ToTriggerMatchingCriteriaArrayOutput ¶
func (i TriggerMatchingCriteriaArray) ToTriggerMatchingCriteriaArrayOutput() TriggerMatchingCriteriaArrayOutput
func (TriggerMatchingCriteriaArray) ToTriggerMatchingCriteriaArrayOutputWithContext ¶
func (i TriggerMatchingCriteriaArray) ToTriggerMatchingCriteriaArrayOutputWithContext(ctx context.Context) TriggerMatchingCriteriaArrayOutput
type TriggerMatchingCriteriaArrayInput ¶
type TriggerMatchingCriteriaArrayInput interface { pulumi.Input ToTriggerMatchingCriteriaArrayOutput() TriggerMatchingCriteriaArrayOutput ToTriggerMatchingCriteriaArrayOutputWithContext(context.Context) TriggerMatchingCriteriaArrayOutput }
TriggerMatchingCriteriaArrayInput is an input type that accepts TriggerMatchingCriteriaArray and TriggerMatchingCriteriaArrayOutput values. You can construct a concrete instance of `TriggerMatchingCriteriaArrayInput` via:
TriggerMatchingCriteriaArray{ TriggerMatchingCriteriaArgs{...} }
type TriggerMatchingCriteriaArrayOutput ¶
type TriggerMatchingCriteriaArrayOutput struct{ *pulumi.OutputState }
func (TriggerMatchingCriteriaArrayOutput) ElementType ¶
func (TriggerMatchingCriteriaArrayOutput) ElementType() reflect.Type
func (TriggerMatchingCriteriaArrayOutput) Index ¶
func (o TriggerMatchingCriteriaArrayOutput) Index(i pulumi.IntInput) TriggerMatchingCriteriaOutput
func (TriggerMatchingCriteriaArrayOutput) ToTriggerMatchingCriteriaArrayOutput ¶
func (o TriggerMatchingCriteriaArrayOutput) ToTriggerMatchingCriteriaArrayOutput() TriggerMatchingCriteriaArrayOutput
func (TriggerMatchingCriteriaArrayOutput) ToTriggerMatchingCriteriaArrayOutputWithContext ¶
func (o TriggerMatchingCriteriaArrayOutput) ToTriggerMatchingCriteriaArrayOutputWithContext(ctx context.Context) TriggerMatchingCriteriaArrayOutput
type TriggerMatchingCriteriaInput ¶
type TriggerMatchingCriteriaInput interface { pulumi.Input ToTriggerMatchingCriteriaOutput() TriggerMatchingCriteriaOutput ToTriggerMatchingCriteriaOutputWithContext(context.Context) TriggerMatchingCriteriaOutput }
TriggerMatchingCriteriaInput is an input type that accepts TriggerMatchingCriteriaArgs and TriggerMatchingCriteriaOutput values. You can construct a concrete instance of `TriggerMatchingCriteriaInput` via:
TriggerMatchingCriteriaArgs{...}
type TriggerMatchingCriteriaOutput ¶
type TriggerMatchingCriteriaOutput struct{ *pulumi.OutputState }
func (TriggerMatchingCriteriaOutput) Attribute ¶
func (o TriggerMatchingCriteriaOutput) Attribute() pulumi.StringOutput
Required. The name of a CloudEvents attribute. Currently, only a subset of attributes are supported for filtering. All triggers MUST provide a filter for the 'type' attribute.
func (TriggerMatchingCriteriaOutput) ElementType ¶
func (TriggerMatchingCriteriaOutput) ElementType() reflect.Type
func (TriggerMatchingCriteriaOutput) Operator ¶
func (o TriggerMatchingCriteriaOutput) Operator() pulumi.StringPtrOutput
Optional. The operator used for matching the events with the value of the filter. If not specified, only events that have an exact key-value pair specified in the filter are matched. The only allowed value is `match-path-pattern`.
func (TriggerMatchingCriteriaOutput) ToTriggerMatchingCriteriaOutput ¶
func (o TriggerMatchingCriteriaOutput) ToTriggerMatchingCriteriaOutput() TriggerMatchingCriteriaOutput
func (TriggerMatchingCriteriaOutput) ToTriggerMatchingCriteriaOutputWithContext ¶
func (o TriggerMatchingCriteriaOutput) ToTriggerMatchingCriteriaOutputWithContext(ctx context.Context) TriggerMatchingCriteriaOutput
func (TriggerMatchingCriteriaOutput) Value ¶
func (o TriggerMatchingCriteriaOutput) Value() pulumi.StringOutput
Required. The value for the attribute. See https://cloud.google.com/eventarc/docs/creating-triggers#trigger-gcloud for available values.
***
type TriggerOutput ¶
type TriggerOutput struct{ *pulumi.OutputState }
func (TriggerOutput) Channel ¶
func (o TriggerOutput) Channel() pulumi.StringPtrOutput
Optional. The name of the channel associated with the trigger in `projects/{project}/locations/{location}/channels/{channel}` format. You must provide a channel to receive events from Eventarc SaaS partners.
func (TriggerOutput) Conditions ¶
func (o TriggerOutput) Conditions() pulumi.StringMapOutput
Output only. The reason(s) why a trigger is in FAILED state.
func (TriggerOutput) CreateTime ¶
func (o TriggerOutput) CreateTime() pulumi.StringOutput
Output only. The creation time.
func (TriggerOutput) Destination ¶
func (o TriggerOutput) Destination() TriggerDestinationOutput
Required. Destination specifies where the events should be sent to.
func (TriggerOutput) EffectiveLabels ¶
func (o TriggerOutput) EffectiveLabels() pulumi.StringMapOutput
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
func (TriggerOutput) ElementType ¶
func (TriggerOutput) ElementType() reflect.Type
func (TriggerOutput) Etag ¶
func (o TriggerOutput) Etag() pulumi.StringOutput
Output only. This checksum is computed by the server based on the value of other fields, and may be sent only on create requests to ensure the client has an up-to-date value before proceeding.
func (TriggerOutput) EventDataContentType ¶
func (o TriggerOutput) EventDataContentType() pulumi.StringOutput
Optional. EventDataContentType specifies the type of payload in MIME format that is expected from the CloudEvent data field. This is set to `application/json` if the value is not defined.
func (TriggerOutput) Labels ¶
func (o TriggerOutput) Labels() pulumi.StringMapOutput
Optional. User labels attached to the triggers that can be used to group resources. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effectiveLabels` for all of the labels present on the resource.
func (TriggerOutput) Location ¶
func (o TriggerOutput) Location() pulumi.StringOutput
The location for the resource
func (TriggerOutput) MatchingCriterias ¶
func (o TriggerOutput) MatchingCriterias() TriggerMatchingCriteriaArrayOutput
Required. null The list of filters that applies to event attributes. Only events that match all the provided filters will be sent to the destination.
func (TriggerOutput) Name ¶
func (o TriggerOutput) Name() pulumi.StringOutput
Required. The resource name of the trigger. Must be unique within the location on the project.
func (TriggerOutput) Project ¶
func (o TriggerOutput) Project() pulumi.StringOutput
The project for the resource
func (TriggerOutput) PulumiLabels ¶
func (o TriggerOutput) PulumiLabels() pulumi.StringMapOutput
The combination of labels configured directly on the resource and default labels configured on the provider.
func (TriggerOutput) ServiceAccount ¶
func (o TriggerOutput) ServiceAccount() pulumi.StringPtrOutput
Optional. The IAM service account email associated with the trigger. The service account represents the identity of the trigger. The principal who calls this API must have `iam.serviceAccounts.actAs` permission in the service account. See https://cloud.google.com/iam/docs/understanding-service-accounts#sa_common for more information. For Cloud Run destinations, this service account is used to generate identity tokens when invoking the service. See https://cloud.google.com/run/docs/triggering/pubsub-push#create-service-account for information on how to invoke authenticated Cloud Run services. In order to create Audit Log triggers, the service account should also have `roles/eventarc.eventReceiver` IAM role.
func (TriggerOutput) ToTriggerOutput ¶
func (o TriggerOutput) ToTriggerOutput() TriggerOutput
func (TriggerOutput) ToTriggerOutputWithContext ¶
func (o TriggerOutput) ToTriggerOutputWithContext(ctx context.Context) TriggerOutput
func (TriggerOutput) Transport ¶
func (o TriggerOutput) Transport() TriggerTransportOutput
Optional. In order to deliver messages, Eventarc may use other GCP products as transport intermediary. This field contains a reference to that transport intermediary. This information can be used for debugging purposes.
func (TriggerOutput) Uid ¶
func (o TriggerOutput) Uid() pulumi.StringOutput
Output only. Server assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
func (TriggerOutput) UpdateTime ¶
func (o TriggerOutput) UpdateTime() pulumi.StringOutput
Output only. The last-modified time.
type TriggerState ¶
type TriggerState struct { // Optional. The name of the channel associated with the trigger in // `projects/{project}/locations/{location}/channels/{channel}` format. You must provide a channel to receive events from // Eventarc SaaS partners. Channel pulumi.StringPtrInput // Output only. The reason(s) why a trigger is in FAILED state. Conditions pulumi.StringMapInput // Output only. The creation time. CreateTime pulumi.StringPtrInput // Required. Destination specifies where the events should be sent to. Destination TriggerDestinationPtrInput // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapInput // Output only. This checksum is computed by the server based on the value of other fields, and may be sent only on create requests to ensure the client has an up-to-date value before proceeding. Etag pulumi.StringPtrInput // Optional. EventDataContentType specifies the type of payload in MIME format that is expected from the CloudEvent data // field. This is set to `application/json` if the value is not defined. EventDataContentType pulumi.StringPtrInput // Optional. User labels attached to the triggers that can be used to group resources. **Note**: This field is // non-authoritative, and will only manage the labels present in your configuration. Please refer to the field // `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // The location for the resource Location pulumi.StringPtrInput // Required. null The list of filters that applies to event attributes. Only events that match all the provided filters will be sent to the destination. MatchingCriterias TriggerMatchingCriteriaArrayInput // Required. The resource name of the trigger. Must be unique within the location on the project. Name pulumi.StringPtrInput // The project for the resource Project pulumi.StringPtrInput // The combination of labels configured directly on the resource and default labels configured on the provider. PulumiLabels pulumi.StringMapInput // Optional. The IAM service account email associated with the trigger. The service account represents the identity of the // trigger. The principal who calls this API must have `iam.serviceAccounts.actAs` permission in the service account. See // https://cloud.google.com/iam/docs/understanding-service-accounts#sa_common for more information. For Cloud Run // destinations, this service account is used to generate identity tokens when invoking the service. See // https://cloud.google.com/run/docs/triggering/pubsub-push#create-service-account for information on how to invoke // authenticated Cloud Run services. In order to create Audit Log triggers, the service account should also have // `roles/eventarc.eventReceiver` IAM role. ServiceAccount pulumi.StringPtrInput // Optional. In order to deliver messages, Eventarc may use other GCP products as transport intermediary. This field // contains a reference to that transport intermediary. This information can be used for debugging purposes. Transport TriggerTransportPtrInput // Output only. Server assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted. Uid pulumi.StringPtrInput // Output only. The last-modified time. UpdateTime pulumi.StringPtrInput }
func (TriggerState) ElementType ¶
func (TriggerState) ElementType() reflect.Type
type TriggerTransport ¶
type TriggerTransport struct { // The Pub/Sub topic and subscription used by Eventarc as delivery intermediary. Pubsub *TriggerTransportPubsub `pulumi:"pubsub"` }
type TriggerTransportArgs ¶
type TriggerTransportArgs struct { // The Pub/Sub topic and subscription used by Eventarc as delivery intermediary. Pubsub TriggerTransportPubsubPtrInput `pulumi:"pubsub"` }
func (TriggerTransportArgs) ElementType ¶
func (TriggerTransportArgs) ElementType() reflect.Type
func (TriggerTransportArgs) ToTriggerTransportOutput ¶
func (i TriggerTransportArgs) ToTriggerTransportOutput() TriggerTransportOutput
func (TriggerTransportArgs) ToTriggerTransportOutputWithContext ¶
func (i TriggerTransportArgs) ToTriggerTransportOutputWithContext(ctx context.Context) TriggerTransportOutput
func (TriggerTransportArgs) ToTriggerTransportPtrOutput ¶
func (i TriggerTransportArgs) ToTriggerTransportPtrOutput() TriggerTransportPtrOutput
func (TriggerTransportArgs) ToTriggerTransportPtrOutputWithContext ¶
func (i TriggerTransportArgs) ToTriggerTransportPtrOutputWithContext(ctx context.Context) TriggerTransportPtrOutput
type TriggerTransportInput ¶
type TriggerTransportInput interface { pulumi.Input ToTriggerTransportOutput() TriggerTransportOutput ToTriggerTransportOutputWithContext(context.Context) TriggerTransportOutput }
TriggerTransportInput is an input type that accepts TriggerTransportArgs and TriggerTransportOutput values. You can construct a concrete instance of `TriggerTransportInput` via:
TriggerTransportArgs{...}
type TriggerTransportOutput ¶
type TriggerTransportOutput struct{ *pulumi.OutputState }
func (TriggerTransportOutput) ElementType ¶
func (TriggerTransportOutput) ElementType() reflect.Type
func (TriggerTransportOutput) Pubsub ¶
func (o TriggerTransportOutput) Pubsub() TriggerTransportPubsubPtrOutput
The Pub/Sub topic and subscription used by Eventarc as delivery intermediary.
func (TriggerTransportOutput) ToTriggerTransportOutput ¶
func (o TriggerTransportOutput) ToTriggerTransportOutput() TriggerTransportOutput
func (TriggerTransportOutput) ToTriggerTransportOutputWithContext ¶
func (o TriggerTransportOutput) ToTriggerTransportOutputWithContext(ctx context.Context) TriggerTransportOutput
func (TriggerTransportOutput) ToTriggerTransportPtrOutput ¶
func (o TriggerTransportOutput) ToTriggerTransportPtrOutput() TriggerTransportPtrOutput
func (TriggerTransportOutput) ToTriggerTransportPtrOutputWithContext ¶
func (o TriggerTransportOutput) ToTriggerTransportPtrOutputWithContext(ctx context.Context) TriggerTransportPtrOutput
type TriggerTransportPtrInput ¶
type TriggerTransportPtrInput interface { pulumi.Input ToTriggerTransportPtrOutput() TriggerTransportPtrOutput ToTriggerTransportPtrOutputWithContext(context.Context) TriggerTransportPtrOutput }
TriggerTransportPtrInput is an input type that accepts TriggerTransportArgs, TriggerTransportPtr and TriggerTransportPtrOutput values. You can construct a concrete instance of `TriggerTransportPtrInput` via:
TriggerTransportArgs{...} or: nil
func TriggerTransportPtr ¶
func TriggerTransportPtr(v *TriggerTransportArgs) TriggerTransportPtrInput
type TriggerTransportPtrOutput ¶
type TriggerTransportPtrOutput struct{ *pulumi.OutputState }
func (TriggerTransportPtrOutput) Elem ¶
func (o TriggerTransportPtrOutput) Elem() TriggerTransportOutput
func (TriggerTransportPtrOutput) ElementType ¶
func (TriggerTransportPtrOutput) ElementType() reflect.Type
func (TriggerTransportPtrOutput) Pubsub ¶
func (o TriggerTransportPtrOutput) Pubsub() TriggerTransportPubsubPtrOutput
The Pub/Sub topic and subscription used by Eventarc as delivery intermediary.
func (TriggerTransportPtrOutput) ToTriggerTransportPtrOutput ¶
func (o TriggerTransportPtrOutput) ToTriggerTransportPtrOutput() TriggerTransportPtrOutput
func (TriggerTransportPtrOutput) ToTriggerTransportPtrOutputWithContext ¶
func (o TriggerTransportPtrOutput) ToTriggerTransportPtrOutputWithContext(ctx context.Context) TriggerTransportPtrOutput
type TriggerTransportPubsub ¶
type TriggerTransportPubsub struct { // Output only. The name of the Pub/Sub subscription created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{PROJECT_ID}/subscriptions/{SUBSCRIPTION_NAME}`. Subscription *string `pulumi:"subscription"` // Optional. The name of the Pub/Sub topic created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{PROJECT_ID}/topics/{TOPIC_NAME}. You may set an existing topic for triggers of the type google.cloud.pubsub.topic.v1.messagePublished` only. The topic you provide here will not be deleted by Eventarc at trigger deletion. Topic *string `pulumi:"topic"` }
type TriggerTransportPubsubArgs ¶
type TriggerTransportPubsubArgs struct { // Output only. The name of the Pub/Sub subscription created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{PROJECT_ID}/subscriptions/{SUBSCRIPTION_NAME}`. Subscription pulumi.StringPtrInput `pulumi:"subscription"` // Optional. The name of the Pub/Sub topic created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{PROJECT_ID}/topics/{TOPIC_NAME}. You may set an existing topic for triggers of the type google.cloud.pubsub.topic.v1.messagePublished` only. The topic you provide here will not be deleted by Eventarc at trigger deletion. Topic pulumi.StringPtrInput `pulumi:"topic"` }
func (TriggerTransportPubsubArgs) ElementType ¶
func (TriggerTransportPubsubArgs) ElementType() reflect.Type
func (TriggerTransportPubsubArgs) ToTriggerTransportPubsubOutput ¶
func (i TriggerTransportPubsubArgs) ToTriggerTransportPubsubOutput() TriggerTransportPubsubOutput
func (TriggerTransportPubsubArgs) ToTriggerTransportPubsubOutputWithContext ¶
func (i TriggerTransportPubsubArgs) ToTriggerTransportPubsubOutputWithContext(ctx context.Context) TriggerTransportPubsubOutput
func (TriggerTransportPubsubArgs) ToTriggerTransportPubsubPtrOutput ¶
func (i TriggerTransportPubsubArgs) ToTriggerTransportPubsubPtrOutput() TriggerTransportPubsubPtrOutput
func (TriggerTransportPubsubArgs) ToTriggerTransportPubsubPtrOutputWithContext ¶
func (i TriggerTransportPubsubArgs) ToTriggerTransportPubsubPtrOutputWithContext(ctx context.Context) TriggerTransportPubsubPtrOutput
type TriggerTransportPubsubInput ¶
type TriggerTransportPubsubInput interface { pulumi.Input ToTriggerTransportPubsubOutput() TriggerTransportPubsubOutput ToTriggerTransportPubsubOutputWithContext(context.Context) TriggerTransportPubsubOutput }
TriggerTransportPubsubInput is an input type that accepts TriggerTransportPubsubArgs and TriggerTransportPubsubOutput values. You can construct a concrete instance of `TriggerTransportPubsubInput` via:
TriggerTransportPubsubArgs{...}
type TriggerTransportPubsubOutput ¶
type TriggerTransportPubsubOutput struct{ *pulumi.OutputState }
func (TriggerTransportPubsubOutput) ElementType ¶
func (TriggerTransportPubsubOutput) ElementType() reflect.Type
func (TriggerTransportPubsubOutput) Subscription ¶
func (o TriggerTransportPubsubOutput) Subscription() pulumi.StringPtrOutput
Output only. The name of the Pub/Sub subscription created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{PROJECT_ID}/subscriptions/{SUBSCRIPTION_NAME}`.
func (TriggerTransportPubsubOutput) ToTriggerTransportPubsubOutput ¶
func (o TriggerTransportPubsubOutput) ToTriggerTransportPubsubOutput() TriggerTransportPubsubOutput
func (TriggerTransportPubsubOutput) ToTriggerTransportPubsubOutputWithContext ¶
func (o TriggerTransportPubsubOutput) ToTriggerTransportPubsubOutputWithContext(ctx context.Context) TriggerTransportPubsubOutput
func (TriggerTransportPubsubOutput) ToTriggerTransportPubsubPtrOutput ¶
func (o TriggerTransportPubsubOutput) ToTriggerTransportPubsubPtrOutput() TriggerTransportPubsubPtrOutput
func (TriggerTransportPubsubOutput) ToTriggerTransportPubsubPtrOutputWithContext ¶
func (o TriggerTransportPubsubOutput) ToTriggerTransportPubsubPtrOutputWithContext(ctx context.Context) TriggerTransportPubsubPtrOutput
func (TriggerTransportPubsubOutput) Topic ¶
func (o TriggerTransportPubsubOutput) Topic() pulumi.StringPtrOutput
Optional. The name of the Pub/Sub topic created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{PROJECT_ID}/topics/{TOPIC_NAME}. You may set an existing topic for triggers of the type google.cloud.pubsub.topic.v1.messagePublished` only. The topic you provide here will not be deleted by Eventarc at trigger deletion.
type TriggerTransportPubsubPtrInput ¶
type TriggerTransportPubsubPtrInput interface { pulumi.Input ToTriggerTransportPubsubPtrOutput() TriggerTransportPubsubPtrOutput ToTriggerTransportPubsubPtrOutputWithContext(context.Context) TriggerTransportPubsubPtrOutput }
TriggerTransportPubsubPtrInput is an input type that accepts TriggerTransportPubsubArgs, TriggerTransportPubsubPtr and TriggerTransportPubsubPtrOutput values. You can construct a concrete instance of `TriggerTransportPubsubPtrInput` via:
TriggerTransportPubsubArgs{...} or: nil
func TriggerTransportPubsubPtr ¶
func TriggerTransportPubsubPtr(v *TriggerTransportPubsubArgs) TriggerTransportPubsubPtrInput
type TriggerTransportPubsubPtrOutput ¶
type TriggerTransportPubsubPtrOutput struct{ *pulumi.OutputState }
func (TriggerTransportPubsubPtrOutput) Elem ¶
func (o TriggerTransportPubsubPtrOutput) Elem() TriggerTransportPubsubOutput
func (TriggerTransportPubsubPtrOutput) ElementType ¶
func (TriggerTransportPubsubPtrOutput) ElementType() reflect.Type
func (TriggerTransportPubsubPtrOutput) Subscription ¶
func (o TriggerTransportPubsubPtrOutput) Subscription() pulumi.StringPtrOutput
Output only. The name of the Pub/Sub subscription created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{PROJECT_ID}/subscriptions/{SUBSCRIPTION_NAME}`.
func (TriggerTransportPubsubPtrOutput) ToTriggerTransportPubsubPtrOutput ¶
func (o TriggerTransportPubsubPtrOutput) ToTriggerTransportPubsubPtrOutput() TriggerTransportPubsubPtrOutput
func (TriggerTransportPubsubPtrOutput) ToTriggerTransportPubsubPtrOutputWithContext ¶
func (o TriggerTransportPubsubPtrOutput) ToTriggerTransportPubsubPtrOutputWithContext(ctx context.Context) TriggerTransportPubsubPtrOutput
func (TriggerTransportPubsubPtrOutput) Topic ¶
func (o TriggerTransportPubsubPtrOutput) Topic() pulumi.StringPtrOutput
Optional. The name of the Pub/Sub topic created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{PROJECT_ID}/topics/{TOPIC_NAME}. You may set an existing topic for triggers of the type google.cloud.pubsub.topic.v1.messagePublished` only. The topic you provide here will not be deleted by Eventarc at trigger deletion.