Google Native

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

Site

Creates a new Hosting Site in the specified parent Firebase project. Note that Hosting sites can take several minutes to propagate through Firebase systems. Auto-naming is currently not supported for this resource.

Create a Site Resource

new Site(name: string, args: SiteArgs, opts?: CustomResourceOptions);
@overload
def Site(resource_name: str,
         opts: Optional[ResourceOptions] = None,
         app_id: Optional[str] = None,
         labels: Optional[Mapping[str, str]] = None,
         project: Optional[str] = None,
         site_id: Optional[str] = None)
@overload
def Site(resource_name: str,
         args: SiteArgs,
         opts: Optional[ResourceOptions] = None)
func NewSite(ctx *Context, name string, args SiteArgs, opts ...ResourceOption) (*Site, error)
public Site(string name, SiteArgs args, CustomResourceOptions? opts = null)
public Site(String name, SiteArgs args)
public Site(String name, SiteArgs args, CustomResourceOptions options)
type: google-native:firebasehosting/v1beta1:Site
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args SiteArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args SiteArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args SiteArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args SiteArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args SiteArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Site Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Site resource accepts the following input properties:

SiteId string

Required. Immutable. A globally unique identifier for the Hosting site. This identifier is used to construct the Firebase-provisioned subdomains for the site, so it must also be a valid domain name label.

AppId string

Optional. The ID of a Web App associated with the Hosting site.

Labels Dictionary<string, string>

Optional. User-specified labels for the Hosting site.

Project string
SiteId string

Required. Immutable. A globally unique identifier for the Hosting site. This identifier is used to construct the Firebase-provisioned subdomains for the site, so it must also be a valid domain name label.

AppId string

Optional. The ID of a Web App associated with the Hosting site.

Labels map[string]string

Optional. User-specified labels for the Hosting site.

Project string
siteId String

Required. Immutable. A globally unique identifier for the Hosting site. This identifier is used to construct the Firebase-provisioned subdomains for the site, so it must also be a valid domain name label.

appId String

Optional. The ID of a Web App associated with the Hosting site.

labels Map<String,String>

Optional. User-specified labels for the Hosting site.

project String
siteId string

Required. Immutable. A globally unique identifier for the Hosting site. This identifier is used to construct the Firebase-provisioned subdomains for the site, so it must also be a valid domain name label.

appId string

Optional. The ID of a Web App associated with the Hosting site.

labels {[key: string]: string}

Optional. User-specified labels for the Hosting site.

project string
site_id str

Required. Immutable. A globally unique identifier for the Hosting site. This identifier is used to construct the Firebase-provisioned subdomains for the site, so it must also be a valid domain name label.

app_id str

Optional. The ID of a Web App associated with the Hosting site.

labels Mapping[str, str]

Optional. User-specified labels for the Hosting site.

project str
siteId String

Required. Immutable. A globally unique identifier for the Hosting site. This identifier is used to construct the Firebase-provisioned subdomains for the site, so it must also be a valid domain name label.

appId String

Optional. The ID of a Web App associated with the Hosting site.

labels Map<String>

Optional. User-specified labels for the Hosting site.

project String

Outputs

All input properties are implicitly available as output properties. Additionally, the Site resource produces the following output properties:

DefaultUrl string

The default URL for the Hosting site.

Id string

The provider-assigned unique ID for this managed resource.

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.

DefaultUrl string

The default URL for the Hosting site.

Id string

The provider-assigned unique ID for this managed resource.

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.

defaultUrl String

The default URL for the Hosting site.

id String

The provider-assigned unique ID for this managed resource.

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.

defaultUrl string

The default URL for the Hosting site.

id string

The provider-assigned unique ID for this managed resource.

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.

default_url str

The default URL for the Hosting site.

id str

The provider-assigned unique ID for this managed resource.

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.

defaultUrl String

The default URL for the Hosting site.

id String

The provider-assigned unique ID for this managed resource.

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