Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
Deprecated: volcengine.ecs.Invocations has been deprecated in favor of volcengine.ecs.getInvocations
Use this data source to query detailed information of ecs invocations
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.ecs.getInvocations({
invocationId: "ivk-ych9y4vujvl8j01c****",
invocationStatuses: ["Success"],
});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.ecs.get_invocations(invocation_id="ivk-ych9y4vujvl8j01c****",
invocation_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.GetInvocations(ctx, &ecs.GetInvocationsArgs{
InvocationId: pulumi.StringRef("ivk-ych9y4vujvl8j01c****"),
InvocationStatuses: []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.GetInvocations.Invoke(new()
{
InvocationId = "ivk-ych9y4vujvl8j01c****",
InvocationStatuses = 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.GetInvocationsArgs;
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.getInvocations(GetInvocationsArgs.builder()
.invocationId("ivk-ych9y4vujvl8j01c****")
.invocationStatuses("Success")
.build());
}
}
variables:
default:
fn::invoke:
Function: volcengine:ecs:getInvocations
Arguments:
invocationId: ivk-ych9y4vujvl8j01c****
invocationStatuses:
- Success
Using Invocations
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 invocations(args: InvocationsArgs, opts?: InvokeOptions): Promise<InvocationsResult>
function invocationsOutput(args: InvocationsOutputArgs, opts?: InvokeOptions): Output<InvocationsResult>def invocations(command_id: Optional[str] = None,
command_name: Optional[str] = None,
command_type: Optional[str] = None,
invocation_id: Optional[str] = None,
invocation_name: Optional[str] = None,
invocation_statuses: Optional[Sequence[str]] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
project_name: Optional[str] = None,
repeat_mode: Optional[str] = None,
tags: Optional[Sequence[InvocationsTag]] = None,
opts: Optional[InvokeOptions] = None) -> InvocationsResult
def invocations_output(command_id: Optional[pulumi.Input[str]] = None,
command_name: Optional[pulumi.Input[str]] = None,
command_type: Optional[pulumi.Input[str]] = None,
invocation_id: Optional[pulumi.Input[str]] = None,
invocation_name: Optional[pulumi.Input[str]] = None,
invocation_statuses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
project_name: Optional[pulumi.Input[str]] = None,
repeat_mode: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[InvocationsTagArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[InvocationsResult]func Invocations(ctx *Context, args *InvocationsArgs, opts ...InvokeOption) (*InvocationsResult, error)
func InvocationsOutput(ctx *Context, args *InvocationsOutputArgs, opts ...InvokeOption) InvocationsResultOutputpublic static class Invocations
{
public static Task<InvocationsResult> InvokeAsync(InvocationsArgs args, InvokeOptions? opts = null)
public static Output<InvocationsResult> Invoke(InvocationsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<InvocationsResult> invocations(InvocationsArgs args, InvokeOptions options)
public static Output<InvocationsResult> invocations(InvocationsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:ecs:Invocations
arguments:
# arguments dictionaryThe following arguments are supported:
- Command
Id string - The id of ecs command.
- Command
Name string - The name of ecs command. This field support fuzzy query.
- Command
Type string - The type of ecs command. Valid values:
Shell. - Invocation
Id string - The id of ecs invocation.
- Invocation
Name string - The name of ecs invocation. This field support fuzzy query.
- Invocation
Statuses List<string> - The list of status of ecs invocation. Valid values:
Pending,Scheduled,Running,Success,Failed,Stopped,PartialFailed,Finished. - Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Project
Name string - The project name of ecs invocation.
- Repeat
Mode string - The repeat mode of ecs invocation. Valid values:
Once,Rate,Fixed. -
List<Invocations
Tag> - Tags.
- Command
Id string - The id of ecs command.
- Command
Name string - The name of ecs command. This field support fuzzy query.
- Command
Type string - The type of ecs command. Valid values:
Shell. - Invocation
Id string - The id of ecs invocation.
- Invocation
Name string - The name of ecs invocation. This field support fuzzy query.
- Invocation
Statuses []string - The list of status of ecs invocation. Valid values:
Pending,Scheduled,Running,Success,Failed,Stopped,PartialFailed,Finished. - Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Project
Name string - The project name of ecs invocation.
- Repeat
Mode string - The repeat mode of ecs invocation. Valid values:
Once,Rate,Fixed. -
[]Invocations
Tag - Tags.
- command
Id String - The id of ecs command.
- command
Name String - The name of ecs command. This field support fuzzy query.
- command
Type String - The type of ecs command. Valid values:
Shell. - invocation
Id String - The id of ecs invocation.
- invocation
Name String - The name of ecs invocation. This field support fuzzy query.
- invocation
Statuses List<String> - The list of status of ecs invocation. Valid values:
Pending,Scheduled,Running,Success,Failed,Stopped,PartialFailed,Finished. - name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- project
Name String - The project name of ecs invocation.
- repeat
Mode String - The repeat mode of ecs invocation. Valid values:
Once,Rate,Fixed. -
List<Invocations
Tag> - Tags.
- command
Id string - The id of ecs command.
- command
Name string - The name of ecs command. This field support fuzzy query.
- command
Type string - The type of ecs command. Valid values:
Shell. - invocation
Id string - The id of ecs invocation.
- invocation
Name string - The name of ecs invocation. This field support fuzzy query.
- invocation
Statuses string[] - The list of status of ecs invocation. Valid values:
Pending,Scheduled,Running,Success,Failed,Stopped,PartialFailed,Finished. - name
Regex string - A Name Regex of Resource.
- output
File string - File name where to save data source results.
- project
Name string - The project name of ecs invocation.
- repeat
Mode string - The repeat mode of ecs invocation. Valid values:
Once,Rate,Fixed. -
Invocations
Tag[] - Tags.
- command_
id str - The id of ecs command.
- command_
name str - The name of ecs command. This field support fuzzy query.
- command_
type str - The type of ecs command. Valid values:
Shell. - invocation_
id str - The id of ecs invocation.
- invocation_
name str - The name of ecs invocation. This field support fuzzy query.
- invocation_
statuses Sequence[str] - The list of status of ecs invocation. Valid values:
Pending,Scheduled,Running,Success,Failed,Stopped,PartialFailed,Finished. - name_
regex str - A Name Regex of Resource.
- output_
file str - File name where to save data source results.
- project_
name str - The project name of ecs invocation.
- repeat_
mode str - The repeat mode of ecs invocation. Valid values:
Once,Rate,Fixed. -
Sequence[Invocations
Tag] - Tags.
- command
Id String - The id of ecs command.
- command
Name String - The name of ecs command. This field support fuzzy query.
- command
Type String - The type of ecs command. Valid values:
Shell. - invocation
Id String - The id of ecs invocation.
- invocation
Name String - The name of ecs invocation. This field support fuzzy query.
- invocation
Statuses List<String> - The list of status of ecs invocation. Valid values:
Pending,Scheduled,Running,Success,Failed,Stopped,PartialFailed,Finished. - name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- project
Name String - The project name of ecs invocation.
- repeat
Mode String - The repeat mode of ecs invocation. Valid values:
Once,Rate,Fixed. - List<Property Map>
- Tags.
Invocations Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Invocations
List<Invocations
Invocation> - The collection of query.
- Total
Count int - The total count of query.
- Command
Id string - The id of the ecs command.
- Command
Name string - The name of the ecs command.
- Command
Type string - The type of the ecs command.
- Invocation
Id string - The id of the ecs invocation.
- Invocation
Name string - The name of the ecs invocation.
- Invocation
Statuses List<string> - The status of the ecs invocation.
- Name
Regex string - Output
File string - Project
Name string - The project name of the ecs invocation.
- Repeat
Mode string - The repeat mode of the ecs invocation.
-
List<Invocations
Tag> - Tags.
- Id string
- The provider-assigned unique ID for this managed resource.
- Invocations
[]Invocations
Invocation - The collection of query.
- Total
Count int - The total count of query.
- Command
Id string - The id of the ecs command.
- Command
Name string - The name of the ecs command.
- Command
Type string - The type of the ecs command.
- Invocation
Id string - The id of the ecs invocation.
- Invocation
Name string - The name of the ecs invocation.
- Invocation
Statuses []string - The status of the ecs invocation.
- Name
Regex string - Output
File string - Project
Name string - The project name of the ecs invocation.
- Repeat
Mode string - The repeat mode of the ecs invocation.
-
[]Invocations
Tag - Tags.
- id String
- The provider-assigned unique ID for this managed resource.
- invocations
List<Invocations
Invocation> - The collection of query.
- total
Count Integer - The total count of query.
- command
Id String - The id of the ecs command.
- command
Name String - The name of the ecs command.
- command
Type String - The type of the ecs command.
- invocation
Id String - The id of the ecs invocation.
- invocation
Name String - The name of the ecs invocation.
- invocation
Statuses List<String> - The status of the ecs invocation.
- name
Regex String - output
File String - project
Name String - The project name of the ecs invocation.
- repeat
Mode String - The repeat mode of the ecs invocation.
-
List<Invocations
Tag> - Tags.
- id string
- The provider-assigned unique ID for this managed resource.
- invocations
Invocations
Invocation[] - The collection of query.
- total
Count number - The total count of query.
- command
Id string - The id of the ecs command.
- command
Name string - The name of the ecs command.
- command
Type string - The type of the ecs command.
- invocation
Id string - The id of the ecs invocation.
- invocation
Name string - The name of the ecs invocation.
- invocation
Statuses string[] - The status of the ecs invocation.
- name
Regex string - output
File string - project
Name string - The project name of the ecs invocation.
- repeat
Mode string - The repeat mode of the ecs invocation.
-
Invocations
Tag[] - Tags.
- id str
- The provider-assigned unique ID for this managed resource.
- invocations
Sequence[Invocations
Invocation] - The collection of query.
- total_
count int - The total count of query.
- command_
id str - The id of the ecs command.
- command_
name str - The name of the ecs command.
- command_
type str - The type of the ecs command.
- invocation_
id str - The id of the ecs invocation.
- invocation_
name str - The name of the ecs invocation.
- invocation_
statuses Sequence[str] - The status of the ecs invocation.
- name_
regex str - output_
file str - project_
name str - The project name of the ecs invocation.
- repeat_
mode str - The repeat mode of the ecs invocation.
-
Sequence[Invocations
Tag] - Tags.
- id String
- The provider-assigned unique ID for this managed resource.
- invocations List<Property Map>
- The collection of query.
- total
Count Number - The total count of query.
- command
Id String - The id of the ecs command.
- command
Name String - The name of the ecs command.
- command
Type String - The type of the ecs command.
- invocation
Id String - The id of the ecs invocation.
- invocation
Name String - The name of the ecs invocation.
- invocation
Statuses List<String> - The status of the ecs invocation.
- name
Regex String - output
File String - project
Name String - The project name of the ecs invocation.
- repeat
Mode String - The repeat mode of the ecs invocation.
- List<Property Map>
- Tags.
Supporting Types
InvocationsInvocation
- Command
Content string - The base64 encoded content of the ecs command.
- Command
Description string - The description of the ecs command.
- Command
Id string - The id of ecs command.
- Command
Name string - The name of ecs command. This field support fuzzy query.
- Command
Provider string - The provider of the ecs command.
- Command
Type string - The type of ecs command. Valid values:
Shell. - End
Time string - The end time of the ecs invocation.
- Frequency string
- The frequency of the ecs invocation.
- Id string
- The id of the ecs invocation.
- Instance
Ids List<string> - The list of ECS instance IDs.
- Instance
Number int - The instance number of the ecs invocation.
- Invocation
Description string - The description of the ecs invocation.
- Invocation
Id string - The id of ecs invocation.
- Invocation
Name string - The name of ecs invocation. This field support fuzzy query.
- Invocation
Status string - The list of status of ecs invocation. Valid values:
Pending,Scheduled,Running,Success,Failed,Stopped,PartialFailed,Finished. - Launch
Time string - The launch time of the ecs invocation.
- Parameters string
- The custom parameters of the ecs invocation.
- Project
Name string - The project name of ecs invocation.
- Recurrence
End stringTime - The recurrence end time of the ecs invocation.
- Repeat
Mode string - The repeat mode of ecs invocation. Valid values:
Once,Rate,Fixed. - Start
Time string - The start time of the ecs invocation.
-
List<Invocations
Invocation Tag> - Tags.
- Timeout int
- The timeout of the ecs command.
- Username string
- The username of the ecs command.
- Working
Dir string - The working directory of the ecs command.
- Command
Content string - The base64 encoded content of the ecs command.
- Command
Description string - The description of the ecs command.
- Command
Id string - The id of ecs command.
- Command
Name string - The name of ecs command. This field support fuzzy query.
- Command
Provider string - The provider of the ecs command.
- Command
Type string - The type of ecs command. Valid values:
Shell. - End
Time string - The end time of the ecs invocation.
- Frequency string
- The frequency of the ecs invocation.
- Id string
- The id of the ecs invocation.
- Instance
Ids []string - The list of ECS instance IDs.
- Instance
Number int - The instance number of the ecs invocation.
- Invocation
Description string - The description of the ecs invocation.
- Invocation
Id string - The id of ecs invocation.
- Invocation
Name string - The name of ecs invocation. This field support fuzzy query.
- Invocation
Status string - The list of status of ecs invocation. Valid values:
Pending,Scheduled,Running,Success,Failed,Stopped,PartialFailed,Finished. - Launch
Time string - The launch time of the ecs invocation.
- Parameters string
- The custom parameters of the ecs invocation.
- Project
Name string - The project name of ecs invocation.
- Recurrence
End stringTime - The recurrence end time of the ecs invocation.
- Repeat
Mode string - The repeat mode of ecs invocation. Valid values:
Once,Rate,Fixed. - Start
Time string - The start time of the ecs invocation.
-
[]Invocations
Invocation Tag - Tags.
- Timeout int
- The timeout of the ecs command.
- Username string
- The username of the ecs command.
- Working
Dir string - The working directory of the ecs command.
- command
Content String - The base64 encoded content of the ecs command.
- command
Description String - The description of the ecs command.
- command
Id String - The id of ecs command.
- command
Name String - The name of ecs command. This field support fuzzy query.
- command
Provider String - The provider of the ecs command.
- command
Type String - The type of ecs command. Valid values:
Shell. - end
Time String - The end time of the ecs invocation.
- frequency String
- The frequency of the ecs invocation.
- id String
- The id of the ecs invocation.
- instance
Ids List<String> - The list of ECS instance IDs.
- instance
Number Integer - The instance number of the ecs invocation.
- invocation
Description String - The description of the ecs invocation.
- invocation
Id String - The id of ecs invocation.
- invocation
Name String - The name of ecs invocation. This field support fuzzy query.
- invocation
Status String - The list of status of ecs invocation. Valid values:
Pending,Scheduled,Running,Success,Failed,Stopped,PartialFailed,Finished. - launch
Time String - The launch time of the ecs invocation.
- parameters String
- The custom parameters of the ecs invocation.
- project
Name String - The project name of ecs invocation.
- recurrence
End StringTime - The recurrence end time of the ecs invocation.
- repeat
Mode String - The repeat mode of ecs invocation. Valid values:
Once,Rate,Fixed. - start
Time String - The start time of the ecs invocation.
-
List<Invocations
Invocation Tag> - Tags.
- timeout Integer
- The timeout of the ecs command.
- username String
- The username of the ecs command.
- working
Dir String - The working directory of the ecs command.
- command
Content string - The base64 encoded content of the ecs command.
- command
Description string - The description of the ecs command.
- command
Id string - The id of ecs command.
- command
Name string - The name of ecs command. This field support fuzzy query.
- command
Provider string - The provider of the ecs command.
- command
Type string - The type of ecs command. Valid values:
Shell. - end
Time string - The end time of the ecs invocation.
- frequency string
- The frequency of the ecs invocation.
- id string
- The id of the ecs invocation.
- instance
Ids string[] - The list of ECS instance IDs.
- instance
Number number - The instance number of the ecs invocation.
- invocation
Description string - The description of the ecs invocation.
- invocation
Id string - The id of ecs invocation.
- invocation
Name string - The name of ecs invocation. This field support fuzzy query.
- invocation
Status string - The list of status of ecs invocation. Valid values:
Pending,Scheduled,Running,Success,Failed,Stopped,PartialFailed,Finished. - launch
Time string - The launch time of the ecs invocation.
- parameters string
- The custom parameters of the ecs invocation.
- project
Name string - The project name of ecs invocation.
- recurrence
End stringTime - The recurrence end time of the ecs invocation.
- repeat
Mode string - The repeat mode of ecs invocation. Valid values:
Once,Rate,Fixed. - start
Time string - The start time of the ecs invocation.
-
Invocations
Invocation Tag[] - Tags.
- timeout number
- The timeout of the ecs command.
- username string
- The username of the ecs command.
- working
Dir string - The working directory of the ecs command.
- command_
content str - The base64 encoded content of the ecs command.
- command_
description str - The description of the ecs command.
- command_
id str - The id of ecs command.
- command_
name str - The name of ecs command. This field support fuzzy query.
- command_
provider str - The provider of the ecs command.
- command_
type str - The type of ecs command. Valid values:
Shell. - end_
time str - The end time of the ecs invocation.
- frequency str
- The frequency of the ecs invocation.
- id str
- The id of the ecs invocation.
- instance_
ids Sequence[str] - The list of ECS instance IDs.
- instance_
number int - The instance number of the ecs invocation.
- invocation_
description str - The description of the ecs invocation.
- invocation_
id str - The id of ecs invocation.
- invocation_
name str - The name of ecs invocation. This field support fuzzy query.
- invocation_
status str - The list of status of ecs invocation. Valid values:
Pending,Scheduled,Running,Success,Failed,Stopped,PartialFailed,Finished. - launch_
time str - The launch time of the ecs invocation.
- parameters str
- The custom parameters of the ecs invocation.
- project_
name str - The project name of ecs invocation.
- recurrence_
end_ strtime - The recurrence end time of the ecs invocation.
- repeat_
mode str - The repeat mode of ecs invocation. Valid values:
Once,Rate,Fixed. - start_
time str - The start time of the ecs invocation.
-
Sequence[Invocations
Invocation Tag] - Tags.
- timeout int
- The timeout of the ecs command.
- username str
- The username of the ecs command.
- working_
dir str - The working directory of the ecs command.
- command
Content String - The base64 encoded content of the ecs command.
- command
Description String - The description of the ecs command.
- command
Id String - The id of ecs command.
- command
Name String - The name of ecs command. This field support fuzzy query.
- command
Provider String - The provider of the ecs command.
- command
Type String - The type of ecs command. Valid values:
Shell. - end
Time String - The end time of the ecs invocation.
- frequency String
- The frequency of the ecs invocation.
- id String
- The id of the ecs invocation.
- instance
Ids List<String> - The list of ECS instance IDs.
- instance
Number Number - The instance number of the ecs invocation.
- invocation
Description String - The description of the ecs invocation.
- invocation
Id String - The id of ecs invocation.
- invocation
Name String - The name of ecs invocation. This field support fuzzy query.
- invocation
Status String - The list of status of ecs invocation. Valid values:
Pending,Scheduled,Running,Success,Failed,Stopped,PartialFailed,Finished. - launch
Time String - The launch time of the ecs invocation.
- parameters String
- The custom parameters of the ecs invocation.
- project
Name String - The project name of ecs invocation.
- recurrence
End StringTime - The recurrence end time of the ecs invocation.
- repeat
Mode String - The repeat mode of ecs invocation. Valid values:
Once,Rate,Fixed. - start
Time String - The start time of the ecs invocation.
- List<Property Map>
- Tags.
- timeout Number
- The timeout of the ecs command.
- username String
- The username of the ecs command.
- working
Dir String - The working directory of the ecs command.
InvocationsInvocationTag
InvocationsTag
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
