Google Cloud v9.0.0 published on Thursday, Sep 18, 2025 by Pulumi
gcp.firebase.getHostingChannel
Explore with Pulumi AI
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:
- 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:
- Channel
Id string - Effective
Labels Dictionary<string, string> - Expire
Time 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}}
. - Pulumi
Labels Dictionary<string, string> - Retained
Release intCount - Site
Id string - Ttl string
- Channel
Id string - Effective
Labels map[string]string - Expire
Time 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}}
. - Pulumi
Labels map[string]string - Retained
Release intCount - Site
Id string - Ttl string
- channel
Id String - effective
Labels Map<String,String> - expire
Time 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}}
. - pulumi
Labels Map<String,String> - retained
Release IntegerCount - site
Id String - ttl String
- channel
Id string - effective
Labels {[key: string]: string} - expire
Time 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}}
. - pulumi
Labels {[key: string]: string} - retained
Release numberCount - site
Id 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
- channel
Id String - effective
Labels Map<String> - expire
Time 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}}
. - pulumi
Labels Map<String> - retained
Release NumberCount - site
Id 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.