1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. FgsTriggerV2
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

opentelekomcloud.FgsTriggerV2

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

    Up-to-date reference of API arguments for FGS you can get at documentation portal

    Manages a V2 function graph trigger resource within OpenTelekomCloud.

    Example Usage

    Create FgsTriggerV2 Resource

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

    Constructor syntax

    new FgsTriggerV2(name: string, args: FgsTriggerV2Args, opts?: CustomResourceOptions);
    @overload
    def FgsTriggerV2(resource_name: str,
                     args: FgsTriggerV2Args,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def FgsTriggerV2(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     event_data: Optional[str] = None,
                     function_urn: Optional[str] = None,
                     type: Optional[str] = None,
                     fgs_trigger_v2_id: Optional[str] = None,
                     status: Optional[str] = None,
                     timeouts: Optional[FgsTriggerV2TimeoutsArgs] = None)
    func NewFgsTriggerV2(ctx *Context, name string, args FgsTriggerV2Args, opts ...ResourceOption) (*FgsTriggerV2, error)
    public FgsTriggerV2(string name, FgsTriggerV2Args args, CustomResourceOptions? opts = null)
    public FgsTriggerV2(String name, FgsTriggerV2Args args)
    public FgsTriggerV2(String name, FgsTriggerV2Args args, CustomResourceOptions options)
    
    type: opentelekomcloud:FgsTriggerV2
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args FgsTriggerV2Args
    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 FgsTriggerV2Args
    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 FgsTriggerV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FgsTriggerV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FgsTriggerV2Args
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

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

    var fgsTriggerV2Resource = new Opentelekomcloud.FgsTriggerV2("fgsTriggerV2Resource", new()
    {
        EventData = "string",
        FunctionUrn = "string",
        Type = "string",
        FgsTriggerV2Id = "string",
        Status = "string",
        Timeouts = new Opentelekomcloud.Inputs.FgsTriggerV2TimeoutsArgs
        {
            Delete = "string",
            Update = "string",
        },
    });
    
    example, err := opentelekomcloud.NewFgsTriggerV2(ctx, "fgsTriggerV2Resource", &opentelekomcloud.FgsTriggerV2Args{
    	EventData:      pulumi.String("string"),
    	FunctionUrn:    pulumi.String("string"),
    	Type:           pulumi.String("string"),
    	FgsTriggerV2Id: pulumi.String("string"),
    	Status:         pulumi.String("string"),
    	Timeouts: &opentelekomcloud.FgsTriggerV2TimeoutsArgs{
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var fgsTriggerV2Resource = new FgsTriggerV2("fgsTriggerV2Resource", FgsTriggerV2Args.builder()
        .eventData("string")
        .functionUrn("string")
        .type("string")
        .fgsTriggerV2Id("string")
        .status("string")
        .timeouts(FgsTriggerV2TimeoutsArgs.builder()
            .delete("string")
            .update("string")
            .build())
        .build());
    
    fgs_trigger_v2_resource = opentelekomcloud.FgsTriggerV2("fgsTriggerV2Resource",
        event_data="string",
        function_urn="string",
        type="string",
        fgs_trigger_v2_id="string",
        status="string",
        timeouts={
            "delete": "string",
            "update": "string",
        })
    
    const fgsTriggerV2Resource = new opentelekomcloud.FgsTriggerV2("fgsTriggerV2Resource", {
        eventData: "string",
        functionUrn: "string",
        type: "string",
        fgsTriggerV2Id: "string",
        status: "string",
        timeouts: {
            "delete": "string",
            update: "string",
        },
    });
    
    type: opentelekomcloud:FgsTriggerV2
    properties:
        eventData: string
        fgsTriggerV2Id: string
        functionUrn: string
        status: string
        timeouts:
            delete: string
            update: string
        type: string
    

    FgsTriggerV2 Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The FgsTriggerV2 resource accepts the following input properties:

    EventData string

    Specifies the detailed configuration of the function trigger event. For various types of trigger parameter configurations, please refer to the documentation.

    Please refer to the documentation for updatable fields.

    FunctionUrn string
    Specifies the function URN to which the function trigger belongs.
    Type string

    Specifies the type of the function trigger. The valid values are TIMER, APIG, CTS, DDS, DEDICATEDGATEWAY, etc.

    For more available values, please refer to the documentation table 3.

    FgsTriggerV2Id string
    resource ID in UUID format.
    Status string

    Specifies the status of the function trigger. The valid values are ACTIVE and DISABLED. For DDS and Kafka triggers the default value is DISABLED, for other triggers= the default value is ACTIVE.

    Currently, only some triggers support setting the DISABLED value, such as TIMER, DDS, DMS, KAFKA and LTS. For more details, please refer to the documentation.

    Timeouts FgsTriggerV2Timeouts
    EventData string

    Specifies the detailed configuration of the function trigger event. For various types of trigger parameter configurations, please refer to the documentation.

    Please refer to the documentation for updatable fields.

    FunctionUrn string
    Specifies the function URN to which the function trigger belongs.
    Type string

    Specifies the type of the function trigger. The valid values are TIMER, APIG, CTS, DDS, DEDICATEDGATEWAY, etc.

    For more available values, please refer to the documentation table 3.

    FgsTriggerV2Id string
    resource ID in UUID format.
    Status string

    Specifies the status of the function trigger. The valid values are ACTIVE and DISABLED. For DDS and Kafka triggers the default value is DISABLED, for other triggers= the default value is ACTIVE.

    Currently, only some triggers support setting the DISABLED value, such as TIMER, DDS, DMS, KAFKA and LTS. For more details, please refer to the documentation.

    Timeouts FgsTriggerV2TimeoutsArgs
    eventData String

    Specifies the detailed configuration of the function trigger event. For various types of trigger parameter configurations, please refer to the documentation.

    Please refer to the documentation for updatable fields.

    functionUrn String
    Specifies the function URN to which the function trigger belongs.
    type String

    Specifies the type of the function trigger. The valid values are TIMER, APIG, CTS, DDS, DEDICATEDGATEWAY, etc.

    For more available values, please refer to the documentation table 3.

    fgsTriggerV2Id String
    resource ID in UUID format.
    status String

    Specifies the status of the function trigger. The valid values are ACTIVE and DISABLED. For DDS and Kafka triggers the default value is DISABLED, for other triggers= the default value is ACTIVE.

    Currently, only some triggers support setting the DISABLED value, such as TIMER, DDS, DMS, KAFKA and LTS. For more details, please refer to the documentation.

    timeouts FgsTriggerV2Timeouts
    eventData string

    Specifies the detailed configuration of the function trigger event. For various types of trigger parameter configurations, please refer to the documentation.

    Please refer to the documentation for updatable fields.

    functionUrn string
    Specifies the function URN to which the function trigger belongs.
    type string

    Specifies the type of the function trigger. The valid values are TIMER, APIG, CTS, DDS, DEDICATEDGATEWAY, etc.

    For more available values, please refer to the documentation table 3.

    fgsTriggerV2Id string
    resource ID in UUID format.
    status string

    Specifies the status of the function trigger. The valid values are ACTIVE and DISABLED. For DDS and Kafka triggers the default value is DISABLED, for other triggers= the default value is ACTIVE.

    Currently, only some triggers support setting the DISABLED value, such as TIMER, DDS, DMS, KAFKA and LTS. For more details, please refer to the documentation.

    timeouts FgsTriggerV2Timeouts
    event_data str

    Specifies the detailed configuration of the function trigger event. For various types of trigger parameter configurations, please refer to the documentation.

    Please refer to the documentation for updatable fields.

    function_urn str
    Specifies the function URN to which the function trigger belongs.
    type str

    Specifies the type of the function trigger. The valid values are TIMER, APIG, CTS, DDS, DEDICATEDGATEWAY, etc.

    For more available values, please refer to the documentation table 3.

    fgs_trigger_v2_id str
    resource ID in UUID format.
    status str

    Specifies the status of the function trigger. The valid values are ACTIVE and DISABLED. For DDS and Kafka triggers the default value is DISABLED, for other triggers= the default value is ACTIVE.

    Currently, only some triggers support setting the DISABLED value, such as TIMER, DDS, DMS, KAFKA and LTS. For more details, please refer to the documentation.

    timeouts FgsTriggerV2TimeoutsArgs
    eventData String

    Specifies the detailed configuration of the function trigger event. For various types of trigger parameter configurations, please refer to the documentation.

    Please refer to the documentation for updatable fields.

    functionUrn String
    Specifies the function URN to which the function trigger belongs.
    type String

    Specifies the type of the function trigger. The valid values are TIMER, APIG, CTS, DDS, DEDICATEDGATEWAY, etc.

    For more available values, please refer to the documentation table 3.

    fgsTriggerV2Id String
    resource ID in UUID format.
    status String

    Specifies the status of the function trigger. The valid values are ACTIVE and DISABLED. For DDS and Kafka triggers the default value is DISABLED, for other triggers= the default value is ACTIVE.

    Currently, only some triggers support setting the DISABLED value, such as TIMER, DDS, DMS, KAFKA and LTS. For more details, please refer to the documentation.

    timeouts Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the FgsTriggerV2 resource produces the following output properties:

    CreatedAt string
    The creation time of the function trigger.
    Id string
    The provider-assigned unique ID for this managed resource.
    Region string
    The region where the function trigger is located.
    UpdatedAt string
    The latest update time of the function trigger.
    CreatedAt string
    The creation time of the function trigger.
    Id string
    The provider-assigned unique ID for this managed resource.
    Region string
    The region where the function trigger is located.
    UpdatedAt string
    The latest update time of the function trigger.
    createdAt String
    The creation time of the function trigger.
    id String
    The provider-assigned unique ID for this managed resource.
    region String
    The region where the function trigger is located.
    updatedAt String
    The latest update time of the function trigger.
    createdAt string
    The creation time of the function trigger.
    id string
    The provider-assigned unique ID for this managed resource.
    region string
    The region where the function trigger is located.
    updatedAt string
    The latest update time of the function trigger.
    created_at str
    The creation time of the function trigger.
    id str
    The provider-assigned unique ID for this managed resource.
    region str
    The region where the function trigger is located.
    updated_at str
    The latest update time of the function trigger.
    createdAt String
    The creation time of the function trigger.
    id String
    The provider-assigned unique ID for this managed resource.
    region String
    The region where the function trigger is located.
    updatedAt String
    The latest update time of the function trigger.

    Look up Existing FgsTriggerV2 Resource

    Get an existing FgsTriggerV2 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?: FgsTriggerV2State, opts?: CustomResourceOptions): FgsTriggerV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created_at: Optional[str] = None,
            event_data: Optional[str] = None,
            fgs_trigger_v2_id: Optional[str] = None,
            function_urn: Optional[str] = None,
            region: Optional[str] = None,
            status: Optional[str] = None,
            timeouts: Optional[FgsTriggerV2TimeoutsArgs] = None,
            type: Optional[str] = None,
            updated_at: Optional[str] = None) -> FgsTriggerV2
    func GetFgsTriggerV2(ctx *Context, name string, id IDInput, state *FgsTriggerV2State, opts ...ResourceOption) (*FgsTriggerV2, error)
    public static FgsTriggerV2 Get(string name, Input<string> id, FgsTriggerV2State? state, CustomResourceOptions? opts = null)
    public static FgsTriggerV2 get(String name, Output<String> id, FgsTriggerV2State state, CustomResourceOptions options)
    resources:  _:    type: opentelekomcloud:FgsTriggerV2    get:      id: ${id}
    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:
    CreatedAt string
    The creation time of the function trigger.
    EventData string

    Specifies the detailed configuration of the function trigger event. For various types of trigger parameter configurations, please refer to the documentation.

    Please refer to the documentation for updatable fields.

    FgsTriggerV2Id string
    resource ID in UUID format.
    FunctionUrn string
    Specifies the function URN to which the function trigger belongs.
    Region string
    The region where the function trigger is located.
    Status string

    Specifies the status of the function trigger. The valid values are ACTIVE and DISABLED. For DDS and Kafka triggers the default value is DISABLED, for other triggers= the default value is ACTIVE.

    Currently, only some triggers support setting the DISABLED value, such as TIMER, DDS, DMS, KAFKA and LTS. For more details, please refer to the documentation.

    Timeouts FgsTriggerV2Timeouts
    Type string

    Specifies the type of the function trigger. The valid values are TIMER, APIG, CTS, DDS, DEDICATEDGATEWAY, etc.

    For more available values, please refer to the documentation table 3.

    UpdatedAt string
    The latest update time of the function trigger.
    CreatedAt string
    The creation time of the function trigger.
    EventData string

    Specifies the detailed configuration of the function trigger event. For various types of trigger parameter configurations, please refer to the documentation.

    Please refer to the documentation for updatable fields.

    FgsTriggerV2Id string
    resource ID in UUID format.
    FunctionUrn string
    Specifies the function URN to which the function trigger belongs.
    Region string
    The region where the function trigger is located.
    Status string

    Specifies the status of the function trigger. The valid values are ACTIVE and DISABLED. For DDS and Kafka triggers the default value is DISABLED, for other triggers= the default value is ACTIVE.

    Currently, only some triggers support setting the DISABLED value, such as TIMER, DDS, DMS, KAFKA and LTS. For more details, please refer to the documentation.

    Timeouts FgsTriggerV2TimeoutsArgs
    Type string

    Specifies the type of the function trigger. The valid values are TIMER, APIG, CTS, DDS, DEDICATEDGATEWAY, etc.

    For more available values, please refer to the documentation table 3.

    UpdatedAt string
    The latest update time of the function trigger.
    createdAt String
    The creation time of the function trigger.
    eventData String

    Specifies the detailed configuration of the function trigger event. For various types of trigger parameter configurations, please refer to the documentation.

    Please refer to the documentation for updatable fields.

    fgsTriggerV2Id String
    resource ID in UUID format.
    functionUrn String
    Specifies the function URN to which the function trigger belongs.
    region String
    The region where the function trigger is located.
    status String

    Specifies the status of the function trigger. The valid values are ACTIVE and DISABLED. For DDS and Kafka triggers the default value is DISABLED, for other triggers= the default value is ACTIVE.

    Currently, only some triggers support setting the DISABLED value, such as TIMER, DDS, DMS, KAFKA and LTS. For more details, please refer to the documentation.

    timeouts FgsTriggerV2Timeouts
    type String

    Specifies the type of the function trigger. The valid values are TIMER, APIG, CTS, DDS, DEDICATEDGATEWAY, etc.

    For more available values, please refer to the documentation table 3.

    updatedAt String
    The latest update time of the function trigger.
    createdAt string
    The creation time of the function trigger.
    eventData string

    Specifies the detailed configuration of the function trigger event. For various types of trigger parameter configurations, please refer to the documentation.

    Please refer to the documentation for updatable fields.

    fgsTriggerV2Id string
    resource ID in UUID format.
    functionUrn string
    Specifies the function URN to which the function trigger belongs.
    region string
    The region where the function trigger is located.
    status string

    Specifies the status of the function trigger. The valid values are ACTIVE and DISABLED. For DDS and Kafka triggers the default value is DISABLED, for other triggers= the default value is ACTIVE.

    Currently, only some triggers support setting the DISABLED value, such as TIMER, DDS, DMS, KAFKA and LTS. For more details, please refer to the documentation.

    timeouts FgsTriggerV2Timeouts
    type string

    Specifies the type of the function trigger. The valid values are TIMER, APIG, CTS, DDS, DEDICATEDGATEWAY, etc.

    For more available values, please refer to the documentation table 3.

    updatedAt string
    The latest update time of the function trigger.
    created_at str
    The creation time of the function trigger.
    event_data str

    Specifies the detailed configuration of the function trigger event. For various types of trigger parameter configurations, please refer to the documentation.

    Please refer to the documentation for updatable fields.

    fgs_trigger_v2_id str
    resource ID in UUID format.
    function_urn str
    Specifies the function URN to which the function trigger belongs.
    region str
    The region where the function trigger is located.
    status str

    Specifies the status of the function trigger. The valid values are ACTIVE and DISABLED. For DDS and Kafka triggers the default value is DISABLED, for other triggers= the default value is ACTIVE.

    Currently, only some triggers support setting the DISABLED value, such as TIMER, DDS, DMS, KAFKA and LTS. For more details, please refer to the documentation.

    timeouts FgsTriggerV2TimeoutsArgs
    type str

    Specifies the type of the function trigger. The valid values are TIMER, APIG, CTS, DDS, DEDICATEDGATEWAY, etc.

    For more available values, please refer to the documentation table 3.

    updated_at str
    The latest update time of the function trigger.
    createdAt String
    The creation time of the function trigger.
    eventData String

    Specifies the detailed configuration of the function trigger event. For various types of trigger parameter configurations, please refer to the documentation.

    Please refer to the documentation for updatable fields.

    fgsTriggerV2Id String
    resource ID in UUID format.
    functionUrn String
    Specifies the function URN to which the function trigger belongs.
    region String
    The region where the function trigger is located.
    status String

    Specifies the status of the function trigger. The valid values are ACTIVE and DISABLED. For DDS and Kafka triggers the default value is DISABLED, for other triggers= the default value is ACTIVE.

    Currently, only some triggers support setting the DISABLED value, such as TIMER, DDS, DMS, KAFKA and LTS. For more details, please refer to the documentation.

    timeouts Property Map
    type String

    Specifies the type of the function trigger. The valid values are TIMER, APIG, CTS, DDS, DEDICATEDGATEWAY, etc.

    For more available values, please refer to the documentation table 3.

    updatedAt String
    The latest update time of the function trigger.

    Supporting Types

    FgsTriggerV2Timeouts, FgsTriggerV2TimeoutsArgs

    Delete string
    Update string
    Delete string
    Update string
    delete String
    update String
    delete string
    update string
    delete str
    update str
    delete String
    update String

    Import

    Function trigger can be imported using the function_urn, type and id, separated by the slashes (/), e.g.

    bash

    $ pulumi import opentelekomcloud:index/fgsTriggerV2:FgsTriggerV2 test <function_urn>/<type>/<id>
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud logo
    opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud