Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine
volcengine.ecs.InvocationResults
Explore with Pulumi AI
Use this data source to query detailed information of ecs invocation results
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.ecs.InvocationResults({
    invocationId: "ivk-ych9y4vujvl8j01c****",
    invocationResultStatuses: ["Success"],
});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.ecs.invocation_results(invocation_id="ivk-ych9y4vujvl8j01c****",
    invocation_result_statuses=["Success"])
package main
import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ecs.InvocationResults(ctx, &ecs.InvocationResultsArgs{
			InvocationId: "ivk-ych9y4vujvl8j01c****",
			InvocationResultStatuses: []string{
				"Success",
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() => 
{
    var @default = Volcengine.Ecs.InvocationResults.Invoke(new()
    {
        InvocationId = "ivk-ych9y4vujvl8j01c****",
        InvocationResultStatuses = new[]
        {
            "Success",
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.ecs.EcsFunctions;
import com.pulumi.volcengine.ecs.inputs.InvocationResultsArgs;
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 default = EcsFunctions.InvocationResults(InvocationResultsArgs.builder()
            .invocationId("ivk-ych9y4vujvl8j01c****")
            .invocationResultStatuses("Success")
            .build());
    }
}
variables:
  default:
    fn::invoke:
      Function: volcengine:ecs:InvocationResults
      Arguments:
        invocationId: ivk-ych9y4vujvl8j01c****
        invocationResultStatuses:
          - Success
Using InvocationResults
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 invocationResults(args: InvocationResultsArgs, opts?: InvokeOptions): Promise<InvocationResultsResult>
function invocationResultsOutput(args: InvocationResultsOutputArgs, opts?: InvokeOptions): Output<InvocationResultsResult>def invocation_results(command_id: Optional[str] = None,
                       instance_id: Optional[str] = None,
                       invocation_id: Optional[str] = None,
                       invocation_result_statuses: Optional[Sequence[str]] = None,
                       output_file: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> InvocationResultsResult
def invocation_results_output(command_id: Optional[pulumi.Input[str]] = None,
                       instance_id: Optional[pulumi.Input[str]] = None,
                       invocation_id: Optional[pulumi.Input[str]] = None,
                       invocation_result_statuses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                       output_file: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[InvocationResultsResult]func InvocationResults(ctx *Context, args *InvocationResultsArgs, opts ...InvokeOption) (*InvocationResultsResult, error)
func InvocationResultsOutput(ctx *Context, args *InvocationResultsOutputArgs, opts ...InvokeOption) InvocationResultsResultOutputpublic static class InvocationResults 
{
    public static Task<InvocationResultsResult> InvokeAsync(InvocationResultsArgs args, InvokeOptions? opts = null)
    public static Output<InvocationResultsResult> Invoke(InvocationResultsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<InvocationResultsResult> invocationResults(InvocationResultsArgs args, InvokeOptions options)
public static Output<InvocationResultsResult> invocationResults(InvocationResultsArgs args, InvokeOptions options)
fn::invoke:
  function: volcengine:ecs:InvocationResults
  arguments:
    # arguments dictionaryThe following arguments are supported:
- InvocationId string
- The id of ecs invocation.
- CommandId string
- The id of ecs command.
- InstanceId string
- The id of ecs instance.
- InvocationResult List<string>Statuses 
- The list of status of ecs invocation in a single instance. Valid values: Pending,Running,Success,Failed,Timeout.
- OutputFile string
- File name where to save data source results.
- InvocationId string
- The id of ecs invocation.
- CommandId string
- The id of ecs command.
- InstanceId string
- The id of ecs instance.
- InvocationResult []stringStatuses 
- The list of status of ecs invocation in a single instance. Valid values: Pending,Running,Success,Failed,Timeout.
- OutputFile string
- File name where to save data source results.
- invocationId String
- The id of ecs invocation.
- commandId String
- The id of ecs command.
- instanceId String
- The id of ecs instance.
- invocationResult List<String>Statuses 
- The list of status of ecs invocation in a single instance. Valid values: Pending,Running,Success,Failed,Timeout.
- outputFile String
- File name where to save data source results.
- invocationId string
- The id of ecs invocation.
- commandId string
- The id of ecs command.
- instanceId string
- The id of ecs instance.
- invocationResult string[]Statuses 
- The list of status of ecs invocation in a single instance. Valid values: Pending,Running,Success,Failed,Timeout.
- outputFile string
- File name where to save data source results.
- invocation_id str
- The id of ecs invocation.
- command_id str
- The id of ecs command.
- instance_id str
- The id of ecs instance.
- invocation_result_ Sequence[str]statuses 
- The list of status of ecs invocation in a single instance. Valid values: Pending,Running,Success,Failed,Timeout.
- output_file str
- File name where to save data source results.
- invocationId String
- The id of ecs invocation.
- commandId String
- The id of ecs command.
- instanceId String
- The id of ecs instance.
- invocationResult List<String>Statuses 
- The list of status of ecs invocation in a single instance. Valid values: Pending,Running,Success,Failed,Timeout.
- outputFile String
- File name where to save data source results.
InvocationResults Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- InvocationId string
- The id of the ecs invocation.
- InvocationResults List<InvocationResults Invocation Result> 
- The collection of query.
- TotalCount int
- The total count of query.
- CommandId string
- The id of the ecs command.
- InstanceId string
- The id of the ecs instance.
- InvocationResult List<string>Statuses 
- The status of ecs invocation in a single instance.
- OutputFile string
- Id string
- The provider-assigned unique ID for this managed resource.
- InvocationId string
- The id of the ecs invocation.
- InvocationResults []InvocationResults Invocation Result 
- The collection of query.
- TotalCount int
- The total count of query.
- CommandId string
- The id of the ecs command.
- InstanceId string
- The id of the ecs instance.
- InvocationResult []stringStatuses 
- The status of ecs invocation in a single instance.
- OutputFile string
- id String
- The provider-assigned unique ID for this managed resource.
- invocationId String
- The id of the ecs invocation.
- invocationResults List<InvocationResults Invocation Result> 
- The collection of query.
- totalCount Integer
- The total count of query.
- commandId String
- The id of the ecs command.
- instanceId String
- The id of the ecs instance.
- invocationResult List<String>Statuses 
- The status of ecs invocation in a single instance.
- outputFile String
- id string
- The provider-assigned unique ID for this managed resource.
- invocationId string
- The id of the ecs invocation.
- invocationResults InvocationResults Invocation Result[] 
- The collection of query.
- totalCount number
- The total count of query.
- commandId string
- The id of the ecs command.
- instanceId string
- The id of the ecs instance.
- invocationResult string[]Statuses 
- The status of ecs invocation in a single instance.
- outputFile string
- id str
- The provider-assigned unique ID for this managed resource.
- invocation_id str
- The id of the ecs invocation.
- invocation_results Sequence[InvocationResults Invocation Result] 
- The collection of query.
- total_count int
- The total count of query.
- command_id str
- The id of the ecs command.
- instance_id str
- The id of the ecs instance.
- invocation_result_ Sequence[str]statuses 
- The status of ecs invocation in a single instance.
- output_file str
- id String
- The provider-assigned unique ID for this managed resource.
- invocationId String
- The id of the ecs invocation.
- invocationResults List<Property Map>
- The collection of query.
- totalCount Number
- The total count of query.
- commandId String
- The id of the ecs command.
- instanceId String
- The id of the ecs instance.
- invocationResult List<String>Statuses 
- The status of ecs invocation in a single instance.
- outputFile String
Supporting Types
InvocationResultsInvocationResult   
- CommandId string
- The id of ecs command.
- EndTime string
- The end time of the ecs invocation in the instance.
- ErrorCode string
- The error code of the ecs invocation.
- ErrorMessage string
- The error message of the ecs invocation.
- ExitCode int
- The exit code of the ecs command.
- Id string
- The id of the ecs invocation result.
- InstanceId string
- The id of ecs instance.
- InvocationId string
- The id of ecs invocation.
- InvocationResult stringId 
- The id of the ecs invocation result.
- InvocationResult stringStatus 
- The list of status of ecs invocation in a single instance. Valid values: Pending,Running,Success,Failed,Timeout.
- Output string
- The base64 encoded output message of the ecs invocation.
- StartTime string
- The start time of the ecs invocation in the instance.
- Username string
- The username of the ecs command.
- CommandId string
- The id of ecs command.
- EndTime string
- The end time of the ecs invocation in the instance.
- ErrorCode string
- The error code of the ecs invocation.
- ErrorMessage string
- The error message of the ecs invocation.
- ExitCode int
- The exit code of the ecs command.
- Id string
- The id of the ecs invocation result.
- InstanceId string
- The id of ecs instance.
- InvocationId string
- The id of ecs invocation.
- InvocationResult stringId 
- The id of the ecs invocation result.
- InvocationResult stringStatus 
- The list of status of ecs invocation in a single instance. Valid values: Pending,Running,Success,Failed,Timeout.
- Output string
- The base64 encoded output message of the ecs invocation.
- StartTime string
- The start time of the ecs invocation in the instance.
- Username string
- The username of the ecs command.
- commandId String
- The id of ecs command.
- endTime String
- The end time of the ecs invocation in the instance.
- errorCode String
- The error code of the ecs invocation.
- errorMessage String
- The error message of the ecs invocation.
- exitCode Integer
- The exit code of the ecs command.
- id String
- The id of the ecs invocation result.
- instanceId String
- The id of ecs instance.
- invocationId String
- The id of ecs invocation.
- invocationResult StringId 
- The id of the ecs invocation result.
- invocationResult StringStatus 
- The list of status of ecs invocation in a single instance. Valid values: Pending,Running,Success,Failed,Timeout.
- output String
- The base64 encoded output message of the ecs invocation.
- startTime String
- The start time of the ecs invocation in the instance.
- username String
- The username of the ecs command.
- commandId string
- The id of ecs command.
- endTime string
- The end time of the ecs invocation in the instance.
- errorCode string
- The error code of the ecs invocation.
- errorMessage string
- The error message of the ecs invocation.
- exitCode number
- The exit code of the ecs command.
- id string
- The id of the ecs invocation result.
- instanceId string
- The id of ecs instance.
- invocationId string
- The id of ecs invocation.
- invocationResult stringId 
- The id of the ecs invocation result.
- invocationResult stringStatus 
- The list of status of ecs invocation in a single instance. Valid values: Pending,Running,Success,Failed,Timeout.
- output string
- The base64 encoded output message of the ecs invocation.
- startTime string
- The start time of the ecs invocation in the instance.
- username string
- The username of the ecs command.
- command_id str
- The id of ecs command.
- end_time str
- The end time of the ecs invocation in the instance.
- error_code str
- The error code of the ecs invocation.
- error_message str
- The error message of the ecs invocation.
- exit_code int
- The exit code of the ecs command.
- id str
- The id of the ecs invocation result.
- instance_id str
- The id of ecs instance.
- invocation_id str
- The id of ecs invocation.
- invocation_result_ strid 
- The id of the ecs invocation result.
- invocation_result_ strstatus 
- The list of status of ecs invocation in a single instance. Valid values: Pending,Running,Success,Failed,Timeout.
- output str
- The base64 encoded output message of the ecs invocation.
- start_time str
- The start time of the ecs invocation in the instance.
- username str
- The username of the ecs command.
- commandId String
- The id of ecs command.
- endTime String
- The end time of the ecs invocation in the instance.
- errorCode String
- The error code of the ecs invocation.
- errorMessage String
- The error message of the ecs invocation.
- exitCode Number
- The exit code of the ecs command.
- id String
- The id of the ecs invocation result.
- instanceId String
- The id of ecs instance.
- invocationId String
- The id of ecs invocation.
- invocationResult StringId 
- The id of the ecs invocation result.
- invocationResult StringStatus 
- The list of status of ecs invocation in a single instance. Valid values: Pending,Running,Success,Failed,Timeout.
- output String
- The base64 encoded output message of the ecs invocation.
- startTime String
- The start time of the ecs invocation in the instance.
- username String
- The username of the ecs command.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the volcengineTerraform Provider.