published on Thursday, Sep 24, 2026 by opentelekomcloud
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:
- 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 stringVersion V2Id - 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 stringVersion V2Id - 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_ stringversion_ v2_ id - 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 StringVersion V2Id - 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 stringVersion V2Id - 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_ strversion_ v2_ id - 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 StringVersion V2Id - 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:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
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) -> FgsPublishVersionV2func 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.
- Digest string
- Specifies the digest of the function code. Changing this will create a new resource.
- Fgs
Publish stringVersion V2Id - 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.
- Fgs
Publish stringVersion V2Id - 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.
- fgs_
publish_ stringversion_ v2_ id - 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.
- fgs
Publish StringVersion V2Id - 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.
- fgs
Publish stringVersion V2Id - 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 str
- Specifies the digest of the function code. Changing this will create a new resource.
- fgs_
publish_ strversion_ v2_ id - 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.
- fgs
Publish StringVersion V2Id - 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.
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloudTerraform Provider.
published on Thursday, Sep 24, 2026 by opentelekomcloud