Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine
volcengine.ecs.InvocationResults
Explore with Pulumi AI
Use this data source to query detailed information of ecs invocation results
Example Usage
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 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
})
}
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());
}
}
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.ecs.invocation_results(invocation_id="ivk-ych9y4vujvl8j01c****",
invocation_result_statuses=["Success"])
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.ecs.InvocationResults({
invocationId: "ivk-ych9y4vujvl8j01c****",
invocationResultStatuses: ["Success"],
});
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) InvocationResultsResultOutput
public 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: volcengine:ecs:InvocationResults
arguments:
# arguments dictionary
The following arguments are supported:
- Invocation
Id string - The id of ecs invocation.
- Command
Id string - The id of ecs command.
- Instance
Id string - The id of ecs instance.
- Invocation
Result List<string>Statuses - The list of status of ecs invocation in a single instance. Valid values:
Pending
,Running
,Success
,Failed
,Timeout
. - Output
File string - File name where to save data source results.
- Invocation
Id string - The id of ecs invocation.
- Command
Id string - The id of ecs command.
- Instance
Id string - The id of ecs instance.
- Invocation
Result []stringStatuses - The list of status of ecs invocation in a single instance. Valid values:
Pending
,Running
,Success
,Failed
,Timeout
. - Output
File string - File name where to save data source results.
- invocation
Id String - The id of ecs invocation.
- command
Id String - The id of ecs command.
- instance
Id String - The id of ecs instance.
- invocation
Result List<String>Statuses - The list of status of ecs invocation in a single instance. Valid values:
Pending
,Running
,Success
,Failed
,Timeout
. - output
File String - File name where to save data source results.
- invocation
Id string - The id of ecs invocation.
- command
Id string - The id of ecs command.
- instance
Id string - The id of ecs instance.
- invocation
Result string[]Statuses - The list of status of ecs invocation in a single instance. Valid values:
Pending
,Running
,Success
,Failed
,Timeout
. - output
File 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.
- invocation
Id String - The id of ecs invocation.
- command
Id String - The id of ecs command.
- instance
Id String - The id of ecs instance.
- invocation
Result List<String>Statuses - The list of status of ecs invocation in a single instance. Valid values:
Pending
,Running
,Success
,Failed
,Timeout
. - output
File 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.
- Invocation
Id string - The id of the ecs invocation.
- Invocation
Results List<InvocationResults Invocation Result> - The collection of query.
- Total
Count int - The total count of query.
- Command
Id string - The id of the ecs command.
- Instance
Id string - The id of the ecs instance.
- Invocation
Result List<string>Statuses - The status of ecs invocation in a single instance.
- Output
File string
- Id string
- The provider-assigned unique ID for this managed resource.
- Invocation
Id string - The id of the ecs invocation.
- Invocation
Results []InvocationResults Invocation Result - The collection of query.
- Total
Count int - The total count of query.
- Command
Id string - The id of the ecs command.
- Instance
Id string - The id of the ecs instance.
- Invocation
Result []stringStatuses - The status of ecs invocation in a single instance.
- Output
File string
- id String
- The provider-assigned unique ID for this managed resource.
- invocation
Id String - The id of the ecs invocation.
- invocation
Results List<InvocationResults Invocation Result> - The collection of query.
- total
Count Integer - The total count of query.
- command
Id String - The id of the ecs command.
- instance
Id String - The id of the ecs instance.
- invocation
Result List<String>Statuses - The status of ecs invocation in a single instance.
- output
File String
- id string
- The provider-assigned unique ID for this managed resource.
- invocation
Id string - The id of the ecs invocation.
- invocation
Results InvocationResults Invocation Result[] - The collection of query.
- total
Count number - The total count of query.
- command
Id string - The id of the ecs command.
- instance
Id string - The id of the ecs instance.
- invocation
Result string[]Statuses - The status of ecs invocation in a single instance.
- output
File 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.
- invocation
Id String - The id of the ecs invocation.
- invocation
Results List<Property Map> - The collection of query.
- total
Count Number - The total count of query.
- command
Id String - The id of the ecs command.
- instance
Id String - The id of the ecs instance.
- invocation
Result List<String>Statuses - The status of ecs invocation in a single instance.
- output
File String
Supporting Types
InvocationResultsInvocationResult
- Command
Id string - The id of ecs command.
- End
Time string - The end time of the ecs invocation in the instance.
- Error
Code string - The error code of the ecs invocation.
- Error
Message string - The error message of the ecs invocation.
- Exit
Code int - The exit code of the ecs command.
- Id string
- The id of the ecs invocation result.
- Instance
Id string - The id of ecs instance.
- Invocation
Id string - The id of ecs invocation.
- Invocation
Result stringId - The id of the ecs invocation result.
- Invocation
Result 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.
- Start
Time string - The start time of the ecs invocation in the instance.
- Username string
- The username of the ecs command.
- Command
Id string - The id of ecs command.
- End
Time string - The end time of the ecs invocation in the instance.
- Error
Code string - The error code of the ecs invocation.
- Error
Message string - The error message of the ecs invocation.
- Exit
Code int - The exit code of the ecs command.
- Id string
- The id of the ecs invocation result.
- Instance
Id string - The id of ecs instance.
- Invocation
Id string - The id of ecs invocation.
- Invocation
Result stringId - The id of the ecs invocation result.
- Invocation
Result 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.
- Start
Time string - The start time of the ecs invocation in the instance.
- Username string
- The username of the ecs command.
- command
Id String - The id of ecs command.
- end
Time String - The end time of the ecs invocation in the instance.
- error
Code String - The error code of the ecs invocation.
- error
Message String - The error message of the ecs invocation.
- exit
Code Integer - The exit code of the ecs command.
- id String
- The id of the ecs invocation result.
- instance
Id String - The id of ecs instance.
- invocation
Id String - The id of ecs invocation.
- invocation
Result StringId - The id of the ecs invocation result.
- invocation
Result 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.
- start
Time String - The start time of the ecs invocation in the instance.
- username String
- The username of the ecs command.
- command
Id string - The id of ecs command.
- end
Time string - The end time of the ecs invocation in the instance.
- error
Code string - The error code of the ecs invocation.
- error
Message string - The error message of the ecs invocation.
- exit
Code number - The exit code of the ecs command.
- id string
- The id of the ecs invocation result.
- instance
Id string - The id of ecs instance.
- invocation
Id string - The id of ecs invocation.
- invocation
Result stringId - The id of the ecs invocation result.
- invocation
Result 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.
- start
Time 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.
- command
Id String - The id of ecs command.
- end
Time String - The end time of the ecs invocation in the instance.
- error
Code String - The error code of the ecs invocation.
- error
Message String - The error message of the ecs invocation.
- exit
Code Number - The exit code of the ecs command.
- id String
- The id of the ecs invocation result.
- instance
Id String - The id of ecs instance.
- invocation
Id String - The id of ecs invocation.
- invocation
Result StringId - The id of the ecs invocation result.
- invocation
Result 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.
- start
Time 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
volcengine
Terraform Provider.