1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. fc
  5. getV3Functions
Alibaba Cloud v3.90.0 published on Tuesday, Dec 2, 2025 by Pulumi
alicloud logo
Alibaba Cloud v3.90.0 published on Tuesday, Dec 2, 2025 by Pulumi

    This data source provides Fcv3 Function available to the user.What is Function

    NOTE: Available since v1.264.0.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const config = new pulumi.Config();
    const name = config.get("name") || "terraform-example";
    const _default = alicloud.fc.getV3Functions({
        prefix: "terraform-example-for-function-alias",
    });
    export const alicloudFcv3FunctionExampleId = _default.then(_default => _default.functions?.[0]?.functionName);
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    config = pulumi.Config()
    name = config.get("name")
    if name is None:
        name = "terraform-example"
    default = alicloud.fc.get_v3_functions(prefix="terraform-example-for-function-alias")
    pulumi.export("alicloudFcv3FunctionExampleId", default.functions[0].function_name)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/fc"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		name := "terraform-example"
    		if param := cfg.Get("name"); param != "" {
    			name = param
    		}
    		_default, err := fc.GetV3Functions(ctx, &fc.GetV3FunctionsArgs{
    			Prefix: pulumi.StringRef("terraform-example-for-function-alias"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("alicloudFcv3FunctionExampleId", _default.Functions[0].FunctionName)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var name = config.Get("name") ?? "terraform-example";
        var @default = AliCloud.FC.GetV3Functions.Invoke(new()
        {
            Prefix = "terraform-example-for-function-alias",
        });
    
        return new Dictionary<string, object?>
        {
            ["alicloudFcv3FunctionExampleId"] = @default.Apply(@default => @default.Apply(getV3FunctionsResult => getV3FunctionsResult.Functions[0]?.FunctionName)),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.fc.FcFunctions;
    import com.pulumi.alicloud.fc.inputs.GetV3FunctionsArgs;
    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 config = ctx.config();
            final var name = config.get("name").orElse("terraform-example");
            final var default = FcFunctions.getV3Functions(GetV3FunctionsArgs.builder()
                .prefix("terraform-example-for-function-alias")
                .build());
    
            ctx.export("alicloudFcv3FunctionExampleId", default_.functions()[0].functionName());
        }
    }
    
    configuration:
      name:
        type: string
        default: terraform-example
    variables:
      default:
        fn::invoke:
          function: alicloud:fc:getV3Functions
          arguments:
            prefix: terraform-example-for-function-alias
    outputs:
      alicloudFcv3FunctionExampleId: ${default.functions[0].functionName}
    

    Using getV3Functions

    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 getV3Functions(args: GetV3FunctionsArgs, opts?: InvokeOptions): Promise<GetV3FunctionsResult>
    function getV3FunctionsOutput(args: GetV3FunctionsOutputArgs, opts?: InvokeOptions): Output<GetV3FunctionsResult>
    def get_v3_functions(ids: Optional[Sequence[str]] = None,
                         name_regex: Optional[str] = None,
                         output_file: Optional[str] = None,
                         prefix: Optional[str] = None,
                         resource_group_id: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetV3FunctionsResult
    def get_v3_functions_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                         name_regex: Optional[pulumi.Input[str]] = None,
                         output_file: Optional[pulumi.Input[str]] = None,
                         prefix: Optional[pulumi.Input[str]] = None,
                         resource_group_id: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetV3FunctionsResult]
    func GetV3Functions(ctx *Context, args *GetV3FunctionsArgs, opts ...InvokeOption) (*GetV3FunctionsResult, error)
    func GetV3FunctionsOutput(ctx *Context, args *GetV3FunctionsOutputArgs, opts ...InvokeOption) GetV3FunctionsResultOutput

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

    public static class GetV3Functions 
    {
        public static Task<GetV3FunctionsResult> InvokeAsync(GetV3FunctionsArgs args, InvokeOptions? opts = null)
        public static Output<GetV3FunctionsResult> Invoke(GetV3FunctionsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetV3FunctionsResult> getV3Functions(GetV3FunctionsArgs args, InvokeOptions options)
    public static Output<GetV3FunctionsResult> getV3Functions(GetV3FunctionsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: alicloud:fc/getV3Functions:getV3Functions
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Ids List<string>
    A list of Function IDs.
    NameRegex string
    A regex string to filter results by function name.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    Prefix string
    A prefix string to filter results by function name.
    ResourceGroupId string
    Resource Group ID
    Ids []string
    A list of Function IDs.
    NameRegex string
    A regex string to filter results by function name.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    Prefix string
    A prefix string to filter results by function name.
    ResourceGroupId string
    Resource Group ID
    ids List<String>
    A list of Function IDs.
    nameRegex String
    A regex string to filter results by function name.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    prefix String
    A prefix string to filter results by function name.
    resourceGroupId String
    Resource Group ID
    ids string[]
    A list of Function IDs.
    nameRegex string
    A regex string to filter results by function name.
    outputFile string
    File name where to save data source results (after running pulumi preview).
    prefix string
    A prefix string to filter results by function name.
    resourceGroupId string
    Resource Group ID
    ids Sequence[str]
    A list of Function IDs.
    name_regex str
    A regex string to filter results by function name.
    output_file str
    File name where to save data source results (after running pulumi preview).
    prefix str
    A prefix string to filter results by function name.
    resource_group_id str
    Resource Group ID
    ids List<String>
    A list of Function IDs.
    nameRegex String
    A regex string to filter results by function name.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    prefix String
    A prefix string to filter results by function name.
    resourceGroupId String
    Resource Group ID

    getV3Functions Result

    The following output properties are available:

    Functions List<Pulumi.AliCloud.FC.Outputs.GetV3FunctionsFunction>
    A list of Function Entries. Each element contains the following attributes:
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids List<string>
    A list of Function IDs.
    Names List<string>
    A list of name of Functions.
    NameRegex string
    OutputFile string
    Prefix string
    ResourceGroupId string
    Resource Group ID
    Functions []GetV3FunctionsFunction
    A list of Function Entries. Each element contains the following attributes:
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids []string
    A list of Function IDs.
    Names []string
    A list of name of Functions.
    NameRegex string
    OutputFile string
    Prefix string
    ResourceGroupId string
    Resource Group ID
    functions List<GetV3FunctionsFunction>
    A list of Function Entries. Each element contains the following attributes:
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    A list of Function IDs.
    names List<String>
    A list of name of Functions.
    nameRegex String
    outputFile String
    prefix String
    resourceGroupId String
    Resource Group ID
    functions GetV3FunctionsFunction[]
    A list of Function Entries. Each element contains the following attributes:
    id string
    The provider-assigned unique ID for this managed resource.
    ids string[]
    A list of Function IDs.
    names string[]
    A list of name of Functions.
    nameRegex string
    outputFile string
    prefix string
    resourceGroupId string
    Resource Group ID
    functions Sequence[GetV3FunctionsFunction]
    A list of Function Entries. Each element contains the following attributes:
    id str
    The provider-assigned unique ID for this managed resource.
    ids Sequence[str]
    A list of Function IDs.
    names Sequence[str]
    A list of name of Functions.
    name_regex str
    output_file str
    prefix str
    resource_group_id str
    Resource Group ID
    functions List<Property Map>
    A list of Function Entries. Each element contains the following attributes:
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    A list of Function IDs.
    names List<String>
    A list of name of Functions.
    nameRegex String
    outputFile String
    prefix String
    resourceGroupId String
    Resource Group ID

    Supporting Types

    GetV3FunctionsFunction

    CodeSize int
    The code package size of the function returned by the system, in byte Example : 1024
    Cpu double
    The CPU specification of the function. The unit is vCPU, which is a multiple of the 0.05 vCPU.
    CreateTime string
    The creation time of the function.
    CustomContainerConfig Pulumi.AliCloud.FC.Inputs.GetV3FunctionsFunctionCustomContainerConfig
    The configuration of the custom container runtime. After the configuration is successful, the function can use the custom container image to execute the function. code and customContainerConfig.
    CustomDns Pulumi.AliCloud.FC.Inputs.GetV3FunctionsFunctionCustomDns
    Function custom DNS configuration
    CustomRuntimeConfig Pulumi.AliCloud.FC.Inputs.GetV3FunctionsFunctionCustomRuntimeConfig
    Customize the runtime configuration.
    Description string
    The description of the function. The function compute system does not use this attribute value, but we recommend that you set a concise and clear description for the function.
    DiskSize int
    The disk specification of the function, in MB. The optional value is 512 MB or 10240MB.
    EnvironmentVariables Dictionary<string, string>
    The environment variable set for the function, you can get the value of the environment variable in the function.
    FunctionArn string
    ARN of function
    FunctionId string
    The first ID of the resource
    FunctionName string
    The function name. Consists of uppercase and lowercase letters, digits (0 to 9), underscores (), and dashes (-). It must begin with an English letter (a ~ z), (A ~ Z), or an underscore (). Case sensitive. The length is 1~128 characters.
    GpuConfig Pulumi.AliCloud.FC.Inputs.GetV3FunctionsFunctionGpuConfig
    Function GPU configuration.
    Handler string
    The execution entry of the callback method, which is similar to the request handler.
    Id string
    The ID of the resource supplied above.
    IdleTimeout int
    Destroy an instance when the instance no-request duration exceeds this attribute. -1 means that the threshold is cleared and the system default behavior is used.
    InstanceConcurrency int
    Maximum instance concurrency.
    InstanceIsolationMode string
    Instance isolation mode
    InstanceLifecycleConfig Pulumi.AliCloud.FC.Inputs.GetV3FunctionsFunctionInstanceLifecycleConfig
    Instance lifecycle callback method configuration.
    InternetAccess bool
    Allow function to access public network
    InvocationRestriction Pulumi.AliCloud.FC.Inputs.GetV3FunctionsFunctionInvocationRestriction
    Invocation Restriction Detail
    LastModifiedTime string
    Last time the function was Updated
    LastUpdateStatus string
    The status of the last function update operation. When the function is created successfully, the value is Successful. Optional values are Successful, Failed, and InProgress.
    LastUpdateStatusReason string
    The reason that caused the last function to update the Operation State to the current value
    LastUpdateStatusReasonCode string
    Status code of the reason that caused the last function update operation status to the current value
    Layers List<string>
    The list of layers.
    LogConfig Pulumi.AliCloud.FC.Inputs.GetV3FunctionsFunctionLogConfig
    The logs generated by the function are written to the configured Logstore.
    MemorySize int
    The memory specification of the function. The unit is MB. The memory size is a multiple of 64MB. The minimum value is 128MB and the maximum value is 32GB. At the same time, the ratio of cpu to memorySize (calculated by GB) should be between 1:1 and 1:4.
    NasConfig Pulumi.AliCloud.FC.Inputs.GetV3FunctionsFunctionNasConfig
    NAS configuration. After this parameter is configured, the function can access the specified NAS resource.
    OssMountConfig Pulumi.AliCloud.FC.Inputs.GetV3FunctionsFunctionOssMountConfig
    OSS mount configuration
    ResourceGroupId string
    Resource Group ID
    Role string
    The user is authorized to the RAM role of function compute. After the configuration, function compute will assume this role to generate temporary access credentials. In the function, you can use the temporary access credentials of the role to access the specified Alibaba cloud service, such as OSS and OTS
    Runtime string
    Function runtime type
    SessionAffinity string
    The affinity policy of the function compute call request. To implement the request affinity of the MCP SSE protocol, set it to MCP_SSE. If Cookie affinity is used, it can be set to GENERATED_COOKIE. If Header affinity is used, it can be set to HEADER_FIELD. If it is not set or set to NONE, the affinity effect is not set, and the request is routed according to the default scheduling policy of the function calculation system.
    SessionAffinityConfig string
    When you set the sessionAffinity affinity type, you need to set the relevant affinity configuration. For example, the MCP_SSE affinity needs to fill in the mcpssessionaffinityconfig configuration. The Cookie affinity needs to be filled with the CookieSessionAffinityConfig configuration, and the Header Field affinity needs to be filled with the HeaderFieldSessionAffinityConfig configuration.
    State string
    Function Status
    StateReason string
    The reason why the function is in the current state
    StateReasonCode string
    The status code of the reason the function is in the current state.
    Tags Dictionary<string, string>
    The tag of the resource
    Timeout int
    The maximum running time of the function, in seconds.
    TracingConfig Pulumi.AliCloud.FC.Inputs.GetV3FunctionsFunctionTracingConfig
    Tracing configuration
    VpcConfig Pulumi.AliCloud.FC.Inputs.GetV3FunctionsFunctionVpcConfig
    VPC configuration. After this parameter is configured, the function can access the specified VPC resources.
    CodeSize int
    The code package size of the function returned by the system, in byte Example : 1024
    Cpu float64
    The CPU specification of the function. The unit is vCPU, which is a multiple of the 0.05 vCPU.
    CreateTime string
    The creation time of the function.
    CustomContainerConfig GetV3FunctionsFunctionCustomContainerConfig
    The configuration of the custom container runtime. After the configuration is successful, the function can use the custom container image to execute the function. code and customContainerConfig.
    CustomDns GetV3FunctionsFunctionCustomDns
    Function custom DNS configuration
    CustomRuntimeConfig GetV3FunctionsFunctionCustomRuntimeConfig
    Customize the runtime configuration.
    Description string
    The description of the function. The function compute system does not use this attribute value, but we recommend that you set a concise and clear description for the function.
    DiskSize int
    The disk specification of the function, in MB. The optional value is 512 MB or 10240MB.
    EnvironmentVariables map[string]string
    The environment variable set for the function, you can get the value of the environment variable in the function.
    FunctionArn string
    ARN of function
    FunctionId string
    The first ID of the resource
    FunctionName string
    The function name. Consists of uppercase and lowercase letters, digits (0 to 9), underscores (), and dashes (-). It must begin with an English letter (a ~ z), (A ~ Z), or an underscore (). Case sensitive. The length is 1~128 characters.
    GpuConfig GetV3FunctionsFunctionGpuConfig
    Function GPU configuration.
    Handler string
    The execution entry of the callback method, which is similar to the request handler.
    Id string
    The ID of the resource supplied above.
    IdleTimeout int
    Destroy an instance when the instance no-request duration exceeds this attribute. -1 means that the threshold is cleared and the system default behavior is used.
    InstanceConcurrency int
    Maximum instance concurrency.
    InstanceIsolationMode string
    Instance isolation mode
    InstanceLifecycleConfig GetV3FunctionsFunctionInstanceLifecycleConfig
    Instance lifecycle callback method configuration.
    InternetAccess bool
    Allow function to access public network
    InvocationRestriction GetV3FunctionsFunctionInvocationRestriction
    Invocation Restriction Detail
    LastModifiedTime string
    Last time the function was Updated
    LastUpdateStatus string
    The status of the last function update operation. When the function is created successfully, the value is Successful. Optional values are Successful, Failed, and InProgress.
    LastUpdateStatusReason string
    The reason that caused the last function to update the Operation State to the current value
    LastUpdateStatusReasonCode string
    Status code of the reason that caused the last function update operation status to the current value
    Layers []string
    The list of layers.
    LogConfig GetV3FunctionsFunctionLogConfig
    The logs generated by the function are written to the configured Logstore.
    MemorySize int
    The memory specification of the function. The unit is MB. The memory size is a multiple of 64MB. The minimum value is 128MB and the maximum value is 32GB. At the same time, the ratio of cpu to memorySize (calculated by GB) should be between 1:1 and 1:4.
    NasConfig GetV3FunctionsFunctionNasConfig
    NAS configuration. After this parameter is configured, the function can access the specified NAS resource.
    OssMountConfig GetV3FunctionsFunctionOssMountConfig
    OSS mount configuration
    ResourceGroupId string
    Resource Group ID
    Role string
    The user is authorized to the RAM role of function compute. After the configuration, function compute will assume this role to generate temporary access credentials. In the function, you can use the temporary access credentials of the role to access the specified Alibaba cloud service, such as OSS and OTS
    Runtime string
    Function runtime type
    SessionAffinity string
    The affinity policy of the function compute call request. To implement the request affinity of the MCP SSE protocol, set it to MCP_SSE. If Cookie affinity is used, it can be set to GENERATED_COOKIE. If Header affinity is used, it can be set to HEADER_FIELD. If it is not set or set to NONE, the affinity effect is not set, and the request is routed according to the default scheduling policy of the function calculation system.
    SessionAffinityConfig string
    When you set the sessionAffinity affinity type, you need to set the relevant affinity configuration. For example, the MCP_SSE affinity needs to fill in the mcpssessionaffinityconfig configuration. The Cookie affinity needs to be filled with the CookieSessionAffinityConfig configuration, and the Header Field affinity needs to be filled with the HeaderFieldSessionAffinityConfig configuration.
    State string
    Function Status
    StateReason string
    The reason why the function is in the current state
    StateReasonCode string
    The status code of the reason the function is in the current state.
    Tags map[string]string
    The tag of the resource
    Timeout int
    The maximum running time of the function, in seconds.
    TracingConfig GetV3FunctionsFunctionTracingConfig
    Tracing configuration
    VpcConfig GetV3FunctionsFunctionVpcConfig
    VPC configuration. After this parameter is configured, the function can access the specified VPC resources.
    codeSize Integer
    The code package size of the function returned by the system, in byte Example : 1024
    cpu Double
    The CPU specification of the function. The unit is vCPU, which is a multiple of the 0.05 vCPU.
    createTime String
    The creation time of the function.
    customContainerConfig GetV3FunctionsFunctionCustomContainerConfig
    The configuration of the custom container runtime. After the configuration is successful, the function can use the custom container image to execute the function. code and customContainerConfig.
    customDns GetV3FunctionsFunctionCustomDns
    Function custom DNS configuration
    customRuntimeConfig GetV3FunctionsFunctionCustomRuntimeConfig
    Customize the runtime configuration.
    description String
    The description of the function. The function compute system does not use this attribute value, but we recommend that you set a concise and clear description for the function.
    diskSize Integer
    The disk specification of the function, in MB. The optional value is 512 MB or 10240MB.
    environmentVariables Map<String,String>
    The environment variable set for the function, you can get the value of the environment variable in the function.
    functionArn String
    ARN of function
    functionId String
    The first ID of the resource
    functionName String
    The function name. Consists of uppercase and lowercase letters, digits (0 to 9), underscores (), and dashes (-). It must begin with an English letter (a ~ z), (A ~ Z), or an underscore (). Case sensitive. The length is 1~128 characters.
    gpuConfig GetV3FunctionsFunctionGpuConfig
    Function GPU configuration.
    handler String
    The execution entry of the callback method, which is similar to the request handler.
    id String
    The ID of the resource supplied above.
    idleTimeout Integer
    Destroy an instance when the instance no-request duration exceeds this attribute. -1 means that the threshold is cleared and the system default behavior is used.
    instanceConcurrency Integer
    Maximum instance concurrency.
    instanceIsolationMode String
    Instance isolation mode
    instanceLifecycleConfig GetV3FunctionsFunctionInstanceLifecycleConfig
    Instance lifecycle callback method configuration.
    internetAccess Boolean
    Allow function to access public network
    invocationRestriction GetV3FunctionsFunctionInvocationRestriction
    Invocation Restriction Detail
    lastModifiedTime String
    Last time the function was Updated
    lastUpdateStatus String
    The status of the last function update operation. When the function is created successfully, the value is Successful. Optional values are Successful, Failed, and InProgress.
    lastUpdateStatusReason String
    The reason that caused the last function to update the Operation State to the current value
    lastUpdateStatusReasonCode String
    Status code of the reason that caused the last function update operation status to the current value
    layers List<String>
    The list of layers.
    logConfig GetV3FunctionsFunctionLogConfig
    The logs generated by the function are written to the configured Logstore.
    memorySize Integer
    The memory specification of the function. The unit is MB. The memory size is a multiple of 64MB. The minimum value is 128MB and the maximum value is 32GB. At the same time, the ratio of cpu to memorySize (calculated by GB) should be between 1:1 and 1:4.
    nasConfig GetV3FunctionsFunctionNasConfig
    NAS configuration. After this parameter is configured, the function can access the specified NAS resource.
    ossMountConfig GetV3FunctionsFunctionOssMountConfig
    OSS mount configuration
    resourceGroupId String
    Resource Group ID
    role String
    The user is authorized to the RAM role of function compute. After the configuration, function compute will assume this role to generate temporary access credentials. In the function, you can use the temporary access credentials of the role to access the specified Alibaba cloud service, such as OSS and OTS
    runtime String
    Function runtime type
    sessionAffinity String
    The affinity policy of the function compute call request. To implement the request affinity of the MCP SSE protocol, set it to MCP_SSE. If Cookie affinity is used, it can be set to GENERATED_COOKIE. If Header affinity is used, it can be set to HEADER_FIELD. If it is not set or set to NONE, the affinity effect is not set, and the request is routed according to the default scheduling policy of the function calculation system.
    sessionAffinityConfig String
    When you set the sessionAffinity affinity type, you need to set the relevant affinity configuration. For example, the MCP_SSE affinity needs to fill in the mcpssessionaffinityconfig configuration. The Cookie affinity needs to be filled with the CookieSessionAffinityConfig configuration, and the Header Field affinity needs to be filled with the HeaderFieldSessionAffinityConfig configuration.
    state String
    Function Status
    stateReason String
    The reason why the function is in the current state
    stateReasonCode String
    The status code of the reason the function is in the current state.
    tags Map<String,String>
    The tag of the resource
    timeout Integer
    The maximum running time of the function, in seconds.
    tracingConfig GetV3FunctionsFunctionTracingConfig
    Tracing configuration
    vpcConfig GetV3FunctionsFunctionVpcConfig
    VPC configuration. After this parameter is configured, the function can access the specified VPC resources.
    codeSize number
    The code package size of the function returned by the system, in byte Example : 1024
    cpu number
    The CPU specification of the function. The unit is vCPU, which is a multiple of the 0.05 vCPU.
    createTime string
    The creation time of the function.
    customContainerConfig GetV3FunctionsFunctionCustomContainerConfig
    The configuration of the custom container runtime. After the configuration is successful, the function can use the custom container image to execute the function. code and customContainerConfig.
    customDns GetV3FunctionsFunctionCustomDns
    Function custom DNS configuration
    customRuntimeConfig GetV3FunctionsFunctionCustomRuntimeConfig
    Customize the runtime configuration.
    description string
    The description of the function. The function compute system does not use this attribute value, but we recommend that you set a concise and clear description for the function.
    diskSize number
    The disk specification of the function, in MB. The optional value is 512 MB or 10240MB.
    environmentVariables {[key: string]: string}
    The environment variable set for the function, you can get the value of the environment variable in the function.
    functionArn string
    ARN of function
    functionId string
    The first ID of the resource
    functionName string
    The function name. Consists of uppercase and lowercase letters, digits (0 to 9), underscores (), and dashes (-). It must begin with an English letter (a ~ z), (A ~ Z), or an underscore (). Case sensitive. The length is 1~128 characters.
    gpuConfig GetV3FunctionsFunctionGpuConfig
    Function GPU configuration.
    handler string
    The execution entry of the callback method, which is similar to the request handler.
    id string
    The ID of the resource supplied above.
    idleTimeout number
    Destroy an instance when the instance no-request duration exceeds this attribute. -1 means that the threshold is cleared and the system default behavior is used.
    instanceConcurrency number
    Maximum instance concurrency.
    instanceIsolationMode string
    Instance isolation mode
    instanceLifecycleConfig GetV3FunctionsFunctionInstanceLifecycleConfig
    Instance lifecycle callback method configuration.
    internetAccess boolean
    Allow function to access public network
    invocationRestriction GetV3FunctionsFunctionInvocationRestriction
    Invocation Restriction Detail
    lastModifiedTime string
    Last time the function was Updated
    lastUpdateStatus string
    The status of the last function update operation. When the function is created successfully, the value is Successful. Optional values are Successful, Failed, and InProgress.
    lastUpdateStatusReason string
    The reason that caused the last function to update the Operation State to the current value
    lastUpdateStatusReasonCode string
    Status code of the reason that caused the last function update operation status to the current value
    layers string[]
    The list of layers.
    logConfig GetV3FunctionsFunctionLogConfig
    The logs generated by the function are written to the configured Logstore.
    memorySize number
    The memory specification of the function. The unit is MB. The memory size is a multiple of 64MB. The minimum value is 128MB and the maximum value is 32GB. At the same time, the ratio of cpu to memorySize (calculated by GB) should be between 1:1 and 1:4.
    nasConfig GetV3FunctionsFunctionNasConfig
    NAS configuration. After this parameter is configured, the function can access the specified NAS resource.
    ossMountConfig GetV3FunctionsFunctionOssMountConfig
    OSS mount configuration
    resourceGroupId string
    Resource Group ID
    role string
    The user is authorized to the RAM role of function compute. After the configuration, function compute will assume this role to generate temporary access credentials. In the function, you can use the temporary access credentials of the role to access the specified Alibaba cloud service, such as OSS and OTS
    runtime string
    Function runtime type
    sessionAffinity string
    The affinity policy of the function compute call request. To implement the request affinity of the MCP SSE protocol, set it to MCP_SSE. If Cookie affinity is used, it can be set to GENERATED_COOKIE. If Header affinity is used, it can be set to HEADER_FIELD. If it is not set or set to NONE, the affinity effect is not set, and the request is routed according to the default scheduling policy of the function calculation system.
    sessionAffinityConfig string
    When you set the sessionAffinity affinity type, you need to set the relevant affinity configuration. For example, the MCP_SSE affinity needs to fill in the mcpssessionaffinityconfig configuration. The Cookie affinity needs to be filled with the CookieSessionAffinityConfig configuration, and the Header Field affinity needs to be filled with the HeaderFieldSessionAffinityConfig configuration.
    state string
    Function Status
    stateReason string
    The reason why the function is in the current state
    stateReasonCode string
    The status code of the reason the function is in the current state.
    tags {[key: string]: string}
    The tag of the resource
    timeout number
    The maximum running time of the function, in seconds.
    tracingConfig GetV3FunctionsFunctionTracingConfig
    Tracing configuration
    vpcConfig GetV3FunctionsFunctionVpcConfig
    VPC configuration. After this parameter is configured, the function can access the specified VPC resources.
    code_size int
    The code package size of the function returned by the system, in byte Example : 1024
    cpu float
    The CPU specification of the function. The unit is vCPU, which is a multiple of the 0.05 vCPU.
    create_time str
    The creation time of the function.
    custom_container_config GetV3FunctionsFunctionCustomContainerConfig
    The configuration of the custom container runtime. After the configuration is successful, the function can use the custom container image to execute the function. code and customContainerConfig.
    custom_dns GetV3FunctionsFunctionCustomDns
    Function custom DNS configuration
    custom_runtime_config GetV3FunctionsFunctionCustomRuntimeConfig
    Customize the runtime configuration.
    description str
    The description of the function. The function compute system does not use this attribute value, but we recommend that you set a concise and clear description for the function.
    disk_size int
    The disk specification of the function, in MB. The optional value is 512 MB or 10240MB.
    environment_variables Mapping[str, str]
    The environment variable set for the function, you can get the value of the environment variable in the function.
    function_arn str
    ARN of function
    function_id str
    The first ID of the resource
    function_name str
    The function name. Consists of uppercase and lowercase letters, digits (0 to 9), underscores (), and dashes (-). It must begin with an English letter (a ~ z), (A ~ Z), or an underscore (). Case sensitive. The length is 1~128 characters.
    gpu_config GetV3FunctionsFunctionGpuConfig
    Function GPU configuration.
    handler str
    The execution entry of the callback method, which is similar to the request handler.
    id str
    The ID of the resource supplied above.
    idle_timeout int
    Destroy an instance when the instance no-request duration exceeds this attribute. -1 means that the threshold is cleared and the system default behavior is used.
    instance_concurrency int
    Maximum instance concurrency.
    instance_isolation_mode str
    Instance isolation mode
    instance_lifecycle_config GetV3FunctionsFunctionInstanceLifecycleConfig
    Instance lifecycle callback method configuration.
    internet_access bool
    Allow function to access public network
    invocation_restriction GetV3FunctionsFunctionInvocationRestriction
    Invocation Restriction Detail
    last_modified_time str
    Last time the function was Updated
    last_update_status str
    The status of the last function update operation. When the function is created successfully, the value is Successful. Optional values are Successful, Failed, and InProgress.
    last_update_status_reason str
    The reason that caused the last function to update the Operation State to the current value
    last_update_status_reason_code str
    Status code of the reason that caused the last function update operation status to the current value
    layers Sequence[str]
    The list of layers.
    log_config GetV3FunctionsFunctionLogConfig
    The logs generated by the function are written to the configured Logstore.
    memory_size int
    The memory specification of the function. The unit is MB. The memory size is a multiple of 64MB. The minimum value is 128MB and the maximum value is 32GB. At the same time, the ratio of cpu to memorySize (calculated by GB) should be between 1:1 and 1:4.
    nas_config GetV3FunctionsFunctionNasConfig
    NAS configuration. After this parameter is configured, the function can access the specified NAS resource.
    oss_mount_config GetV3FunctionsFunctionOssMountConfig
    OSS mount configuration
    resource_group_id str
    Resource Group ID
    role str
    The user is authorized to the RAM role of function compute. After the configuration, function compute will assume this role to generate temporary access credentials. In the function, you can use the temporary access credentials of the role to access the specified Alibaba cloud service, such as OSS and OTS
    runtime str
    Function runtime type
    session_affinity str
    The affinity policy of the function compute call request. To implement the request affinity of the MCP SSE protocol, set it to MCP_SSE. If Cookie affinity is used, it can be set to GENERATED_COOKIE. If Header affinity is used, it can be set to HEADER_FIELD. If it is not set or set to NONE, the affinity effect is not set, and the request is routed according to the default scheduling policy of the function calculation system.
    session_affinity_config str
    When you set the sessionAffinity affinity type, you need to set the relevant affinity configuration. For example, the MCP_SSE affinity needs to fill in the mcpssessionaffinityconfig configuration. The Cookie affinity needs to be filled with the CookieSessionAffinityConfig configuration, and the Header Field affinity needs to be filled with the HeaderFieldSessionAffinityConfig configuration.
    state str
    Function Status
    state_reason str
    The reason why the function is in the current state
    state_reason_code str
    The status code of the reason the function is in the current state.
    tags Mapping[str, str]
    The tag of the resource
    timeout int
    The maximum running time of the function, in seconds.
    tracing_config GetV3FunctionsFunctionTracingConfig
    Tracing configuration
    vpc_config GetV3FunctionsFunctionVpcConfig
    VPC configuration. After this parameter is configured, the function can access the specified VPC resources.
    codeSize Number
    The code package size of the function returned by the system, in byte Example : 1024
    cpu Number
    The CPU specification of the function. The unit is vCPU, which is a multiple of the 0.05 vCPU.
    createTime String
    The creation time of the function.
    customContainerConfig Property Map
    The configuration of the custom container runtime. After the configuration is successful, the function can use the custom container image to execute the function. code and customContainerConfig.
    customDns Property Map
    Function custom DNS configuration
    customRuntimeConfig Property Map
    Customize the runtime configuration.
    description String
    The description of the function. The function compute system does not use this attribute value, but we recommend that you set a concise and clear description for the function.
    diskSize Number
    The disk specification of the function, in MB. The optional value is 512 MB or 10240MB.
    environmentVariables Map<String>
    The environment variable set for the function, you can get the value of the environment variable in the function.
    functionArn String
    ARN of function
    functionId String
    The first ID of the resource
    functionName String
    The function name. Consists of uppercase and lowercase letters, digits (0 to 9), underscores (), and dashes (-). It must begin with an English letter (a ~ z), (A ~ Z), or an underscore (). Case sensitive. The length is 1~128 characters.
    gpuConfig Property Map
    Function GPU configuration.
    handler String
    The execution entry of the callback method, which is similar to the request handler.
    id String
    The ID of the resource supplied above.
    idleTimeout Number
    Destroy an instance when the instance no-request duration exceeds this attribute. -1 means that the threshold is cleared and the system default behavior is used.
    instanceConcurrency Number
    Maximum instance concurrency.
    instanceIsolationMode String
    Instance isolation mode
    instanceLifecycleConfig Property Map
    Instance lifecycle callback method configuration.
    internetAccess Boolean
    Allow function to access public network
    invocationRestriction Property Map
    Invocation Restriction Detail
    lastModifiedTime String
    Last time the function was Updated
    lastUpdateStatus String
    The status of the last function update operation. When the function is created successfully, the value is Successful. Optional values are Successful, Failed, and InProgress.
    lastUpdateStatusReason String
    The reason that caused the last function to update the Operation State to the current value
    lastUpdateStatusReasonCode String
    Status code of the reason that caused the last function update operation status to the current value
    layers List<String>
    The list of layers.
    logConfig Property Map
    The logs generated by the function are written to the configured Logstore.
    memorySize Number
    The memory specification of the function. The unit is MB. The memory size is a multiple of 64MB. The minimum value is 128MB and the maximum value is 32GB. At the same time, the ratio of cpu to memorySize (calculated by GB) should be between 1:1 and 1:4.
    nasConfig Property Map
    NAS configuration. After this parameter is configured, the function can access the specified NAS resource.
    ossMountConfig Property Map
    OSS mount configuration
    resourceGroupId String
    Resource Group ID
    role String
    The user is authorized to the RAM role of function compute. After the configuration, function compute will assume this role to generate temporary access credentials. In the function, you can use the temporary access credentials of the role to access the specified Alibaba cloud service, such as OSS and OTS
    runtime String
    Function runtime type
    sessionAffinity String
    The affinity policy of the function compute call request. To implement the request affinity of the MCP SSE protocol, set it to MCP_SSE. If Cookie affinity is used, it can be set to GENERATED_COOKIE. If Header affinity is used, it can be set to HEADER_FIELD. If it is not set or set to NONE, the affinity effect is not set, and the request is routed according to the default scheduling policy of the function calculation system.
    sessionAffinityConfig String
    When you set the sessionAffinity affinity type, you need to set the relevant affinity configuration. For example, the MCP_SSE affinity needs to fill in the mcpssessionaffinityconfig configuration. The Cookie affinity needs to be filled with the CookieSessionAffinityConfig configuration, and the Header Field affinity needs to be filled with the HeaderFieldSessionAffinityConfig configuration.
    state String
    Function Status
    stateReason String
    The reason why the function is in the current state
    stateReasonCode String
    The status code of the reason the function is in the current state.
    tags Map<String>
    The tag of the resource
    timeout Number
    The maximum running time of the function, in seconds.
    tracingConfig Property Map
    Tracing configuration
    vpcConfig Property Map
    VPC configuration. After this parameter is configured, the function can access the specified VPC resources.

    GetV3FunctionsFunctionCustomContainerConfig

    AccelerationInfo Pulumi.AliCloud.FC.Inputs.GetV3FunctionsFunctionCustomContainerConfigAccelerationInfo
    Image Acceleration Information (Obsolete).
    AccelerationType string
    Whether to enable Image acceleration. Default: The Default value, indicating that image acceleration is enabled. None: indicates that image acceleration is disabled. (Obsolete).
    AcrInstanceId string
    ACR Enterprise version Image Repository ID, which must be entered when using ACR Enterprise version image. (Obsolete).
    Commands List<string>
    Lifecycle Initialization Phase Callback Instructions.
    Entrypoints List<string>
    Container start command.
    HealthCheckConfig Pulumi.AliCloud.FC.Inputs.GetV3FunctionsFunctionCustomContainerConfigHealthCheckConfig
    Function custom health check configuration.
    Image string
    The container Image address.
    Port int
    The listening port of the HTTP Server.
    ResolvedImageUri string
    The actual digest version of the deployed Image. The code version specified by this digest is used when the function starts.
    AccelerationInfo GetV3FunctionsFunctionCustomContainerConfigAccelerationInfo
    Image Acceleration Information (Obsolete).
    AccelerationType string
    Whether to enable Image acceleration. Default: The Default value, indicating that image acceleration is enabled. None: indicates that image acceleration is disabled. (Obsolete).
    AcrInstanceId string
    ACR Enterprise version Image Repository ID, which must be entered when using ACR Enterprise version image. (Obsolete).
    Commands []string
    Lifecycle Initialization Phase Callback Instructions.
    Entrypoints []string
    Container start command.
    HealthCheckConfig GetV3FunctionsFunctionCustomContainerConfigHealthCheckConfig
    Function custom health check configuration.
    Image string
    The container Image address.
    Port int
    The listening port of the HTTP Server.
    ResolvedImageUri string
    The actual digest version of the deployed Image. The code version specified by this digest is used when the function starts.
    accelerationInfo GetV3FunctionsFunctionCustomContainerConfigAccelerationInfo
    Image Acceleration Information (Obsolete).
    accelerationType String
    Whether to enable Image acceleration. Default: The Default value, indicating that image acceleration is enabled. None: indicates that image acceleration is disabled. (Obsolete).
    acrInstanceId String
    ACR Enterprise version Image Repository ID, which must be entered when using ACR Enterprise version image. (Obsolete).
    commands List<String>
    Lifecycle Initialization Phase Callback Instructions.
    entrypoints List<String>
    Container start command.
    healthCheckConfig GetV3FunctionsFunctionCustomContainerConfigHealthCheckConfig
    Function custom health check configuration.
    image String
    The container Image address.
    port Integer
    The listening port of the HTTP Server.
    resolvedImageUri String
    The actual digest version of the deployed Image. The code version specified by this digest is used when the function starts.
    accelerationInfo GetV3FunctionsFunctionCustomContainerConfigAccelerationInfo
    Image Acceleration Information (Obsolete).
    accelerationType string
    Whether to enable Image acceleration. Default: The Default value, indicating that image acceleration is enabled. None: indicates that image acceleration is disabled. (Obsolete).
    acrInstanceId string
    ACR Enterprise version Image Repository ID, which must be entered when using ACR Enterprise version image. (Obsolete).
    commands string[]
    Lifecycle Initialization Phase Callback Instructions.
    entrypoints string[]
    Container start command.
    healthCheckConfig GetV3FunctionsFunctionCustomContainerConfigHealthCheckConfig
    Function custom health check configuration.
    image string
    The container Image address.
    port number
    The listening port of the HTTP Server.
    resolvedImageUri string
    The actual digest version of the deployed Image. The code version specified by this digest is used when the function starts.
    acceleration_info GetV3FunctionsFunctionCustomContainerConfigAccelerationInfo
    Image Acceleration Information (Obsolete).
    acceleration_type str
    Whether to enable Image acceleration. Default: The Default value, indicating that image acceleration is enabled. None: indicates that image acceleration is disabled. (Obsolete).
    acr_instance_id str
    ACR Enterprise version Image Repository ID, which must be entered when using ACR Enterprise version image. (Obsolete).
    commands Sequence[str]
    Lifecycle Initialization Phase Callback Instructions.
    entrypoints Sequence[str]
    Container start command.
    health_check_config GetV3FunctionsFunctionCustomContainerConfigHealthCheckConfig
    Function custom health check configuration.
    image str
    The container Image address.
    port int
    The listening port of the HTTP Server.
    resolved_image_uri str
    The actual digest version of the deployed Image. The code version specified by this digest is used when the function starts.
    accelerationInfo Property Map
    Image Acceleration Information (Obsolete).
    accelerationType String
    Whether to enable Image acceleration. Default: The Default value, indicating that image acceleration is enabled. None: indicates that image acceleration is disabled. (Obsolete).
    acrInstanceId String
    ACR Enterprise version Image Repository ID, which must be entered when using ACR Enterprise version image. (Obsolete).
    commands List<String>
    Lifecycle Initialization Phase Callback Instructions.
    entrypoints List<String>
    Container start command.
    healthCheckConfig Property Map
    Function custom health check configuration.
    image String
    The container Image address.
    port Number
    The listening port of the HTTP Server.
    resolvedImageUri String
    The actual digest version of the deployed Image. The code version specified by this digest is used when the function starts.

    GetV3FunctionsFunctionCustomContainerConfigAccelerationInfo

    Status string
    Image Acceleration Status (Deprecated).
    Status string
    Image Acceleration Status (Deprecated).
    status String
    Image Acceleration Status (Deprecated).
    status string
    Image Acceleration Status (Deprecated).
    status str
    Image Acceleration Status (Deprecated).
    status String
    Image Acceleration Status (Deprecated).

    GetV3FunctionsFunctionCustomContainerConfigHealthCheckConfig

    FailureThreshold int
    The health check failure threshold. The system considers the health check failure when the health check fails. The value range is 1~120. The default value is 3.
    HttpGetUrl string
    The URL of the container's custom health check. No more than 2048 characters in length.
    InitialDelaySeconds int
    The delay between the start of the container and the initiation of the health check. Value range 0~120. The default value is 0.
    PeriodSeconds int
    Health check cycle. The value range is 1~120. The default value is 3.
    SuccessThreshold int
    The threshold for the number of successful health checks. When the threshold is reached, the system considers that the health check is successful. The value range is 1~120. The default value is 1.
    TimeoutSeconds int
    Health check timeout. Value range 1~3. The default value is 1.
    FailureThreshold int
    The health check failure threshold. The system considers the health check failure when the health check fails. The value range is 1~120. The default value is 3.
    HttpGetUrl string
    The URL of the container's custom health check. No more than 2048 characters in length.
    InitialDelaySeconds int
    The delay between the start of the container and the initiation of the health check. Value range 0~120. The default value is 0.
    PeriodSeconds int
    Health check cycle. The value range is 1~120. The default value is 3.
    SuccessThreshold int
    The threshold for the number of successful health checks. When the threshold is reached, the system considers that the health check is successful. The value range is 1~120. The default value is 1.
    TimeoutSeconds int
    Health check timeout. Value range 1~3. The default value is 1.
    failureThreshold Integer
    The health check failure threshold. The system considers the health check failure when the health check fails. The value range is 1~120. The default value is 3.
    httpGetUrl String
    The URL of the container's custom health check. No more than 2048 characters in length.
    initialDelaySeconds Integer
    The delay between the start of the container and the initiation of the health check. Value range 0~120. The default value is 0.
    periodSeconds Integer
    Health check cycle. The value range is 1~120. The default value is 3.
    successThreshold Integer
    The threshold for the number of successful health checks. When the threshold is reached, the system considers that the health check is successful. The value range is 1~120. The default value is 1.
    timeoutSeconds Integer
    Health check timeout. Value range 1~3. The default value is 1.
    failureThreshold number
    The health check failure threshold. The system considers the health check failure when the health check fails. The value range is 1~120. The default value is 3.
    httpGetUrl string
    The URL of the container's custom health check. No more than 2048 characters in length.
    initialDelaySeconds number
    The delay between the start of the container and the initiation of the health check. Value range 0~120. The default value is 0.
    periodSeconds number
    Health check cycle. The value range is 1~120. The default value is 3.
    successThreshold number
    The threshold for the number of successful health checks. When the threshold is reached, the system considers that the health check is successful. The value range is 1~120. The default value is 1.
    timeoutSeconds number
    Health check timeout. Value range 1~3. The default value is 1.
    failure_threshold int
    The health check failure threshold. The system considers the health check failure when the health check fails. The value range is 1~120. The default value is 3.
    http_get_url str
    The URL of the container's custom health check. No more than 2048 characters in length.
    initial_delay_seconds int
    The delay between the start of the container and the initiation of the health check. Value range 0~120. The default value is 0.
    period_seconds int
    Health check cycle. The value range is 1~120. The default value is 3.
    success_threshold int
    The threshold for the number of successful health checks. When the threshold is reached, the system considers that the health check is successful. The value range is 1~120. The default value is 1.
    timeout_seconds int
    Health check timeout. Value range 1~3. The default value is 1.
    failureThreshold Number
    The health check failure threshold. The system considers the health check failure when the health check fails. The value range is 1~120. The default value is 3.
    httpGetUrl String
    The URL of the container's custom health check. No more than 2048 characters in length.
    initialDelaySeconds Number
    The delay between the start of the container and the initiation of the health check. Value range 0~120. The default value is 0.
    periodSeconds Number
    Health check cycle. The value range is 1~120. The default value is 3.
    successThreshold Number
    The threshold for the number of successful health checks. When the threshold is reached, the system considers that the health check is successful. The value range is 1~120. The default value is 1.
    timeoutSeconds Number
    Health check timeout. Value range 1~3. The default value is 1.

    GetV3FunctionsFunctionCustomDns

    DnsOptions List<Pulumi.AliCloud.FC.Inputs.GetV3FunctionsFunctionCustomDnsDnsOption>
    List of configuration items in the resolv.conf file. Each item corresponds to a key-value pair in the format of key:value, where the key is required.
    NameServers List<string>
    IP Address List of DNS servers.
    Searches List<string>
    DNS search domain list.
    DnsOptions []GetV3FunctionsFunctionCustomDnsDnsOption
    List of configuration items in the resolv.conf file. Each item corresponds to a key-value pair in the format of key:value, where the key is required.
    NameServers []string
    IP Address List of DNS servers.
    Searches []string
    DNS search domain list.
    dnsOptions List<GetV3FunctionsFunctionCustomDnsDnsOption>
    List of configuration items in the resolv.conf file. Each item corresponds to a key-value pair in the format of key:value, where the key is required.
    nameServers List<String>
    IP Address List of DNS servers.
    searches List<String>
    DNS search domain list.
    dnsOptions GetV3FunctionsFunctionCustomDnsDnsOption[]
    List of configuration items in the resolv.conf file. Each item corresponds to a key-value pair in the format of key:value, where the key is required.
    nameServers string[]
    IP Address List of DNS servers.
    searches string[]
    DNS search domain list.
    dns_options Sequence[GetV3FunctionsFunctionCustomDnsDnsOption]
    List of configuration items in the resolv.conf file. Each item corresponds to a key-value pair in the format of key:value, where the key is required.
    name_servers Sequence[str]
    IP Address List of DNS servers.
    searches Sequence[str]
    DNS search domain list.
    dnsOptions List<Property Map>
    List of configuration items in the resolv.conf file. Each item corresponds to a key-value pair in the format of key:value, where the key is required.
    nameServers List<String>
    IP Address List of DNS servers.
    searches List<String>
    DNS search domain list.

    GetV3FunctionsFunctionCustomDnsDnsOption

    Name string
    Configuration Item Name.
    Value string
    Configuration Item Value.
    Name string
    Configuration Item Name.
    Value string
    Configuration Item Value.
    name String
    Configuration Item Name.
    value String
    Configuration Item Value.
    name string
    Configuration Item Name.
    value string
    Configuration Item Value.
    name str
    Configuration Item Name.
    value str
    Configuration Item Value.
    name String
    Configuration Item Name.
    value String
    Configuration Item Value.

    GetV3FunctionsFunctionCustomRuntimeConfig

    Args List<string>
    Instance startup parameters.
    Commands List<string>
    Lifecycle Initialization Phase Callback Instructions.
    HealthCheckConfig Pulumi.AliCloud.FC.Inputs.GetV3FunctionsFunctionCustomRuntimeConfigHealthCheckConfig
    Function custom health check configuration.
    Port int
    The listening port of the HTTP Server.
    Args []string
    Instance startup parameters.
    Commands []string
    Lifecycle Initialization Phase Callback Instructions.
    HealthCheckConfig GetV3FunctionsFunctionCustomRuntimeConfigHealthCheckConfig
    Function custom health check configuration.
    Port int
    The listening port of the HTTP Server.
    args List<String>
    Instance startup parameters.
    commands List<String>
    Lifecycle Initialization Phase Callback Instructions.
    healthCheckConfig GetV3FunctionsFunctionCustomRuntimeConfigHealthCheckConfig
    Function custom health check configuration.
    port Integer
    The listening port of the HTTP Server.
    args string[]
    Instance startup parameters.
    commands string[]
    Lifecycle Initialization Phase Callback Instructions.
    healthCheckConfig GetV3FunctionsFunctionCustomRuntimeConfigHealthCheckConfig
    Function custom health check configuration.
    port number
    The listening port of the HTTP Server.
    args Sequence[str]
    Instance startup parameters.
    commands Sequence[str]
    Lifecycle Initialization Phase Callback Instructions.
    health_check_config GetV3FunctionsFunctionCustomRuntimeConfigHealthCheckConfig
    Function custom health check configuration.
    port int
    The listening port of the HTTP Server.
    args List<String>
    Instance startup parameters.
    commands List<String>
    Lifecycle Initialization Phase Callback Instructions.
    healthCheckConfig Property Map
    Function custom health check configuration.
    port Number
    The listening port of the HTTP Server.

    GetV3FunctionsFunctionCustomRuntimeConfigHealthCheckConfig

    FailureThreshold int
    The health check failure threshold. The system considers the health check failure when the health check fails. The value range is 1~120. The default value is 3.
    HttpGetUrl string
    The URL of the container's custom health check. No more than 2048 characters in length.
    InitialDelaySeconds int
    The delay between the start of the container and the initiation of the health check. Value range 0~120. The default value is 0.
    PeriodSeconds int
    Health check cycle. The value range is 1~120. The default value is 3.
    SuccessThreshold int
    The threshold for the number of successful health checks. When the threshold is reached, the system considers that the health check is successful. The value range is 1~120. The default value is 1.
    TimeoutSeconds int
    Health check timeout. Value range 1~3. The default value is 1.
    FailureThreshold int
    The health check failure threshold. The system considers the health check failure when the health check fails. The value range is 1~120. The default value is 3.
    HttpGetUrl string
    The URL of the container's custom health check. No more than 2048 characters in length.
    InitialDelaySeconds int
    The delay between the start of the container and the initiation of the health check. Value range 0~120. The default value is 0.
    PeriodSeconds int
    Health check cycle. The value range is 1~120. The default value is 3.
    SuccessThreshold int
    The threshold for the number of successful health checks. When the threshold is reached, the system considers that the health check is successful. The value range is 1~120. The default value is 1.
    TimeoutSeconds int
    Health check timeout. Value range 1~3. The default value is 1.
    failureThreshold Integer
    The health check failure threshold. The system considers the health check failure when the health check fails. The value range is 1~120. The default value is 3.
    httpGetUrl String
    The URL of the container's custom health check. No more than 2048 characters in length.
    initialDelaySeconds Integer
    The delay between the start of the container and the initiation of the health check. Value range 0~120. The default value is 0.
    periodSeconds Integer
    Health check cycle. The value range is 1~120. The default value is 3.
    successThreshold Integer
    The threshold for the number of successful health checks. When the threshold is reached, the system considers that the health check is successful. The value range is 1~120. The default value is 1.
    timeoutSeconds Integer
    Health check timeout. Value range 1~3. The default value is 1.
    failureThreshold number
    The health check failure threshold. The system considers the health check failure when the health check fails. The value range is 1~120. The default value is 3.
    httpGetUrl string
    The URL of the container's custom health check. No more than 2048 characters in length.
    initialDelaySeconds number
    The delay between the start of the container and the initiation of the health check. Value range 0~120. The default value is 0.
    periodSeconds number
    Health check cycle. The value range is 1~120. The default value is 3.
    successThreshold number
    The threshold for the number of successful health checks. When the threshold is reached, the system considers that the health check is successful. The value range is 1~120. The default value is 1.
    timeoutSeconds number
    Health check timeout. Value range 1~3. The default value is 1.
    failure_threshold int
    The health check failure threshold. The system considers the health check failure when the health check fails. The value range is 1~120. The default value is 3.
    http_get_url str
    The URL of the container's custom health check. No more than 2048 characters in length.
    initial_delay_seconds int
    The delay between the start of the container and the initiation of the health check. Value range 0~120. The default value is 0.
    period_seconds int
    Health check cycle. The value range is 1~120. The default value is 3.
    success_threshold int
    The threshold for the number of successful health checks. When the threshold is reached, the system considers that the health check is successful. The value range is 1~120. The default value is 1.
    timeout_seconds int
    Health check timeout. Value range 1~3. The default value is 1.
    failureThreshold Number
    The health check failure threshold. The system considers the health check failure when the health check fails. The value range is 1~120. The default value is 3.
    httpGetUrl String
    The URL of the container's custom health check. No more than 2048 characters in length.
    initialDelaySeconds Number
    The delay between the start of the container and the initiation of the health check. Value range 0~120. The default value is 0.
    periodSeconds Number
    Health check cycle. The value range is 1~120. The default value is 3.
    successThreshold Number
    The threshold for the number of successful health checks. When the threshold is reached, the system considers that the health check is successful. The value range is 1~120. The default value is 1.
    timeoutSeconds Number
    Health check timeout. Value range 1~3. The default value is 1.

    GetV3FunctionsFunctionGpuConfig

    GpuMemorySize int
    GPU memory specification, unit: MB, multiple of 1024MB.
    GpuType string
    GPU card architecture.-fc.gpu.tesla.1 indicates the type of the Tesla Architecture Series card of the GPU instance (the same as the NVIDIA T4 card type).-fc.gpu.ampere.1 indicates the GPU instance type of Ampere Architecture Series card (same as NVIDIA A10 card type).-fc.gpu.ada.1 Indicates the GPU instance Ada Lovelace architecture family card type.
    GpuMemorySize int
    GPU memory specification, unit: MB, multiple of 1024MB.
    GpuType string
    GPU card architecture.-fc.gpu.tesla.1 indicates the type of the Tesla Architecture Series card of the GPU instance (the same as the NVIDIA T4 card type).-fc.gpu.ampere.1 indicates the GPU instance type of Ampere Architecture Series card (same as NVIDIA A10 card type).-fc.gpu.ada.1 Indicates the GPU instance Ada Lovelace architecture family card type.
    gpuMemorySize Integer
    GPU memory specification, unit: MB, multiple of 1024MB.
    gpuType String
    GPU card architecture.-fc.gpu.tesla.1 indicates the type of the Tesla Architecture Series card of the GPU instance (the same as the NVIDIA T4 card type).-fc.gpu.ampere.1 indicates the GPU instance type of Ampere Architecture Series card (same as NVIDIA A10 card type).-fc.gpu.ada.1 Indicates the GPU instance Ada Lovelace architecture family card type.
    gpuMemorySize number
    GPU memory specification, unit: MB, multiple of 1024MB.
    gpuType string
    GPU card architecture.-fc.gpu.tesla.1 indicates the type of the Tesla Architecture Series card of the GPU instance (the same as the NVIDIA T4 card type).-fc.gpu.ampere.1 indicates the GPU instance type of Ampere Architecture Series card (same as NVIDIA A10 card type).-fc.gpu.ada.1 Indicates the GPU instance Ada Lovelace architecture family card type.
    gpu_memory_size int
    GPU memory specification, unit: MB, multiple of 1024MB.
    gpu_type str
    GPU card architecture.-fc.gpu.tesla.1 indicates the type of the Tesla Architecture Series card of the GPU instance (the same as the NVIDIA T4 card type).-fc.gpu.ampere.1 indicates the GPU instance type of Ampere Architecture Series card (same as NVIDIA A10 card type).-fc.gpu.ada.1 Indicates the GPU instance Ada Lovelace architecture family card type.
    gpuMemorySize Number
    GPU memory specification, unit: MB, multiple of 1024MB.
    gpuType String
    GPU card architecture.-fc.gpu.tesla.1 indicates the type of the Tesla Architecture Series card of the GPU instance (the same as the NVIDIA T4 card type).-fc.gpu.ampere.1 indicates the GPU instance type of Ampere Architecture Series card (same as NVIDIA A10 card type).-fc.gpu.ada.1 Indicates the GPU instance Ada Lovelace architecture family card type.

    GetV3FunctionsFunctionInstanceLifecycleConfig

    initializer Property Map
    Initializer handler method configuration.
    preStop Property Map
    PreStop handler method configuration.

    GetV3FunctionsFunctionInstanceLifecycleConfigInitializer

    Commands List<string>
    Lifecycle Initialization Phase Callback Instructions.
    Handler string
    The execution entry of the callback method, which is similar to the request handler.
    Timeout int
    The maximum running time of the function, in seconds.
    Commands []string
    Lifecycle Initialization Phase Callback Instructions.
    Handler string
    The execution entry of the callback method, which is similar to the request handler.
    Timeout int
    The maximum running time of the function, in seconds.
    commands List<String>
    Lifecycle Initialization Phase Callback Instructions.
    handler String
    The execution entry of the callback method, which is similar to the request handler.
    timeout Integer
    The maximum running time of the function, in seconds.
    commands string[]
    Lifecycle Initialization Phase Callback Instructions.
    handler string
    The execution entry of the callback method, which is similar to the request handler.
    timeout number
    The maximum running time of the function, in seconds.
    commands Sequence[str]
    Lifecycle Initialization Phase Callback Instructions.
    handler str
    The execution entry of the callback method, which is similar to the request handler.
    timeout int
    The maximum running time of the function, in seconds.
    commands List<String>
    Lifecycle Initialization Phase Callback Instructions.
    handler String
    The execution entry of the callback method, which is similar to the request handler.
    timeout Number
    The maximum running time of the function, in seconds.

    GetV3FunctionsFunctionInstanceLifecycleConfigPreStop

    Handler string
    The execution entry of the callback method, which is similar to the request handler.
    Timeout int
    The maximum running time of the function, in seconds.
    Handler string
    The execution entry of the callback method, which is similar to the request handler.
    Timeout int
    The maximum running time of the function, in seconds.
    handler String
    The execution entry of the callback method, which is similar to the request handler.
    timeout Integer
    The maximum running time of the function, in seconds.
    handler string
    The execution entry of the callback method, which is similar to the request handler.
    timeout number
    The maximum running time of the function, in seconds.
    handler str
    The execution entry of the callback method, which is similar to the request handler.
    timeout int
    The maximum running time of the function, in seconds.
    handler String
    The execution entry of the callback method, which is similar to the request handler.
    timeout Number
    The maximum running time of the function, in seconds.

    GetV3FunctionsFunctionInvocationRestriction

    Disable bool
    Whether invocation is disabled.
    LastModifiedTime string
    Last time the function was Updated
    Reason string
    Disable Reason.
    Disable bool
    Whether invocation is disabled.
    LastModifiedTime string
    Last time the function was Updated
    Reason string
    Disable Reason.
    disable Boolean
    Whether invocation is disabled.
    lastModifiedTime String
    Last time the function was Updated
    reason String
    Disable Reason.
    disable boolean
    Whether invocation is disabled.
    lastModifiedTime string
    Last time the function was Updated
    reason string
    Disable Reason.
    disable bool
    Whether invocation is disabled.
    last_modified_time str
    Last time the function was Updated
    reason str
    Disable Reason.
    disable Boolean
    Whether invocation is disabled.
    lastModifiedTime String
    Last time the function was Updated
    reason String
    Disable Reason.

    GetV3FunctionsFunctionLogConfig

    EnableInstanceMetrics bool
    After this feature is enabled, you can view core metrics such as instance-level CPU usage, memory usage, instance network status, and the number of requests within an instance. false: The default value, which means that instance-level metrics are turned off. true: indicates that instance-level metrics are enabled.
    EnableRequestMetrics bool
    After this function is enabled, you can view the time and memory consumed by a call to all functions under this service. false: indicates that request-level metrics are turned off. true: The default value, indicating that request-level metrics are enabled.
    LogBeginRule string
    Log Line First Matching Rules.
    Logstore string
    The Logstore name of log service.
    Project string
    The name of the log service Project.
    EnableInstanceMetrics bool
    After this feature is enabled, you can view core metrics such as instance-level CPU usage, memory usage, instance network status, and the number of requests within an instance. false: The default value, which means that instance-level metrics are turned off. true: indicates that instance-level metrics are enabled.
    EnableRequestMetrics bool
    After this function is enabled, you can view the time and memory consumed by a call to all functions under this service. false: indicates that request-level metrics are turned off. true: The default value, indicating that request-level metrics are enabled.
    LogBeginRule string
    Log Line First Matching Rules.
    Logstore string
    The Logstore name of log service.
    Project string
    The name of the log service Project.
    enableInstanceMetrics Boolean
    After this feature is enabled, you can view core metrics such as instance-level CPU usage, memory usage, instance network status, and the number of requests within an instance. false: The default value, which means that instance-level metrics are turned off. true: indicates that instance-level metrics are enabled.
    enableRequestMetrics Boolean
    After this function is enabled, you can view the time and memory consumed by a call to all functions under this service. false: indicates that request-level metrics are turned off. true: The default value, indicating that request-level metrics are enabled.
    logBeginRule String
    Log Line First Matching Rules.
    logstore String
    The Logstore name of log service.
    project String
    The name of the log service Project.
    enableInstanceMetrics boolean
    After this feature is enabled, you can view core metrics such as instance-level CPU usage, memory usage, instance network status, and the number of requests within an instance. false: The default value, which means that instance-level metrics are turned off. true: indicates that instance-level metrics are enabled.
    enableRequestMetrics boolean
    After this function is enabled, you can view the time and memory consumed by a call to all functions under this service. false: indicates that request-level metrics are turned off. true: The default value, indicating that request-level metrics are enabled.
    logBeginRule string
    Log Line First Matching Rules.
    logstore string
    The Logstore name of log service.
    project string
    The name of the log service Project.
    enable_instance_metrics bool
    After this feature is enabled, you can view core metrics such as instance-level CPU usage, memory usage, instance network status, and the number of requests within an instance. false: The default value, which means that instance-level metrics are turned off. true: indicates that instance-level metrics are enabled.
    enable_request_metrics bool
    After this function is enabled, you can view the time and memory consumed by a call to all functions under this service. false: indicates that request-level metrics are turned off. true: The default value, indicating that request-level metrics are enabled.
    log_begin_rule str
    Log Line First Matching Rules.
    logstore str
    The Logstore name of log service.
    project str
    The name of the log service Project.
    enableInstanceMetrics Boolean
    After this feature is enabled, you can view core metrics such as instance-level CPU usage, memory usage, instance network status, and the number of requests within an instance. false: The default value, which means that instance-level metrics are turned off. true: indicates that instance-level metrics are enabled.
    enableRequestMetrics Boolean
    After this function is enabled, you can view the time and memory consumed by a call to all functions under this service. false: indicates that request-level metrics are turned off. true: The default value, indicating that request-level metrics are enabled.
    logBeginRule String
    Log Line First Matching Rules.
    logstore String
    The Logstore name of log service.
    project String
    The name of the log service Project.

    GetV3FunctionsFunctionNasConfig

    GroupId int
    Group ID.
    MountPoints []GetV3FunctionsFunctionNasConfigMountPoint
    OSS mount point list.
    UserId int
    Account ID.
    groupId Integer
    Group ID.
    mountPoints List<GetV3FunctionsFunctionNasConfigMountPoint>
    OSS mount point list.
    userId Integer
    Account ID.
    groupId number
    Group ID.
    mountPoints GetV3FunctionsFunctionNasConfigMountPoint[]
    OSS mount point list.
    userId number
    Account ID.
    groupId Number
    Group ID.
    mountPoints List<Property Map>
    OSS mount point list.
    userId Number
    Account ID.

    GetV3FunctionsFunctionNasConfigMountPoint

    EnableTls bool
    Use transport encryption to mount. Note: only general-purpose NAS supports transmission encryption.
    MountDir string
    Mount Directory.
    ServerAddr string
    NAS server address.
    EnableTls bool
    Use transport encryption to mount. Note: only general-purpose NAS supports transmission encryption.
    MountDir string
    Mount Directory.
    ServerAddr string
    NAS server address.
    enableTls Boolean
    Use transport encryption to mount. Note: only general-purpose NAS supports transmission encryption.
    mountDir String
    Mount Directory.
    serverAddr String
    NAS server address.
    enableTls boolean
    Use transport encryption to mount. Note: only general-purpose NAS supports transmission encryption.
    mountDir string
    Mount Directory.
    serverAddr string
    NAS server address.
    enable_tls bool
    Use transport encryption to mount. Note: only general-purpose NAS supports transmission encryption.
    mount_dir str
    Mount Directory.
    server_addr str
    NAS server address.
    enableTls Boolean
    Use transport encryption to mount. Note: only general-purpose NAS supports transmission encryption.
    mountDir String
    Mount Directory.
    serverAddr String
    NAS server address.

    GetV3FunctionsFunctionOssMountConfig

    mountPoints List<Property Map>
    OSS mount point list.

    GetV3FunctionsFunctionOssMountConfigMountPoint

    BucketName string
    OSS Bucket name.
    BucketPath string
    Path of the mounted OSS Bucket.
    Endpoint string
    OSS access endpoint.
    MountDir string
    Mount Directory.
    ReadOnly bool
    Read-only.
    BucketName string
    OSS Bucket name.
    BucketPath string
    Path of the mounted OSS Bucket.
    Endpoint string
    OSS access endpoint.
    MountDir string
    Mount Directory.
    ReadOnly bool
    Read-only.
    bucketName String
    OSS Bucket name.
    bucketPath String
    Path of the mounted OSS Bucket.
    endpoint String
    OSS access endpoint.
    mountDir String
    Mount Directory.
    readOnly Boolean
    Read-only.
    bucketName string
    OSS Bucket name.
    bucketPath string
    Path of the mounted OSS Bucket.
    endpoint string
    OSS access endpoint.
    mountDir string
    Mount Directory.
    readOnly boolean
    Read-only.
    bucket_name str
    OSS Bucket name.
    bucket_path str
    Path of the mounted OSS Bucket.
    endpoint str
    OSS access endpoint.
    mount_dir str
    Mount Directory.
    read_only bool
    Read-only.
    bucketName String
    OSS Bucket name.
    bucketPath String
    Path of the mounted OSS Bucket.
    endpoint String
    OSS access endpoint.
    mountDir String
    Mount Directory.
    readOnly Boolean
    Read-only.

    GetV3FunctionsFunctionTracingConfig

    Params Dictionary<string, string>
    Tracing parameters.
    Type string
    The tracing protocol type. Currently, only Jaeger is supported.
    Params map[string]string
    Tracing parameters.
    Type string
    The tracing protocol type. Currently, only Jaeger is supported.
    params Map<String,String>
    Tracing parameters.
    type String
    The tracing protocol type. Currently, only Jaeger is supported.
    params {[key: string]: string}
    Tracing parameters.
    type string
    The tracing protocol type. Currently, only Jaeger is supported.
    params Mapping[str, str]
    Tracing parameters.
    type str
    The tracing protocol type. Currently, only Jaeger is supported.
    params Map<String>
    Tracing parameters.
    type String
    The tracing protocol type. Currently, only Jaeger is supported.

    GetV3FunctionsFunctionVpcConfig

    SecurityGroupId string
    Security group ID.
    VpcId string
    VPC network ID.
    VswitchIds List<string>
    Switch List.
    SecurityGroupId string
    Security group ID.
    VpcId string
    VPC network ID.
    VswitchIds []string
    Switch List.
    securityGroupId String
    Security group ID.
    vpcId String
    VPC network ID.
    vswitchIds List<String>
    Switch List.
    securityGroupId string
    Security group ID.
    vpcId string
    VPC network ID.
    vswitchIds string[]
    Switch List.
    security_group_id str
    Security group ID.
    vpc_id str
    VPC network ID.
    vswitch_ids Sequence[str]
    Switch List.
    securityGroupId String
    Security group ID.
    vpcId String
    VPC network ID.
    vswitchIds List<String>
    Switch List.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.90.0 published on Tuesday, Dec 2, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate