tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
tencentcloud.getScfRequestStatus
Start a Neo task
Explain and create a tencentcloud.getScfRequestStatus resource
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
Use this data source to query detailed information of scf request_status
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const requestStatus = tencentcloud.getScfRequestStatus({
functionName: "keep-1676351130",
functionRequestId: "9de9405a-e33a-498d-bb59-e80b7bed1191",
namespace: "default",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
request_status = tencentcloud.get_scf_request_status(function_name="keep-1676351130",
function_request_id="9de9405a-e33a-498d-bb59-e80b7bed1191",
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.GetScfRequestStatus(ctx, &tencentcloud.GetScfRequestStatusArgs{
FunctionName: "keep-1676351130",
FunctionRequestId: "9de9405a-e33a-498d-bb59-e80b7bed1191",
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 requestStatus = Tencentcloud.GetScfRequestStatus.Invoke(new()
{
FunctionName = "keep-1676351130",
FunctionRequestId = "9de9405a-e33a-498d-bb59-e80b7bed1191",
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.GetScfRequestStatusArgs;
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 requestStatus = TencentcloudFunctions.getScfRequestStatus(GetScfRequestStatusArgs.builder()
.functionName("keep-1676351130")
.functionRequestId("9de9405a-e33a-498d-bb59-e80b7bed1191")
.namespace("default")
.build());
}
}
variables:
requestStatus:
fn::invoke:
function: tencentcloud:getScfRequestStatus
arguments:
functionName: keep-1676351130
functionRequestId: 9de9405a-e33a-498d-bb59-e80b7bed1191
namespace: default
Using getScfRequestStatus
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 getScfRequestStatus(args: GetScfRequestStatusArgs, opts?: InvokeOptions): Promise<GetScfRequestStatusResult>
function getScfRequestStatusOutput(args: GetScfRequestStatusOutputArgs, opts?: InvokeOptions): Output<GetScfRequestStatusResult>def get_scf_request_status(end_time: Optional[str] = None,
function_name: Optional[str] = None,
function_request_id: Optional[str] = None,
id: Optional[str] = None,
namespace: Optional[str] = None,
result_output_file: Optional[str] = None,
start_time: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetScfRequestStatusResult
def get_scf_request_status_output(end_time: Optional[pulumi.Input[str]] = None,
function_name: Optional[pulumi.Input[str]] = None,
function_request_id: 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,
start_time: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetScfRequestStatusResult]func GetScfRequestStatus(ctx *Context, args *GetScfRequestStatusArgs, opts ...InvokeOption) (*GetScfRequestStatusResult, error)
func GetScfRequestStatusOutput(ctx *Context, args *GetScfRequestStatusOutputArgs, opts ...InvokeOption) GetScfRequestStatusResultOutput> Note: This function is named GetScfRequestStatus in the Go SDK.
public static class GetScfRequestStatus
{
public static Task<GetScfRequestStatusResult> InvokeAsync(GetScfRequestStatusArgs args, InvokeOptions? opts = null)
public static Output<GetScfRequestStatusResult> Invoke(GetScfRequestStatusInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetScfRequestStatusResult> getScfRequestStatus(GetScfRequestStatusArgs args, InvokeOptions options)
public static Output<GetScfRequestStatusResult> getScfRequestStatus(GetScfRequestStatusArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getScfRequestStatus:getScfRequestStatus
arguments:
# arguments dictionaryThe following arguments are supported:
- Function
Name string - Function name.
- Function
Request stringId - ID of the request to be queried.
- End
Time string - End time of the query. such as
2017-05-16 20:59:59. IfStartTimeis not specified,EndTimedefaults to the current time. IfStartTimeis specified,EndTimeis required, and it need to be later than theStartTime. - Id string
- Namespace string
- Function namespace.
- Result
Output stringFile - Used to save results.
- Start
Time string - Start time of the query, for example
2017-05-16 20:00:00. If it's left empty, it defaults to 15 minutes before the current time.
- Function
Name string - Function name.
- Function
Request stringId - ID of the request to be queried.
- End
Time string - End time of the query. such as
2017-05-16 20:59:59. IfStartTimeis not specified,EndTimedefaults to the current time. IfStartTimeis specified,EndTimeis required, and it need to be later than theStartTime. - Id string
- Namespace string
- Function namespace.
- Result
Output stringFile - Used to save results.
- Start
Time string - Start time of the query, for example
2017-05-16 20:00:00. If it's left empty, it defaults to 15 minutes before the current time.
- function
Name String - Function name.
- function
Request StringId - ID of the request to be queried.
- end
Time String - End time of the query. such as
2017-05-16 20:59:59. IfStartTimeis not specified,EndTimedefaults to the current time. IfStartTimeis specified,EndTimeis required, and it need to be later than theStartTime. - id String
- namespace String
- Function namespace.
- result
Output StringFile - Used to save results.
- start
Time String - Start time of the query, for example
2017-05-16 20:00:00. If it's left empty, it defaults to 15 minutes before the current time.
- function
Name string - Function name.
- function
Request stringId - ID of the request to be queried.
- end
Time string - End time of the query. such as
2017-05-16 20:59:59. IfStartTimeis not specified,EndTimedefaults to the current time. IfStartTimeis specified,EndTimeis required, and it need to be later than theStartTime. - id string
- namespace string
- Function namespace.
- result
Output stringFile - Used to save results.
- start
Time string - Start time of the query, for example
2017-05-16 20:00:00. If it's left empty, it defaults to 15 minutes before the current time.
- function_
name str - Function name.
- function_
request_ strid - ID of the request to be queried.
- end_
time str - End time of the query. such as
2017-05-16 20:59:59. IfStartTimeis not specified,EndTimedefaults to the current time. IfStartTimeis specified,EndTimeis required, and it need to be later than theStartTime. - id str
- namespace str
- Function namespace.
- result_
output_ strfile - Used to save results.
- start_
time str - Start time of the query, for example
2017-05-16 20:00:00. If it's left empty, it defaults to 15 minutes before the current time.
- function
Name String - Function name.
- function
Request StringId - ID of the request to be queried.
- end
Time String - End time of the query. such as
2017-05-16 20:59:59. IfStartTimeis not specified,EndTimedefaults to the current time. IfStartTimeis specified,EndTimeis required, and it need to be later than theStartTime. - id String
- namespace String
- Function namespace.
- result
Output StringFile - Used to save results.
- start
Time String - Start time of the query, for example
2017-05-16 20:00:00. If it's left empty, it defaults to 15 minutes before the current time.
getScfRequestStatus Result
The following output properties are available:
- Datas
List<Get
Scf Request Status Data> - Details of the function running statusNote: this field may return
null, indicating that no valid values can be obtained. - Function
Name string - Function name.
- Function
Request stringId - Id string
- End
Time string - Namespace string
- Result
Output stringFile - Start
Time string - Request start time.
- Datas
[]Get
Scf Request Status Data - Details of the function running statusNote: this field may return
null, indicating that no valid values can be obtained. - Function
Name string - Function name.
- Function
Request stringId - Id string
- End
Time string - Namespace string
- Result
Output stringFile - Start
Time string - Request start time.
- datas
List<Get
Scf Request Status Data> - Details of the function running statusNote: this field may return
null, indicating that no valid values can be obtained. - function
Name String - Function name.
- function
Request StringId - id String
- end
Time String - namespace String
- result
Output StringFile - start
Time String - Request start time.
- datas
Get
Scf Request Status Data[] - Details of the function running statusNote: this field may return
null, indicating that no valid values can be obtained. - function
Name string - Function name.
- function
Request stringId - id string
- end
Time string - namespace string
- result
Output stringFile - start
Time string - Request start time.
- datas
Sequence[Get
Scf Request Status Data] - Details of the function running statusNote: this field may return
null, indicating that no valid values can be obtained. - function_
name str - Function name.
- function_
request_ strid - id str
- end_
time str - namespace str
- result_
output_ strfile - start_
time str - Request start time.
- datas List<Property Map>
- Details of the function running statusNote: this field may return
null, indicating that no valid values can be obtained. - function
Name String - Function name.
- function
Request StringId - id String
- end
Time String - namespace String
- result
Output StringFile - start
Time String - Request start time.
Supporting Types
GetScfRequestStatusData
- Duration double
- Time consumed for the request in ms.
- Function
Name string - Function name.
- Mem
Usage double - Time consumed by the request in MB.
- Request
Id string - Request ID.
- Ret
Code double - Result of the request.
0: succeeded,1: running,-1: exception. - Ret
Msg string - Return value after the function is executed.
- Retry
Num double - Retry Attempts.
- Start
Time string - Start time of the query, for example
2017-05-16 20:00:00. If it's left empty, it defaults to 15 minutes before the current time.
- Duration float64
- Time consumed for the request in ms.
- Function
Name string - Function name.
- Mem
Usage float64 - Time consumed by the request in MB.
- Request
Id string - Request ID.
- Ret
Code float64 - Result of the request.
0: succeeded,1: running,-1: exception. - Ret
Msg string - Return value after the function is executed.
- Retry
Num float64 - Retry Attempts.
- Start
Time string - Start time of the query, for example
2017-05-16 20:00:00. If it's left empty, it defaults to 15 minutes before the current time.
- duration Double
- Time consumed for the request in ms.
- function
Name String - Function name.
- mem
Usage Double - Time consumed by the request in MB.
- request
Id String - Request ID.
- ret
Code Double - Result of the request.
0: succeeded,1: running,-1: exception. - ret
Msg String - Return value after the function is executed.
- retry
Num Double - Retry Attempts.
- start
Time String - Start time of the query, for example
2017-05-16 20:00:00. If it's left empty, it defaults to 15 minutes before the current time.
- duration number
- Time consumed for the request in ms.
- function
Name string - Function name.
- mem
Usage number - Time consumed by the request in MB.
- request
Id string - Request ID.
- ret
Code number - Result of the request.
0: succeeded,1: running,-1: exception. - ret
Msg string - Return value after the function is executed.
- retry
Num number - Retry Attempts.
- start
Time string - Start time of the query, for example
2017-05-16 20:00:00. If it's left empty, it defaults to 15 minutes before the current time.
- duration float
- Time consumed for the request in ms.
- function_
name str - Function name.
- mem_
usage float - Time consumed by the request in MB.
- request_
id str - Request ID.
- ret_
code float - Result of the request.
0: succeeded,1: running,-1: exception. - ret_
msg str - Return value after the function is executed.
- retry_
num float - Retry Attempts.
- start_
time str - Start time of the query, for example
2017-05-16 20:00:00. If it's left empty, it defaults to 15 minutes before the current time.
- duration Number
- Time consumed for the request in ms.
- function
Name String - Function name.
- mem
Usage Number - Time consumed by the request in MB.
- request
Id String - Request ID.
- ret
Code Number - Result of the request.
0: succeeded,1: running,-1: exception. - ret
Msg String - Return value after the function is executed.
- retry
Num Number - Retry Attempts.
- start
Time String - Start time of the query, for example
2017-05-16 20:00:00. If it's left empty, it defaults to 15 minutes before the current time.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
