gcp.firebase.ExtensionsInstance
Explore with Pulumi AI
Example Usage
Firebase Extentions Instance Resize Image
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const images = new gcp.storage.Bucket("images", {
project: "my-project-name",
name: "bucket-id",
location: "US",
uniformBucketLevelAccess: true,
forceDestroy: true,
});
const resizeImage = new gcp.firebase.ExtensionsInstance("resize_image", {
project: "my-project-name",
instanceId: "storage-resize-images",
config: {
extensionRef: "firebase/storage-resize-images",
extensionVersion: "0.2.2",
params: {
DELETE_ORIGINAL_FILE: "false",
MAKE_PUBLIC: "false",
IMAGE_TYPE: "false",
IS_ANIMATED: "true",
FUNCTION_MEMORY: "1024",
DO_BACKFILL: "false",
IMG_SIZES: "200x200",
IMG_BUCKET: images.name,
},
systemParams: {
"firebaseextensions.v1beta.function/location": "",
"firebaseextensions.v1beta.function/maxInstances": "3000",
"firebaseextensions.v1beta.function/minInstances": "0",
"firebaseextensions.v1beta.function/vpcConnectorEgressSettings": "VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED",
},
allowedEventTypes: ["firebase.extensions.storage-resize-images.v1.onCompletion"],
eventarcChannel: "projects/my-project-name/locations//channels/firebase",
},
});
import pulumi
import pulumi_gcp as gcp
images = gcp.storage.Bucket("images",
project="my-project-name",
name="bucket-id",
location="US",
uniform_bucket_level_access=True,
force_destroy=True)
resize_image = gcp.firebase.ExtensionsInstance("resize_image",
project="my-project-name",
instance_id="storage-resize-images",
config={
"extension_ref": "firebase/storage-resize-images",
"extension_version": "0.2.2",
"params": {
"DELETE_ORIGINAL_FILE": "false",
"MAKE_PUBLIC": "false",
"IMAGE_TYPE": "false",
"IS_ANIMATED": "true",
"FUNCTION_MEMORY": "1024",
"DO_BACKFILL": "false",
"IMG_SIZES": "200x200",
"IMG_BUCKET": images.name,
},
"system_params": {
"firebaseextensions.v1beta.function/location": "",
"firebaseextensions.v1beta.function/maxInstances": "3000",
"firebaseextensions.v1beta.function/minInstances": "0",
"firebaseextensions.v1beta.function/vpcConnectorEgressSettings": "VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED",
},
"allowed_event_types": ["firebase.extensions.storage-resize-images.v1.onCompletion"],
"eventarc_channel": "projects/my-project-name/locations//channels/firebase",
})
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/firebase"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/storage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
images, err := storage.NewBucket(ctx, "images", &storage.BucketArgs{
Project: pulumi.String("my-project-name"),
Name: pulumi.String("bucket-id"),
Location: pulumi.String("US"),
UniformBucketLevelAccess: pulumi.Bool(true),
ForceDestroy: pulumi.Bool(true),
})
if err != nil {
return err
}
_, err = firebase.NewExtensionsInstance(ctx, "resize_image", &firebase.ExtensionsInstanceArgs{
Project: pulumi.String("my-project-name"),
InstanceId: pulumi.String("storage-resize-images"),
Config: &firebase.ExtensionsInstanceConfigArgs{
ExtensionRef: pulumi.String("firebase/storage-resize-images"),
ExtensionVersion: pulumi.String("0.2.2"),
Params: pulumi.StringMap{
"DELETE_ORIGINAL_FILE": pulumi.String("false"),
"MAKE_PUBLIC": pulumi.String("false"),
"IMAGE_TYPE": pulumi.String("false"),
"IS_ANIMATED": pulumi.String("true"),
"FUNCTION_MEMORY": pulumi.String("1024"),
"DO_BACKFILL": pulumi.String("false"),
"IMG_SIZES": pulumi.String("200x200"),
"IMG_BUCKET": images.Name,
},
SystemParams: pulumi.StringMap{
"firebaseextensions.v1beta.function/location": pulumi.String(""),
"firebaseextensions.v1beta.function/maxInstances": pulumi.String("3000"),
"firebaseextensions.v1beta.function/minInstances": pulumi.String("0"),
"firebaseextensions.v1beta.function/vpcConnectorEgressSettings": pulumi.String("VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED"),
},
AllowedEventTypes: pulumi.StringArray{
pulumi.String("firebase.extensions.storage-resize-images.v1.onCompletion"),
},
EventarcChannel: pulumi.String("projects/my-project-name/locations//channels/firebase"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var images = new Gcp.Storage.Bucket("images", new()
{
Project = "my-project-name",
Name = "bucket-id",
Location = "US",
UniformBucketLevelAccess = true,
ForceDestroy = true,
});
var resizeImage = new Gcp.Firebase.ExtensionsInstance("resize_image", new()
{
Project = "my-project-name",
InstanceId = "storage-resize-images",
Config = new Gcp.Firebase.Inputs.ExtensionsInstanceConfigArgs
{
ExtensionRef = "firebase/storage-resize-images",
ExtensionVersion = "0.2.2",
Params =
{
{ "DELETE_ORIGINAL_FILE", "false" },
{ "MAKE_PUBLIC", "false" },
{ "IMAGE_TYPE", "false" },
{ "IS_ANIMATED", "true" },
{ "FUNCTION_MEMORY", "1024" },
{ "DO_BACKFILL", "false" },
{ "IMG_SIZES", "200x200" },
{ "IMG_BUCKET", images.Name },
},
SystemParams =
{
{ "firebaseextensions.v1beta.function/location", "" },
{ "firebaseextensions.v1beta.function/maxInstances", "3000" },
{ "firebaseextensions.v1beta.function/minInstances", "0" },
{ "firebaseextensions.v1beta.function/vpcConnectorEgressSettings", "VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED" },
},
AllowedEventTypes = new[]
{
"firebase.extensions.storage-resize-images.v1.onCompletion",
},
EventarcChannel = "projects/my-project-name/locations//channels/firebase",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.storage.Bucket;
import com.pulumi.gcp.storage.BucketArgs;
import com.pulumi.gcp.firebase.ExtensionsInstance;
import com.pulumi.gcp.firebase.ExtensionsInstanceArgs;
import com.pulumi.gcp.firebase.inputs.ExtensionsInstanceConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var images = new Bucket("images", BucketArgs.builder()
.project("my-project-name")
.name("bucket-id")
.location("US")
.uniformBucketLevelAccess(true)
.forceDestroy(true)
.build());
var resizeImage = new ExtensionsInstance("resizeImage", ExtensionsInstanceArgs.builder()
.project("my-project-name")
.instanceId("storage-resize-images")
.config(ExtensionsInstanceConfigArgs.builder()
.extensionRef("firebase/storage-resize-images")
.extensionVersion("0.2.2")
.params(Map.ofEntries(
Map.entry("DELETE_ORIGINAL_FILE", false),
Map.entry("MAKE_PUBLIC", false),
Map.entry("IMAGE_TYPE", false),
Map.entry("IS_ANIMATED", true),
Map.entry("FUNCTION_MEMORY", 1024),
Map.entry("DO_BACKFILL", false),
Map.entry("IMG_SIZES", "200x200"),
Map.entry("IMG_BUCKET", images.name())
))
.systemParams(Map.ofEntries(
Map.entry("firebaseextensions.v1beta.function/location", ""),
Map.entry("firebaseextensions.v1beta.function/maxInstances", 3000),
Map.entry("firebaseextensions.v1beta.function/minInstances", 0),
Map.entry("firebaseextensions.v1beta.function/vpcConnectorEgressSettings", "VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED")
))
.allowedEventTypes("firebase.extensions.storage-resize-images.v1.onCompletion")
.eventarcChannel("projects/my-project-name/locations//channels/firebase")
.build())
.build());
}
}
resources:
images:
type: gcp:storage:Bucket
properties:
project: my-project-name
name: bucket-id
location: US
uniformBucketLevelAccess: true # Delete all objects when the bucket is deleted
forceDestroy: true
resizeImage:
type: gcp:firebase:ExtensionsInstance
name: resize_image
properties:
project: my-project-name
instanceId: storage-resize-images
config:
extensionRef: firebase/storage-resize-images
extensionVersion: 0.2.2
params:
DELETE_ORIGINAL_FILE: false
MAKE_PUBLIC: false
IMAGE_TYPE: false
IS_ANIMATED: true
FUNCTION_MEMORY: 1024
DO_BACKFILL: false
IMG_SIZES: 200x200
IMG_BUCKET: ${images.name}
systemParams:
firebaseextensions.v1beta.function/location:
firebaseextensions.v1beta.function/maxInstances: 3000
firebaseextensions.v1beta.function/minInstances: 0
firebaseextensions.v1beta.function/vpcConnectorEgressSettings: VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED
allowedEventTypes:
- firebase.extensions.storage-resize-images.v1.onCompletion
eventarcChannel: projects/my-project-name/locations//channels/firebase
Create ExtensionsInstance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ExtensionsInstance(name: string, args: ExtensionsInstanceArgs, opts?: CustomResourceOptions);
@overload
def ExtensionsInstance(resource_name: str,
args: ExtensionsInstanceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ExtensionsInstance(resource_name: str,
opts: Optional[ResourceOptions] = None,
config: Optional[ExtensionsInstanceConfigArgs] = None,
instance_id: Optional[str] = None,
project: Optional[str] = None)
func NewExtensionsInstance(ctx *Context, name string, args ExtensionsInstanceArgs, opts ...ResourceOption) (*ExtensionsInstance, error)
public ExtensionsInstance(string name, ExtensionsInstanceArgs args, CustomResourceOptions? opts = null)
public ExtensionsInstance(String name, ExtensionsInstanceArgs args)
public ExtensionsInstance(String name, ExtensionsInstanceArgs args, CustomResourceOptions options)
type: gcp:firebase:ExtensionsInstance
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 ExtensionsInstanceArgs
- 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 ExtensionsInstanceArgs
- 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 ExtensionsInstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ExtensionsInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ExtensionsInstanceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var extensionsInstanceResource = new Gcp.Firebase.ExtensionsInstance("extensionsInstanceResource", new()
{
Config = new Gcp.Firebase.Inputs.ExtensionsInstanceConfigArgs
{
ExtensionRef = "string",
Params =
{
{ "string", "string" },
},
AllowedEventTypes = new[]
{
"string",
},
CreateTime = "string",
EventarcChannel = "string",
ExtensionVersion = "string",
Name = "string",
PopulatedPostinstallContent = "string",
SystemParams =
{
{ "string", "string" },
},
},
InstanceId = "string",
Project = "string",
});
example, err := firebase.NewExtensionsInstance(ctx, "extensionsInstanceResource", &firebase.ExtensionsInstanceArgs{
Config: &firebase.ExtensionsInstanceConfigArgs{
ExtensionRef: pulumi.String("string"),
Params: pulumi.StringMap{
"string": pulumi.String("string"),
},
AllowedEventTypes: pulumi.StringArray{
pulumi.String("string"),
},
CreateTime: pulumi.String("string"),
EventarcChannel: pulumi.String("string"),
ExtensionVersion: pulumi.String("string"),
Name: pulumi.String("string"),
PopulatedPostinstallContent: pulumi.String("string"),
SystemParams: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
InstanceId: pulumi.String("string"),
Project: pulumi.String("string"),
})
var extensionsInstanceResource = new ExtensionsInstance("extensionsInstanceResource", ExtensionsInstanceArgs.builder()
.config(ExtensionsInstanceConfigArgs.builder()
.extensionRef("string")
.params(Map.of("string", "string"))
.allowedEventTypes("string")
.createTime("string")
.eventarcChannel("string")
.extensionVersion("string")
.name("string")
.populatedPostinstallContent("string")
.systemParams(Map.of("string", "string"))
.build())
.instanceId("string")
.project("string")
.build());
extensions_instance_resource = gcp.firebase.ExtensionsInstance("extensionsInstanceResource",
config={
"extension_ref": "string",
"params": {
"string": "string",
},
"allowed_event_types": ["string"],
"create_time": "string",
"eventarc_channel": "string",
"extension_version": "string",
"name": "string",
"populated_postinstall_content": "string",
"system_params": {
"string": "string",
},
},
instance_id="string",
project="string")
const extensionsInstanceResource = new gcp.firebase.ExtensionsInstance("extensionsInstanceResource", {
config: {
extensionRef: "string",
params: {
string: "string",
},
allowedEventTypes: ["string"],
createTime: "string",
eventarcChannel: "string",
extensionVersion: "string",
name: "string",
populatedPostinstallContent: "string",
systemParams: {
string: "string",
},
},
instanceId: "string",
project: "string",
});
type: gcp:firebase:ExtensionsInstance
properties:
config:
allowedEventTypes:
- string
createTime: string
eventarcChannel: string
extensionRef: string
extensionVersion: string
name: string
params:
string: string
populatedPostinstallContent: string
systemParams:
string: string
instanceId: string
project: string
ExtensionsInstance Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ExtensionsInstance resource accepts the following input properties:
- Config
Extensions
Instance Config - The current Config of the Extension Instance. Structure is documented below.
- Instance
Id string - The ID to use for the Extension Instance, which will become the final component of the instance's name.
- Project string
- Config
Extensions
Instance Config Args - The current Config of the Extension Instance. Structure is documented below.
- Instance
Id string - The ID to use for the Extension Instance, which will become the final component of the instance's name.
- Project string
- config
Extensions
Instance Config - The current Config of the Extension Instance. Structure is documented below.
- instance
Id String - The ID to use for the Extension Instance, which will become the final component of the instance's name.
- project String
- config
Extensions
Instance Config - The current Config of the Extension Instance. Structure is documented below.
- instance
Id string - The ID to use for the Extension Instance, which will become the final component of the instance's name.
- project string
- config
Extensions
Instance Config Args - The current Config of the Extension Instance. Structure is documented below.
- instance_
id str - The ID to use for the Extension Instance, which will become the final component of the instance's name.
- project str
- config Property Map
- The current Config of the Extension Instance. Structure is documented below.
- instance
Id String - The ID to use for the Extension Instance, which will become the final component of the instance's name.
- project String
Outputs
All input properties are implicitly available as output properties. Additionally, the ExtensionsInstance resource produces the following output properties:
- Create
Time string - The time at which the Extension Instance was created.
- Error
Statuses List<ExtensionsInstance Error Status> - If this Instance has
state: ERRORED
, the error messages will be found here. Structure is documented below. - Etag string
- A weak etag that is computed by the server based on other configuration values and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Operation stringName - The name of the last operation that acted on this Extension Instance
- Last
Operation stringType - The type of the last operation that acted on the Extension Instance.
- Name string
- The fully-qualified resource name of the Extension Instance.
- Runtime
Datas List<ExtensionsInstance Runtime Data> - Data set by the extension instance at runtime. Structure is documented below.
- Service
Account stringEmail - The email of the service account to be used at runtime by compute resources created for the operation of the Extension instance.
- State string
- The processing state of the extension instance.
- Update
Time string - The time at which the Extension Instance was updated.
- Create
Time string - The time at which the Extension Instance was created.
- Error
Statuses []ExtensionsInstance Error Status - If this Instance has
state: ERRORED
, the error messages will be found here. Structure is documented below. - Etag string
- A weak etag that is computed by the server based on other configuration values and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Operation stringName - The name of the last operation that acted on this Extension Instance
- Last
Operation stringType - The type of the last operation that acted on the Extension Instance.
- Name string
- The fully-qualified resource name of the Extension Instance.
- Runtime
Datas []ExtensionsInstance Runtime Data - Data set by the extension instance at runtime. Structure is documented below.
- Service
Account stringEmail - The email of the service account to be used at runtime by compute resources created for the operation of the Extension instance.
- State string
- The processing state of the extension instance.
- Update
Time string - The time at which the Extension Instance was updated.
- create
Time String - The time at which the Extension Instance was created.
- error
Statuses List<ExtensionsInstance Error Status> - If this Instance has
state: ERRORED
, the error messages will be found here. Structure is documented below. - etag String
- A weak etag that is computed by the server based on other configuration values and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Operation StringName - The name of the last operation that acted on this Extension Instance
- last
Operation StringType - The type of the last operation that acted on the Extension Instance.
- name String
- The fully-qualified resource name of the Extension Instance.
- runtime
Datas List<ExtensionsInstance Runtime Data> - Data set by the extension instance at runtime. Structure is documented below.
- service
Account StringEmail - The email of the service account to be used at runtime by compute resources created for the operation of the Extension instance.
- state String
- The processing state of the extension instance.
- update
Time String - The time at which the Extension Instance was updated.
- create
Time string - The time at which the Extension Instance was created.
- error
Statuses ExtensionsInstance Error Status[] - If this Instance has
state: ERRORED
, the error messages will be found here. Structure is documented below. - etag string
- A weak etag that is computed by the server based on other configuration values and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Operation stringName - The name of the last operation that acted on this Extension Instance
- last
Operation stringType - The type of the last operation that acted on the Extension Instance.
- name string
- The fully-qualified resource name of the Extension Instance.
- runtime
Datas ExtensionsInstance Runtime Data[] - Data set by the extension instance at runtime. Structure is documented below.
- service
Account stringEmail - The email of the service account to be used at runtime by compute resources created for the operation of the Extension instance.
- state string
- The processing state of the extension instance.
- update
Time string - The time at which the Extension Instance was updated.
- create_
time str - The time at which the Extension Instance was created.
- error_
statuses Sequence[ExtensionsInstance Error Status] - If this Instance has
state: ERRORED
, the error messages will be found here. Structure is documented below. - etag str
- A weak etag that is computed by the server based on other configuration values and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
operation_ strname - The name of the last operation that acted on this Extension Instance
- last_
operation_ strtype - The type of the last operation that acted on the Extension Instance.
- name str
- The fully-qualified resource name of the Extension Instance.
- runtime_
datas Sequence[ExtensionsInstance Runtime Data] - Data set by the extension instance at runtime. Structure is documented below.
- service_
account_ stremail - The email of the service account to be used at runtime by compute resources created for the operation of the Extension instance.
- state str
- The processing state of the extension instance.
- update_
time str - The time at which the Extension Instance was updated.
- create
Time String - The time at which the Extension Instance was created.
- error
Statuses List<Property Map> - If this Instance has
state: ERRORED
, the error messages will be found here. Structure is documented below. - etag String
- A weak etag that is computed by the server based on other configuration values and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Operation StringName - The name of the last operation that acted on this Extension Instance
- last
Operation StringType - The type of the last operation that acted on the Extension Instance.
- name String
- The fully-qualified resource name of the Extension Instance.
- runtime
Datas List<Property Map> - Data set by the extension instance at runtime. Structure is documented below.
- service
Account StringEmail - The email of the service account to be used at runtime by compute resources created for the operation of the Extension instance.
- state String
- The processing state of the extension instance.
- update
Time String - The time at which the Extension Instance was updated.
Look up Existing ExtensionsInstance Resource
Get an existing ExtensionsInstance resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ExtensionsInstanceState, opts?: CustomResourceOptions): ExtensionsInstance
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
config: Optional[ExtensionsInstanceConfigArgs] = None,
create_time: Optional[str] = None,
error_statuses: Optional[Sequence[ExtensionsInstanceErrorStatusArgs]] = None,
etag: Optional[str] = None,
instance_id: Optional[str] = None,
last_operation_name: Optional[str] = None,
last_operation_type: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
runtime_datas: Optional[Sequence[ExtensionsInstanceRuntimeDataArgs]] = None,
service_account_email: Optional[str] = None,
state: Optional[str] = None,
update_time: Optional[str] = None) -> ExtensionsInstance
func GetExtensionsInstance(ctx *Context, name string, id IDInput, state *ExtensionsInstanceState, opts ...ResourceOption) (*ExtensionsInstance, error)
public static ExtensionsInstance Get(string name, Input<string> id, ExtensionsInstanceState? state, CustomResourceOptions? opts = null)
public static ExtensionsInstance get(String name, Output<String> id, ExtensionsInstanceState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Config
Extensions
Instance Config - The current Config of the Extension Instance. Structure is documented below.
- Create
Time string - The time at which the Extension Instance was created.
- Error
Statuses List<ExtensionsInstance Error Status> - If this Instance has
state: ERRORED
, the error messages will be found here. Structure is documented below. - Etag string
- A weak etag that is computed by the server based on other configuration values and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- Instance
Id string - The ID to use for the Extension Instance, which will become the final component of the instance's name.
- Last
Operation stringName - The name of the last operation that acted on this Extension Instance
- Last
Operation stringType - The type of the last operation that acted on the Extension Instance.
- Name string
- The fully-qualified resource name of the Extension Instance.
- Project string
- Runtime
Datas List<ExtensionsInstance Runtime Data> - Data set by the extension instance at runtime. Structure is documented below.
- Service
Account stringEmail - The email of the service account to be used at runtime by compute resources created for the operation of the Extension instance.
- State string
- The processing state of the extension instance.
- Update
Time string - The time at which the Extension Instance was updated.
- Config
Extensions
Instance Config Args - The current Config of the Extension Instance. Structure is documented below.
- Create
Time string - The time at which the Extension Instance was created.
- Error
Statuses []ExtensionsInstance Error Status Args - If this Instance has
state: ERRORED
, the error messages will be found here. Structure is documented below. - Etag string
- A weak etag that is computed by the server based on other configuration values and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- Instance
Id string - The ID to use for the Extension Instance, which will become the final component of the instance's name.
- Last
Operation stringName - The name of the last operation that acted on this Extension Instance
- Last
Operation stringType - The type of the last operation that acted on the Extension Instance.
- Name string
- The fully-qualified resource name of the Extension Instance.
- Project string
- Runtime
Datas []ExtensionsInstance Runtime Data Args - Data set by the extension instance at runtime. Structure is documented below.
- Service
Account stringEmail - The email of the service account to be used at runtime by compute resources created for the operation of the Extension instance.
- State string
- The processing state of the extension instance.
- Update
Time string - The time at which the Extension Instance was updated.
- config
Extensions
Instance Config - The current Config of the Extension Instance. Structure is documented below.
- create
Time String - The time at which the Extension Instance was created.
- error
Statuses List<ExtensionsInstance Error Status> - If this Instance has
state: ERRORED
, the error messages will be found here. Structure is documented below. - etag String
- A weak etag that is computed by the server based on other configuration values and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- instance
Id String - The ID to use for the Extension Instance, which will become the final component of the instance's name.
- last
Operation StringName - The name of the last operation that acted on this Extension Instance
- last
Operation StringType - The type of the last operation that acted on the Extension Instance.
- name String
- The fully-qualified resource name of the Extension Instance.
- project String
- runtime
Datas List<ExtensionsInstance Runtime Data> - Data set by the extension instance at runtime. Structure is documented below.
- service
Account StringEmail - The email of the service account to be used at runtime by compute resources created for the operation of the Extension instance.
- state String
- The processing state of the extension instance.
- update
Time String - The time at which the Extension Instance was updated.
- config
Extensions
Instance Config - The current Config of the Extension Instance. Structure is documented below.
- create
Time string - The time at which the Extension Instance was created.
- error
Statuses ExtensionsInstance Error Status[] - If this Instance has
state: ERRORED
, the error messages will be found here. Structure is documented below. - etag string
- A weak etag that is computed by the server based on other configuration values and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- instance
Id string - The ID to use for the Extension Instance, which will become the final component of the instance's name.
- last
Operation stringName - The name of the last operation that acted on this Extension Instance
- last
Operation stringType - The type of the last operation that acted on the Extension Instance.
- name string
- The fully-qualified resource name of the Extension Instance.
- project string
- runtime
Datas ExtensionsInstance Runtime Data[] - Data set by the extension instance at runtime. Structure is documented below.
- service
Account stringEmail - The email of the service account to be used at runtime by compute resources created for the operation of the Extension instance.
- state string
- The processing state of the extension instance.
- update
Time string - The time at which the Extension Instance was updated.
- config
Extensions
Instance Config Args - The current Config of the Extension Instance. Structure is documented below.
- create_
time str - The time at which the Extension Instance was created.
- error_
statuses Sequence[ExtensionsInstance Error Status Args] - If this Instance has
state: ERRORED
, the error messages will be found here. Structure is documented below. - etag str
- A weak etag that is computed by the server based on other configuration values and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- instance_
id str - The ID to use for the Extension Instance, which will become the final component of the instance's name.
- last_
operation_ strname - The name of the last operation that acted on this Extension Instance
- last_
operation_ strtype - The type of the last operation that acted on the Extension Instance.
- name str
- The fully-qualified resource name of the Extension Instance.
- project str
- runtime_
datas Sequence[ExtensionsInstance Runtime Data Args] - Data set by the extension instance at runtime. Structure is documented below.
- service_
account_ stremail - The email of the service account to be used at runtime by compute resources created for the operation of the Extension instance.
- state str
- The processing state of the extension instance.
- update_
time str - The time at which the Extension Instance was updated.
- config Property Map
- The current Config of the Extension Instance. Structure is documented below.
- create
Time String - The time at which the Extension Instance was created.
- error
Statuses List<Property Map> - If this Instance has
state: ERRORED
, the error messages will be found here. Structure is documented below. - etag String
- A weak etag that is computed by the server based on other configuration values and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- instance
Id String - The ID to use for the Extension Instance, which will become the final component of the instance's name.
- last
Operation StringName - The name of the last operation that acted on this Extension Instance
- last
Operation StringType - The type of the last operation that acted on the Extension Instance.
- name String
- The fully-qualified resource name of the Extension Instance.
- project String
- runtime
Datas List<Property Map> - Data set by the extension instance at runtime. Structure is documented below.
- service
Account StringEmail - The email of the service account to be used at runtime by compute resources created for the operation of the Extension instance.
- state String
- The processing state of the extension instance.
- update
Time String - The time at which the Extension Instance was updated.
Supporting Types
ExtensionsInstanceConfig, ExtensionsInstanceConfigArgs
- Extension
Ref string - The ref of the Extension from the Registry (e.g. publisher-id/awesome-extension)
- Params Dictionary<string, string>
- Environment variables that may be configured for the Extension
- Allowed
Event List<string>Types - List of extension events selected by consumer that extension is allowed to emit, identified by their types.
- Create
Time string - (Output) The time at which the Extension Instance Config was created.
- Eventarc
Channel string - Fully qualified Eventarc resource name that consumers should use for event triggers.
- Extension
Version string - The version of the Extension from the Registry (e.g. 1.0.3). If left blank, latest is assumed.
- Name string
- (Output) The unique identifier for this configuration.
- Populated
Postinstall stringContent - (Output)
Postinstall instructions to be shown for this Extension, with
template strings representing function and parameter values substituted
with actual values. These strings include: ${param:FOO},
${function:myFunc.url},
${function:myFunc.name}, and ${function:myFunc.location}
- System
Params Dictionary<string, string> - Params whose values are only available at deployment time. Unlike other params, these will not be set as environment variables on functions. See a full list of system parameters at https://firebase.google.com/docs/extensions/publishers/parameters#system_parameters
- Extension
Ref string - The ref of the Extension from the Registry (e.g. publisher-id/awesome-extension)
- Params map[string]string
- Environment variables that may be configured for the Extension
- Allowed
Event []stringTypes - List of extension events selected by consumer that extension is allowed to emit, identified by their types.
- Create
Time string - (Output) The time at which the Extension Instance Config was created.
- Eventarc
Channel string - Fully qualified Eventarc resource name that consumers should use for event triggers.
- Extension
Version string - The version of the Extension from the Registry (e.g. 1.0.3). If left blank, latest is assumed.
- Name string
- (Output) The unique identifier for this configuration.
- Populated
Postinstall stringContent - (Output)
Postinstall instructions to be shown for this Extension, with
template strings representing function and parameter values substituted
with actual values. These strings include: ${param:FOO},
${function:myFunc.url},
${function:myFunc.name}, and ${function:myFunc.location}
- System
Params map[string]string - Params whose values are only available at deployment time. Unlike other params, these will not be set as environment variables on functions. See a full list of system parameters at https://firebase.google.com/docs/extensions/publishers/parameters#system_parameters
- extension
Ref String - The ref of the Extension from the Registry (e.g. publisher-id/awesome-extension)
- params Map<String,String>
- Environment variables that may be configured for the Extension
- allowed
Event List<String>Types - List of extension events selected by consumer that extension is allowed to emit, identified by their types.
- create
Time String - (Output) The time at which the Extension Instance Config was created.
- eventarc
Channel String - Fully qualified Eventarc resource name that consumers should use for event triggers.
- extension
Version String - The version of the Extension from the Registry (e.g. 1.0.3). If left blank, latest is assumed.
- name String
- (Output) The unique identifier for this configuration.
- populated
Postinstall StringContent - (Output)
Postinstall instructions to be shown for this Extension, with
template strings representing function and parameter values substituted
with actual values. These strings include: ${param:FOO},
${function:myFunc.url},
${function:myFunc.name}, and ${function:myFunc.location}
- system
Params Map<String,String> - Params whose values are only available at deployment time. Unlike other params, these will not be set as environment variables on functions. See a full list of system parameters at https://firebase.google.com/docs/extensions/publishers/parameters#system_parameters
- extension
Ref string - The ref of the Extension from the Registry (e.g. publisher-id/awesome-extension)
- params {[key: string]: string}
- Environment variables that may be configured for the Extension
- allowed
Event string[]Types - List of extension events selected by consumer that extension is allowed to emit, identified by their types.
- create
Time string - (Output) The time at which the Extension Instance Config was created.
- eventarc
Channel string - Fully qualified Eventarc resource name that consumers should use for event triggers.
- extension
Version string - The version of the Extension from the Registry (e.g. 1.0.3). If left blank, latest is assumed.
- name string
- (Output) The unique identifier for this configuration.
- populated
Postinstall stringContent - (Output)
Postinstall instructions to be shown for this Extension, with
template strings representing function and parameter values substituted
with actual values. These strings include: ${param:FOO},
${function:myFunc.url},
${function:myFunc.name}, and ${function:myFunc.location}
- system
Params {[key: string]: string} - Params whose values are only available at deployment time. Unlike other params, these will not be set as environment variables on functions. See a full list of system parameters at https://firebase.google.com/docs/extensions/publishers/parameters#system_parameters
- extension_
ref str - The ref of the Extension from the Registry (e.g. publisher-id/awesome-extension)
- params Mapping[str, str]
- Environment variables that may be configured for the Extension
- allowed_
event_ Sequence[str]types - List of extension events selected by consumer that extension is allowed to emit, identified by their types.
- create_
time str - (Output) The time at which the Extension Instance Config was created.
- eventarc_
channel str - Fully qualified Eventarc resource name that consumers should use for event triggers.
- extension_
version str - The version of the Extension from the Registry (e.g. 1.0.3). If left blank, latest is assumed.
- name str
- (Output) The unique identifier for this configuration.
- populated_
postinstall_ strcontent - (Output)
Postinstall instructions to be shown for this Extension, with
template strings representing function and parameter values substituted
with actual values. These strings include: ${param:FOO},
${function:myFunc.url},
${function:myFunc.name}, and ${function:myFunc.location}
- system_
params Mapping[str, str] - Params whose values are only available at deployment time. Unlike other params, these will not be set as environment variables on functions. See a full list of system parameters at https://firebase.google.com/docs/extensions/publishers/parameters#system_parameters
- extension
Ref String - The ref of the Extension from the Registry (e.g. publisher-id/awesome-extension)
- params Map<String>
- Environment variables that may be configured for the Extension
- allowed
Event List<String>Types - List of extension events selected by consumer that extension is allowed to emit, identified by their types.
- create
Time String - (Output) The time at which the Extension Instance Config was created.
- eventarc
Channel String - Fully qualified Eventarc resource name that consumers should use for event triggers.
- extension
Version String - The version of the Extension from the Registry (e.g. 1.0.3). If left blank, latest is assumed.
- name String
- (Output) The unique identifier for this configuration.
- populated
Postinstall StringContent - (Output)
Postinstall instructions to be shown for this Extension, with
template strings representing function and parameter values substituted
with actual values. These strings include: ${param:FOO},
${function:myFunc.url},
${function:myFunc.name}, and ${function:myFunc.location}
- system
Params Map<String> - Params whose values are only available at deployment time. Unlike other params, these will not be set as environment variables on functions. See a full list of system parameters at https://firebase.google.com/docs/extensions/publishers/parameters#system_parameters
ExtensionsInstanceErrorStatus, ExtensionsInstanceErrorStatusArgs
ExtensionsInstanceRuntimeData, ExtensionsInstanceRuntimeDataArgs
- Fatal
Error ExtensionsInstance Runtime Data Fatal Error - The fatal error state for the extension instance Structure is documented below.
- Processing
State ExtensionsInstance Runtime Data Processing State - The processing state for the extension instance Structure is documented below.
- State
Update stringTime - The time of the last state update.
- Fatal
Error ExtensionsInstance Runtime Data Fatal Error - The fatal error state for the extension instance Structure is documented below.
- Processing
State ExtensionsInstance Runtime Data Processing State - The processing state for the extension instance Structure is documented below.
- State
Update stringTime - The time of the last state update.
- fatal
Error ExtensionsInstance Runtime Data Fatal Error - The fatal error state for the extension instance Structure is documented below.
- processing
State ExtensionsInstance Runtime Data Processing State - The processing state for the extension instance Structure is documented below.
- state
Update StringTime - The time of the last state update.
- fatal
Error ExtensionsInstance Runtime Data Fatal Error - The fatal error state for the extension instance Structure is documented below.
- processing
State ExtensionsInstance Runtime Data Processing State - The processing state for the extension instance Structure is documented below.
- state
Update stringTime - The time of the last state update.
- fatal_
error ExtensionsInstance Runtime Data Fatal Error - The fatal error state for the extension instance Structure is documented below.
- processing_
state ExtensionsInstance Runtime Data Processing State - The processing state for the extension instance Structure is documented below.
- state_
update_ strtime - The time of the last state update.
- fatal
Error Property Map - The fatal error state for the extension instance Structure is documented below.
- processing
State Property Map - The processing state for the extension instance Structure is documented below.
- state
Update StringTime - The time of the last state update.
ExtensionsInstanceRuntimeDataFatalError, ExtensionsInstanceRuntimeDataFatalErrorArgs
- Error
Message string - The error message. This is set by the extension developer to give more detail on why the extension is unusable and must be re-installed or reconfigured.
- Error
Message string - The error message. This is set by the extension developer to give more detail on why the extension is unusable and must be re-installed or reconfigured.
- error
Message String - The error message. This is set by the extension developer to give more detail on why the extension is unusable and must be re-installed or reconfigured.
- error
Message string - The error message. This is set by the extension developer to give more detail on why the extension is unusable and must be re-installed or reconfigured.
- error_
message str - The error message. This is set by the extension developer to give more detail on why the extension is unusable and must be re-installed or reconfigured.
- error
Message String - The error message. This is set by the extension developer to give more detail on why the extension is unusable and must be re-installed or reconfigured.
ExtensionsInstanceRuntimeDataProcessingState, ExtensionsInstanceRuntimeDataProcessingStateArgs
- Detail
Message string - Details about the processing. e.g. This could include the type of processing in progress or it could list errors or failures. This information will be shown in the console on the detail page for the extension instance.
- State string
- The processing state of the extension instance.
- Detail
Message string - Details about the processing. e.g. This could include the type of processing in progress or it could list errors or failures. This information will be shown in the console on the detail page for the extension instance.
- State string
- The processing state of the extension instance.
- detail
Message String - Details about the processing. e.g. This could include the type of processing in progress or it could list errors or failures. This information will be shown in the console on the detail page for the extension instance.
- state String
- The processing state of the extension instance.
- detail
Message string - Details about the processing. e.g. This could include the type of processing in progress or it could list errors or failures. This information will be shown in the console on the detail page for the extension instance.
- state string
- The processing state of the extension instance.
- detail_
message str - Details about the processing. e.g. This could include the type of processing in progress or it could list errors or failures. This information will be shown in the console on the detail page for the extension instance.
- state str
- The processing state of the extension instance.
- detail
Message String - Details about the processing. e.g. This could include the type of processing in progress or it could list errors or failures. This information will be shown in the console on the detail page for the extension instance.
- state String
- The processing state of the extension instance.
Import
Instance can be imported using any of these accepted formats:
projects/{{project}}/instances/{{instance_id}}
{{project}}/{{instance_id}}
{{instance_id}}
When using the pulumi import
command, Instance can be imported using one of the formats above. For example:
$ pulumi import gcp:firebase/extensionsInstance:ExtensionsInstance default projects/{{project}}/instances/{{instance_id}}
$ pulumi import gcp:firebase/extensionsInstance:ExtensionsInstance default {{project}}/{{instance_id}}
$ pulumi import gcp:firebase/extensionsInstance:ExtensionsInstance default {{instance_id}}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-beta
Terraform Provider.