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>
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:
getSite Result
The following output properties are available:
- App
Id string - Optional. The ID of a Web App associated with the Hosting site.
- Default
Url 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 itsProjectId
. 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 areUSER_SITE
.
- App
Id string - Optional. The ID of a Web App associated with the Hosting site.
- Default
Url 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 itsProjectId
. 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 areUSER_SITE
.
- app
Id String - Optional. The ID of a Web App associated with the Hosting site.
- default
Url 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 itsProjectId
. 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 areUSER_SITE
.
- app
Id string - Optional. The ID of a Web App associated with the Hosting site.
- default
Url 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 itsProjectId
. 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 areUSER_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 itsProjectId
. 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 areUSER_SITE
.
- app
Id String - Optional. The ID of a Web App associated with the Hosting site.
- default
Url 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 itsProjectId
. 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 areUSER_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