1. Registry
  2. Packages
  3. Opentelekomcloud Provider
  4. API Docs
  5. FgsPublishVersionV2
Viewing docs for opentelekomcloud 1.37.9
published on Thursday, Sep 24, 2026 by opentelekomcloud
Viewing docs for opentelekomcloud 1.37.9
published on Thursday, Sep 24, 2026 by opentelekomcloud

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

    Manages the publishing of a function version within T-Cloud Public (formerly OpenTelekomCloud).

    Example Usage

    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    configuration:
      functionUrn:
        type: dynamic
    resources:
      test:
        type: opentelekomcloud:FgsPublishVersionV2
        properties:
          functionUrn: ${functionUrn}
          description: test version
    
    Example coming soon!
    

    Create FgsPublishVersionV2 Resource

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

    Constructor syntax

    new FgsPublishVersionV2(name: string, args: FgsPublishVersionV2Args, opts?: CustomResourceOptions);
    @overload
    def FgsPublishVersionV2(resource_name: str,
                            args: FgsPublishVersionV2Args,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def FgsPublishVersionV2(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            function_urn: Optional[str] = None,
                            version: Optional[str] = None,
                            digest: Optional[str] = None,
                            fgs_publish_version_v2_id: Optional[str] = None)
    func NewFgsPublishVersionV2(ctx *Context, name string, args FgsPublishVersionV2Args, opts ...ResourceOption) (*FgsPublishVersionV2, error)
    public FgsPublishVersionV2(string name, FgsPublishVersionV2Args args, CustomResourceOptions? opts = null)
    public FgsPublishVersionV2(String name, FgsPublishVersionV2Args args)
    public FgsPublishVersionV2(String name, FgsPublishVersionV2Args args, CustomResourceOptions options)
    
    type: opentelekomcloud:FgsPublishVersionV2
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "opentelekomcloud_fgs_publish_version_v2" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args FgsPublishVersionV2Args
    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 FgsPublishVersionV2Args
    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 FgsPublishVersionV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FgsPublishVersionV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FgsPublishVersionV2Args
    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 fgsPublishVersionV2Resource = new Opentelekomcloud.FgsPublishVersionV2("fgsPublishVersionV2Resource", new()
    {
        FunctionUrn = "string",
        Version = "string",
        Digest = "string",
        FgsPublishVersionV2Id = "string",
    });
    
    example, err := opentelekomcloud.NewFgsPublishVersionV2(ctx, "fgsPublishVersionV2Resource", &opentelekomcloud.FgsPublishVersionV2Args{
    	FunctionUrn:           pulumi.String("string"),
    	Version:               pulumi.String("string"),
    	Digest:                pulumi.String("string"),
    	FgsPublishVersionV2Id: pulumi.String("string"),
    })
    
    resource "opentelekomcloud_fgs_publish_version_v2" "fgsPublishVersionV2Resource" {
      lifecycle {
        create_before_destroy = true
      }
      function_urn              = "string"
      version                   = "string"
      digest                    = "string"
      fgs_publish_version_v2_id = "string"
    }
    
    var fgsPublishVersionV2Resource = new FgsPublishVersionV2("fgsPublishVersionV2Resource", FgsPublishVersionV2Args.builder()
        .functionUrn("string")
        .version("string")
        .digest("string")
        .fgsPublishVersionV2Id("string")
        .build());
    
    fgs_publish_version_v2_resource = opentelekomcloud.FgsPublishVersionV2("fgsPublishVersionV2Resource",
        function_urn="string",
        version="string",
        digest="string",
        fgs_publish_version_v2_id="string")
    
    const fgsPublishVersionV2Resource = new opentelekomcloud.FgsPublishVersionV2("fgsPublishVersionV2Resource", {
        functionUrn: "string",
        version: "string",
        digest: "string",
        fgsPublishVersionV2Id: "string",
    });
    
    type: opentelekomcloud:FgsPublishVersionV2
    properties:
        digest: string
        fgsPublishVersionV2Id: string
        functionUrn: string
        version: string
    

    FgsPublishVersionV2 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 FgsPublishVersionV2 resource accepts the following input properties:

    FunctionUrn string
    Specifies the URN of the function. Changing this will create a new resource.
    Version string
    Specifies the version of the function. Changing this will create a new resource.
    Digest string
    Specifies the digest of the function code. Changing this will create a new resource.
    FgsPublishVersionV2Id string
    Specifies a resource ID in the format of function_urn/version.
    FunctionUrn string
    Specifies the URN of the function. Changing this will create a new resource.
    Version string
    Specifies the version of the function. Changing this will create a new resource.
    Digest string
    Specifies the digest of the function code. Changing this will create a new resource.
    FgsPublishVersionV2Id string
    Specifies a resource ID in the format of function_urn/version.
    function_urn string
    Specifies the URN of the function. Changing this will create a new resource.
    version string
    Specifies the version of the function. Changing this will create a new resource.
    digest string
    Specifies the digest of the function code. Changing this will create a new resource.
    fgs_publish_version_v2_id string
    Specifies a resource ID in the format of function_urn/version.
    functionUrn String
    Specifies the URN of the function. Changing this will create a new resource.
    version String
    Specifies the version of the function. Changing this will create a new resource.
    digest String
    Specifies the digest of the function code. Changing this will create a new resource.
    fgsPublishVersionV2Id String
    Specifies a resource ID in the format of function_urn/version.
    functionUrn string
    Specifies the URN of the function. Changing this will create a new resource.
    version string
    Specifies the version of the function. Changing this will create a new resource.
    digest string
    Specifies the digest of the function code. Changing this will create a new resource.
    fgsPublishVersionV2Id string
    Specifies a resource ID in the format of function_urn/version.
    function_urn str
    Specifies the URN of the function. Changing this will create a new resource.
    version str
    Specifies the version of the function. Changing this will create a new resource.
    digest str
    Specifies the digest of the function code. Changing this will create a new resource.
    fgs_publish_version_v2_id str
    Specifies a resource ID in the format of function_urn/version.
    functionUrn String
    Specifies the URN of the function. Changing this will create a new resource.
    version String
    Specifies the version of the function. Changing this will create a new resource.
    digest String
    Specifies the digest of the function code. Changing this will create a new resource.
    fgsPublishVersionV2Id String
    Specifies a resource ID in the format of function_urn/version.

    Outputs

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

    FuncName string
    Specifies the name of the function.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastModified string
    Specifies the last modified time of the version.
    FuncName string
    Specifies the name of the function.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastModified string
    Specifies the last modified time of the version.
    func_name string
    Specifies the name of the function.
    id string
    The provider-assigned unique ID for this managed resource.
    last_modified string
    Specifies the last modified time of the version.
    funcName String
    Specifies the name of the function.
    id String
    The provider-assigned unique ID for this managed resource.
    lastModified String
    Specifies the last modified time of the version.
    funcName string
    Specifies the name of the function.
    id string
    The provider-assigned unique ID for this managed resource.
    lastModified string
    Specifies the last modified time of the version.
    func_name str
    Specifies the name of the function.
    id str
    The provider-assigned unique ID for this managed resource.
    last_modified str
    Specifies the last modified time of the version.
    funcName String
    Specifies the name of the function.
    id String
    The provider-assigned unique ID for this managed resource.
    lastModified String
    Specifies the last modified time of the version.

    Look up Existing FgsPublishVersionV2 Resource

    Get an existing FgsPublishVersionV2 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?: FgsPublishVersionV2State, opts?: CustomResourceOptions): FgsPublishVersionV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            digest: Optional[str] = None,
            fgs_publish_version_v2_id: Optional[str] = None,
            func_name: Optional[str] = None,
            function_urn: Optional[str] = None,
            last_modified: Optional[str] = None,
            version: Optional[str] = None) -> FgsPublishVersionV2
    func GetFgsPublishVersionV2(ctx *Context, name string, id IDInput, state *FgsPublishVersionV2State, opts ...ResourceOption) (*FgsPublishVersionV2, error)
    public static FgsPublishVersionV2 Get(string name, Input<string> id, FgsPublishVersionV2State? state, CustomResourceOptions? opts = null)
    public static FgsPublishVersionV2 get(String name, Output<String> id, FgsPublishVersionV2State state, CustomResourceOptions options)
    resources:  _:    type: opentelekomcloud:FgsPublishVersionV2    get:      id: ${id}
    import {
      to = opentelekomcloud_fgs_publish_version_v2.example
      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:
    Digest string
    Specifies the digest of the function code. Changing this will create a new resource.
    FgsPublishVersionV2Id string
    Specifies a resource ID in the format of function_urn/version.
    FuncName string
    Specifies the name of the function.
    FunctionUrn string
    Specifies the URN of the function. Changing this will create a new resource.
    LastModified string
    Specifies the last modified time of the version.
    Version string
    Specifies the version of the function. Changing this will create a new resource.
    Digest string
    Specifies the digest of the function code. Changing this will create a new resource.
    FgsPublishVersionV2Id string
    Specifies a resource ID in the format of function_urn/version.
    FuncName string
    Specifies the name of the function.
    FunctionUrn string
    Specifies the URN of the function. Changing this will create a new resource.
    LastModified string
    Specifies the last modified time of the version.
    Version string
    Specifies the version of the function. Changing this will create a new resource.
    digest string
    Specifies the digest of the function code. Changing this will create a new resource.
    fgs_publish_version_v2_id string
    Specifies a resource ID in the format of function_urn/version.
    func_name string
    Specifies the name of the function.
    function_urn string
    Specifies the URN of the function. Changing this will create a new resource.
    last_modified string
    Specifies the last modified time of the version.
    version string
    Specifies the version of the function. Changing this will create a new resource.
    digest String
    Specifies the digest of the function code. Changing this will create a new resource.
    fgsPublishVersionV2Id String
    Specifies a resource ID in the format of function_urn/version.
    funcName String
    Specifies the name of the function.
    functionUrn String
    Specifies the URN of the function. Changing this will create a new resource.
    lastModified String
    Specifies the last modified time of the version.
    version String
    Specifies the version of the function. Changing this will create a new resource.
    digest string
    Specifies the digest of the function code. Changing this will create a new resource.
    fgsPublishVersionV2Id string
    Specifies a resource ID in the format of function_urn/version.
    funcName string
    Specifies the name of the function.
    functionUrn string
    Specifies the URN of the function. Changing this will create a new resource.
    lastModified string
    Specifies the last modified time of the version.
    version string
    Specifies the version of the function. Changing this will create a new resource.
    digest str
    Specifies the digest of the function code. Changing this will create a new resource.
    fgs_publish_version_v2_id str
    Specifies a resource ID in the format of function_urn/version.
    func_name str
    Specifies the name of the function.
    function_urn str
    Specifies the URN of the function. Changing this will create a new resource.
    last_modified str
    Specifies the last modified time of the version.
    version str
    Specifies the version of the function. Changing this will create a new resource.
    digest String
    Specifies the digest of the function code. Changing this will create a new resource.
    fgsPublishVersionV2Id String
    Specifies a resource ID in the format of function_urn/version.
    funcName String
    Specifies the name of the function.
    functionUrn String
    Specifies the URN of the function. Changing this will create a new resource.
    lastModified String
    Specifies the last modified time of the version.
    version String
    Specifies the version of the function. Changing this will create a new resource.

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    Viewing docs for opentelekomcloud 1.37.9
    published on Thursday, Sep 24, 2026 by opentelekomcloud

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial