1. Packages
  2. Google Cloud Native
  3. API Docs
  4. firebasehosting
  5. firebasehosting/v1beta1
  6. getSite

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.firebasehosting/v1beta1.getSite

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

Gets the specified Hosting Site.

Using getSite

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 getSite(args: GetSiteArgs, opts?: InvokeOptions): Promise<GetSiteResult>
function getSiteOutput(args: GetSiteOutputArgs, opts?: InvokeOptions): Output<GetSiteResult>
Copy
def get_site(project: Optional[str] = None,
             site_id: Optional[str] = None,
             opts: Optional[InvokeOptions] = None) -> GetSiteResult
def get_site_output(project: Optional[pulumi.Input[str]] = None,
             site_id: Optional[pulumi.Input[str]] = None,
             opts: Optional[InvokeOptions] = None) -> Output[GetSiteResult]
Copy
func LookupSite(ctx *Context, args *LookupSiteArgs, opts ...InvokeOption) (*LookupSiteResult, error)
func LookupSiteOutput(ctx *Context, args *LookupSiteOutputArgs, opts ...InvokeOption) LookupSiteResultOutput
Copy

> Note: This function is named LookupSite in the Go SDK.

public static class GetSite 
{
    public static Task<GetSiteResult> InvokeAsync(GetSiteArgs args, InvokeOptions? opts = null)
    public static Output<GetSiteResult> Invoke(GetSiteInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetSiteResult> getSite(GetSiteArgs args, InvokeOptions options)
public static Output<GetSiteResult> getSite(GetSiteArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: google-native:firebasehosting/v1beta1:getSite
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

SiteId This property is required. string
Project string
SiteId This property is required. string
Project string
siteId This property is required. String
project String
siteId This property is required. string
project string
site_id This property is required. str
project str
siteId This property is required. String
project String

getSite Result

The following output properties are available:

AppId string
Optional. The ID of a Web App associated with the Hosting site.
DefaultUrl string
The default URL for the Hosting site.
Labels Dictionary<string, string>
Optional. User-specified labels for the Hosting site.
Name string
The fully-qualified resource name of the Hosting site, in the format: projects/PROJECT_IDENTIFIER/sites/SITE_ID PROJECT_IDENTIFIER: the Firebase project's ProjectNumber (recommended) or its ProjectId. Learn more about using project identifiers in Google's AIP 2510 standard.
Type string
The type of Hosting site. Every Firebase project has a DEFAULT_SITE, which is created when Hosting is provisioned for the project. All additional sites are USER_SITE.
AppId string
Optional. The ID of a Web App associated with the Hosting site.
DefaultUrl string
The default URL for the Hosting site.
Labels map[string]string
Optional. User-specified labels for the Hosting site.
Name string
The fully-qualified resource name of the Hosting site, in the format: projects/PROJECT_IDENTIFIER/sites/SITE_ID PROJECT_IDENTIFIER: the Firebase project's ProjectNumber (recommended) or its ProjectId. Learn more about using project identifiers in Google's AIP 2510 standard.
Type string
The type of Hosting site. Every Firebase project has a DEFAULT_SITE, which is created when Hosting is provisioned for the project. All additional sites are USER_SITE.
appId String
Optional. The ID of a Web App associated with the Hosting site.
defaultUrl String
The default URL for the Hosting site.
labels Map<String,String>
Optional. User-specified labels for the Hosting site.
name String
The fully-qualified resource name of the Hosting site, in the format: projects/PROJECT_IDENTIFIER/sites/SITE_ID PROJECT_IDENTIFIER: the Firebase project's ProjectNumber (recommended) or its ProjectId. Learn more about using project identifiers in Google's AIP 2510 standard.
type String
The type of Hosting site. Every Firebase project has a DEFAULT_SITE, which is created when Hosting is provisioned for the project. All additional sites are USER_SITE.
appId string
Optional. The ID of a Web App associated with the Hosting site.
defaultUrl string
The default URL for the Hosting site.
labels {[key: string]: string}
Optional. User-specified labels for the Hosting site.
name string
The fully-qualified resource name of the Hosting site, in the format: projects/PROJECT_IDENTIFIER/sites/SITE_ID PROJECT_IDENTIFIER: the Firebase project's ProjectNumber (recommended) or its ProjectId. Learn more about using project identifiers in Google's AIP 2510 standard.
type string
The type of Hosting site. Every Firebase project has a DEFAULT_SITE, which is created when Hosting is provisioned for the project. All additional sites are USER_SITE.
app_id str
Optional. The ID of a Web App associated with the Hosting site.
default_url str
The default URL for the Hosting site.
labels Mapping[str, str]
Optional. User-specified labels for the Hosting site.
name str
The fully-qualified resource name of the Hosting site, in the format: projects/PROJECT_IDENTIFIER/sites/SITE_ID PROJECT_IDENTIFIER: the Firebase project's ProjectNumber (recommended) or its ProjectId. Learn more about using project identifiers in Google's AIP 2510 standard.
type str
The type of Hosting site. Every Firebase project has a DEFAULT_SITE, which is created when Hosting is provisioned for the project. All additional sites are USER_SITE.
appId String
Optional. The ID of a Web App associated with the Hosting site.
defaultUrl String
The default URL for the Hosting site.
labels Map<String>
Optional. User-specified labels for the Hosting site.
name String
The fully-qualified resource name of the Hosting site, in the format: projects/PROJECT_IDENTIFIER/sites/SITE_ID PROJECT_IDENTIFIER: the Firebase project's ProjectNumber (recommended) or its ProjectId. Learn more about using project identifiers in Google's AIP 2510 standard.
type String
The type of Hosting site. Every Firebase project has a DEFAULT_SITE, which is created when Hosting is provisioned for the project. All additional sites are USER_SITE.

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