checkpoint.ManagementDnsDomain
Explore with Pulumi AI
This resource allows you to execute Check Point Dns Domain.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as checkpoint from "@pulumi/checkpoint";
const example = new checkpoint.ManagementDnsDomain("example", {isSubDomain: false});
import pulumi
import pulumi_checkpoint as checkpoint
example = checkpoint.ManagementDnsDomain("example", is_sub_domain=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.NewManagementDnsDomain(ctx, "example", &checkpoint.ManagementDnsDomainArgs{
IsSubDomain: 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.ManagementDnsDomain("example", new()
{
IsSubDomain = false,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.checkpoint.ManagementDnsDomain;
import com.pulumi.checkpoint.ManagementDnsDomainArgs;
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 ManagementDnsDomain("example", ManagementDnsDomainArgs.builder()
.isSubDomain(false)
.build());
}
}
resources:
example:
type: checkpoint:ManagementDnsDomain
properties:
isSubDomain: false
Create ManagementDnsDomain Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagementDnsDomain(name: string, args?: ManagementDnsDomainArgs, opts?: CustomResourceOptions);
@overload
def ManagementDnsDomain(resource_name: str,
args: Optional[ManagementDnsDomainArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ManagementDnsDomain(resource_name: str,
opts: Optional[ResourceOptions] = None,
color: Optional[str] = None,
comments: Optional[str] = None,
ignore_errors: Optional[bool] = None,
ignore_warnings: Optional[bool] = None,
is_sub_domain: Optional[bool] = None,
management_dns_domain_id: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Sequence[str]] = None)
func NewManagementDnsDomain(ctx *Context, name string, args *ManagementDnsDomainArgs, opts ...ResourceOption) (*ManagementDnsDomain, error)
public ManagementDnsDomain(string name, ManagementDnsDomainArgs? args = null, CustomResourceOptions? opts = null)
public ManagementDnsDomain(String name, ManagementDnsDomainArgs args)
public ManagementDnsDomain(String name, ManagementDnsDomainArgs args, CustomResourceOptions options)
type: checkpoint:ManagementDnsDomain
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 ManagementDnsDomainArgs
- 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 ManagementDnsDomainArgs
- 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 ManagementDnsDomainArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagementDnsDomainArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ManagementDnsDomainArgs
- 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 managementDnsDomainResource = new Checkpoint.ManagementDnsDomain("managementDnsDomainResource", new()
{
Color = "string",
Comments = "string",
IgnoreErrors = false,
IgnoreWarnings = false,
IsSubDomain = false,
ManagementDnsDomainId = "string",
Name = "string",
Tags = new[]
{
"string",
},
});
example, err := checkpoint.NewManagementDnsDomain(ctx, "managementDnsDomainResource", &checkpoint.ManagementDnsDomainArgs{
Color: pulumi.String("string"),
Comments: pulumi.String("string"),
IgnoreErrors: pulumi.Bool(false),
IgnoreWarnings: pulumi.Bool(false),
IsSubDomain: pulumi.Bool(false),
ManagementDnsDomainId: pulumi.String("string"),
Name: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
})
var managementDnsDomainResource = new ManagementDnsDomain("managementDnsDomainResource", ManagementDnsDomainArgs.builder()
.color("string")
.comments("string")
.ignoreErrors(false)
.ignoreWarnings(false)
.isSubDomain(false)
.managementDnsDomainId("string")
.name("string")
.tags("string")
.build());
management_dns_domain_resource = checkpoint.ManagementDnsDomain("managementDnsDomainResource",
color="string",
comments="string",
ignore_errors=False,
ignore_warnings=False,
is_sub_domain=False,
management_dns_domain_id="string",
name="string",
tags=["string"])
const managementDnsDomainResource = new checkpoint.ManagementDnsDomain("managementDnsDomainResource", {
color: "string",
comments: "string",
ignoreErrors: false,
ignoreWarnings: false,
isSubDomain: false,
managementDnsDomainId: "string",
name: "string",
tags: ["string"],
});
type: checkpoint:ManagementDnsDomain
properties:
color: string
comments: string
ignoreErrors: false
ignoreWarnings: false
isSubDomain: false
managementDnsDomainId: string
name: string
tags:
- string
ManagementDnsDomain 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 ManagementDnsDomain resource accepts the following input properties:
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- Comments string.
- 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.
- Is
Sub boolDomain - Whether to match sub-domains in addition to the domain itself.
- Management
Dns stringDomain Id - Name string
- Object name.
- List<string>
- Collection of tag identifiers.tags blocks are documented below.
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- Comments string.
- 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.
- Is
Sub boolDomain - Whether to match sub-domains in addition to the domain itself.
- Management
Dns stringDomain Id - Name string
- Object name.
- []string
- Collection of tag identifiers.tags blocks are documented below.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- 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.
- is
Sub BooleanDomain - Whether to match sub-domains in addition to the domain itself.
- management
Dns StringDomain Id - name String
- Object name.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
- color string
- Color of the object. Should be one of existing colors.
- comments string
- Comments string.
- 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.
- is
Sub booleanDomain - Whether to match sub-domains in addition to the domain itself.
- management
Dns stringDomain Id - name string
- Object name.
- string[]
- Collection of tag identifiers.tags blocks are documented below.
- color str
- Color of the object. Should be one of existing colors.
- comments str
- Comments string.
- 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.
- is_
sub_ booldomain - Whether to match sub-domains in addition to the domain itself.
- management_
dns_ strdomain_ id - name str
- Object name.
- Sequence[str]
- Collection of tag identifiers.tags blocks are documented below.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- 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.
- is
Sub BooleanDomain - Whether to match sub-domains in addition to the domain itself.
- management
Dns StringDomain Id - name String
- Object name.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagementDnsDomain 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 ManagementDnsDomain Resource
Get an existing ManagementDnsDomain 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?: ManagementDnsDomainState, opts?: CustomResourceOptions): ManagementDnsDomain
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
color: Optional[str] = None,
comments: Optional[str] = None,
ignore_errors: Optional[bool] = None,
ignore_warnings: Optional[bool] = None,
is_sub_domain: Optional[bool] = None,
management_dns_domain_id: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Sequence[str]] = None) -> ManagementDnsDomain
func GetManagementDnsDomain(ctx *Context, name string, id IDInput, state *ManagementDnsDomainState, opts ...ResourceOption) (*ManagementDnsDomain, error)
public static ManagementDnsDomain Get(string name, Input<string> id, ManagementDnsDomainState? state, CustomResourceOptions? opts = null)
public static ManagementDnsDomain get(String name, Output<String> id, ManagementDnsDomainState state, CustomResourceOptions options)
resources: _: type: checkpoint:ManagementDnsDomain 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.
- 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.
- Is
Sub boolDomain - Whether to match sub-domains in addition to the domain itself.
- Management
Dns stringDomain Id - Name string
- Object name.
- List<string>
- Collection of tag identifiers.tags blocks are documented below.
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- Comments string.
- 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.
- Is
Sub boolDomain - Whether to match sub-domains in addition to the domain itself.
- Management
Dns stringDomain Id - Name string
- Object name.
- []string
- Collection of tag identifiers.tags blocks are documented below.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- 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.
- is
Sub BooleanDomain - Whether to match sub-domains in addition to the domain itself.
- management
Dns StringDomain Id - name String
- Object name.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
- color string
- Color of the object. Should be one of existing colors.
- comments string
- Comments string.
- 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.
- is
Sub booleanDomain - Whether to match sub-domains in addition to the domain itself.
- management
Dns stringDomain Id - name string
- Object name.
- string[]
- Collection of tag identifiers.tags blocks are documented below.
- color str
- Color of the object. Should be one of existing colors.
- comments str
- Comments string.
- 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.
- is_
sub_ booldomain - Whether to match sub-domains in addition to the domain itself.
- management_
dns_ strdomain_ id - name str
- Object name.
- Sequence[str]
- Collection of tag identifiers.tags blocks are documented below.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- 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.
- is
Sub BooleanDomain - Whether to match sub-domains in addition to the domain itself.
- management
Dns StringDomain Id - name String
- Object name.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
Package Details
- Repository
- checkpoint checkpointsw/terraform-provider-checkpoint
- License
- Notes
- This Pulumi package is based on the
checkpoint
Terraform Provider.