1. Packages
  2. Incapsula Provider
  3. API Docs
  4. AtoSiteAllowlist
incapsula 3.32.1 published on Monday, Apr 14, 2025 by imperva

incapsula.AtoSiteAllowlist

Explore with Pulumi AI

Create AtoSiteAllowlist Resource

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

Constructor syntax

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

@overload
def AtoSiteAllowlist(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     site_id: Optional[float] = None,
                     account_id: Optional[float] = None,
                     allowlists: Optional[Sequence[Mapping[str, str]]] = None,
                     ato_site_allowlist_id: Optional[str] = None)
func NewAtoSiteAllowlist(ctx *Context, name string, args AtoSiteAllowlistArgs, opts ...ResourceOption) (*AtoSiteAllowlist, error)
public AtoSiteAllowlist(string name, AtoSiteAllowlistArgs args, CustomResourceOptions? opts = null)
public AtoSiteAllowlist(String name, AtoSiteAllowlistArgs args)
public AtoSiteAllowlist(String name, AtoSiteAllowlistArgs args, CustomResourceOptions options)
type: incapsula:AtoSiteAllowlist
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. AtoSiteAllowlistArgs
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. AtoSiteAllowlistArgs
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. AtoSiteAllowlistArgs
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. AtoSiteAllowlistArgs
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. AtoSiteAllowlistArgs
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 atoSiteAllowlistResource = new Incapsula.AtoSiteAllowlist("atoSiteAllowlistResource", new()
{
    SiteId = 0,
    AccountId = 0,
    Allowlists = new[]
    {
        
        {
            { "string", "string" },
        },
    },
    AtoSiteAllowlistId = "string",
});
Copy
example, err := incapsula.NewAtoSiteAllowlist(ctx, "atoSiteAllowlistResource", &incapsula.AtoSiteAllowlistArgs{
SiteId: pulumi.Float64(0),
AccountId: pulumi.Float64(0),
Allowlists: pulumi.StringMapArray{
pulumi.StringMap{
"string": pulumi.String("string"),
},
},
AtoSiteAllowlistId: pulumi.String("string"),
})
Copy
var atoSiteAllowlistResource = new AtoSiteAllowlist("atoSiteAllowlistResource", AtoSiteAllowlistArgs.builder()
    .siteId(0)
    .accountId(0)
    .allowlists(Map.of("string", "string"))
    .atoSiteAllowlistId("string")
    .build());
Copy
ato_site_allowlist_resource = incapsula.AtoSiteAllowlist("atoSiteAllowlistResource",
    site_id=0,
    account_id=0,
    allowlists=[{
        "string": "string",
    }],
    ato_site_allowlist_id="string")
Copy
const atoSiteAllowlistResource = new incapsula.AtoSiteAllowlist("atoSiteAllowlistResource", {
    siteId: 0,
    accountId: 0,
    allowlists: [{
        string: "string",
    }],
    atoSiteAllowlistId: "string",
});
Copy
type: incapsula:AtoSiteAllowlist
properties:
    accountId: 0
    allowlists:
        - string: string
    atoSiteAllowlistId: string
    siteId: 0
Copy

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

SiteId This property is required. double
Site ID to get the allowlist for.
AccountId double
Account ID that the site belongs to.
Allowlists List<ImmutableDictionary<string, string>>
The allowlist of IPs and IP ranges for the given site ID
AtoSiteAllowlistId string
SiteId This property is required. float64
Site ID to get the allowlist for.
AccountId float64
Account ID that the site belongs to.
Allowlists []map[string]string
The allowlist of IPs and IP ranges for the given site ID
AtoSiteAllowlistId string
siteId This property is required. Double
Site ID to get the allowlist for.
accountId Double
Account ID that the site belongs to.
allowlists List<Map<String,String>>
The allowlist of IPs and IP ranges for the given site ID
atoSiteAllowlistId String
siteId This property is required. number
Site ID to get the allowlist for.
accountId number
Account ID that the site belongs to.
allowlists {[key: string]: string}[]
The allowlist of IPs and IP ranges for the given site ID
atoSiteAllowlistId string
site_id This property is required. float
Site ID to get the allowlist for.
account_id float
Account ID that the site belongs to.
allowlists Sequence[Mapping[str, str]]
The allowlist of IPs and IP ranges for the given site ID
ato_site_allowlist_id str
siteId This property is required. Number
Site ID to get the allowlist for.
accountId Number
Account ID that the site belongs to.
allowlists List<Map<String>>
The allowlist of IPs and IP ranges for the given site ID
atoSiteAllowlistId String

Outputs

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

Get an existing AtoSiteAllowlist 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?: AtoSiteAllowlistState, opts?: CustomResourceOptions): AtoSiteAllowlist
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        account_id: Optional[float] = None,
        allowlists: Optional[Sequence[Mapping[str, str]]] = None,
        ato_site_allowlist_id: Optional[str] = None,
        site_id: Optional[float] = None) -> AtoSiteAllowlist
func GetAtoSiteAllowlist(ctx *Context, name string, id IDInput, state *AtoSiteAllowlistState, opts ...ResourceOption) (*AtoSiteAllowlist, error)
public static AtoSiteAllowlist Get(string name, Input<string> id, AtoSiteAllowlistState? state, CustomResourceOptions? opts = null)
public static AtoSiteAllowlist get(String name, Output<String> id, AtoSiteAllowlistState state, CustomResourceOptions options)
resources:  _:    type: incapsula:AtoSiteAllowlist    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:
AccountId double
Account ID that the site belongs to.
Allowlists List<ImmutableDictionary<string, string>>
The allowlist of IPs and IP ranges for the given site ID
AtoSiteAllowlistId string
SiteId double
Site ID to get the allowlist for.
AccountId float64
Account ID that the site belongs to.
Allowlists []map[string]string
The allowlist of IPs and IP ranges for the given site ID
AtoSiteAllowlistId string
SiteId float64
Site ID to get the allowlist for.
accountId Double
Account ID that the site belongs to.
allowlists List<Map<String,String>>
The allowlist of IPs and IP ranges for the given site ID
atoSiteAllowlistId String
siteId Double
Site ID to get the allowlist for.
accountId number
Account ID that the site belongs to.
allowlists {[key: string]: string}[]
The allowlist of IPs and IP ranges for the given site ID
atoSiteAllowlistId string
siteId number
Site ID to get the allowlist for.
account_id float
Account ID that the site belongs to.
allowlists Sequence[Mapping[str, str]]
The allowlist of IPs and IP ranges for the given site ID
ato_site_allowlist_id str
site_id float
Site ID to get the allowlist for.
accountId Number
Account ID that the site belongs to.
allowlists List<Map<String>>
The allowlist of IPs and IP ranges for the given site ID
atoSiteAllowlistId String
siteId Number
Site ID to get the allowlist for.

Package Details

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