1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. firebase
  5. getHostingChannel
Google Cloud v9.4.0 published on Tuesday, Nov 4, 2025 by Pulumi

gcp.firebase.getHostingChannel

Start a Neo task
Explain and create a gcp.firebase.getHostingChannel resource
gcp logo
Google Cloud v9.4.0 published on Tuesday, Nov 4, 2025 by Pulumi

    A Google Cloud Firebase Hosting Channel instance

    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 dictionary

    The following arguments are supported:

    ChannelId string
    The ID of the channel. Use channel_id </span>= "live" for the default channel of a site.
    SiteId string
    The ID of the site this channel belongs to.
    ChannelId string
    The ID of the channel. Use channel_id </span>= "live" for the default channel of a site.
    SiteId string
    The ID of the site this channel belongs to.
    channelId String
    The ID of the channel. Use channel_id </span>= "live" for the default channel of a site.
    siteId String
    The ID of the site this channel belongs to.
    channelId string
    The ID of the channel. Use channel_id </span>= "live" for the default channel of a site.
    siteId string
    The ID of the site this channel belongs to.
    channel_id str
    The ID of the channel. Use channel_id </span>= "live" for the default channel of a site.
    site_id str
    The ID of the site this channel belongs to.
    channelId String
    The ID of the channel. Use channel_id </span>= "live" for the default channel of a site.
    siteId String
    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>
    RetainedReleaseCount int
    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
    RetainedReleaseCount int
    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>
    retainedReleaseCount Integer
    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}
    retainedReleaseCount number
    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_count int
    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>
    retainedReleaseCount Number
    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-beta Terraform Provider.
    gcp logo
    Google Cloud v9.4.0 published on Tuesday, Nov 4, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate