checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw
checkpoint.getManagementLimit
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 Limit.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as checkpoint from "@pulumi/checkpoint";
const example = new checkpoint.ManagementLimit("example", {
downloadRate: 3,
downloadUnit: "Gbps",
enableDownload: true,
});
const data = checkpoint.getManagementLimitOutput({
name: example.name,
});
import pulumi
import pulumi_checkpoint as checkpoint
example = checkpoint.ManagementLimit("example",
download_rate=3,
download_unit="Gbps",
enable_download=True)
data = checkpoint.get_management_limit_output(name=example.name)
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 {
example, err := checkpoint.NewManagementLimit(ctx, "example", &checkpoint.ManagementLimitArgs{
DownloadRate: pulumi.Float64(3),
DownloadUnit: pulumi.String("Gbps"),
EnableDownload: pulumi.Bool(true),
})
if err != nil {
return err
}
_ = checkpoint.LookupManagementLimitOutput(ctx, checkpoint.GetManagementLimitOutputArgs{
Name: example.Name,
}, nil)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Checkpoint = Pulumi.Checkpoint;
return await Deployment.RunAsync(() =>
{
var example = new Checkpoint.ManagementLimit("example", new()
{
DownloadRate = 3,
DownloadUnit = "Gbps",
EnableDownload = true,
});
var data = Checkpoint.GetManagementLimit.Invoke(new()
{
Name = example.Name,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.checkpoint.ManagementLimit;
import com.pulumi.checkpoint.ManagementLimitArgs;
import com.pulumi.checkpoint.CheckpointFunctions;
import com.pulumi.checkpoint.inputs.GetManagementLimitArgs;
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) {
var example = new ManagementLimit("example", ManagementLimitArgs.builder()
.downloadRate(3)
.downloadUnit("Gbps")
.enableDownload(true)
.build());
final var data = CheckpointFunctions.getManagementLimit(GetManagementLimitArgs.builder()
.name(example.name())
.build());
}
}
resources:
example:
type: checkpoint:ManagementLimit
properties:
downloadRate: 3
downloadUnit: Gbps
enableDownload: true
variables:
data:
fn::invoke:
function: checkpoint:getManagementLimit
arguments:
name: ${example.name}
Using getManagementLimit
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 getManagementLimit(args: GetManagementLimitArgs, opts?: InvokeOptions): Promise<GetManagementLimitResult>
function getManagementLimitOutput(args: GetManagementLimitOutputArgs, opts?: InvokeOptions): Output<GetManagementLimitResult>
def get_management_limit(id: Optional[str] = None,
name: Optional[str] = None,
uid: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetManagementLimitResult
def get_management_limit_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
uid: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetManagementLimitResult]
func LookupManagementLimit(ctx *Context, args *LookupManagementLimitArgs, opts ...InvokeOption) (*LookupManagementLimitResult, error)
func LookupManagementLimitOutput(ctx *Context, args *LookupManagementLimitOutputArgs, opts ...InvokeOption) LookupManagementLimitResultOutput
> Note: This function is named LookupManagementLimit
in the Go SDK.
public static class GetManagementLimit
{
public static Task<GetManagementLimitResult> InvokeAsync(GetManagementLimitArgs args, InvokeOptions? opts = null)
public static Output<GetManagementLimitResult> Invoke(GetManagementLimitInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetManagementLimitResult> getManagementLimit(GetManagementLimitArgs args, InvokeOptions options)
public static Output<GetManagementLimitResult> getManagementLimit(GetManagementLimitArgs args, InvokeOptions options)
fn::invoke:
function: checkpoint:index/getManagementLimit:getManagementLimit
arguments:
# arguments dictionary
The following arguments are supported:
getManagementLimit Result
The following output properties are available:
- Color string
- Comments string
- Download
Rate double - Download
Unit string - Enable
Download bool - Enable
Upload bool - Id string
- List<string>
- Upload
Rate double - Upload
Unit string - Name string
- Uid string
- Color string
- Comments string
- Download
Rate float64 - Download
Unit string - Enable
Download bool - Enable
Upload bool - Id string
- []string
- Upload
Rate float64 - Upload
Unit string - Name string
- Uid string
- color String
- comments String
- download
Rate Double - download
Unit String - enable
Download Boolean - enable
Upload Boolean - id String
- List<String>
- upload
Rate Double - upload
Unit String - name String
- uid String
- color string
- comments string
- download
Rate number - download
Unit string - enable
Download boolean - enable
Upload boolean - id string
- string[]
- upload
Rate number - upload
Unit string - name string
- uid string
- color str
- comments str
- download_
rate float - download_
unit str - enable_
download bool - enable_
upload bool - id str
- Sequence[str]
- upload_
rate float - upload_
unit str - name str
- uid str
- color String
- comments String
- download
Rate Number - download
Unit String - enable
Download Boolean - enable
Upload Boolean - id String
- List<String>
- upload
Rate Number - upload
Unit String - name String
- uid String
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