tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
tencentcloud.getScfLayerVersions
Start a Neo task
Explain and create a tencentcloud.getScfLayerVersions resource
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
Use this data source to query detailed information of scf layer_versions
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const layerVersions = tencentcloud.getScfLayerVersions({
layerName: "tf-test",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
layer_versions = tencentcloud.get_scf_layer_versions(layer_name="tf-test")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.GetScfLayerVersions(ctx, &tencentcloud.GetScfLayerVersionsArgs{
LayerName: "tf-test",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var layerVersions = Tencentcloud.GetScfLayerVersions.Invoke(new()
{
LayerName = "tf-test",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetScfLayerVersionsArgs;
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) {
final var layerVersions = TencentcloudFunctions.getScfLayerVersions(GetScfLayerVersionsArgs.builder()
.layerName("tf-test")
.build());
}
}
variables:
layerVersions:
fn::invoke:
function: tencentcloud:getScfLayerVersions
arguments:
layerName: tf-test
Using getScfLayerVersions
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getScfLayerVersions(args: GetScfLayerVersionsArgs, opts?: InvokeOptions): Promise<GetScfLayerVersionsResult>
function getScfLayerVersionsOutput(args: GetScfLayerVersionsOutputArgs, opts?: InvokeOptions): Output<GetScfLayerVersionsResult>def get_scf_layer_versions(compatible_runtimes: Optional[Sequence[str]] = None,
id: Optional[str] = None,
layer_name: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetScfLayerVersionsResult
def get_scf_layer_versions_output(compatible_runtimes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
id: Optional[pulumi.Input[str]] = None,
layer_name: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetScfLayerVersionsResult]func GetScfLayerVersions(ctx *Context, args *GetScfLayerVersionsArgs, opts ...InvokeOption) (*GetScfLayerVersionsResult, error)
func GetScfLayerVersionsOutput(ctx *Context, args *GetScfLayerVersionsOutputArgs, opts ...InvokeOption) GetScfLayerVersionsResultOutput> Note: This function is named GetScfLayerVersions in the Go SDK.
public static class GetScfLayerVersions
{
public static Task<GetScfLayerVersionsResult> InvokeAsync(GetScfLayerVersionsArgs args, InvokeOptions? opts = null)
public static Output<GetScfLayerVersionsResult> Invoke(GetScfLayerVersionsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetScfLayerVersionsResult> getScfLayerVersions(GetScfLayerVersionsArgs args, InvokeOptions options)
public static Output<GetScfLayerVersionsResult> getScfLayerVersions(GetScfLayerVersionsArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getScfLayerVersions:getScfLayerVersions
arguments:
# arguments dictionaryThe following arguments are supported:
- Layer
Name string - Layer name.
- Compatible
Runtimes List<string> - Compatible runtimes.
- Id string
- Result
Output stringFile - Used to save results.
- Layer
Name string - Layer name.
- Compatible
Runtimes []string - Compatible runtimes.
- Id string
- Result
Output stringFile - Used to save results.
- layer
Name String - Layer name.
- compatible
Runtimes List<String> - Compatible runtimes.
- id String
- result
Output StringFile - Used to save results.
- layer
Name string - Layer name.
- compatible
Runtimes string[] - Compatible runtimes.
- id string
- result
Output stringFile - Used to save results.
- layer_
name str - Layer name.
- compatible_
runtimes Sequence[str] - Compatible runtimes.
- id str
- result_
output_ strfile - Used to save results.
- layer
Name String - Layer name.
- compatible
Runtimes List<String> - Compatible runtimes.
- id String
- result
Output StringFile - Used to save results.
getScfLayerVersions Result
The following output properties are available:
- Id string
- Layer
Name string - Layer name.
- Layer
Versions List<GetScf Layer Versions Layer Version> - Layer version list.
- Compatible
Runtimes List<string> - Result
Output stringFile
- Id string
- Layer
Name string - Layer name.
- Layer
Versions []GetScf Layer Versions Layer Version - Layer version list.
- Compatible
Runtimes []string - Result
Output stringFile
- id String
- layer
Name String - Layer name.
- layer
Versions List<GetScf Layer Versions Layer Version> - Layer version list.
- compatible
Runtimes List<String> - result
Output StringFile
- id string
- layer
Name string - Layer name.
- layer
Versions GetScf Layer Versions Layer Version[] - Layer version list.
- compatible
Runtimes string[] - result
Output stringFile
- id str
- layer_
name str - Layer name.
- layer_
versions Sequence[GetScf Layer Versions Layer Version] - Layer version list.
- compatible_
runtimes Sequence[str] - result_
output_ strfile
- id String
- layer
Name String - Layer name.
- layer
Versions List<Property Map> - Layer version list.
- compatible
Runtimes List<String> - result
Output StringFile
Supporting Types
GetScfLayerVersionsLayerVersion
- Add
Time string - Creation time.
- Compatible
Runtimes List<string> - Runtime applicable to a versionNote: This field may return null, indicating that no valid values can be obtained.
- Description string
- Version descriptionNote: This field may return null, indicating that no valid values can be obtained.
- Layer
Name string - Layer name.
- Layer
Version double - Version number.
- License
Info string - License informationNote: This field may return null, indicating that no valid values can be obtained.
- Stamp string
- StampNote: This field may return null, indicating that no valid values can be obtained.
- Status string
- Current status of specific layer version. For valid values, please see here.
- Add
Time string - Creation time.
- Compatible
Runtimes []string - Runtime applicable to a versionNote: This field may return null, indicating that no valid values can be obtained.
- Description string
- Version descriptionNote: This field may return null, indicating that no valid values can be obtained.
- Layer
Name string - Layer name.
- Layer
Version float64 - Version number.
- License
Info string - License informationNote: This field may return null, indicating that no valid values can be obtained.
- Stamp string
- StampNote: This field may return null, indicating that no valid values can be obtained.
- Status string
- Current status of specific layer version. For valid values, please see here.
- add
Time String - Creation time.
- compatible
Runtimes List<String> - Runtime applicable to a versionNote: This field may return null, indicating that no valid values can be obtained.
- description String
- Version descriptionNote: This field may return null, indicating that no valid values can be obtained.
- layer
Name String - Layer name.
- layer
Version Double - Version number.
- license
Info String - License informationNote: This field may return null, indicating that no valid values can be obtained.
- stamp String
- StampNote: This field may return null, indicating that no valid values can be obtained.
- status String
- Current status of specific layer version. For valid values, please see here.
- add
Time string - Creation time.
- compatible
Runtimes string[] - Runtime applicable to a versionNote: This field may return null, indicating that no valid values can be obtained.
- description string
- Version descriptionNote: This field may return null, indicating that no valid values can be obtained.
- layer
Name string - Layer name.
- layer
Version number - Version number.
- license
Info string - License informationNote: This field may return null, indicating that no valid values can be obtained.
- stamp string
- StampNote: This field may return null, indicating that no valid values can be obtained.
- status string
- Current status of specific layer version. For valid values, please see here.
- add_
time str - Creation time.
- compatible_
runtimes Sequence[str] - Runtime applicable to a versionNote: This field may return null, indicating that no valid values can be obtained.
- description str
- Version descriptionNote: This field may return null, indicating that no valid values can be obtained.
- layer_
name str - Layer name.
- layer_
version float - Version number.
- license_
info str - License informationNote: This field may return null, indicating that no valid values can be obtained.
- stamp str
- StampNote: This field may return null, indicating that no valid values can be obtained.
- status str
- Current status of specific layer version. For valid values, please see here.
- add
Time String - Creation time.
- compatible
Runtimes List<String> - Runtime applicable to a versionNote: This field may return null, indicating that no valid values can be obtained.
- description String
- Version descriptionNote: This field may return null, indicating that no valid values can be obtained.
- layer
Name String - Layer name.
- layer
Version Number - Version number.
- license
Info String - License informationNote: This field may return null, indicating that no valid values can be obtained.
- stamp String
- StampNote: This field may return null, indicating that no valid values can be obtained.
- status String
- Current status of specific layer version. For valid values, please see here.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
