Google Native

Pulumi Official
Package maintained by Pulumi
v0.20.0 published on Monday, Jun 6, 2022 by Pulumi

getSite

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>
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]
func LookupSite(ctx *Context, args *LookupSiteArgs, opts ...InvokeOption) (*LookupSiteResult, error)
func LookupSiteOutput(ctx *Context, args *LookupSiteOutputArgs, opts ...InvokeOption) LookupSiteResultOutput

> 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)
}
public static CompletableFuture<GetSiteResult> getSite(GetSiteArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: google-native:firebasehosting/v1beta1:getSite
  Arguments:
    # Arguments dictionary

The following arguments are supported:

SiteId string
Project string
SiteId string
Project string
siteId String
project String
siteId string
project string
siteId 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
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0