checkpoint.ManagementApplicationSite
Explore with Pulumi AI
This resource allows you to execute Check Point Application Site.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as checkpoint from "@pulumi/checkpoint";
const example = new checkpoint.ManagementApplicationSite("example", {
additionalCategories: [
"Instant Chat",
"Supports Streaming",
"New Application Site Category 1",
],
description: "My Application Site",
primaryCategory: "Social Networking",
urlLists: [
"www.cnet.com",
"www.stackoverflow.com",
],
urlsDefinedAsRegularExpression: false,
});
import pulumi
import pulumi_checkpoint as checkpoint
example = checkpoint.ManagementApplicationSite("example",
additional_categories=[
"Instant Chat",
"Supports Streaming",
"New Application Site Category 1",
],
description="My Application Site",
primary_category="Social Networking",
url_lists=[
"www.cnet.com",
"www.stackoverflow.com",
],
urls_defined_as_regular_expression=False)
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.NewManagementApplicationSite(ctx, "example", &checkpoint.ManagementApplicationSiteArgs{
AdditionalCategories: pulumi.StringArray{
pulumi.String("Instant Chat"),
pulumi.String("Supports Streaming"),
pulumi.String("New Application Site Category 1"),
},
Description: pulumi.String("My Application Site"),
PrimaryCategory: pulumi.String("Social Networking"),
UrlLists: pulumi.StringArray{
pulumi.String("www.cnet.com"),
pulumi.String("www.stackoverflow.com"),
},
UrlsDefinedAsRegularExpression: pulumi.Bool(false),
})
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.ManagementApplicationSite("example", new()
{
AdditionalCategories = new[]
{
"Instant Chat",
"Supports Streaming",
"New Application Site Category 1",
},
Description = "My Application Site",
PrimaryCategory = "Social Networking",
UrlLists = new[]
{
"www.cnet.com",
"www.stackoverflow.com",
},
UrlsDefinedAsRegularExpression = false,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.checkpoint.ManagementApplicationSite;
import com.pulumi.checkpoint.ManagementApplicationSiteArgs;
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 ManagementApplicationSite("example", ManagementApplicationSiteArgs.builder()
.additionalCategories(
"Instant Chat",
"Supports Streaming",
"New Application Site Category 1")
.description("My Application Site")
.primaryCategory("Social Networking")
.urlLists(
"www.cnet.com",
"www.stackoverflow.com")
.urlsDefinedAsRegularExpression(false)
.build());
}
}
resources:
example:
type: checkpoint:ManagementApplicationSite
properties:
additionalCategories:
- Instant Chat
- Supports Streaming
- New Application Site Category 1
description: My Application Site
primaryCategory: Social Networking
urlLists:
- www.cnet.com
- www.stackoverflow.com
urlsDefinedAsRegularExpression: false
Create ManagementApplicationSite Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagementApplicationSite(name: string, args?: ManagementApplicationSiteArgs, opts?: CustomResourceOptions);
@overload
def ManagementApplicationSite(resource_name: str,
args: Optional[ManagementApplicationSiteArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ManagementApplicationSite(resource_name: str,
opts: Optional[ResourceOptions] = None,
additional_categories: Optional[Sequence[str]] = None,
application_signature: Optional[str] = None,
color: Optional[str] = None,
comments: Optional[str] = None,
description: Optional[str] = None,
ignore_errors: Optional[bool] = None,
ignore_warnings: Optional[bool] = None,
management_application_site_id: Optional[str] = None,
name: Optional[str] = None,
primary_category: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
url_lists: Optional[Sequence[str]] = None,
urls_defined_as_regular_expression: Optional[bool] = None)
func NewManagementApplicationSite(ctx *Context, name string, args *ManagementApplicationSiteArgs, opts ...ResourceOption) (*ManagementApplicationSite, error)
public ManagementApplicationSite(string name, ManagementApplicationSiteArgs? args = null, CustomResourceOptions? opts = null)
public ManagementApplicationSite(String name, ManagementApplicationSiteArgs args)
public ManagementApplicationSite(String name, ManagementApplicationSiteArgs args, CustomResourceOptions options)
type: checkpoint:ManagementApplicationSite
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 ManagementApplicationSiteArgs
- 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 ManagementApplicationSiteArgs
- 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 ManagementApplicationSiteArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagementApplicationSiteArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ManagementApplicationSiteArgs
- 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 managementApplicationSiteResource = new Checkpoint.ManagementApplicationSite("managementApplicationSiteResource", new()
{
AdditionalCategories = new[]
{
"string",
},
ApplicationSignature = "string",
Color = "string",
Comments = "string",
Description = "string",
IgnoreErrors = false,
IgnoreWarnings = false,
ManagementApplicationSiteId = "string",
Name = "string",
PrimaryCategory = "string",
Tags = new[]
{
"string",
},
UrlLists = new[]
{
"string",
},
UrlsDefinedAsRegularExpression = false,
});
example, err := checkpoint.NewManagementApplicationSite(ctx, "managementApplicationSiteResource", &checkpoint.ManagementApplicationSiteArgs{
AdditionalCategories: pulumi.StringArray{
pulumi.String("string"),
},
ApplicationSignature: pulumi.String("string"),
Color: pulumi.String("string"),
Comments: pulumi.String("string"),
Description: pulumi.String("string"),
IgnoreErrors: pulumi.Bool(false),
IgnoreWarnings: pulumi.Bool(false),
ManagementApplicationSiteId: pulumi.String("string"),
Name: pulumi.String("string"),
PrimaryCategory: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
UrlLists: pulumi.StringArray{
pulumi.String("string"),
},
UrlsDefinedAsRegularExpression: pulumi.Bool(false),
})
var managementApplicationSiteResource = new ManagementApplicationSite("managementApplicationSiteResource", ManagementApplicationSiteArgs.builder()
.additionalCategories("string")
.applicationSignature("string")
.color("string")
.comments("string")
.description("string")
.ignoreErrors(false)
.ignoreWarnings(false)
.managementApplicationSiteId("string")
.name("string")
.primaryCategory("string")
.tags("string")
.urlLists("string")
.urlsDefinedAsRegularExpression(false)
.build());
management_application_site_resource = checkpoint.ManagementApplicationSite("managementApplicationSiteResource",
additional_categories=["string"],
application_signature="string",
color="string",
comments="string",
description="string",
ignore_errors=False,
ignore_warnings=False,
management_application_site_id="string",
name="string",
primary_category="string",
tags=["string"],
url_lists=["string"],
urls_defined_as_regular_expression=False)
const managementApplicationSiteResource = new checkpoint.ManagementApplicationSite("managementApplicationSiteResource", {
additionalCategories: ["string"],
applicationSignature: "string",
color: "string",
comments: "string",
description: "string",
ignoreErrors: false,
ignoreWarnings: false,
managementApplicationSiteId: "string",
name: "string",
primaryCategory: "string",
tags: ["string"],
urlLists: ["string"],
urlsDefinedAsRegularExpression: false,
});
type: checkpoint:ManagementApplicationSite
properties:
additionalCategories:
- string
applicationSignature: string
color: string
comments: string
description: string
ignoreErrors: false
ignoreWarnings: false
managementApplicationSiteId: string
name: string
primaryCategory: string
tags:
- string
urlLists:
- string
urlsDefinedAsRegularExpression: false
ManagementApplicationSite 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 ManagementApplicationSite resource accepts the following input properties:
- Additional
Categories List<string> - Used to configure or edit the additional categories of a custom application / site used in the Application and URL Filtering or Threat Prevention.additional_categories blocks are documented below.
- Application
Signature string - Application signature generated by Signature Tool.
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- Comments string.
- Description string
- A description for the application.
- 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
Application stringSite Id - Name string
- Object name.
- Primary
Category string - Each application is assigned to one primary category based on its most defining aspect.
- List<string>
- Collection of tag identifiers.tags blocks are documented below.
- Url
Lists List<string> - URLs that determine this particular application.url_list blocks are documented below.
- Urls
Defined boolAs Regular Expression - States whether the URL is defined as a Regular Expression or not.
- Additional
Categories []string - Used to configure or edit the additional categories of a custom application / site used in the Application and URL Filtering or Threat Prevention.additional_categories blocks are documented below.
- Application
Signature string - Application signature generated by Signature Tool.
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- Comments string.
- Description string
- A description for the application.
- 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
Application stringSite Id - Name string
- Object name.
- Primary
Category string - Each application is assigned to one primary category based on its most defining aspect.
- []string
- Collection of tag identifiers.tags blocks are documented below.
- Url
Lists []string - URLs that determine this particular application.url_list blocks are documented below.
- Urls
Defined boolAs Regular Expression - States whether the URL is defined as a Regular Expression or not.
- additional
Categories List<String> - Used to configure or edit the additional categories of a custom application / site used in the Application and URL Filtering or Threat Prevention.additional_categories blocks are documented below.
- application
Signature String - Application signature generated by Signature Tool.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- description String
- A description for the application.
- 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
Application StringSite Id - name String
- Object name.
- primary
Category String - Each application is assigned to one primary category based on its most defining aspect.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
- url
Lists List<String> - URLs that determine this particular application.url_list blocks are documented below.
- urls
Defined BooleanAs Regular Expression - States whether the URL is defined as a Regular Expression or not.
- additional
Categories string[] - Used to configure or edit the additional categories of a custom application / site used in the Application and URL Filtering or Threat Prevention.additional_categories blocks are documented below.
- application
Signature string - Application signature generated by Signature Tool.
- color string
- Color of the object. Should be one of existing colors.
- comments string
- Comments string.
- description string
- A description for the application.
- 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
Application stringSite Id - name string
- Object name.
- primary
Category string - Each application is assigned to one primary category based on its most defining aspect.
- string[]
- Collection of tag identifiers.tags blocks are documented below.
- url
Lists string[] - URLs that determine this particular application.url_list blocks are documented below.
- urls
Defined booleanAs Regular Expression - States whether the URL is defined as a Regular Expression or not.
- additional_
categories Sequence[str] - Used to configure or edit the additional categories of a custom application / site used in the Application and URL Filtering or Threat Prevention.additional_categories blocks are documented below.
- application_
signature str - Application signature generated by Signature Tool.
- color str
- Color of the object. Should be one of existing colors.
- comments str
- Comments string.
- description str
- A description for the application.
- 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_
application_ strsite_ id - name str
- Object name.
- primary_
category str - Each application is assigned to one primary category based on its most defining aspect.
- Sequence[str]
- Collection of tag identifiers.tags blocks are documented below.
- url_
lists Sequence[str] - URLs that determine this particular application.url_list blocks are documented below.
- urls_
defined_ boolas_ regular_ expression - States whether the URL is defined as a Regular Expression or not.
- additional
Categories List<String> - Used to configure or edit the additional categories of a custom application / site used in the Application and URL Filtering or Threat Prevention.additional_categories blocks are documented below.
- application
Signature String - Application signature generated by Signature Tool.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- description String
- A description for the application.
- 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
Application StringSite Id - name String
- Object name.
- primary
Category String - Each application is assigned to one primary category based on its most defining aspect.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
- url
Lists List<String> - URLs that determine this particular application.url_list blocks are documented below.
- urls
Defined BooleanAs Regular Expression - States whether the URL is defined as a Regular Expression or not.
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagementApplicationSite 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 ManagementApplicationSite Resource
Get an existing ManagementApplicationSite 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?: ManagementApplicationSiteState, opts?: CustomResourceOptions): ManagementApplicationSite
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
additional_categories: Optional[Sequence[str]] = None,
application_signature: Optional[str] = None,
color: Optional[str] = None,
comments: Optional[str] = None,
description: Optional[str] = None,
ignore_errors: Optional[bool] = None,
ignore_warnings: Optional[bool] = None,
management_application_site_id: Optional[str] = None,
name: Optional[str] = None,
primary_category: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
url_lists: Optional[Sequence[str]] = None,
urls_defined_as_regular_expression: Optional[bool] = None) -> ManagementApplicationSite
func GetManagementApplicationSite(ctx *Context, name string, id IDInput, state *ManagementApplicationSiteState, opts ...ResourceOption) (*ManagementApplicationSite, error)
public static ManagementApplicationSite Get(string name, Input<string> id, ManagementApplicationSiteState? state, CustomResourceOptions? opts = null)
public static ManagementApplicationSite get(String name, Output<String> id, ManagementApplicationSiteState state, CustomResourceOptions options)
resources: _: type: checkpoint:ManagementApplicationSite 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.
- Additional
Categories List<string> - Used to configure or edit the additional categories of a custom application / site used in the Application and URL Filtering or Threat Prevention.additional_categories blocks are documented below.
- Application
Signature string - Application signature generated by Signature Tool.
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- Comments string.
- Description string
- A description for the application.
- 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
Application stringSite Id - Name string
- Object name.
- Primary
Category string - Each application is assigned to one primary category based on its most defining aspect.
- List<string>
- Collection of tag identifiers.tags blocks are documented below.
- Url
Lists List<string> - URLs that determine this particular application.url_list blocks are documented below.
- Urls
Defined boolAs Regular Expression - States whether the URL is defined as a Regular Expression or not.
- Additional
Categories []string - Used to configure or edit the additional categories of a custom application / site used in the Application and URL Filtering or Threat Prevention.additional_categories blocks are documented below.
- Application
Signature string - Application signature generated by Signature Tool.
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- Comments string.
- Description string
- A description for the application.
- 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
Application stringSite Id - Name string
- Object name.
- Primary
Category string - Each application is assigned to one primary category based on its most defining aspect.
- []string
- Collection of tag identifiers.tags blocks are documented below.
- Url
Lists []string - URLs that determine this particular application.url_list blocks are documented below.
- Urls
Defined boolAs Regular Expression - States whether the URL is defined as a Regular Expression or not.
- additional
Categories List<String> - Used to configure or edit the additional categories of a custom application / site used in the Application and URL Filtering or Threat Prevention.additional_categories blocks are documented below.
- application
Signature String - Application signature generated by Signature Tool.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- description String
- A description for the application.
- 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
Application StringSite Id - name String
- Object name.
- primary
Category String - Each application is assigned to one primary category based on its most defining aspect.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
- url
Lists List<String> - URLs that determine this particular application.url_list blocks are documented below.
- urls
Defined BooleanAs Regular Expression - States whether the URL is defined as a Regular Expression or not.
- additional
Categories string[] - Used to configure or edit the additional categories of a custom application / site used in the Application and URL Filtering or Threat Prevention.additional_categories blocks are documented below.
- application
Signature string - Application signature generated by Signature Tool.
- color string
- Color of the object. Should be one of existing colors.
- comments string
- Comments string.
- description string
- A description for the application.
- 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
Application stringSite Id - name string
- Object name.
- primary
Category string - Each application is assigned to one primary category based on its most defining aspect.
- string[]
- Collection of tag identifiers.tags blocks are documented below.
- url
Lists string[] - URLs that determine this particular application.url_list blocks are documented below.
- urls
Defined booleanAs Regular Expression - States whether the URL is defined as a Regular Expression or not.
- additional_
categories Sequence[str] - Used to configure or edit the additional categories of a custom application / site used in the Application and URL Filtering or Threat Prevention.additional_categories blocks are documented below.
- application_
signature str - Application signature generated by Signature Tool.
- color str
- Color of the object. Should be one of existing colors.
- comments str
- Comments string.
- description str
- A description for the application.
- 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_
application_ strsite_ id - name str
- Object name.
- primary_
category str - Each application is assigned to one primary category based on its most defining aspect.
- Sequence[str]
- Collection of tag identifiers.tags blocks are documented below.
- url_
lists Sequence[str] - URLs that determine this particular application.url_list blocks are documented below.
- urls_
defined_ boolas_ regular_ expression - States whether the URL is defined as a Regular Expression or not.
- additional
Categories List<String> - Used to configure or edit the additional categories of a custom application / site used in the Application and URL Filtering or Threat Prevention.additional_categories blocks are documented below.
- application
Signature String - Application signature generated by Signature Tool.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- description String
- A description for the application.
- 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
Application StringSite Id - name String
- Object name.
- primary
Category String - Each application is assigned to one primary category based on its most defining aspect.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
- url
Lists List<String> - URLs that determine this particular application.url_list blocks are documented below.
- urls
Defined BooleanAs Regular Expression - States whether the URL is defined as a Regular Expression or not.
Package Details
- Repository
- checkpoint checkpointsw/terraform-provider-checkpoint
- License
- Notes
- This Pulumi package is based on the
checkpoint
Terraform Provider.