gcp.firebase.ExtensionsInstance
Explore with Pulumi AI
Import
Instance can be imported using any of these accepted formats
$ 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}}
Example Usage
Firebase Extentions Instance Resize Image
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",
Location = "US",
UniformBucketLevelAccess = true,
ForceDestroy = true,
}, new CustomResourceOptions
{
Provider = google_beta,
});
var resizeImage = new Gcp.Firebase.ExtensionsInstance("resizeImage", new()
{
Project = "my-project-name",
InstanceId = "storage-resize-images",
Config = new Gcp.Firebase.Inputs.ExtensionsInstanceConfigArgs
{
ExtensionRef = "firebase/storage-resize-images",
ExtensionVersion = "0.1.37",
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 },
{ "LOCATION", "" },
},
SystemParams =
{
{ "firebaseextensions.v1beta.function/maxInstances", "3000" },
{ "firebaseextensions.v1beta.function/memory", "256" },
{ "firebaseextensions.v1beta.function/minInstances", "0" },
{ "firebaseextensions.v1beta.function/vpcConnectorEgressSettings", "VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED" },
},
AllowedEventTypes = new[]
{
"firebase.extensions.storage-resize-images.v1.complete",
},
EventarcChannel = "projects/my-project-name/locations//channels/firebase",
},
}, new CustomResourceOptions
{
Provider = google_beta,
});
});
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/firebase"
"github.com/pulumi/pulumi-gcp/sdk/v6/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"),
Location: pulumi.String("US"),
UniformBucketLevelAccess: pulumi.Bool(true),
ForceDestroy: pulumi.Bool(true),
}, pulumi.Provider(google_beta))
if err != nil {
return err
}
_, err = firebase.NewExtensionsInstance(ctx, "resizeImage", &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.1.37"),
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,
"LOCATION": pulumi.String(""),
},
SystemParams: pulumi.StringMap{
"firebaseextensions.v1beta.function/maxInstances": pulumi.String("3000"),
"firebaseextensions.v1beta.function/memory": pulumi.String("256"),
"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.complete"),
},
EventarcChannel: pulumi.String("projects/my-project-name/locations//channels/firebase"),
},
}, pulumi.Provider(google_beta))
if err != nil {
return err
}
return nil
})
}
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 com.pulumi.resources.CustomResourceOptions;
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")
.location("US")
.uniformBucketLevelAccess(true)
.forceDestroy(true)
.build(), CustomResourceOptions.builder()
.provider(google_beta)
.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.1.37")
.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()),
Map.entry("LOCATION", "")
))
.systemParams(Map.ofEntries(
Map.entry("firebaseextensions.v1beta.function/maxInstances", 3000),
Map.entry("firebaseextensions.v1beta.function/memory", 256),
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.complete")
.eventarcChannel("projects/my-project-name/locations//channels/firebase")
.build())
.build(), CustomResourceOptions.builder()
.provider(google_beta)
.build());
}
}
import pulumi
import pulumi_gcp as gcp
images = gcp.storage.Bucket("images",
project="my-project-name",
location="US",
uniform_bucket_level_access=True,
force_destroy=True,
opts=pulumi.ResourceOptions(provider=google_beta))
resize_image = gcp.firebase.ExtensionsInstance("resizeImage",
project="my-project-name",
instance_id="storage-resize-images",
config=gcp.firebase.ExtensionsInstanceConfigArgs(
extension_ref="firebase/storage-resize-images",
extension_version="0.1.37",
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,
"LOCATION": "",
},
system_params={
"firebaseextensions.v1beta.function/maxInstances": "3000",
"firebaseextensions.v1beta.function/memory": "256",
"firebaseextensions.v1beta.function/minInstances": "0",
"firebaseextensions.v1beta.function/vpcConnectorEgressSettings": "VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED",
},
allowed_event_types=["firebase.extensions.storage-resize-images.v1.complete"],
eventarc_channel="projects/my-project-name/locations//channels/firebase",
),
opts=pulumi.ResourceOptions(provider=google_beta))
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const images = new gcp.storage.Bucket("images", {
project: "my-project-name",
location: "US",
uniformBucketLevelAccess: true,
forceDestroy: true,
}, {
provider: google_beta,
});
const resizeImage = new gcp.firebase.ExtensionsInstance("resizeImage", {
project: "my-project-name",
instanceId: "storage-resize-images",
config: {
extensionRef: "firebase/storage-resize-images",
extensionVersion: "0.1.37",
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,
LOCATION: "",
},
systemParams: {
"firebaseextensions.v1beta.function/maxInstances": "3000",
"firebaseextensions.v1beta.function/memory": "256",
"firebaseextensions.v1beta.function/minInstances": "0",
"firebaseextensions.v1beta.function/vpcConnectorEgressSettings": "VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED",
},
allowedEventTypes: ["firebase.extensions.storage-resize-images.v1.complete"],
eventarcChannel: "projects/my-project-name/locations//channels/firebase",
},
}, {
provider: google_beta,
});
resources:
images:
type: gcp:storage:Bucket
properties:
project: my-project-name
location: US
uniformBucketLevelAccess: true
# Delete all objects when the bucket is deleted
forceDestroy: true
options:
provider: ${["google-beta"]}
resizeImage:
type: gcp:firebase:ExtensionsInstance
properties:
project: my-project-name
instanceId: storage-resize-images
config:
extensionRef: firebase/storage-resize-images
extensionVersion: 0.1.37
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}
LOCATION:
systemParams:
firebaseextensions.v1beta.function/maxInstances: 3000
firebaseextensions.v1beta.function/memory: 256
firebaseextensions.v1beta.function/minInstances: 0
firebaseextensions.v1beta.function/vpcConnectorEgressSettings: VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED
allowedEventTypes:
- firebase.extensions.storage-resize-images.v1.complete
eventarcChannel: projects/my-project-name/locations//channels/firebase
options:
provider: ${["google-beta"]}
Create ExtensionsInstance Resource
new ExtensionsInstance(name: string, args: ExtensionsInstanceArgs, opts?: CustomResourceOptions);
@overload
def ExtensionsInstance(resource_name: str,
opts: Optional[ResourceOptions] = None,
config: Optional[ExtensionsInstanceConfigArgs] = None,
instance_id: Optional[str] = None,
project: Optional[str] = None)
@overload
def ExtensionsInstance(resource_name: str,
args: ExtensionsInstanceArgs,
opts: Optional[ResourceOptions] = 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.
- 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.
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
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
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- 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
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- 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
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- 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
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- 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
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- 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
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Outputs
All input properties are implicitly available as output properties. Additionally, the ExtensionsInstance resource produces the following output properties:
- Create
Time string (Output) The time at which the Extension Instance Config 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
(Output) The unique identifier for this configuration.
- 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 (Output) The time at which the Extension Instance Config 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
(Output) The unique identifier for this configuration.
- 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 (Output) The time at which the Extension Instance Config 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
(Output) The unique identifier for this configuration.
- 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 (Output) The time at which the Extension Instance Config 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
(Output) The unique identifier for this configuration.
- 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 (Output) The time at which the Extension Instance Config 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
(Output) The unique identifier for this configuration.
- 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 (Output) The time at which the Extension Instance Config 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
(Output) The unique identifier for this configuration.
- 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 (Output) The time at which the Extension Instance Config 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
(Output) The unique identifier for this configuration.
- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- 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 (Output) The time at which the Extension Instance Config 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
(Output) The unique identifier for this configuration.
- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- 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 (Output) The time at which the Extension Instance Config 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
(Output) The unique identifier for this configuration.
- project String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- 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 (Output) The time at which the Extension Instance Config 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
(Output) The unique identifier for this configuration.
- project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- 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 (Output) The time at which the Extension Instance Config 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
(Output) The unique identifier for this configuration.
- project str
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- 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 (Output) The time at which the Extension Instance Config 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
(Output) The unique identifier for this configuration.
- project String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
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.
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.