Google Native
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)
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:
- Site
Id 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.
- App
Id 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
- Site
Id 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.
- App
Id 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
- site
Id 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.
- app
Id 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
- site
Id 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.
- app
Id 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
- site
Id 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.
- app
Id 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:
- Default
Url 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 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
.
- Default
Url 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 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
.
- default
Url 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 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
.
- default
Url 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 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
.
- 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 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
.
- default
Url 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 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
- https://github.com/pulumi/pulumi-google-native
- License
- Apache-2.0