1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getScfLayers
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack

tencentcloud.getScfLayers

Explore with Pulumi AI

tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack

Use this data source to query detailed information of scf layers

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";

const layers = tencentcloud.getScfLayers({});
Copy
import pulumi
import pulumi_tencentcloud as tencentcloud

layers = tencentcloud.get_scf_layers()
Copy
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.GetScfLayers(ctx, &tencentcloud.GetScfLayersArgs{}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;

return await Deployment.RunAsync(() => 
{
    var layers = Tencentcloud.GetScfLayers.Invoke();

});
Copy
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.GetScfLayersArgs;
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 layers = TencentcloudFunctions.getScfLayers();

    }
}
Copy
variables:
  layers:
    fn::invoke:
      function: tencentcloud:getScfLayers
      arguments: {}
Copy

Using getScfLayers

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 getScfLayers(args: GetScfLayersArgs, opts?: InvokeOptions): Promise<GetScfLayersResult>
function getScfLayersOutput(args: GetScfLayersOutputArgs, opts?: InvokeOptions): Output<GetScfLayersResult>
Copy
def get_scf_layers(compatible_runtime: Optional[str] = None,
                   id: Optional[str] = None,
                   result_output_file: Optional[str] = None,
                   search_key: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetScfLayersResult
def get_scf_layers_output(compatible_runtime: Optional[pulumi.Input[str]] = None,
                   id: Optional[pulumi.Input[str]] = None,
                   result_output_file: Optional[pulumi.Input[str]] = None,
                   search_key: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetScfLayersResult]
Copy
func GetScfLayers(ctx *Context, args *GetScfLayersArgs, opts ...InvokeOption) (*GetScfLayersResult, error)
func GetScfLayersOutput(ctx *Context, args *GetScfLayersOutputArgs, opts ...InvokeOption) GetScfLayersResultOutput
Copy

> Note: This function is named GetScfLayers in the Go SDK.

public static class GetScfLayers 
{
    public static Task<GetScfLayersResult> InvokeAsync(GetScfLayersArgs args, InvokeOptions? opts = null)
    public static Output<GetScfLayersResult> Invoke(GetScfLayersInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetScfLayersResult> getScfLayers(GetScfLayersArgs args, InvokeOptions options)
public static Output<GetScfLayersResult> getScfLayers(GetScfLayersArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: tencentcloud:index/getScfLayers:getScfLayers
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CompatibleRuntime string
Compatible runtimes.
Id string
ResultOutputFile string
Used to save results.
SearchKey string
Query key, which fuzzily matches the name.
CompatibleRuntime string
Compatible runtimes.
Id string
ResultOutputFile string
Used to save results.
SearchKey string
Query key, which fuzzily matches the name.
compatibleRuntime String
Compatible runtimes.
id String
resultOutputFile String
Used to save results.
searchKey String
Query key, which fuzzily matches the name.
compatibleRuntime string
Compatible runtimes.
id string
resultOutputFile string
Used to save results.
searchKey string
Query key, which fuzzily matches the name.
compatible_runtime str
Compatible runtimes.
id str
result_output_file str
Used to save results.
search_key str
Query key, which fuzzily matches the name.
compatibleRuntime String
Compatible runtimes.
id String
resultOutputFile String
Used to save results.
searchKey String
Query key, which fuzzily matches the name.

getScfLayers Result

The following output properties are available:

Supporting Types

GetScfLayersLayer

AddTime This property is required. string
Creation time.
CompatibleRuntimes This property is required. List<string>
Runtime applicable to a versionNote: This field may return null, indicating that no valid values can be obtained.
Description This property is required. string
Version descriptionNote: This field may return null, indicating that no valid values can be obtained.
LayerName This property is required. string
Layer name.
LayerVersion This property is required. double
Version number.
LicenseInfo This property is required. string
License informationNote: This field may return null, indicating that no valid values can be obtained.
Stamp This property is required. string
StampNote: This field may return null, indicating that no valid values can be obtained.
Status This property is required. string
Current status of specific layer version. For valid values, please see here.
AddTime This property is required. string
Creation time.
CompatibleRuntimes This property is required. []string
Runtime applicable to a versionNote: This field may return null, indicating that no valid values can be obtained.
Description This property is required. string
Version descriptionNote: This field may return null, indicating that no valid values can be obtained.
LayerName This property is required. string
Layer name.
LayerVersion This property is required. float64
Version number.
LicenseInfo This property is required. string
License informationNote: This field may return null, indicating that no valid values can be obtained.
Stamp This property is required. string
StampNote: This field may return null, indicating that no valid values can be obtained.
Status This property is required. string
Current status of specific layer version. For valid values, please see here.
addTime This property is required. String
Creation time.
compatibleRuntimes This property is required. List<String>
Runtime applicable to a versionNote: This field may return null, indicating that no valid values can be obtained.
description This property is required. String
Version descriptionNote: This field may return null, indicating that no valid values can be obtained.
layerName This property is required. String
Layer name.
layerVersion This property is required. Double
Version number.
licenseInfo This property is required. String
License informationNote: This field may return null, indicating that no valid values can be obtained.
stamp This property is required. String
StampNote: This field may return null, indicating that no valid values can be obtained.
status This property is required. String
Current status of specific layer version. For valid values, please see here.
addTime This property is required. string
Creation time.
compatibleRuntimes This property is required. string[]
Runtime applicable to a versionNote: This field may return null, indicating that no valid values can be obtained.
description This property is required. string
Version descriptionNote: This field may return null, indicating that no valid values can be obtained.
layerName This property is required. string
Layer name.
layerVersion This property is required. number
Version number.
licenseInfo This property is required. string
License informationNote: This field may return null, indicating that no valid values can be obtained.
stamp This property is required. string
StampNote: This field may return null, indicating that no valid values can be obtained.
status This property is required. string
Current status of specific layer version. For valid values, please see here.
add_time This property is required. str
Creation time.
compatible_runtimes This property is required. Sequence[str]
Runtime applicable to a versionNote: This field may return null, indicating that no valid values can be obtained.
description This property is required. str
Version descriptionNote: This field may return null, indicating that no valid values can be obtained.
layer_name This property is required. str
Layer name.
layer_version This property is required. float
Version number.
license_info This property is required. str
License informationNote: This field may return null, indicating that no valid values can be obtained.
stamp This property is required. str
StampNote: This field may return null, indicating that no valid values can be obtained.
status This property is required. str
Current status of specific layer version. For valid values, please see here.
addTime This property is required. String
Creation time.
compatibleRuntimes This property is required. List<String>
Runtime applicable to a versionNote: This field may return null, indicating that no valid values can be obtained.
description This property is required. String
Version descriptionNote: This field may return null, indicating that no valid values can be obtained.
layerName This property is required. String
Layer name.
layerVersion This property is required. Number
Version number.
licenseInfo This property is required. String
License informationNote: This field may return null, indicating that no valid values can be obtained.
stamp This property is required. String
StampNote: This field may return null, indicating that no valid values can be obtained.
status This property is required. 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 tencentcloud Terraform Provider.
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack