Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.eventarc/v1.getChannel
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Get a single Channel.
Using getChannel
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getChannel(args: GetChannelArgs, opts?: InvokeOptions): Promise<GetChannelResult>
function getChannelOutput(args: GetChannelOutputArgs, opts?: InvokeOptions): Output<GetChannelResult>
def get_channel(channel_id: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetChannelResult
def get_channel_output(channel_id: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetChannelResult]
func LookupChannel(ctx *Context, args *LookupChannelArgs, opts ...InvokeOption) (*LookupChannelResult, error)
func LookupChannelOutput(ctx *Context, args *LookupChannelOutputArgs, opts ...InvokeOption) LookupChannelResultOutput
> Note: This function is named LookupChannel
in the Go SDK.
public static class GetChannel
{
public static Task<GetChannelResult> InvokeAsync(GetChannelArgs args, InvokeOptions? opts = null)
public static Output<GetChannelResult> Invoke(GetChannelInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetChannelResult> getChannel(GetChannelArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:eventarc/v1:getChannel
arguments:
# arguments dictionary
The following arguments are supported:
- channel_
id str - location str
- project str
getChannel Result
The following output properties are available:
- Activation
Token string - The activation token for the channel. The token must be used by the provider to register the channel for publishing.
- Create
Time string - The creation time.
- Crypto
Key stringName - 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/*
. - Name string
- The resource name of the channel. Must be unique within the location on the project and must be in
projects/{project}/locations/{location}/channels/{channel_id}
format. - Provider string
- 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}
. - Pubsub
Topic string - 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}
. - State string
- The state of a Channel.
- Uid string
- Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
- Update
Time string - The last-modified time.
- Activation
Token string - The activation token for the channel. The token must be used by the provider to register the channel for publishing.
- Create
Time string - The creation time.
- Crypto
Key stringName - 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/*
. - Name string
- The resource name of the channel. Must be unique within the location on the project and must be in
projects/{project}/locations/{location}/channels/{channel_id}
format. - Provider string
- 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}
. - Pubsub
Topic string - 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}
. - State string
- The state of a Channel.
- Uid string
- Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
- Update
Time string - The last-modified time.
- activation
Token String - The activation token for the channel. The token must be used by the provider to register the channel for publishing.
- create
Time String - The creation time.
- crypto
Key StringName - 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/*
. - name String
- The resource name of the channel. Must be unique within the location on the project and must be in
projects/{project}/locations/{location}/channels/{channel_id}
format. - provider String
- 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}
. - pubsub
Topic String - 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}
. - state String
- The state of a Channel.
- uid String
- Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
- update
Time String - The last-modified time.
- activation
Token string - The activation token for the channel. The token must be used by the provider to register the channel for publishing.
- create
Time string - The creation time.
- crypto
Key stringName - 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/*
. - name string
- The resource name of the channel. Must be unique within the location on the project and must be in
projects/{project}/locations/{location}/channels/{channel_id}
format. - provider string
- 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}
. - pubsub
Topic string - 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}
. - state string
- The state of a Channel.
- uid string
- Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
- update
Time string - The last-modified time.
- activation_
token str - The activation token for the channel. The token must be used by the provider to register the channel for publishing.
- create_
time str - The creation time.
- crypto_
key_ strname - 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/*
. - name str
- The resource name of the channel. Must be unique within the location on the project and must be in
projects/{project}/locations/{location}/channels/{channel_id}
format. - provider str
- 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}
. - pubsub_
topic str - 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}
. - state str
- The state of a Channel.
- uid str
- Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
- update_
time str - The last-modified time.
- activation
Token String - The activation token for the channel. The token must be used by the provider to register the channel for publishing.
- create
Time String - The creation time.
- crypto
Key StringName - 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/*
. - name String
- The resource name of the channel. Must be unique within the location on the project and must be in
projects/{project}/locations/{location}/channels/{channel_id}
format. - provider String
- 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}
. - pubsub
Topic String - 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}
. - state String
- The state of a Channel.
- uid String
- Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
- update
Time String - The last-modified time.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi