1. Packages
  2. Datadog
  3. API Docs
  4. IpAllowlist
Datadog v4.23.0 published on Wednesday, Sep 27, 2023 by Pulumi

datadog.IpAllowlist

Explore with Pulumi AI

datadog logo
Datadog v4.23.0 published on Wednesday, Sep 27, 2023 by Pulumi

    Provides the Datadog IP allowlist resource. This can be used to manage the Datadog IP allowlist

    Create IpAllowlist Resource

    new IpAllowlist(name: string, args: IpAllowlistArgs, opts?: CustomResourceOptions);
    @overload
    def IpAllowlist(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    enabled: Optional[bool] = None,
                    entries: Optional[Sequence[IpAllowlistEntryArgs]] = None)
    @overload
    def IpAllowlist(resource_name: str,
                    args: IpAllowlistArgs,
                    opts: Optional[ResourceOptions] = None)
    func NewIpAllowlist(ctx *Context, name string, args IpAllowlistArgs, opts ...ResourceOption) (*IpAllowlist, error)
    public IpAllowlist(string name, IpAllowlistArgs args, CustomResourceOptions? opts = null)
    public IpAllowlist(String name, IpAllowlistArgs args)
    public IpAllowlist(String name, IpAllowlistArgs args, CustomResourceOptions options)
    
    type: datadog:IpAllowlist
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args IpAllowlistArgs
    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 IpAllowlistArgs
    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 IpAllowlistArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IpAllowlistArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IpAllowlistArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    IpAllowlist Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The IpAllowlist resource accepts the following input properties:

    Enabled bool

    Whether the IP Allowlist is enabled.

    Entries List<IpAllowlistEntry>

    Set of objects containing an IP address or range of IP addresses in the allowlist and an accompanying note.

    Enabled bool

    Whether the IP Allowlist is enabled.

    Entries []IpAllowlistEntryArgs

    Set of objects containing an IP address or range of IP addresses in the allowlist and an accompanying note.

    enabled Boolean

    Whether the IP Allowlist is enabled.

    entries List<IpAllowlistEntry>

    Set of objects containing an IP address or range of IP addresses in the allowlist and an accompanying note.

    enabled boolean

    Whether the IP Allowlist is enabled.

    entries IpAllowlistEntry[]

    Set of objects containing an IP address or range of IP addresses in the allowlist and an accompanying note.

    enabled bool

    Whether the IP Allowlist is enabled.

    entries Sequence[IpAllowlistEntryArgs]

    Set of objects containing an IP address or range of IP addresses in the allowlist and an accompanying note.

    enabled Boolean

    Whether the IP Allowlist is enabled.

    entries List<Property Map>

    Set of objects containing an IP address or range of IP addresses in the allowlist and an accompanying note.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the IpAllowlist 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 IpAllowlist Resource

    Get an existing IpAllowlist 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?: IpAllowlistState, opts?: CustomResourceOptions): IpAllowlist
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            enabled: Optional[bool] = None,
            entries: Optional[Sequence[IpAllowlistEntryArgs]] = None) -> IpAllowlist
    func GetIpAllowlist(ctx *Context, name string, id IDInput, state *IpAllowlistState, opts ...ResourceOption) (*IpAllowlist, error)
    public static IpAllowlist Get(string name, Input<string> id, IpAllowlistState? state, CustomResourceOptions? opts = null)
    public static IpAllowlist get(String name, Output<String> id, IpAllowlistState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    Enabled bool

    Whether the IP Allowlist is enabled.

    Entries List<IpAllowlistEntry>

    Set of objects containing an IP address or range of IP addresses in the allowlist and an accompanying note.

    Enabled bool

    Whether the IP Allowlist is enabled.

    Entries []IpAllowlistEntryArgs

    Set of objects containing an IP address or range of IP addresses in the allowlist and an accompanying note.

    enabled Boolean

    Whether the IP Allowlist is enabled.

    entries List<IpAllowlistEntry>

    Set of objects containing an IP address or range of IP addresses in the allowlist and an accompanying note.

    enabled boolean

    Whether the IP Allowlist is enabled.

    entries IpAllowlistEntry[]

    Set of objects containing an IP address or range of IP addresses in the allowlist and an accompanying note.

    enabled bool

    Whether the IP Allowlist is enabled.

    entries Sequence[IpAllowlistEntryArgs]

    Set of objects containing an IP address or range of IP addresses in the allowlist and an accompanying note.

    enabled Boolean

    Whether the IP Allowlist is enabled.

    entries List<Property Map>

    Set of objects containing an IP address or range of IP addresses in the allowlist and an accompanying note.

    Supporting Types

    IpAllowlistEntry, IpAllowlistEntryArgs

    CidrBlock string
    Note string

    Note accompanying IP address.

    CidrBlock string
    Note string

    Note accompanying IP address.

    cidrBlock String
    note String

    Note accompanying IP address.

    cidrBlock string
    note string

    Note accompanying IP address.

    cidr_block str
    note str

    Note accompanying IP address.

    cidrBlock String
    note String

    Note accompanying IP address.

    Package Details

    Repository
    Datadog pulumi/pulumi-datadog
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the datadog Terraform Provider.

    datadog logo
    Datadog v4.23.0 published on Wednesday, Sep 27, 2023 by Pulumi