checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw
checkpoint.getManagementTask
Explore with Pulumi AI
checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw
Use this data source to get information on an existing Check Point Task.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as checkpoint from "@pulumi/checkpoint";
const example = checkpoint.getManagementTask({
taskIds: ["6682b963-fe1a-4a75-a86c-91cb13e91d83"],
});
import pulumi
import pulumi_checkpoint as checkpoint
example = checkpoint.get_management_task(task_ids=["6682b963-fe1a-4a75-a86c-91cb13e91d83"])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/checkpoint/v2/checkpoint"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := checkpoint.GetManagementTask(ctx, &checkpoint.GetManagementTaskArgs{
TaskIds: []string{
"6682b963-fe1a-4a75-a86c-91cb13e91d83",
},
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Checkpoint = Pulumi.Checkpoint;
return await Deployment.RunAsync(() =>
{
var example = Checkpoint.GetManagementTask.Invoke(new()
{
TaskIds = new[]
{
"6682b963-fe1a-4a75-a86c-91cb13e91d83",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.checkpoint.CheckpointFunctions;
import com.pulumi.checkpoint.inputs.GetManagementTaskArgs;
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 example = CheckpointFunctions.getManagementTask(GetManagementTaskArgs.builder()
.taskIds("6682b963-fe1a-4a75-a86c-91cb13e91d83")
.build());
}
}
variables:
example:
fn::invoke:
function: checkpoint:getManagementTask
arguments:
taskIds:
- 6682b963-fe1a-4a75-a86c-91cb13e91d83
Using getManagementTask
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 getManagementTask(args: GetManagementTaskArgs, opts?: InvokeOptions): Promise<GetManagementTaskResult>
function getManagementTaskOutput(args: GetManagementTaskOutputArgs, opts?: InvokeOptions): Output<GetManagementTaskResult>
def get_management_task(id: Optional[str] = None,
task_ids: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> GetManagementTaskResult
def get_management_task_output(id: Optional[pulumi.Input[str]] = None,
task_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetManagementTaskResult]
func GetManagementTask(ctx *Context, args *GetManagementTaskArgs, opts ...InvokeOption) (*GetManagementTaskResult, error)
func GetManagementTaskOutput(ctx *Context, args *GetManagementTaskOutputArgs, opts ...InvokeOption) GetManagementTaskResultOutput
> Note: This function is named GetManagementTask
in the Go SDK.
public static class GetManagementTask
{
public static Task<GetManagementTaskResult> InvokeAsync(GetManagementTaskArgs args, InvokeOptions? opts = null)
public static Output<GetManagementTaskResult> Invoke(GetManagementTaskInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetManagementTaskResult> getManagementTask(GetManagementTaskArgs args, InvokeOptions options)
public static Output<GetManagementTaskResult> getManagementTask(GetManagementTaskArgs args, InvokeOptions options)
fn::invoke:
function: checkpoint:index/getManagementTask:getManagementTask
arguments:
# arguments dictionary
The following arguments are supported:
getManagementTask Result
The following output properties are available:
- Id string
- Task
Ids List<string> - Tasks
List<Get
Management Task Task>
- Id string
- Task
Ids []string - Tasks
[]Get
Management Task Task
- id String
- task
Ids List<String> - tasks
List<Get
Management Task Task>
- id string
- task
Ids string[] - tasks
Get
Management Task Task[]
- id str
- task_
ids Sequence[str] - tasks
Sequence[Get
Management Task Task]
- id String
- task
Ids List<String> - tasks List<Property Map>
Supporting Types
GetManagementTaskTask
- Comments string
- Comments string.
- Progress
Percentage double - The progress percentage of the task.
- Status string
- Task status.
- Suppressed bool
- Is the task suppressed.
- Task
Id string - Asynchronous task unique identifier. Use show-task command to check the progress of the task.
- Task
Name string - The task name.
- Comments string
- Comments string.
- Progress
Percentage float64 - The progress percentage of the task.
- Status string
- Task status.
- Suppressed bool
- Is the task suppressed.
- Task
Id string - Asynchronous task unique identifier. Use show-task command to check the progress of the task.
- Task
Name string - The task name.
- comments String
- Comments string.
- progress
Percentage Double - The progress percentage of the task.
- status String
- Task status.
- suppressed Boolean
- Is the task suppressed.
- task
Id String - Asynchronous task unique identifier. Use show-task command to check the progress of the task.
- task
Name String - The task name.
- comments string
- Comments string.
- progress
Percentage number - The progress percentage of the task.
- status string
- Task status.
- suppressed boolean
- Is the task suppressed.
- task
Id string - Asynchronous task unique identifier. Use show-task command to check the progress of the task.
- task
Name string - The task name.
- comments str
- Comments string.
- progress_
percentage float - The progress percentage of the task.
- status str
- Task status.
- suppressed bool
- Is the task suppressed.
- task_
id str - Asynchronous task unique identifier. Use show-task command to check the progress of the task.
- task_
name str - The task name.
- comments String
- Comments string.
- progress
Percentage Number - The progress percentage of the task.
- status String
- Task status.
- suppressed Boolean
- Is the task suppressed.
- task
Id String - Asynchronous task unique identifier. Use show-task command to check the progress of the task.
- task
Name String - The task name.
Package Details
- Repository
- checkpoint checkpointsw/terraform-provider-checkpoint
- License
- Notes
- This Pulumi package is based on the
checkpoint
Terraform Provider.
checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw