Google Cloud v8.21.0 published on Wednesday, Mar 5, 2025 by Pulumi
gcp.firebase.getHostingChannel
Explore with Pulumi AI
Using getHostingChannel
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 getHostingChannel(args: GetHostingChannelArgs, opts?: InvokeOptions): Promise<GetHostingChannelResult>
function getHostingChannelOutput(args: GetHostingChannelOutputArgs, opts?: InvokeOptions): Output<GetHostingChannelResult>def get_hosting_channel(channel_id: Optional[str] = None,
                        site_id: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetHostingChannelResult
def get_hosting_channel_output(channel_id: Optional[pulumi.Input[str]] = None,
                        site_id: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetHostingChannelResult]func LookupHostingChannel(ctx *Context, args *LookupHostingChannelArgs, opts ...InvokeOption) (*LookupHostingChannelResult, error)
func LookupHostingChannelOutput(ctx *Context, args *LookupHostingChannelOutputArgs, opts ...InvokeOption) LookupHostingChannelResultOutput> Note: This function is named LookupHostingChannel in the Go SDK.
public static class GetHostingChannel 
{
    public static Task<GetHostingChannelResult> InvokeAsync(GetHostingChannelArgs args, InvokeOptions? opts = null)
    public static Output<GetHostingChannelResult> Invoke(GetHostingChannelInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetHostingChannelResult> getHostingChannel(GetHostingChannelArgs args, InvokeOptions options)
public static Output<GetHostingChannelResult> getHostingChannel(GetHostingChannelArgs args, InvokeOptions options)
fn::invoke:
  function: gcp:firebase/getHostingChannel:getHostingChannel
  arguments:
    # arguments dictionaryThe following arguments are supported:
- channel_id str
- The ID of the channel. Use channel_id = "live"for the default channel of a site.
- site_id str
- The ID of the site this channel belongs to.
getHostingChannel Result
The following output properties are available:
- ChannelId string
- EffectiveLabels Dictionary<string, string>
- ExpireTime string
- Id string
- The provider-assigned unique ID for this managed resource.
- Labels Dictionary<string, string>
- Name string
- The fully-qualified resource name for the channel, in the format: sites/{{site_id}}/channels/{{channel_id}}.
- PulumiLabels Dictionary<string, string>
- RetainedRelease intCount 
- SiteId string
- Ttl string
- ChannelId string
- EffectiveLabels map[string]string
- ExpireTime string
- Id string
- The provider-assigned unique ID for this managed resource.
- Labels map[string]string
- Name string
- The fully-qualified resource name for the channel, in the format: sites/{{site_id}}/channels/{{channel_id}}.
- PulumiLabels map[string]string
- RetainedRelease intCount 
- SiteId string
- Ttl string
- channelId String
- effectiveLabels Map<String,String>
- expireTime String
- id String
- The provider-assigned unique ID for this managed resource.
- labels Map<String,String>
- name String
- The fully-qualified resource name for the channel, in the format: sites/{{site_id}}/channels/{{channel_id}}.
- pulumiLabels Map<String,String>
- retainedRelease IntegerCount 
- siteId String
- ttl String
- channelId string
- effectiveLabels {[key: string]: string}
- expireTime string
- id string
- The provider-assigned unique ID for this managed resource.
- labels {[key: string]: string}
- name string
- The fully-qualified resource name for the channel, in the format: sites/{{site_id}}/channels/{{channel_id}}.
- pulumiLabels {[key: string]: string}
- retainedRelease numberCount 
- siteId string
- ttl string
- channel_id str
- effective_labels Mapping[str, str]
- expire_time str
- id str
- The provider-assigned unique ID for this managed resource.
- labels Mapping[str, str]
- name str
- The fully-qualified resource name for the channel, in the format: sites/{{site_id}}/channels/{{channel_id}}.
- pulumi_labels Mapping[str, str]
- retained_release_ intcount 
- site_id str
- ttl str
- channelId String
- effectiveLabels Map<String>
- expireTime String
- id String
- The provider-assigned unique ID for this managed resource.
- labels Map<String>
- name String
- The fully-qualified resource name for the channel, in the format: sites/{{site_id}}/channels/{{channel_id}}.
- pulumiLabels Map<String>
- retainedRelease NumberCount 
- siteId String
- ttl String
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the google-betaTerraform Provider.