1. Packages
  2. Checkpoint Provider
  3. API Docs
  4. getManagementTask
checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw

checkpoint.getManagementTask

Explore with Pulumi AI

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"],
});
Copy
import pulumi
import pulumi_checkpoint as checkpoint

example = checkpoint.get_management_task(task_ids=["6682b963-fe1a-4a75-a86c-91cb13e91d83"])
Copy
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
	})
}
Copy
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",
        },
    });

});
Copy
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());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: checkpoint:getManagementTask
      arguments:
        taskIds:
          - 6682b963-fe1a-4a75-a86c-91cb13e91d83
Copy

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>
Copy
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]
Copy
func GetManagementTask(ctx *Context, args *GetManagementTaskArgs, opts ...InvokeOption) (*GetManagementTaskResult, error)
func GetManagementTaskOutput(ctx *Context, args *GetManagementTaskOutputArgs, opts ...InvokeOption) GetManagementTaskResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetManagementTaskResult> getManagementTask(GetManagementTaskArgs args, InvokeOptions options)
public static Output<GetManagementTaskResult> getManagementTask(GetManagementTaskArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: checkpoint:index/getManagementTask:getManagementTask
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

TaskIds This property is required. List<string>
Unique identifier of one or more tasks.
Id string
TaskIds This property is required. []string
Unique identifier of one or more tasks.
Id string
taskIds This property is required. List<String>
Unique identifier of one or more tasks.
id String
taskIds This property is required. string[]
Unique identifier of one or more tasks.
id string
task_ids This property is required. Sequence[str]
Unique identifier of one or more tasks.
id str
taskIds This property is required. List<String>
Unique identifier of one or more tasks.
id String

getManagementTask Result

The following output properties are available:

Supporting Types

GetManagementTaskTask

Comments This property is required. string
Comments string.
ProgressPercentage This property is required. double
The progress percentage of the task.
Status This property is required. string
Task status.
Suppressed This property is required. bool
Is the task suppressed.
TaskId This property is required. string
Asynchronous task unique identifier. Use show-task command to check the progress of the task.
TaskName This property is required. string
The task name.
Comments This property is required. string
Comments string.
ProgressPercentage This property is required. float64
The progress percentage of the task.
Status This property is required. string
Task status.
Suppressed This property is required. bool
Is the task suppressed.
TaskId This property is required. string
Asynchronous task unique identifier. Use show-task command to check the progress of the task.
TaskName This property is required. string
The task name.
comments This property is required. String
Comments string.
progressPercentage This property is required. Double
The progress percentage of the task.
status This property is required. String
Task status.
suppressed This property is required. Boolean
Is the task suppressed.
taskId This property is required. String
Asynchronous task unique identifier. Use show-task command to check the progress of the task.
taskName This property is required. String
The task name.
comments This property is required. string
Comments string.
progressPercentage This property is required. number
The progress percentage of the task.
status This property is required. string
Task status.
suppressed This property is required. boolean
Is the task suppressed.
taskId This property is required. string
Asynchronous task unique identifier. Use show-task command to check the progress of the task.
taskName This property is required. string
The task name.
comments This property is required. str
Comments string.
progress_percentage This property is required. float
The progress percentage of the task.
status This property is required. str
Task status.
suppressed This property is required. bool
Is the task suppressed.
task_id This property is required. str
Asynchronous task unique identifier. Use show-task command to check the progress of the task.
task_name This property is required. str
The task name.
comments This property is required. String
Comments string.
progressPercentage This property is required. Number
The progress percentage of the task.
status This property is required. String
Task status.
suppressed This property is required. Boolean
Is the task suppressed.
taskId This property is required. String
Asynchronous task unique identifier. Use show-task command to check the progress of the task.
taskName This property is required. String
The task name.

Package Details

Repository
checkpoint checkpointsw/terraform-provider-checkpoint
License
Notes
This Pulumi package is based on the checkpoint Terraform Provider.