tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
tencentcloud.getScfFunctionAliases
Start a Neo task
Explain and create a tencentcloud.getScfFunctionAliases resource
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
Use this data source to query detailed information of scf function_aliases
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const functionAliases = tencentcloud.getScfFunctionAliases({
functionName: "keep-1676351130",
namespace: "default",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
function_aliases = tencentcloud.get_scf_function_aliases(function_name="keep-1676351130",
namespace="default")
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.GetScfFunctionAliases(ctx, &tencentcloud.GetScfFunctionAliasesArgs{
FunctionName: "keep-1676351130",
Namespace: pulumi.StringRef("default"),
}, 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 functionAliases = Tencentcloud.GetScfFunctionAliases.Invoke(new()
{
FunctionName = "keep-1676351130",
Namespace = "default",
});
});
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.GetScfFunctionAliasesArgs;
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 functionAliases = TencentcloudFunctions.getScfFunctionAliases(GetScfFunctionAliasesArgs.builder()
.functionName("keep-1676351130")
.namespace("default")
.build());
}
}
variables:
functionAliases:
fn::invoke:
function: tencentcloud:getScfFunctionAliases
arguments:
functionName: keep-1676351130
namespace: default
Using getScfFunctionAliases
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 getScfFunctionAliases(args: GetScfFunctionAliasesArgs, opts?: InvokeOptions): Promise<GetScfFunctionAliasesResult>
function getScfFunctionAliasesOutput(args: GetScfFunctionAliasesOutputArgs, opts?: InvokeOptions): Output<GetScfFunctionAliasesResult>def get_scf_function_aliases(function_name: Optional[str] = None,
function_version: Optional[str] = None,
id: Optional[str] = None,
namespace: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetScfFunctionAliasesResult
def get_scf_function_aliases_output(function_name: Optional[pulumi.Input[str]] = None,
function_version: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
namespace: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetScfFunctionAliasesResult]func GetScfFunctionAliases(ctx *Context, args *GetScfFunctionAliasesArgs, opts ...InvokeOption) (*GetScfFunctionAliasesResult, error)
func GetScfFunctionAliasesOutput(ctx *Context, args *GetScfFunctionAliasesOutputArgs, opts ...InvokeOption) GetScfFunctionAliasesResultOutput> Note: This function is named GetScfFunctionAliases in the Go SDK.
public static class GetScfFunctionAliases
{
public static Task<GetScfFunctionAliasesResult> InvokeAsync(GetScfFunctionAliasesArgs args, InvokeOptions? opts = null)
public static Output<GetScfFunctionAliasesResult> Invoke(GetScfFunctionAliasesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetScfFunctionAliasesResult> getScfFunctionAliases(GetScfFunctionAliasesArgs args, InvokeOptions options)
public static Output<GetScfFunctionAliasesResult> getScfFunctionAliases(GetScfFunctionAliasesArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getScfFunctionAliases:getScfFunctionAliases
arguments:
# arguments dictionaryThe following arguments are supported:
- Function
Name string - Function name.
- Function
Version string - If this parameter is provided, only aliases associated with this function version will be returned.
- Id string
- Namespace string
- Function namespace.
- Result
Output stringFile - Used to save results.
- Function
Name string - Function name.
- Function
Version string - If this parameter is provided, only aliases associated with this function version will be returned.
- Id string
- Namespace string
- Function namespace.
- Result
Output stringFile - Used to save results.
- function
Name String - Function name.
- function
Version String - If this parameter is provided, only aliases associated with this function version will be returned.
- id String
- namespace String
- Function namespace.
- result
Output StringFile - Used to save results.
- function
Name string - Function name.
- function
Version string - If this parameter is provided, only aliases associated with this function version will be returned.
- id string
- namespace string
- Function namespace.
- result
Output stringFile - Used to save results.
- function_
name str - Function name.
- function_
version str - If this parameter is provided, only aliases associated with this function version will be returned.
- id str
- namespace str
- Function namespace.
- result_
output_ strfile - Used to save results.
- function
Name String - Function name.
- function
Version String - If this parameter is provided, only aliases associated with this function version will be returned.
- id String
- namespace String
- Function namespace.
- result
Output StringFile - Used to save results.
getScfFunctionAliases Result
The following output properties are available:
- Aliases
List<Get
Scf Function Aliases Alias> - Alias list.
- Function
Name string - Id string
- Function
Version string - Master version pointed to by the alias.
- Namespace string
- Result
Output stringFile
- Aliases
[]Get
Scf Function Aliases Alias - Alias list.
- Function
Name string - Id string
- Function
Version string - Master version pointed to by the alias.
- Namespace string
- Result
Output stringFile
- aliases
List<Get
Scf Function Aliases Alias> - Alias list.
- function
Name String - id String
- function
Version String - Master version pointed to by the alias.
- namespace String
- result
Output StringFile
- aliases
Get
Scf Function Aliases Alias[] - Alias list.
- function
Name string - id string
- function
Version string - Master version pointed to by the alias.
- namespace string
- result
Output stringFile
- aliases
Sequence[Get
Scf Function Aliases Alias] - Alias list.
- function_
name str - id str
- function_
version str - Master version pointed to by the alias.
- namespace str
- result_
output_ strfile
- aliases List<Property Map>
- Alias list.
- function
Name String - id String
- function
Version String - Master version pointed to by the alias.
- namespace String
- result
Output StringFile
Supporting Types
GetScfFunctionAliasesAlias
- Add
Time string - Creation timeNote: this field may return null, indicating that no valid values can be obtained.
- Description string
- DescriptionNote: this field may return null, indicating that no valid values can be obtained.
- Function
Version string - If this parameter is provided, only aliases associated with this function version will be returned.
- Mod
Time string - Update timeNote: this field may return null, indicating that no valid values can be obtained.
- Name string
- Alias name.
- Routing
Configs List<GetScf Function Aliases Alias Routing Config> - Routing information of aliasNote: this field may return null, indicating that no valid values can be obtained.
- Add
Time string - Creation timeNote: this field may return null, indicating that no valid values can be obtained.
- Description string
- DescriptionNote: this field may return null, indicating that no valid values can be obtained.
- Function
Version string - If this parameter is provided, only aliases associated with this function version will be returned.
- Mod
Time string - Update timeNote: this field may return null, indicating that no valid values can be obtained.
- Name string
- Alias name.
- Routing
Configs []GetScf Function Aliases Alias Routing Config - Routing information of aliasNote: this field may return null, indicating that no valid values can be obtained.
- add
Time String - Creation timeNote: this field may return null, indicating that no valid values can be obtained.
- description String
- DescriptionNote: this field may return null, indicating that no valid values can be obtained.
- function
Version String - If this parameter is provided, only aliases associated with this function version will be returned.
- mod
Time String - Update timeNote: this field may return null, indicating that no valid values can be obtained.
- name String
- Alias name.
- routing
Configs List<GetScf Function Aliases Alias Routing Config> - Routing information of aliasNote: this field may return null, indicating that no valid values can be obtained.
- add
Time string - Creation timeNote: this field may return null, indicating that no valid values can be obtained.
- description string
- DescriptionNote: this field may return null, indicating that no valid values can be obtained.
- function
Version string - If this parameter is provided, only aliases associated with this function version will be returned.
- mod
Time string - Update timeNote: this field may return null, indicating that no valid values can be obtained.
- name string
- Alias name.
- routing
Configs GetScf Function Aliases Alias Routing Config[] - Routing information of aliasNote: this field may return null, indicating that no valid values can be obtained.
- add_
time str - Creation timeNote: this field may return null, indicating that no valid values can be obtained.
- description str
- DescriptionNote: this field may return null, indicating that no valid values can be obtained.
- function_
version str - If this parameter is provided, only aliases associated with this function version will be returned.
- mod_
time str - Update timeNote: this field may return null, indicating that no valid values can be obtained.
- name str
- Alias name.
- routing_
configs Sequence[GetScf Function Aliases Alias Routing Config] - Routing information of aliasNote: this field may return null, indicating that no valid values can be obtained.
- add
Time String - Creation timeNote: this field may return null, indicating that no valid values can be obtained.
- description String
- DescriptionNote: this field may return null, indicating that no valid values can be obtained.
- function
Version String - If this parameter is provided, only aliases associated with this function version will be returned.
- mod
Time String - Update timeNote: this field may return null, indicating that no valid values can be obtained.
- name String
- Alias name.
- routing
Configs List<Property Map> - Routing information of aliasNote: this field may return null, indicating that no valid values can be obtained.
GetScfFunctionAliasesAliasRoutingConfig
- Addition
Version List<GetMatchs Scf Function Aliases Alias Routing Config Addition Version Match> - Additional version with rule-based routing.
- Additional
Version List<GetWeights Scf Function Aliases Alias Routing Config Additional Version Weight> - Additional version with random weight-based routing.
- Addition
Version []GetMatchs Scf Function Aliases Alias Routing Config Addition Version Match - Additional version with rule-based routing.
- Additional
Version []GetWeights Scf Function Aliases Alias Routing Config Additional Version Weight - Additional version with random weight-based routing.
- addition
Version List<GetMatchs Scf Function Aliases Alias Routing Config Addition Version Match> - Additional version with rule-based routing.
- additional
Version List<GetWeights Scf Function Aliases Alias Routing Config Additional Version Weight> - Additional version with random weight-based routing.
- addition
Version GetMatchs Scf Function Aliases Alias Routing Config Addition Version Match[] - Additional version with rule-based routing.
- additional
Version GetWeights Scf Function Aliases Alias Routing Config Additional Version Weight[] - Additional version with random weight-based routing.
- addition_
version_ Sequence[Getmatchs Scf Function Aliases Alias Routing Config Addition Version Match] - Additional version with rule-based routing.
- additional_
version_ Sequence[Getweights Scf Function Aliases Alias Routing Config Additional Version Weight] - Additional version with random weight-based routing.
- addition
Version List<Property Map>Matchs - Additional version with rule-based routing.
- additional
Version List<Property Map>Weights - Additional version with random weight-based routing.
GetScfFunctionAliasesAliasRoutingConfigAdditionVersionMatch
- Expression string
- Rule requirements for range match:It should be described in an open or closed range, i.e.,
(a,b)or[a,b], where both a and b are integersRule requirements for exact match:Exact string match. - Key string
- Matching rule key. When the API is called, pass in the
keyto route the request to the specified version based on the matching ruleHeader method:Enter invoke.headers.User forkeyand pass inRoutingKey:{User:value}when invoking a function throughinvokefor invocation based on rule matching. - Method string
- Match method. Valid values:range: range matchexact: exact string match.
- Version string
- Function version name.
- Expression string
- Rule requirements for range match:It should be described in an open or closed range, i.e.,
(a,b)or[a,b], where both a and b are integersRule requirements for exact match:Exact string match. - Key string
- Matching rule key. When the API is called, pass in the
keyto route the request to the specified version based on the matching ruleHeader method:Enter invoke.headers.User forkeyand pass inRoutingKey:{User:value}when invoking a function throughinvokefor invocation based on rule matching. - Method string
- Match method. Valid values:range: range matchexact: exact string match.
- Version string
- Function version name.
- expression String
- Rule requirements for range match:It should be described in an open or closed range, i.e.,
(a,b)or[a,b], where both a and b are integersRule requirements for exact match:Exact string match. - key String
- Matching rule key. When the API is called, pass in the
keyto route the request to the specified version based on the matching ruleHeader method:Enter invoke.headers.User forkeyand pass inRoutingKey:{User:value}when invoking a function throughinvokefor invocation based on rule matching. - method String
- Match method. Valid values:range: range matchexact: exact string match.
- version String
- Function version name.
- expression string
- Rule requirements for range match:It should be described in an open or closed range, i.e.,
(a,b)or[a,b], where both a and b are integersRule requirements for exact match:Exact string match. - key string
- Matching rule key. When the API is called, pass in the
keyto route the request to the specified version based on the matching ruleHeader method:Enter invoke.headers.User forkeyand pass inRoutingKey:{User:value}when invoking a function throughinvokefor invocation based on rule matching. - method string
- Match method. Valid values:range: range matchexact: exact string match.
- version string
- Function version name.
- expression str
- Rule requirements for range match:It should be described in an open or closed range, i.e.,
(a,b)or[a,b], where both a and b are integersRule requirements for exact match:Exact string match. - key str
- Matching rule key. When the API is called, pass in the
keyto route the request to the specified version based on the matching ruleHeader method:Enter invoke.headers.User forkeyand pass inRoutingKey:{User:value}when invoking a function throughinvokefor invocation based on rule matching. - method str
- Match method. Valid values:range: range matchexact: exact string match.
- version str
- Function version name.
- expression String
- Rule requirements for range match:It should be described in an open or closed range, i.e.,
(a,b)or[a,b], where both a and b are integersRule requirements for exact match:Exact string match. - key String
- Matching rule key. When the API is called, pass in the
keyto route the request to the specified version based on the matching ruleHeader method:Enter invoke.headers.User forkeyand pass inRoutingKey:{User:value}when invoking a function throughinvokefor invocation based on rule matching. - method String
- Match method. Valid values:range: range matchexact: exact string match.
- version String
- Function version name.
GetScfFunctionAliasesAliasRoutingConfigAdditionalVersionWeight
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
