tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getScfLayers
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 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({});
import pulumi
import pulumi_tencentcloud as tencentcloud
layers = tencentcloud.get_scf_layers()
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
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var layers = Tencentcloud.GetScfLayers.Invoke();
});
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();
}
}
variables:
layers:
fn::invoke:
function: tencentcloud:getScfLayers
arguments: {}
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>
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]
func GetScfLayers(ctx *Context, args *GetScfLayersArgs, opts ...InvokeOption) (*GetScfLayersResult, error)
func GetScfLayersOutput(ctx *Context, args *GetScfLayersOutputArgs, opts ...InvokeOption) GetScfLayersResultOutput
> 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)
}
public static CompletableFuture<GetScfLayersResult> getScfLayers(GetScfLayersArgs args, InvokeOptions options)
public static Output<GetScfLayersResult> getScfLayers(GetScfLayersArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getScfLayers:getScfLayers
arguments:
# arguments dictionary
The following arguments are supported:
- Compatible
Runtime string - Compatible runtimes.
- Id string
- Result
Output stringFile - Used to save results.
- Search
Key string - Query key, which fuzzily matches the name.
- Compatible
Runtime string - Compatible runtimes.
- Id string
- Result
Output stringFile - Used to save results.
- Search
Key string - Query key, which fuzzily matches the name.
- compatible
Runtime String - Compatible runtimes.
- id String
- result
Output StringFile - Used to save results.
- search
Key String - Query key, which fuzzily matches the name.
- compatible
Runtime string - Compatible runtimes.
- id string
- result
Output stringFile - Used to save results.
- search
Key string - Query key, which fuzzily matches the name.
- compatible_
runtime str - Compatible runtimes.
- id str
- result_
output_ strfile - Used to save results.
- search_
key str - Query key, which fuzzily matches the name.
- compatible
Runtime String - Compatible runtimes.
- id String
- result
Output StringFile - Used to save results.
- search
Key String - Query key, which fuzzily matches the name.
getScfLayers Result
The following output properties are available:
- Id string
- Layers
List<Get
Scf Layers Layer> - Layer list.
- Compatible
Runtime string - Result
Output stringFile - Search
Key string
- Id string
- Layers
[]Get
Scf Layers Layer - Layer list.
- Compatible
Runtime string - Result
Output stringFile - Search
Key string
- id String
- layers
List<Get
Scf Layers Layer> - Layer list.
- compatible
Runtime String - result
Output StringFile - search
Key String
- id string
- layers
Get
Scf Layers Layer[] - Layer list.
- compatible
Runtime string - result
Output stringFile - search
Key string
- id str
- layers
Sequence[Get
Scf Layers Layer] - Layer list.
- compatible_
runtime str - result_
output_ strfile - search_
key str
- id String
- layers List<Property Map>
- Layer list.
- compatible
Runtime String - result
Output StringFile - search
Key String
Supporting Types
GetScfLayersLayer
- 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
tencentcloud
Terraform Provider.
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack