checkpoint.ManagementLimit
Explore with Pulumi AI
This resource allows you to execute 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,
});
import pulumi
import pulumi_checkpoint as checkpoint
example = checkpoint.ManagementLimit("example",
download_rate=3,
download_unit="Gbps",
enable_download=True)
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.NewManagementLimit(ctx, "example", &checkpoint.ManagementLimitArgs{
DownloadRate: pulumi.Float64(3),
DownloadUnit: pulumi.String("Gbps"),
EnableDownload: pulumi.Bool(true),
})
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 = new Checkpoint.ManagementLimit("example", new()
{
DownloadRate = 3,
DownloadUnit = "Gbps",
EnableDownload = true,
});
});
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 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());
}
}
resources:
example:
type: checkpoint:ManagementLimit
properties:
downloadRate: 3
downloadUnit: Gbps
enableDownload: true
Create ManagementLimit Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagementLimit(name: string, args?: ManagementLimitArgs, opts?: CustomResourceOptions);
@overload
def ManagementLimit(resource_name: str,
args: Optional[ManagementLimitArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ManagementLimit(resource_name: str,
opts: Optional[ResourceOptions] = None,
color: Optional[str] = None,
comments: Optional[str] = None,
download_rate: Optional[float] = None,
download_unit: Optional[str] = None,
enable_download: Optional[bool] = None,
enable_upload: Optional[bool] = None,
ignore_errors: Optional[bool] = None,
ignore_warnings: Optional[bool] = None,
management_limit_id: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
upload_rate: Optional[float] = None,
upload_unit: Optional[str] = None)
func NewManagementLimit(ctx *Context, name string, args *ManagementLimitArgs, opts ...ResourceOption) (*ManagementLimit, error)
public ManagementLimit(string name, ManagementLimitArgs? args = null, CustomResourceOptions? opts = null)
public ManagementLimit(String name, ManagementLimitArgs args)
public ManagementLimit(String name, ManagementLimitArgs args, CustomResourceOptions options)
type: checkpoint:ManagementLimit
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ManagementLimitArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ManagementLimitArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ManagementLimitArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagementLimitArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ManagementLimitArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var managementLimitResource = new Checkpoint.ManagementLimit("managementLimitResource", new()
{
Color = "string",
Comments = "string",
DownloadRate = 0,
DownloadUnit = "string",
EnableDownload = false,
EnableUpload = false,
IgnoreErrors = false,
IgnoreWarnings = false,
ManagementLimitId = "string",
Name = "string",
Tags = new[]
{
"string",
},
UploadRate = 0,
UploadUnit = "string",
});
example, err := checkpoint.NewManagementLimit(ctx, "managementLimitResource", &checkpoint.ManagementLimitArgs{
Color: pulumi.String("string"),
Comments: pulumi.String("string"),
DownloadRate: pulumi.Float64(0),
DownloadUnit: pulumi.String("string"),
EnableDownload: pulumi.Bool(false),
EnableUpload: pulumi.Bool(false),
IgnoreErrors: pulumi.Bool(false),
IgnoreWarnings: pulumi.Bool(false),
ManagementLimitId: pulumi.String("string"),
Name: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
UploadRate: pulumi.Float64(0),
UploadUnit: pulumi.String("string"),
})
var managementLimitResource = new ManagementLimit("managementLimitResource", ManagementLimitArgs.builder()
.color("string")
.comments("string")
.downloadRate(0)
.downloadUnit("string")
.enableDownload(false)
.enableUpload(false)
.ignoreErrors(false)
.ignoreWarnings(false)
.managementLimitId("string")
.name("string")
.tags("string")
.uploadRate(0)
.uploadUnit("string")
.build());
management_limit_resource = checkpoint.ManagementLimit("managementLimitResource",
color="string",
comments="string",
download_rate=0,
download_unit="string",
enable_download=False,
enable_upload=False,
ignore_errors=False,
ignore_warnings=False,
management_limit_id="string",
name="string",
tags=["string"],
upload_rate=0,
upload_unit="string")
const managementLimitResource = new checkpoint.ManagementLimit("managementLimitResource", {
color: "string",
comments: "string",
downloadRate: 0,
downloadUnit: "string",
enableDownload: false,
enableUpload: false,
ignoreErrors: false,
ignoreWarnings: false,
managementLimitId: "string",
name: "string",
tags: ["string"],
uploadRate: 0,
uploadUnit: "string",
});
type: checkpoint:ManagementLimit
properties:
color: string
comments: string
downloadRate: 0
downloadUnit: string
enableDownload: false
enableUpload: false
ignoreErrors: false
ignoreWarnings: false
managementLimitId: string
name: string
tags:
- string
uploadRate: 0
uploadUnit: string
ManagementLimit Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ManagementLimit resource accepts the following input properties:
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- Comments string.
- Download
Rate double - The Rate for the maximum permitted bandwidth.
- Download
Unit string - The Unit for the maximum permitted bandwidth.
- Enable
Download bool - Enable throughput limit for downloads from the internet to the organization.
- Enable
Upload bool - Enable throughput limit for uploads from the organization to the internet.
- Ignore
Errors bool - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
- Ignore
Warnings bool - Apply changes ignoring warnings.
- Management
Limit stringId - Name string
- Object name.
- List<string>
- Collection of tag identifiers.tags blocks are documented below.
- Upload
Rate double - The Rate for the maximum permitted bandwidth.
- Upload
Unit string - The Unit for the maximum permitted bandwidth.
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- Comments string.
- Download
Rate float64 - The Rate for the maximum permitted bandwidth.
- Download
Unit string - The Unit for the maximum permitted bandwidth.
- Enable
Download bool - Enable throughput limit for downloads from the internet to the organization.
- Enable
Upload bool - Enable throughput limit for uploads from the organization to the internet.
- Ignore
Errors bool - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
- Ignore
Warnings bool - Apply changes ignoring warnings.
- Management
Limit stringId - Name string
- Object name.
- []string
- Collection of tag identifiers.tags blocks are documented below.
- Upload
Rate float64 - The Rate for the maximum permitted bandwidth.
- Upload
Unit string - The Unit for the maximum permitted bandwidth.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- download
Rate Double - The Rate for the maximum permitted bandwidth.
- download
Unit String - The Unit for the maximum permitted bandwidth.
- enable
Download Boolean - Enable throughput limit for downloads from the internet to the organization.
- enable
Upload Boolean - Enable throughput limit for uploads from the organization to the internet.
- ignore
Errors Boolean - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
- ignore
Warnings Boolean - Apply changes ignoring warnings.
- management
Limit StringId - name String
- Object name.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
- upload
Rate Double - The Rate for the maximum permitted bandwidth.
- upload
Unit String - The Unit for the maximum permitted bandwidth.
- color string
- Color of the object. Should be one of existing colors.
- comments string
- Comments string.
- download
Rate number - The Rate for the maximum permitted bandwidth.
- download
Unit string - The Unit for the maximum permitted bandwidth.
- enable
Download boolean - Enable throughput limit for downloads from the internet to the organization.
- enable
Upload boolean - Enable throughput limit for uploads from the organization to the internet.
- ignore
Errors boolean - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
- ignore
Warnings boolean - Apply changes ignoring warnings.
- management
Limit stringId - name string
- Object name.
- string[]
- Collection of tag identifiers.tags blocks are documented below.
- upload
Rate number - The Rate for the maximum permitted bandwidth.
- upload
Unit string - The Unit for the maximum permitted bandwidth.
- color str
- Color of the object. Should be one of existing colors.
- comments str
- Comments string.
- download_
rate float - The Rate for the maximum permitted bandwidth.
- download_
unit str - The Unit for the maximum permitted bandwidth.
- enable_
download bool - Enable throughput limit for downloads from the internet to the organization.
- enable_
upload bool - Enable throughput limit for uploads from the organization to the internet.
- ignore_
errors bool - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
- ignore_
warnings bool - Apply changes ignoring warnings.
- management_
limit_ strid - name str
- Object name.
- Sequence[str]
- Collection of tag identifiers.tags blocks are documented below.
- upload_
rate float - The Rate for the maximum permitted bandwidth.
- upload_
unit str - The Unit for the maximum permitted bandwidth.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- download
Rate Number - The Rate for the maximum permitted bandwidth.
- download
Unit String - The Unit for the maximum permitted bandwidth.
- enable
Download Boolean - Enable throughput limit for downloads from the internet to the organization.
- enable
Upload Boolean - Enable throughput limit for uploads from the organization to the internet.
- ignore
Errors Boolean - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
- ignore
Warnings Boolean - Apply changes ignoring warnings.
- management
Limit StringId - name String
- Object name.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
- upload
Rate Number - The Rate for the maximum permitted bandwidth.
- upload
Unit String - The Unit for the maximum permitted bandwidth.
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagementLimit resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ManagementLimit Resource
Get an existing ManagementLimit resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ManagementLimitState, opts?: CustomResourceOptions): ManagementLimit
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
color: Optional[str] = None,
comments: Optional[str] = None,
download_rate: Optional[float] = None,
download_unit: Optional[str] = None,
enable_download: Optional[bool] = None,
enable_upload: Optional[bool] = None,
ignore_errors: Optional[bool] = None,
ignore_warnings: Optional[bool] = None,
management_limit_id: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
upload_rate: Optional[float] = None,
upload_unit: Optional[str] = None) -> ManagementLimit
func GetManagementLimit(ctx *Context, name string, id IDInput, state *ManagementLimitState, opts ...ResourceOption) (*ManagementLimit, error)
public static ManagementLimit Get(string name, Input<string> id, ManagementLimitState? state, CustomResourceOptions? opts = null)
public static ManagementLimit get(String name, Output<String> id, ManagementLimitState state, CustomResourceOptions options)
resources: _: type: checkpoint:ManagementLimit get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- Comments string.
- Download
Rate double - The Rate for the maximum permitted bandwidth.
- Download
Unit string - The Unit for the maximum permitted bandwidth.
- Enable
Download bool - Enable throughput limit for downloads from the internet to the organization.
- Enable
Upload bool - Enable throughput limit for uploads from the organization to the internet.
- Ignore
Errors bool - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
- Ignore
Warnings bool - Apply changes ignoring warnings.
- Management
Limit stringId - Name string
- Object name.
- List<string>
- Collection of tag identifiers.tags blocks are documented below.
- Upload
Rate double - The Rate for the maximum permitted bandwidth.
- Upload
Unit string - The Unit for the maximum permitted bandwidth.
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- Comments string.
- Download
Rate float64 - The Rate for the maximum permitted bandwidth.
- Download
Unit string - The Unit for the maximum permitted bandwidth.
- Enable
Download bool - Enable throughput limit for downloads from the internet to the organization.
- Enable
Upload bool - Enable throughput limit for uploads from the organization to the internet.
- Ignore
Errors bool - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
- Ignore
Warnings bool - Apply changes ignoring warnings.
- Management
Limit stringId - Name string
- Object name.
- []string
- Collection of tag identifiers.tags blocks are documented below.
- Upload
Rate float64 - The Rate for the maximum permitted bandwidth.
- Upload
Unit string - The Unit for the maximum permitted bandwidth.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- download
Rate Double - The Rate for the maximum permitted bandwidth.
- download
Unit String - The Unit for the maximum permitted bandwidth.
- enable
Download Boolean - Enable throughput limit for downloads from the internet to the organization.
- enable
Upload Boolean - Enable throughput limit for uploads from the organization to the internet.
- ignore
Errors Boolean - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
- ignore
Warnings Boolean - Apply changes ignoring warnings.
- management
Limit StringId - name String
- Object name.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
- upload
Rate Double - The Rate for the maximum permitted bandwidth.
- upload
Unit String - The Unit for the maximum permitted bandwidth.
- color string
- Color of the object. Should be one of existing colors.
- comments string
- Comments string.
- download
Rate number - The Rate for the maximum permitted bandwidth.
- download
Unit string - The Unit for the maximum permitted bandwidth.
- enable
Download boolean - Enable throughput limit for downloads from the internet to the organization.
- enable
Upload boolean - Enable throughput limit for uploads from the organization to the internet.
- ignore
Errors boolean - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
- ignore
Warnings boolean - Apply changes ignoring warnings.
- management
Limit stringId - name string
- Object name.
- string[]
- Collection of tag identifiers.tags blocks are documented below.
- upload
Rate number - The Rate for the maximum permitted bandwidth.
- upload
Unit string - The Unit for the maximum permitted bandwidth.
- color str
- Color of the object. Should be one of existing colors.
- comments str
- Comments string.
- download_
rate float - The Rate for the maximum permitted bandwidth.
- download_
unit str - The Unit for the maximum permitted bandwidth.
- enable_
download bool - Enable throughput limit for downloads from the internet to the organization.
- enable_
upload bool - Enable throughput limit for uploads from the organization to the internet.
- ignore_
errors bool - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
- ignore_
warnings bool - Apply changes ignoring warnings.
- management_
limit_ strid - name str
- Object name.
- Sequence[str]
- Collection of tag identifiers.tags blocks are documented below.
- upload_
rate float - The Rate for the maximum permitted bandwidth.
- upload_
unit str - The Unit for the maximum permitted bandwidth.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- download
Rate Number - The Rate for the maximum permitted bandwidth.
- download
Unit String - The Unit for the maximum permitted bandwidth.
- enable
Download Boolean - Enable throughput limit for downloads from the internet to the organization.
- enable
Upload Boolean - Enable throughput limit for uploads from the organization to the internet.
- ignore
Errors Boolean - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
- ignore
Warnings Boolean - Apply changes ignoring warnings.
- management
Limit StringId - name String
- Object name.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
- upload
Rate Number - The Rate for the maximum permitted bandwidth.
- upload
Unit String - The Unit for the maximum permitted bandwidth.
Package Details
- Repository
- checkpoint checkpointsw/terraform-provider-checkpoint
- License
- Notes
- This Pulumi package is based on the
checkpoint
Terraform Provider.