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

checkpoint.ManagementAddRepositoryPackage

Explore with Pulumi AI

Create ManagementAddRepositoryPackage Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ManagementAddRepositoryPackage(name: string, args: ManagementAddRepositoryPackageArgs, opts?: CustomResourceOptions);
@overload
def ManagementAddRepositoryPackage(resource_name: str,
                                   args: ManagementAddRepositoryPackageArgs,
                                   opts: Optional[ResourceOptions] = None)

@overload
def ManagementAddRepositoryPackage(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   source: Optional[str] = None,
                                   management_add_repository_package_id: Optional[str] = None,
                                   name: Optional[str] = None,
                                   path: Optional[str] = None)
func NewManagementAddRepositoryPackage(ctx *Context, name string, args ManagementAddRepositoryPackageArgs, opts ...ResourceOption) (*ManagementAddRepositoryPackage, error)
public ManagementAddRepositoryPackage(string name, ManagementAddRepositoryPackageArgs args, CustomResourceOptions? opts = null)
public ManagementAddRepositoryPackage(String name, ManagementAddRepositoryPackageArgs args)
public ManagementAddRepositoryPackage(String name, ManagementAddRepositoryPackageArgs args, CustomResourceOptions options)
type: checkpoint:ManagementAddRepositoryPackage
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ManagementAddRepositoryPackageArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ManagementAddRepositoryPackageArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ManagementAddRepositoryPackageArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ManagementAddRepositoryPackageArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ManagementAddRepositoryPackageArgs
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 managementAddRepositoryPackageResource = new Checkpoint.ManagementAddRepositoryPackage("managementAddRepositoryPackageResource", new()
{
    Source = "string",
    ManagementAddRepositoryPackageId = "string",
    Name = "string",
    Path = "string",
});
Copy
example, err := checkpoint.NewManagementAddRepositoryPackage(ctx, "managementAddRepositoryPackageResource", &checkpoint.ManagementAddRepositoryPackageArgs{
Source: pulumi.String("string"),
ManagementAddRepositoryPackageId: pulumi.String("string"),
Name: pulumi.String("string"),
Path: pulumi.String("string"),
})
Copy
var managementAddRepositoryPackageResource = new ManagementAddRepositoryPackage("managementAddRepositoryPackageResource", ManagementAddRepositoryPackageArgs.builder()
    .source("string")
    .managementAddRepositoryPackageId("string")
    .name("string")
    .path("string")
    .build());
Copy
management_add_repository_package_resource = checkpoint.ManagementAddRepositoryPackage("managementAddRepositoryPackageResource",
    source="string",
    management_add_repository_package_id="string",
    name="string",
    path="string")
Copy
const managementAddRepositoryPackageResource = new checkpoint.ManagementAddRepositoryPackage("managementAddRepositoryPackageResource", {
    source: "string",
    managementAddRepositoryPackageId: "string",
    name: "string",
    path: "string",
});
Copy
type: checkpoint:ManagementAddRepositoryPackage
properties:
    managementAddRepositoryPackageId: string
    name: string
    path: string
    source: string
Copy

ManagementAddRepositoryPackage 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 ManagementAddRepositoryPackage resource accepts the following input properties:

Source This property is required. string
The source of the repository package.
ManagementAddRepositoryPackageId string
Name string
The name of the repository package.
Path string
The path of the repository package.Required only for adding package from local.
Source This property is required. string
The source of the repository package.
ManagementAddRepositoryPackageId string
Name string
The name of the repository package.
Path string
The path of the repository package.Required only for adding package from local.
source This property is required. String
The source of the repository package.
managementAddRepositoryPackageId String
name String
The name of the repository package.
path String
The path of the repository package.Required only for adding package from local.
source This property is required. string
The source of the repository package.
managementAddRepositoryPackageId string
name string
The name of the repository package.
path string
The path of the repository package.Required only for adding package from local.
source This property is required. str
The source of the repository package.
management_add_repository_package_id str
name str
The name of the repository package.
path str
The path of the repository package.Required only for adding package from local.
source This property is required. String
The source of the repository package.
managementAddRepositoryPackageId String
name String
The name of the repository package.
path String
The path of the repository package.Required only for adding package from local.

Outputs

All input properties are implicitly available as output properties. Additionally, the ManagementAddRepositoryPackage resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
TaskId string
Command asynchronous task unique identifier.
Id string
The provider-assigned unique ID for this managed resource.
TaskId string
Command asynchronous task unique identifier.
id String
The provider-assigned unique ID for this managed resource.
taskId String
Command asynchronous task unique identifier.
id string
The provider-assigned unique ID for this managed resource.
taskId string
Command asynchronous task unique identifier.
id str
The provider-assigned unique ID for this managed resource.
task_id str
Command asynchronous task unique identifier.
id String
The provider-assigned unique ID for this managed resource.
taskId String
Command asynchronous task unique identifier.

Look up Existing ManagementAddRepositoryPackage Resource

Get an existing ManagementAddRepositoryPackage 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?: ManagementAddRepositoryPackageState, opts?: CustomResourceOptions): ManagementAddRepositoryPackage
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        management_add_repository_package_id: Optional[str] = None,
        name: Optional[str] = None,
        path: Optional[str] = None,
        source: Optional[str] = None,
        task_id: Optional[str] = None) -> ManagementAddRepositoryPackage
func GetManagementAddRepositoryPackage(ctx *Context, name string, id IDInput, state *ManagementAddRepositoryPackageState, opts ...ResourceOption) (*ManagementAddRepositoryPackage, error)
public static ManagementAddRepositoryPackage Get(string name, Input<string> id, ManagementAddRepositoryPackageState? state, CustomResourceOptions? opts = null)
public static ManagementAddRepositoryPackage get(String name, Output<String> id, ManagementAddRepositoryPackageState state, CustomResourceOptions options)
resources:  _:    type: checkpoint:ManagementAddRepositoryPackage    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
ManagementAddRepositoryPackageId string
Name string
The name of the repository package.
Path string
The path of the repository package.Required only for adding package from local.
Source string
The source of the repository package.
TaskId string
Command asynchronous task unique identifier.
ManagementAddRepositoryPackageId string
Name string
The name of the repository package.
Path string
The path of the repository package.Required only for adding package from local.
Source string
The source of the repository package.
TaskId string
Command asynchronous task unique identifier.
managementAddRepositoryPackageId String
name String
The name of the repository package.
path String
The path of the repository package.Required only for adding package from local.
source String
The source of the repository package.
taskId String
Command asynchronous task unique identifier.
managementAddRepositoryPackageId string
name string
The name of the repository package.
path string
The path of the repository package.Required only for adding package from local.
source string
The source of the repository package.
taskId string
Command asynchronous task unique identifier.
management_add_repository_package_id str
name str
The name of the repository package.
path str
The path of the repository package.Required only for adding package from local.
source str
The source of the repository package.
task_id str
Command asynchronous task unique identifier.
managementAddRepositoryPackageId String
name String
The name of the repository package.
path String
The path of the repository package.Required only for adding package from local.
source String
The source of the repository package.
taskId String
Command asynchronous task unique identifier.

Package Details

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