1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. firebase
  5. ExtensionsInstance
Google Cloud Classic v6.66.0 published on Monday, Sep 18, 2023 by Pulumi

gcp.firebase.ExtensionsInstance

Explore with Pulumi AI

gcp logo
Google Cloud Classic v6.66.0 published on Monday, Sep 18, 2023 by Pulumi

    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 ExtensionsInstanceConfig

    The current Config of the Extension Instance. Structure is documented below.

    InstanceId 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 ExtensionsInstanceConfigArgs

    The current Config of the Extension Instance. Structure is documented below.

    InstanceId 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 ExtensionsInstanceConfig

    The current Config of the Extension Instance. Structure is documented below.

    instanceId 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 ExtensionsInstanceConfig

    The current Config of the Extension Instance. Structure is documented below.

    instanceId 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 ExtensionsInstanceConfigArgs

    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.

    instanceId 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:

    CreateTime string

    (Output) The time at which the Extension Instance Config was created.

    ErrorStatuses List<ExtensionsInstanceErrorStatus>

    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.

    LastOperationName string

    The name of the last operation that acted on this Extension Instance

    LastOperationType string

    The type of the last operation that acted on the Extension Instance.

    Name string

    (Output) The unique identifier for this configuration.

    RuntimeDatas List<ExtensionsInstanceRuntimeData>

    Data set by the extension instance at runtime. Structure is documented below.

    ServiceAccountEmail string

    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.

    UpdateTime string

    The time at which the Extension Instance was updated.

    CreateTime string

    (Output) The time at which the Extension Instance Config was created.

    ErrorStatuses []ExtensionsInstanceErrorStatus

    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.

    LastOperationName string

    The name of the last operation that acted on this Extension Instance

    LastOperationType string

    The type of the last operation that acted on the Extension Instance.

    Name string

    (Output) The unique identifier for this configuration.

    RuntimeDatas []ExtensionsInstanceRuntimeData

    Data set by the extension instance at runtime. Structure is documented below.

    ServiceAccountEmail string

    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.

    UpdateTime string

    The time at which the Extension Instance was updated.

    createTime String

    (Output) The time at which the Extension Instance Config was created.

    errorStatuses List<ExtensionsInstanceErrorStatus>

    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.

    lastOperationName String

    The name of the last operation that acted on this Extension Instance

    lastOperationType String

    The type of the last operation that acted on the Extension Instance.

    name String

    (Output) The unique identifier for this configuration.

    runtimeDatas List<ExtensionsInstanceRuntimeData>

    Data set by the extension instance at runtime. Structure is documented below.

    serviceAccountEmail String

    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.

    updateTime String

    The time at which the Extension Instance was updated.

    createTime string

    (Output) The time at which the Extension Instance Config was created.

    errorStatuses ExtensionsInstanceErrorStatus[]

    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.

    lastOperationName string

    The name of the last operation that acted on this Extension Instance

    lastOperationType string

    The type of the last operation that acted on the Extension Instance.

    name string

    (Output) The unique identifier for this configuration.

    runtimeDatas ExtensionsInstanceRuntimeData[]

    Data set by the extension instance at runtime. Structure is documented below.

    serviceAccountEmail string

    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.

    updateTime 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[ExtensionsInstanceErrorStatus]

    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_name str

    The name of the last operation that acted on this Extension Instance

    last_operation_type str

    The type of the last operation that acted on the Extension Instance.

    name str

    (Output) The unique identifier for this configuration.

    runtime_datas Sequence[ExtensionsInstanceRuntimeData]

    Data set by the extension instance at runtime. Structure is documented below.

    service_account_email str

    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.

    createTime String

    (Output) The time at which the Extension Instance Config was created.

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

    lastOperationName String

    The name of the last operation that acted on this Extension Instance

    lastOperationType String

    The type of the last operation that acted on the Extension Instance.

    name String

    (Output) The unique identifier for this configuration.

    runtimeDatas List<Property Map>

    Data set by the extension instance at runtime. Structure is documented below.

    serviceAccountEmail String

    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.

    updateTime 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.
    The following state arguments are supported:
    Config ExtensionsInstanceConfig

    The current Config of the Extension Instance. Structure is documented below.

    CreateTime string

    (Output) The time at which the Extension Instance Config was created.

    ErrorStatuses List<ExtensionsInstanceErrorStatus>

    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.

    InstanceId string

    The ID to use for the Extension Instance, which will become the final component of the instance's name.

    LastOperationName string

    The name of the last operation that acted on this Extension Instance

    LastOperationType string

    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.

    RuntimeDatas List<ExtensionsInstanceRuntimeData>

    Data set by the extension instance at runtime. Structure is documented below.

    ServiceAccountEmail string

    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.

    UpdateTime string

    The time at which the Extension Instance was updated.

    Config ExtensionsInstanceConfigArgs

    The current Config of the Extension Instance. Structure is documented below.

    CreateTime string

    (Output) The time at which the Extension Instance Config was created.

    ErrorStatuses []ExtensionsInstanceErrorStatusArgs

    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.

    InstanceId string

    The ID to use for the Extension Instance, which will become the final component of the instance's name.

    LastOperationName string

    The name of the last operation that acted on this Extension Instance

    LastOperationType string

    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.

    RuntimeDatas []ExtensionsInstanceRuntimeDataArgs

    Data set by the extension instance at runtime. Structure is documented below.

    ServiceAccountEmail string

    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.

    UpdateTime string

    The time at which the Extension Instance was updated.

    config ExtensionsInstanceConfig

    The current Config of the Extension Instance. Structure is documented below.

    createTime String

    (Output) The time at which the Extension Instance Config was created.

    errorStatuses List<ExtensionsInstanceErrorStatus>

    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.

    instanceId String

    The ID to use for the Extension Instance, which will become the final component of the instance's name.

    lastOperationName String

    The name of the last operation that acted on this Extension Instance

    lastOperationType String

    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.

    runtimeDatas List<ExtensionsInstanceRuntimeData>

    Data set by the extension instance at runtime. Structure is documented below.

    serviceAccountEmail String

    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.

    updateTime String

    The time at which the Extension Instance was updated.

    config ExtensionsInstanceConfig

    The current Config of the Extension Instance. Structure is documented below.

    createTime string

    (Output) The time at which the Extension Instance Config was created.

    errorStatuses ExtensionsInstanceErrorStatus[]

    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.

    instanceId string

    The ID to use for the Extension Instance, which will become the final component of the instance's name.

    lastOperationName string

    The name of the last operation that acted on this Extension Instance

    lastOperationType string

    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.

    runtimeDatas ExtensionsInstanceRuntimeData[]

    Data set by the extension instance at runtime. Structure is documented below.

    serviceAccountEmail string

    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.

    updateTime string

    The time at which the Extension Instance was updated.

    config ExtensionsInstanceConfigArgs

    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[ExtensionsInstanceErrorStatusArgs]

    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_name str

    The name of the last operation that acted on this Extension Instance

    last_operation_type str

    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[ExtensionsInstanceRuntimeDataArgs]

    Data set by the extension instance at runtime. Structure is documented below.

    service_account_email str

    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.

    createTime String

    (Output) The time at which the Extension Instance Config was created.

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

    instanceId String

    The ID to use for the Extension Instance, which will become the final component of the instance's name.

    lastOperationName String

    The name of the last operation that acted on this Extension Instance

    lastOperationType String

    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.

    runtimeDatas List<Property Map>

    Data set by the extension instance at runtime. Structure is documented below.

    serviceAccountEmail String

    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.

    updateTime String

    The time at which the Extension Instance was updated.

    Supporting Types

    ExtensionsInstanceConfig, ExtensionsInstanceConfigArgs

    ExtensionRef 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

    AllowedEventTypes List<string>

    List of extension events selected by consumer that extension is allowed to emit, identified by their types.

    CreateTime string

    (Output) The time at which the Extension Instance Config was created.

    EventarcChannel string

    Fully qualified Eventarc resource name that consumers should use for event triggers.

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

    PopulatedPostinstallContent string

    (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}


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

    ExtensionRef 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

    AllowedEventTypes []string

    List of extension events selected by consumer that extension is allowed to emit, identified by their types.

    CreateTime string

    (Output) The time at which the Extension Instance Config was created.

    EventarcChannel string

    Fully qualified Eventarc resource name that consumers should use for event triggers.

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

    PopulatedPostinstallContent string

    (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}


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

    extensionRef 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

    allowedEventTypes List<String>

    List of extension events selected by consumer that extension is allowed to emit, identified by their types.

    createTime String

    (Output) The time at which the Extension Instance Config was created.

    eventarcChannel String

    Fully qualified Eventarc resource name that consumers should use for event triggers.

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

    populatedPostinstallContent String

    (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}


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

    extensionRef 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

    allowedEventTypes string[]

    List of extension events selected by consumer that extension is allowed to emit, identified by their types.

    createTime string

    (Output) The time at which the Extension Instance Config was created.

    eventarcChannel string

    Fully qualified Eventarc resource name that consumers should use for event triggers.

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

    populatedPostinstallContent string

    (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}


    systemParams {[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_types Sequence[str]

    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_content str

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

    extensionRef 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

    allowedEventTypes List<String>

    List of extension events selected by consumer that extension is allowed to emit, identified by their types.

    createTime String

    (Output) The time at which the Extension Instance Config was created.

    eventarcChannel String

    Fully qualified Eventarc resource name that consumers should use for event triggers.

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

    populatedPostinstallContent String

    (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}


    systemParams 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

    Code int

    The status code, which should be an enum value of google.rpc.Code.

    Details List<ImmutableDictionary<string, object>>

    A list of messages that carry the error details.

    Message string

    A developer-facing error message, which should be in English.

    Code int

    The status code, which should be an enum value of google.rpc.Code.

    Details []map[string]interface{}

    A list of messages that carry the error details.

    Message string

    A developer-facing error message, which should be in English.

    code Integer

    The status code, which should be an enum value of google.rpc.Code.

    details List<Map<String,Object>>

    A list of messages that carry the error details.

    message String

    A developer-facing error message, which should be in English.

    code number

    The status code, which should be an enum value of google.rpc.Code.

    details {[key: string]: any}[]

    A list of messages that carry the error details.

    message string

    A developer-facing error message, which should be in English.

    code int

    The status code, which should be an enum value of google.rpc.Code.

    details Sequence[Mapping[str, Any]]

    A list of messages that carry the error details.

    message str

    A developer-facing error message, which should be in English.

    code Number

    The status code, which should be an enum value of google.rpc.Code.

    details List<Map<Any>>

    A list of messages that carry the error details.

    message String

    A developer-facing error message, which should be in English.

    ExtensionsInstanceRuntimeData, ExtensionsInstanceRuntimeDataArgs

    FatalError ExtensionsInstanceRuntimeDataFatalError

    The fatal error state for the extension instance Structure is documented below.

    ProcessingState ExtensionsInstanceRuntimeDataProcessingState

    The processing state for the extension instance Structure is documented below.

    StateUpdateTime string

    The time of the last state update.

    FatalError ExtensionsInstanceRuntimeDataFatalError

    The fatal error state for the extension instance Structure is documented below.

    ProcessingState ExtensionsInstanceRuntimeDataProcessingState

    The processing state for the extension instance Structure is documented below.

    StateUpdateTime string

    The time of the last state update.

    fatalError ExtensionsInstanceRuntimeDataFatalError

    The fatal error state for the extension instance Structure is documented below.

    processingState ExtensionsInstanceRuntimeDataProcessingState

    The processing state for the extension instance Structure is documented below.

    stateUpdateTime String

    The time of the last state update.

    fatalError ExtensionsInstanceRuntimeDataFatalError

    The fatal error state for the extension instance Structure is documented below.

    processingState ExtensionsInstanceRuntimeDataProcessingState

    The processing state for the extension instance Structure is documented below.

    stateUpdateTime string

    The time of the last state update.

    fatal_error ExtensionsInstanceRuntimeDataFatalError

    The fatal error state for the extension instance Structure is documented below.

    processing_state ExtensionsInstanceRuntimeDataProcessingState

    The processing state for the extension instance Structure is documented below.

    state_update_time str

    The time of the last state update.

    fatalError Property Map

    The fatal error state for the extension instance Structure is documented below.

    processingState Property Map

    The processing state for the extension instance Structure is documented below.

    stateUpdateTime String

    The time of the last state update.

    ExtensionsInstanceRuntimeDataFatalError, ExtensionsInstanceRuntimeDataFatalErrorArgs

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

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

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

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

    errorMessage 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

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

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

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

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

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

    gcp logo
    Google Cloud Classic v6.66.0 published on Monday, Sep 18, 2023 by Pulumi