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

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.Site

Explore with Pulumi AI

google-native logo

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

    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 Site Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Site(name: string, args: SiteArgs, opts?: CustomResourceOptions);
    @overload
    def Site(resource_name: str,
             args: SiteArgs,
             opts: Optional[ResourceOptions] = None)
    
    @overload
    def Site(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             site_id: Optional[str] = None,
             app_id: Optional[str] = None,
             labels: Optional[Mapping[str, str]] = None,
             project: Optional[str] = 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.
    
    

    Parameters

    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.

    Example

    The following reference example uses placeholder values for all input properties.

    var siteResource = new GoogleNative.FirebaseHosting.V1Beta1.Site("siteResource", new()
    {
        SiteId = "string",
        AppId = "string",
        Labels = 
        {
            { "string", "string" },
        },
        Project = "string",
    });
    
    example, err := firebasehosting.NewSite(ctx, "siteResource", &firebasehosting.SiteArgs{
    SiteId: pulumi.String("string"),
    AppId: pulumi.String("string"),
    Labels: pulumi.StringMap{
    "string": pulumi.String("string"),
    },
    Project: pulumi.String("string"),
    })
    
    var siteResource = new Site("siteResource", SiteArgs.builder()        
        .siteId("string")
        .appId("string")
        .labels(Map.of("string", "string"))
        .project("string")
        .build());
    
    site_resource = google_native.firebasehosting.v1beta1.Site("siteResource",
        site_id="string",
        app_id="string",
        labels={
            "string": "string",
        },
        project="string")
    
    const siteResource = new google_native.firebasehosting.v1beta1.Site("siteResource", {
        siteId: "string",
        appId: "string",
        labels: {
            string: "string",
        },
        project: "string",
    });
    
    type: google-native:firebasehosting/v1beta1:Site
    properties:
        appId: string
        labels:
            string: string
        project: string
        siteId: string
    

    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
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    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