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 string
- The unique name of the resource.
- args AtoSiteAllowlistArgs
- 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 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 string
- The unique name of the resource.
- args AtoSiteAllowlistArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AtoSiteAllowlistArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
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"),
})
var atoSiteAllowlistResource = new AtoSiteAllowlist("atoSiteAllowlistResource", AtoSiteAllowlistArgs.builder()
.siteId(0)
.accountId(0)
.allowlists(Map.of("string", "string"))
.atoSiteAllowlistId("string")
.build());
ato_site_allowlist_resource = incapsula.AtoSiteAllowlist("atoSiteAllowlistResource",
site_id=0,
account_id=0,
allowlists=[{
"string": "string",
}],
ato_site_allowlist_id="string")
const atoSiteAllowlistResource = new incapsula.AtoSiteAllowlist("atoSiteAllowlistResource", {
siteId: 0,
accountId: 0,
allowlists: [{
string: "string",
}],
atoSiteAllowlistId: "string",
});
type: incapsula:AtoSiteAllowlist
properties:
accountId: 0
allowlists:
- string: string
atoSiteAllowlistId: string
siteId: 0
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:
- Site
Id double - Site ID to get the allowlist for.
- Account
Id double - Account ID that the site belongs to.
- Allowlists
List<Immutable
Dictionary<string, string>> - The allowlist of IPs and IP ranges for the given site ID
- Ato
Site stringAllowlist Id
- Site
Id float64 - Site ID to get the allowlist for.
- Account
Id float64 - Account ID that the site belongs to.
- Allowlists []map[string]string
- The allowlist of IPs and IP ranges for the given site ID
- Ato
Site stringAllowlist Id
- site
Id Double - Site ID to get the allowlist for.
- account
Id 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
- ato
Site StringAllowlist Id
- site
Id number - Site ID to get the allowlist for.
- account
Id number - Account ID that the site belongs to.
- allowlists {[key: string]: string}[]
- The allowlist of IPs and IP ranges for the given site ID
- ato
Site stringAllowlist Id
- site_
id 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_ strallowlist_ id
- site
Id Number - Site ID to get the allowlist for.
- account
Id Number - Account ID that the site belongs to.
- allowlists List<Map<String>>
- The allowlist of IPs and IP ranges for the given site ID
- ato
Site StringAllowlist Id
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
- 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.
- Account
Id double - Account ID that the site belongs to.
- Allowlists
List<Immutable
Dictionary<string, string>> - The allowlist of IPs and IP ranges for the given site ID
- Ato
Site stringAllowlist Id - Site
Id double - Site ID to get the allowlist for.
- Account
Id float64 - Account ID that the site belongs to.
- Allowlists []map[string]string
- The allowlist of IPs and IP ranges for the given site ID
- Ato
Site stringAllowlist Id - Site
Id float64 - Site ID to get the allowlist for.
- account
Id 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
- ato
Site StringAllowlist Id - site
Id Double - Site ID to get the allowlist for.
- account
Id number - Account ID that the site belongs to.
- allowlists {[key: string]: string}[]
- The allowlist of IPs and IP ranges for the given site ID
- ato
Site stringAllowlist Id - site
Id 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_ strallowlist_ id - site_
id float - Site ID to get the allowlist for.
- account
Id Number - Account ID that the site belongs to.
- allowlists List<Map<String>>
- The allowlist of IPs and IP ranges for the given site ID
- ato
Site StringAllowlist Id - site
Id 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.