1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. firebase
  5. getHostingChannel
Google Cloud v8.23.0 published on Monday, Mar 24, 2025 by Pulumi

gcp.firebase.getHostingChannel

Explore with Pulumi AI

Google Cloud v8.23.0 published on Monday, Mar 24, 2025 by Pulumi

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>
Copy
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]
Copy
func LookupHostingChannel(ctx *Context, args *LookupHostingChannelArgs, opts ...InvokeOption) (*LookupHostingChannelResult, error)
func LookupHostingChannelOutput(ctx *Context, args *LookupHostingChannelOutputArgs, opts ...InvokeOption) LookupHostingChannelResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetHostingChannelResult> getHostingChannel(GetHostingChannelArgs args, InvokeOptions options)
public static Output<GetHostingChannelResult> getHostingChannel(GetHostingChannelArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: gcp:firebase/getHostingChannel:getHostingChannel
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ChannelId This property is required. string
The ID of the channel. Use channel_id = "live" for the default channel of a site.
SiteId This property is required. string
The ID of the site this channel belongs to.
ChannelId This property is required. string
The ID of the channel. Use channel_id = "live" for the default channel of a site.
SiteId This property is required. string
The ID of the site this channel belongs to.
channelId This property is required. String
The ID of the channel. Use channel_id = "live" for the default channel of a site.
siteId This property is required. String
The ID of the site this channel belongs to.
channelId This property is required. string
The ID of the channel. Use channel_id = "live" for the default channel of a site.
siteId This property is required. string
The ID of the site this channel belongs to.
channel_id This property is required. str
The ID of the channel. Use channel_id = "live" for the default channel of a site.
site_id This property is required. str
The ID of the site this channel belongs to.
channelId This property is required. String
The ID of the channel. Use channel_id = "live" for the default channel of a site.
siteId This property is required. 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.
Google Cloud v8.23.0 published on Monday, Mar 24, 2025 by Pulumi