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

incapsula.Account

Explore with Pulumi AI

Provides a Incapsula Account resource.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as incapsula from "@pulumi/incapsula";

const example_account = new incapsula.Account("example-account", {
    accountName: "Example Account",
    consentRequired: true,
    dataStorageRegion: "US",
    email: "example@example.com",
    errorPageTemplate: "RlP5QhsBHAECGUVDFxYZVCQFBwkDBggLBA0MFB0cGhsYFTgCIgUgJx3EG8LuM6ZpqwR8ScEztVwTqbxuB8...",
    logLevel: "full",
    logsAccountId: 456,
    parentId: 123,
    planId: "ent100",
    refId: "123",
    userName: "John Doe",
});
Copy
import pulumi
import pulumi_incapsula as incapsula

example_account = incapsula.Account("example-account",
    account_name="Example Account",
    consent_required=True,
    data_storage_region="US",
    email="example@example.com",
    error_page_template="RlP5QhsBHAECGUVDFxYZVCQFBwkDBggLBA0MFB0cGhsYFTgCIgUgJx3EG8LuM6ZpqwR8ScEztVwTqbxuB8...",
    log_level="full",
    logs_account_id=456,
    parent_id=123,
    plan_id="ent100",
    ref_id="123",
    user_name="John Doe")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/incapsula/v3/incapsula"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := incapsula.NewAccount(ctx, "example-account", &incapsula.AccountArgs{
			AccountName:       pulumi.String("Example Account"),
			ConsentRequired:   pulumi.Bool(true),
			DataStorageRegion: pulumi.String("US"),
			Email:             pulumi.String("example@example.com"),
			ErrorPageTemplate: pulumi.String("RlP5QhsBHAECGUVDFxYZVCQFBwkDBggLBA0MFB0cGhsYFTgCIgUgJx3EG8LuM6ZpqwR8ScEztVwTqbxuB8..."),
			LogLevel:          pulumi.String("full"),
			LogsAccountId:     pulumi.Float64(456),
			ParentId:          pulumi.Float64(123),
			PlanId:            pulumi.String("ent100"),
			RefId:             pulumi.String("123"),
			UserName:          pulumi.String("John Doe"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Incapsula = Pulumi.Incapsula;

return await Deployment.RunAsync(() => 
{
    var example_account = new Incapsula.Account("example-account", new()
    {
        AccountName = "Example Account",
        ConsentRequired = true,
        DataStorageRegion = "US",
        Email = "example@example.com",
        ErrorPageTemplate = "RlP5QhsBHAECGUVDFxYZVCQFBwkDBggLBA0MFB0cGhsYFTgCIgUgJx3EG8LuM6ZpqwR8ScEztVwTqbxuB8...",
        LogLevel = "full",
        LogsAccountId = 456,
        ParentId = 123,
        PlanId = "ent100",
        RefId = "123",
        UserName = "John Doe",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.incapsula.Account;
import com.pulumi.incapsula.AccountArgs;
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_account = new Account("example-account", AccountArgs.builder()
            .accountName("Example Account")
            .consentRequired(true)
            .dataStorageRegion("US")
            .email("example@example.com")
            .errorPageTemplate("RlP5QhsBHAECGUVDFxYZVCQFBwkDBggLBA0MFB0cGhsYFTgCIgUgJx3EG8LuM6ZpqwR8ScEztVwTqbxuB8...")
            .logLevel("full")
            .logsAccountId("456")
            .parentId(123)
            .planId("ent100")
            .refId("123")
            .userName("John Doe")
            .build());

    }
}
Copy
resources:
  example-account:
    type: incapsula:Account
    properties:
      accountName: Example Account
      consentRequired: true
      dataStorageRegion: US
      email: example@example.com
      # Base64 Encoded HTML
      errorPageTemplate: RlP5QhsBHAECGUVDFxYZVCQFBwkDBggLBA0MFB0cGhsYFTgCIgUgJx3EG8LuM6ZpqwR8ScEztVwTqbxuB8...
      logLevel: full
      logsAccountId: '456'
      parentId: 123
      planId: ent100
      refId: '123'
      userName: John Doe
Copy

Create Account Resource

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

Constructor syntax

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

@overload
def Account(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            email: Optional[str] = None,
            log_level: Optional[str] = None,
            naked_domain_san_for_new_www_sites: Optional[str] = None,
            data_storage_region: Optional[str] = None,
            account_name: Optional[str] = None,
            enable_http2_for_new_sites: Optional[str] = None,
            enable_http2_to_origin_for_new_sites: Optional[str] = None,
            consent_required: Optional[bool] = None,
            error_page_template: Optional[str] = None,
            logs_account_id: Optional[float] = None,
            account_id: Optional[str] = None,
            parent_id: Optional[float] = None,
            plan_id: Optional[str] = None,
            ref_id: Optional[str] = None,
            support_all_tls_versions: Optional[str] = None,
            user_name: Optional[str] = None,
            wildcard_san_for_new_sites: Optional[str] = None)
func NewAccount(ctx *Context, name string, args AccountArgs, opts ...ResourceOption) (*Account, error)
public Account(string name, AccountArgs args, CustomResourceOptions? opts = null)
public Account(String name, AccountArgs args)
public Account(String name, AccountArgs args, CustomResourceOptions options)
type: incapsula:Account
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. AccountArgs
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. AccountArgs
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. AccountArgs
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. AccountArgs
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. AccountArgs
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 accountResource = new Incapsula.Account("accountResource", new()
{
    Email = "string",
    LogLevel = "string",
    DataStorageRegion = "string",
    AccountName = "string",
    EnableHttp2ForNewSites = "string",
    EnableHttp2ToOriginForNewSites = "string",
    ConsentRequired = false,
    ErrorPageTemplate = "string",
    LogsAccountId = 0,
    AccountId = "string",
    ParentId = 0,
    PlanId = "string",
    RefId = "string",
    UserName = "string",
});
Copy
example, err := incapsula.NewAccount(ctx, "accountResource", &incapsula.AccountArgs{
Email: pulumi.String("string"),
LogLevel: pulumi.String("string"),
DataStorageRegion: pulumi.String("string"),
AccountName: pulumi.String("string"),
EnableHttp2ForNewSites: pulumi.String("string"),
EnableHttp2ToOriginForNewSites: pulumi.String("string"),
ConsentRequired: pulumi.Bool(false),
ErrorPageTemplate: pulumi.String("string"),
LogsAccountId: pulumi.Float64(0),
AccountId: pulumi.String("string"),
ParentId: pulumi.Float64(0),
PlanId: pulumi.String("string"),
RefId: pulumi.String("string"),
UserName: pulumi.String("string"),
})
Copy
var accountResource = new Account("accountResource", AccountArgs.builder()
    .email("string")
    .logLevel("string")
    .dataStorageRegion("string")
    .accountName("string")
    .enableHttp2ForNewSites("string")
    .enableHttp2ToOriginForNewSites("string")
    .consentRequired(false)
    .errorPageTemplate("string")
    .logsAccountId(0)
    .accountId("string")
    .parentId(0)
    .planId("string")
    .refId("string")
    .userName("string")
    .build());
Copy
account_resource = incapsula.Account("accountResource",
    email="string",
    log_level="string",
    data_storage_region="string",
    account_name="string",
    enable_http2_for_new_sites="string",
    enable_http2_to_origin_for_new_sites="string",
    consent_required=False,
    error_page_template="string",
    logs_account_id=0,
    account_id="string",
    parent_id=0,
    plan_id="string",
    ref_id="string",
    user_name="string")
Copy
const accountResource = new incapsula.Account("accountResource", {
    email: "string",
    logLevel: "string",
    dataStorageRegion: "string",
    accountName: "string",
    enableHttp2ForNewSites: "string",
    enableHttp2ToOriginForNewSites: "string",
    consentRequired: false,
    errorPageTemplate: "string",
    logsAccountId: 0,
    accountId: "string",
    parentId: 0,
    planId: "string",
    refId: "string",
    userName: "string",
});
Copy
type: incapsula:Account
properties:
    accountId: string
    accountName: string
    consentRequired: false
    dataStorageRegion: string
    email: string
    enableHttp2ForNewSites: string
    enableHttp2ToOriginForNewSites: string
    errorPageTemplate: string
    logLevel: string
    logsAccountId: 0
    parentId: 0
    planId: string
    refId: string
    userName: string
Copy

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

Email This property is required. string
Email address of the account admin. For example: joe@example.com.
AccountId string
Unique identifier in the API for the account.
AccountName string
Account name.
ConsentRequired bool
Blocks Imperva from performing sensitive operations on your behalf. You can then activate consent via the Cloud Security Console UI. Options are true, false.
DataStorageRegion string
Default data region of the account for newly created sites. Options are APAC, EU, US and AU. Defaults to US.
EnableHttp2ForNewSites string
Use this option to enable HTTP/2 support for traffic between end-users (visitors) and Imperva for newly created SSL sites. Options are true and false. Defaults to true.
EnableHttp2ToOriginForNewSites string
Use this option to enable HTTP/2 support for traffic between Imperva and your origin server for newly created SSL sites. This option can only be 'true' once 'enable_http2_for_new_sites' is enabled for newly created sites. Options are true and false. Defaults to false.
ErrorPageTemplate string
Base64 encoded template for an error page.
LogLevel string
The log level. Options are full, security, and none.
LogsAccountId double
Account where logs should be stored. Available only for Enterprise Plan customers that purchased the Logs Integration SKU. Numeric identifier of the account that purchased the logs integration SKU and which collects the logs. If not specified, operation will be performed on the account identified by the authentication parameters.
NakedDomainSanForNewWwwSites string
Add naked domain SAN to Incapsula SSL certificates for new www sites. Options are true and false. Defaults to true.
Note: This argument is deprecated. Use add_naked_domain_san_for_www_sites in the account_ssl_settings resource instead.

Deprecated: Deprecated

ParentId double
The newly created account's parent id. If not specified, the invoking account will be assigned as the parent.
PlanId string
An identifier of the plan to assign to the new account. For example, ent100 for the Enterprise 100 plan (values can be provided by your account manager).
RefId string
Customer specific identifier for this operation.
SupportAllTlsVersions string
Allow sites in the account to support all TLS versions for connectivity between clients (visitors) and the Imperva service.
Note: This argument is deprecated. Use add_naked_domain_san_for_www_sites in the account_ssl_settings resource instead.

Deprecated: Deprecated

UserName string
The account owner's name. For example: John Doe.
WildcardSanForNewSites string
Add wildcard SAN to Incapsula SSL certificates for new sites. Options are true, false and default. Defaults to default.
Note: This argument is deprecated. Use use_wild_card_san_instead_of_fqdn in the account_ssl_settings resource instead.

Deprecated: Deprecated

Email This property is required. string
Email address of the account admin. For example: joe@example.com.
AccountId string
Unique identifier in the API for the account.
AccountName string
Account name.
ConsentRequired bool
Blocks Imperva from performing sensitive operations on your behalf. You can then activate consent via the Cloud Security Console UI. Options are true, false.
DataStorageRegion string
Default data region of the account for newly created sites. Options are APAC, EU, US and AU. Defaults to US.
EnableHttp2ForNewSites string
Use this option to enable HTTP/2 support for traffic between end-users (visitors) and Imperva for newly created SSL sites. Options are true and false. Defaults to true.
EnableHttp2ToOriginForNewSites string
Use this option to enable HTTP/2 support for traffic between Imperva and your origin server for newly created SSL sites. This option can only be 'true' once 'enable_http2_for_new_sites' is enabled for newly created sites. Options are true and false. Defaults to false.
ErrorPageTemplate string
Base64 encoded template for an error page.
LogLevel string
The log level. Options are full, security, and none.
LogsAccountId float64
Account where logs should be stored. Available only for Enterprise Plan customers that purchased the Logs Integration SKU. Numeric identifier of the account that purchased the logs integration SKU and which collects the logs. If not specified, operation will be performed on the account identified by the authentication parameters.
NakedDomainSanForNewWwwSites string
Add naked domain SAN to Incapsula SSL certificates for new www sites. Options are true and false. Defaults to true.
Note: This argument is deprecated. Use add_naked_domain_san_for_www_sites in the account_ssl_settings resource instead.

Deprecated: Deprecated

ParentId float64
The newly created account's parent id. If not specified, the invoking account will be assigned as the parent.
PlanId string
An identifier of the plan to assign to the new account. For example, ent100 for the Enterprise 100 plan (values can be provided by your account manager).
RefId string
Customer specific identifier for this operation.
SupportAllTlsVersions string
Allow sites in the account to support all TLS versions for connectivity between clients (visitors) and the Imperva service.
Note: This argument is deprecated. Use add_naked_domain_san_for_www_sites in the account_ssl_settings resource instead.

Deprecated: Deprecated

UserName string
The account owner's name. For example: John Doe.
WildcardSanForNewSites string
Add wildcard SAN to Incapsula SSL certificates for new sites. Options are true, false and default. Defaults to default.
Note: This argument is deprecated. Use use_wild_card_san_instead_of_fqdn in the account_ssl_settings resource instead.

Deprecated: Deprecated

email This property is required. String
Email address of the account admin. For example: joe@example.com.
accountId String
Unique identifier in the API for the account.
accountName String
Account name.
consentRequired Boolean
Blocks Imperva from performing sensitive operations on your behalf. You can then activate consent via the Cloud Security Console UI. Options are true, false.
dataStorageRegion String
Default data region of the account for newly created sites. Options are APAC, EU, US and AU. Defaults to US.
enableHttp2ForNewSites String
Use this option to enable HTTP/2 support for traffic between end-users (visitors) and Imperva for newly created SSL sites. Options are true and false. Defaults to true.
enableHttp2ToOriginForNewSites String
Use this option to enable HTTP/2 support for traffic between Imperva and your origin server for newly created SSL sites. This option can only be 'true' once 'enable_http2_for_new_sites' is enabled for newly created sites. Options are true and false. Defaults to false.
errorPageTemplate String
Base64 encoded template for an error page.
logLevel String
The log level. Options are full, security, and none.
logsAccountId Double
Account where logs should be stored. Available only for Enterprise Plan customers that purchased the Logs Integration SKU. Numeric identifier of the account that purchased the logs integration SKU and which collects the logs. If not specified, operation will be performed on the account identified by the authentication parameters.
nakedDomainSanForNewWwwSites String
Add naked domain SAN to Incapsula SSL certificates for new www sites. Options are true and false. Defaults to true.
Note: This argument is deprecated. Use add_naked_domain_san_for_www_sites in the account_ssl_settings resource instead.

Deprecated: Deprecated

parentId Double
The newly created account's parent id. If not specified, the invoking account will be assigned as the parent.
planId String
An identifier of the plan to assign to the new account. For example, ent100 for the Enterprise 100 plan (values can be provided by your account manager).
refId String
Customer specific identifier for this operation.
supportAllTlsVersions String
Allow sites in the account to support all TLS versions for connectivity between clients (visitors) and the Imperva service.
Note: This argument is deprecated. Use add_naked_domain_san_for_www_sites in the account_ssl_settings resource instead.

Deprecated: Deprecated

userName String
The account owner's name. For example: John Doe.
wildcardSanForNewSites String
Add wildcard SAN to Incapsula SSL certificates for new sites. Options are true, false and default. Defaults to default.
Note: This argument is deprecated. Use use_wild_card_san_instead_of_fqdn in the account_ssl_settings resource instead.

Deprecated: Deprecated

email This property is required. string
Email address of the account admin. For example: joe@example.com.
accountId string
Unique identifier in the API for the account.
accountName string
Account name.
consentRequired boolean
Blocks Imperva from performing sensitive operations on your behalf. You can then activate consent via the Cloud Security Console UI. Options are true, false.
dataStorageRegion string
Default data region of the account for newly created sites. Options are APAC, EU, US and AU. Defaults to US.
enableHttp2ForNewSites string
Use this option to enable HTTP/2 support for traffic between end-users (visitors) and Imperva for newly created SSL sites. Options are true and false. Defaults to true.
enableHttp2ToOriginForNewSites string
Use this option to enable HTTP/2 support for traffic between Imperva and your origin server for newly created SSL sites. This option can only be 'true' once 'enable_http2_for_new_sites' is enabled for newly created sites. Options are true and false. Defaults to false.
errorPageTemplate string
Base64 encoded template for an error page.
logLevel string
The log level. Options are full, security, and none.
logsAccountId number
Account where logs should be stored. Available only for Enterprise Plan customers that purchased the Logs Integration SKU. Numeric identifier of the account that purchased the logs integration SKU and which collects the logs. If not specified, operation will be performed on the account identified by the authentication parameters.
nakedDomainSanForNewWwwSites string
Add naked domain SAN to Incapsula SSL certificates for new www sites. Options are true and false. Defaults to true.
Note: This argument is deprecated. Use add_naked_domain_san_for_www_sites in the account_ssl_settings resource instead.

Deprecated: Deprecated

parentId number
The newly created account's parent id. If not specified, the invoking account will be assigned as the parent.
planId string
An identifier of the plan to assign to the new account. For example, ent100 for the Enterprise 100 plan (values can be provided by your account manager).
refId string
Customer specific identifier for this operation.
supportAllTlsVersions string
Allow sites in the account to support all TLS versions for connectivity between clients (visitors) and the Imperva service.
Note: This argument is deprecated. Use add_naked_domain_san_for_www_sites in the account_ssl_settings resource instead.

Deprecated: Deprecated

userName string
The account owner's name. For example: John Doe.
wildcardSanForNewSites string
Add wildcard SAN to Incapsula SSL certificates for new sites. Options are true, false and default. Defaults to default.
Note: This argument is deprecated. Use use_wild_card_san_instead_of_fqdn in the account_ssl_settings resource instead.

Deprecated: Deprecated

email This property is required. str
Email address of the account admin. For example: joe@example.com.
account_id str
Unique identifier in the API for the account.
account_name str
Account name.
consent_required bool
Blocks Imperva from performing sensitive operations on your behalf. You can then activate consent via the Cloud Security Console UI. Options are true, false.
data_storage_region str
Default data region of the account for newly created sites. Options are APAC, EU, US and AU. Defaults to US.
enable_http2_for_new_sites str
Use this option to enable HTTP/2 support for traffic between end-users (visitors) and Imperva for newly created SSL sites. Options are true and false. Defaults to true.
enable_http2_to_origin_for_new_sites str
Use this option to enable HTTP/2 support for traffic between Imperva and your origin server for newly created SSL sites. This option can only be 'true' once 'enable_http2_for_new_sites' is enabled for newly created sites. Options are true and false. Defaults to false.
error_page_template str
Base64 encoded template for an error page.
log_level str
The log level. Options are full, security, and none.
logs_account_id float
Account where logs should be stored. Available only for Enterprise Plan customers that purchased the Logs Integration SKU. Numeric identifier of the account that purchased the logs integration SKU and which collects the logs. If not specified, operation will be performed on the account identified by the authentication parameters.
naked_domain_san_for_new_www_sites str
Add naked domain SAN to Incapsula SSL certificates for new www sites. Options are true and false. Defaults to true.
Note: This argument is deprecated. Use add_naked_domain_san_for_www_sites in the account_ssl_settings resource instead.

Deprecated: Deprecated

parent_id float
The newly created account's parent id. If not specified, the invoking account will be assigned as the parent.
plan_id str
An identifier of the plan to assign to the new account. For example, ent100 for the Enterprise 100 plan (values can be provided by your account manager).
ref_id str
Customer specific identifier for this operation.
support_all_tls_versions str
Allow sites in the account to support all TLS versions for connectivity between clients (visitors) and the Imperva service.
Note: This argument is deprecated. Use add_naked_domain_san_for_www_sites in the account_ssl_settings resource instead.

Deprecated: Deprecated

user_name str
The account owner's name. For example: John Doe.
wildcard_san_for_new_sites str
Add wildcard SAN to Incapsula SSL certificates for new sites. Options are true, false and default. Defaults to default.
Note: This argument is deprecated. Use use_wild_card_san_instead_of_fqdn in the account_ssl_settings resource instead.

Deprecated: Deprecated

email This property is required. String
Email address of the account admin. For example: joe@example.com.
accountId String
Unique identifier in the API for the account.
accountName String
Account name.
consentRequired Boolean
Blocks Imperva from performing sensitive operations on your behalf. You can then activate consent via the Cloud Security Console UI. Options are true, false.
dataStorageRegion String
Default data region of the account for newly created sites. Options are APAC, EU, US and AU. Defaults to US.
enableHttp2ForNewSites String
Use this option to enable HTTP/2 support for traffic between end-users (visitors) and Imperva for newly created SSL sites. Options are true and false. Defaults to true.
enableHttp2ToOriginForNewSites String
Use this option to enable HTTP/2 support for traffic between Imperva and your origin server for newly created SSL sites. This option can only be 'true' once 'enable_http2_for_new_sites' is enabled for newly created sites. Options are true and false. Defaults to false.
errorPageTemplate String
Base64 encoded template for an error page.
logLevel String
The log level. Options are full, security, and none.
logsAccountId Number
Account where logs should be stored. Available only for Enterprise Plan customers that purchased the Logs Integration SKU. Numeric identifier of the account that purchased the logs integration SKU and which collects the logs. If not specified, operation will be performed on the account identified by the authentication parameters.
nakedDomainSanForNewWwwSites String
Add naked domain SAN to Incapsula SSL certificates for new www sites. Options are true and false. Defaults to true.
Note: This argument is deprecated. Use add_naked_domain_san_for_www_sites in the account_ssl_settings resource instead.

Deprecated: Deprecated

parentId Number
The newly created account's parent id. If not specified, the invoking account will be assigned as the parent.
planId String
An identifier of the plan to assign to the new account. For example, ent100 for the Enterprise 100 plan (values can be provided by your account manager).
refId String
Customer specific identifier for this operation.
supportAllTlsVersions String
Allow sites in the account to support all TLS versions for connectivity between clients (visitors) and the Imperva service.
Note: This argument is deprecated. Use add_naked_domain_san_for_www_sites in the account_ssl_settings resource instead.

Deprecated: Deprecated

userName String
The account owner's name. For example: John Doe.
wildcardSanForNewSites String
Add wildcard SAN to Incapsula SSL certificates for new sites. Options are true, false and default. Defaults to default.
Note: This argument is deprecated. Use use_wild_card_san_instead_of_fqdn in the account_ssl_settings resource instead.

Deprecated: Deprecated

Outputs

All input properties are implicitly available as output properties. Additionally, the Account resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
PlanName string
The name of the plan associated with the account.
SupportLevel string
The support tier associated with the account.
TrialEndDate string
The trial end date of a trial account.
Id string
The provider-assigned unique ID for this managed resource.
PlanName string
The name of the plan associated with the account.
SupportLevel string
The support tier associated with the account.
TrialEndDate string
The trial end date of a trial account.
id String
The provider-assigned unique ID for this managed resource.
planName String
The name of the plan associated with the account.
supportLevel String
The support tier associated with the account.
trialEndDate String
The trial end date of a trial account.
id string
The provider-assigned unique ID for this managed resource.
planName string
The name of the plan associated with the account.
supportLevel string
The support tier associated with the account.
trialEndDate string
The trial end date of a trial account.
id str
The provider-assigned unique ID for this managed resource.
plan_name str
The name of the plan associated with the account.
support_level str
The support tier associated with the account.
trial_end_date str
The trial end date of a trial account.
id String
The provider-assigned unique ID for this managed resource.
planName String
The name of the plan associated with the account.
supportLevel String
The support tier associated with the account.
trialEndDate String
The trial end date of a trial account.

Look up Existing Account Resource

Get an existing Account 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?: AccountState, opts?: CustomResourceOptions): Account
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        account_id: Optional[str] = None,
        account_name: Optional[str] = None,
        consent_required: Optional[bool] = None,
        data_storage_region: Optional[str] = None,
        email: Optional[str] = None,
        enable_http2_for_new_sites: Optional[str] = None,
        enable_http2_to_origin_for_new_sites: Optional[str] = None,
        error_page_template: Optional[str] = None,
        log_level: Optional[str] = None,
        logs_account_id: Optional[float] = None,
        naked_domain_san_for_new_www_sites: Optional[str] = None,
        parent_id: Optional[float] = None,
        plan_id: Optional[str] = None,
        plan_name: Optional[str] = None,
        ref_id: Optional[str] = None,
        support_all_tls_versions: Optional[str] = None,
        support_level: Optional[str] = None,
        trial_end_date: Optional[str] = None,
        user_name: Optional[str] = None,
        wildcard_san_for_new_sites: Optional[str] = None) -> Account
func GetAccount(ctx *Context, name string, id IDInput, state *AccountState, opts ...ResourceOption) (*Account, error)
public static Account Get(string name, Input<string> id, AccountState? state, CustomResourceOptions? opts = null)
public static Account get(String name, Output<String> id, AccountState state, CustomResourceOptions options)
resources:  _:    type: incapsula:Account    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 string
Unique identifier in the API for the account.
AccountName string
Account name.
ConsentRequired bool
Blocks Imperva from performing sensitive operations on your behalf. You can then activate consent via the Cloud Security Console UI. Options are true, false.
DataStorageRegion string
Default data region of the account for newly created sites. Options are APAC, EU, US and AU. Defaults to US.
Email string
Email address of the account admin. For example: joe@example.com.
EnableHttp2ForNewSites string
Use this option to enable HTTP/2 support for traffic between end-users (visitors) and Imperva for newly created SSL sites. Options are true and false. Defaults to true.
EnableHttp2ToOriginForNewSites string
Use this option to enable HTTP/2 support for traffic between Imperva and your origin server for newly created SSL sites. This option can only be 'true' once 'enable_http2_for_new_sites' is enabled for newly created sites. Options are true and false. Defaults to false.
ErrorPageTemplate string
Base64 encoded template for an error page.
LogLevel string
The log level. Options are full, security, and none.
LogsAccountId double
Account where logs should be stored. Available only for Enterprise Plan customers that purchased the Logs Integration SKU. Numeric identifier of the account that purchased the logs integration SKU and which collects the logs. If not specified, operation will be performed on the account identified by the authentication parameters.
NakedDomainSanForNewWwwSites string
Add naked domain SAN to Incapsula SSL certificates for new www sites. Options are true and false. Defaults to true.
Note: This argument is deprecated. Use add_naked_domain_san_for_www_sites in the account_ssl_settings resource instead.

Deprecated: Deprecated

ParentId double
The newly created account's parent id. If not specified, the invoking account will be assigned as the parent.
PlanId string
An identifier of the plan to assign to the new account. For example, ent100 for the Enterprise 100 plan (values can be provided by your account manager).
PlanName string
The name of the plan associated with the account.
RefId string
Customer specific identifier for this operation.
SupportAllTlsVersions string
Allow sites in the account to support all TLS versions for connectivity between clients (visitors) and the Imperva service.
Note: This argument is deprecated. Use add_naked_domain_san_for_www_sites in the account_ssl_settings resource instead.

Deprecated: Deprecated

SupportLevel string
The support tier associated with the account.
TrialEndDate string
The trial end date of a trial account.
UserName string
The account owner's name. For example: John Doe.
WildcardSanForNewSites string
Add wildcard SAN to Incapsula SSL certificates for new sites. Options are true, false and default. Defaults to default.
Note: This argument is deprecated. Use use_wild_card_san_instead_of_fqdn in the account_ssl_settings resource instead.

Deprecated: Deprecated

AccountId string
Unique identifier in the API for the account.
AccountName string
Account name.
ConsentRequired bool
Blocks Imperva from performing sensitive operations on your behalf. You can then activate consent via the Cloud Security Console UI. Options are true, false.
DataStorageRegion string
Default data region of the account for newly created sites. Options are APAC, EU, US and AU. Defaults to US.
Email string
Email address of the account admin. For example: joe@example.com.
EnableHttp2ForNewSites string
Use this option to enable HTTP/2 support for traffic between end-users (visitors) and Imperva for newly created SSL sites. Options are true and false. Defaults to true.
EnableHttp2ToOriginForNewSites string
Use this option to enable HTTP/2 support for traffic between Imperva and your origin server for newly created SSL sites. This option can only be 'true' once 'enable_http2_for_new_sites' is enabled for newly created sites. Options are true and false. Defaults to false.
ErrorPageTemplate string
Base64 encoded template for an error page.
LogLevel string
The log level. Options are full, security, and none.
LogsAccountId float64
Account where logs should be stored. Available only for Enterprise Plan customers that purchased the Logs Integration SKU. Numeric identifier of the account that purchased the logs integration SKU and which collects the logs. If not specified, operation will be performed on the account identified by the authentication parameters.
NakedDomainSanForNewWwwSites string
Add naked domain SAN to Incapsula SSL certificates for new www sites. Options are true and false. Defaults to true.
Note: This argument is deprecated. Use add_naked_domain_san_for_www_sites in the account_ssl_settings resource instead.

Deprecated: Deprecated

ParentId float64
The newly created account's parent id. If not specified, the invoking account will be assigned as the parent.
PlanId string
An identifier of the plan to assign to the new account. For example, ent100 for the Enterprise 100 plan (values can be provided by your account manager).
PlanName string
The name of the plan associated with the account.
RefId string
Customer specific identifier for this operation.
SupportAllTlsVersions string
Allow sites in the account to support all TLS versions for connectivity between clients (visitors) and the Imperva service.
Note: This argument is deprecated. Use add_naked_domain_san_for_www_sites in the account_ssl_settings resource instead.

Deprecated: Deprecated

SupportLevel string
The support tier associated with the account.
TrialEndDate string
The trial end date of a trial account.
UserName string
The account owner's name. For example: John Doe.
WildcardSanForNewSites string
Add wildcard SAN to Incapsula SSL certificates for new sites. Options are true, false and default. Defaults to default.
Note: This argument is deprecated. Use use_wild_card_san_instead_of_fqdn in the account_ssl_settings resource instead.

Deprecated: Deprecated

accountId String
Unique identifier in the API for the account.
accountName String
Account name.
consentRequired Boolean
Blocks Imperva from performing sensitive operations on your behalf. You can then activate consent via the Cloud Security Console UI. Options are true, false.
dataStorageRegion String
Default data region of the account for newly created sites. Options are APAC, EU, US and AU. Defaults to US.
email String
Email address of the account admin. For example: joe@example.com.
enableHttp2ForNewSites String
Use this option to enable HTTP/2 support for traffic between end-users (visitors) and Imperva for newly created SSL sites. Options are true and false. Defaults to true.
enableHttp2ToOriginForNewSites String
Use this option to enable HTTP/2 support for traffic between Imperva and your origin server for newly created SSL sites. This option can only be 'true' once 'enable_http2_for_new_sites' is enabled for newly created sites. Options are true and false. Defaults to false.
errorPageTemplate String
Base64 encoded template for an error page.
logLevel String
The log level. Options are full, security, and none.
logsAccountId Double
Account where logs should be stored. Available only for Enterprise Plan customers that purchased the Logs Integration SKU. Numeric identifier of the account that purchased the logs integration SKU and which collects the logs. If not specified, operation will be performed on the account identified by the authentication parameters.
nakedDomainSanForNewWwwSites String
Add naked domain SAN to Incapsula SSL certificates for new www sites. Options are true and false. Defaults to true.
Note: This argument is deprecated. Use add_naked_domain_san_for_www_sites in the account_ssl_settings resource instead.

Deprecated: Deprecated

parentId Double
The newly created account's parent id. If not specified, the invoking account will be assigned as the parent.
planId String
An identifier of the plan to assign to the new account. For example, ent100 for the Enterprise 100 plan (values can be provided by your account manager).
planName String
The name of the plan associated with the account.
refId String
Customer specific identifier for this operation.
supportAllTlsVersions String
Allow sites in the account to support all TLS versions for connectivity between clients (visitors) and the Imperva service.
Note: This argument is deprecated. Use add_naked_domain_san_for_www_sites in the account_ssl_settings resource instead.

Deprecated: Deprecated

supportLevel String
The support tier associated with the account.
trialEndDate String
The trial end date of a trial account.
userName String
The account owner's name. For example: John Doe.
wildcardSanForNewSites String
Add wildcard SAN to Incapsula SSL certificates for new sites. Options are true, false and default. Defaults to default.
Note: This argument is deprecated. Use use_wild_card_san_instead_of_fqdn in the account_ssl_settings resource instead.

Deprecated: Deprecated

accountId string
Unique identifier in the API for the account.
accountName string
Account name.
consentRequired boolean
Blocks Imperva from performing sensitive operations on your behalf. You can then activate consent via the Cloud Security Console UI. Options are true, false.
dataStorageRegion string
Default data region of the account for newly created sites. Options are APAC, EU, US and AU. Defaults to US.
email string
Email address of the account admin. For example: joe@example.com.
enableHttp2ForNewSites string
Use this option to enable HTTP/2 support for traffic between end-users (visitors) and Imperva for newly created SSL sites. Options are true and false. Defaults to true.
enableHttp2ToOriginForNewSites string
Use this option to enable HTTP/2 support for traffic between Imperva and your origin server for newly created SSL sites. This option can only be 'true' once 'enable_http2_for_new_sites' is enabled for newly created sites. Options are true and false. Defaults to false.
errorPageTemplate string
Base64 encoded template for an error page.
logLevel string
The log level. Options are full, security, and none.
logsAccountId number
Account where logs should be stored. Available only for Enterprise Plan customers that purchased the Logs Integration SKU. Numeric identifier of the account that purchased the logs integration SKU and which collects the logs. If not specified, operation will be performed on the account identified by the authentication parameters.
nakedDomainSanForNewWwwSites string
Add naked domain SAN to Incapsula SSL certificates for new www sites. Options are true and false. Defaults to true.
Note: This argument is deprecated. Use add_naked_domain_san_for_www_sites in the account_ssl_settings resource instead.

Deprecated: Deprecated

parentId number
The newly created account's parent id. If not specified, the invoking account will be assigned as the parent.
planId string
An identifier of the plan to assign to the new account. For example, ent100 for the Enterprise 100 plan (values can be provided by your account manager).
planName string
The name of the plan associated with the account.
refId string
Customer specific identifier for this operation.
supportAllTlsVersions string
Allow sites in the account to support all TLS versions for connectivity between clients (visitors) and the Imperva service.
Note: This argument is deprecated. Use add_naked_domain_san_for_www_sites in the account_ssl_settings resource instead.

Deprecated: Deprecated

supportLevel string
The support tier associated with the account.
trialEndDate string
The trial end date of a trial account.
userName string
The account owner's name. For example: John Doe.
wildcardSanForNewSites string
Add wildcard SAN to Incapsula SSL certificates for new sites. Options are true, false and default. Defaults to default.
Note: This argument is deprecated. Use use_wild_card_san_instead_of_fqdn in the account_ssl_settings resource instead.

Deprecated: Deprecated

account_id str
Unique identifier in the API for the account.
account_name str
Account name.
consent_required bool
Blocks Imperva from performing sensitive operations on your behalf. You can then activate consent via the Cloud Security Console UI. Options are true, false.
data_storage_region str
Default data region of the account for newly created sites. Options are APAC, EU, US and AU. Defaults to US.
email str
Email address of the account admin. For example: joe@example.com.
enable_http2_for_new_sites str
Use this option to enable HTTP/2 support for traffic between end-users (visitors) and Imperva for newly created SSL sites. Options are true and false. Defaults to true.
enable_http2_to_origin_for_new_sites str
Use this option to enable HTTP/2 support for traffic between Imperva and your origin server for newly created SSL sites. This option can only be 'true' once 'enable_http2_for_new_sites' is enabled for newly created sites. Options are true and false. Defaults to false.
error_page_template str
Base64 encoded template for an error page.
log_level str
The log level. Options are full, security, and none.
logs_account_id float
Account where logs should be stored. Available only for Enterprise Plan customers that purchased the Logs Integration SKU. Numeric identifier of the account that purchased the logs integration SKU and which collects the logs. If not specified, operation will be performed on the account identified by the authentication parameters.
naked_domain_san_for_new_www_sites str
Add naked domain SAN to Incapsula SSL certificates for new www sites. Options are true and false. Defaults to true.
Note: This argument is deprecated. Use add_naked_domain_san_for_www_sites in the account_ssl_settings resource instead.

Deprecated: Deprecated

parent_id float
The newly created account's parent id. If not specified, the invoking account will be assigned as the parent.
plan_id str
An identifier of the plan to assign to the new account. For example, ent100 for the Enterprise 100 plan (values can be provided by your account manager).
plan_name str
The name of the plan associated with the account.
ref_id str
Customer specific identifier for this operation.
support_all_tls_versions str
Allow sites in the account to support all TLS versions for connectivity between clients (visitors) and the Imperva service.
Note: This argument is deprecated. Use add_naked_domain_san_for_www_sites in the account_ssl_settings resource instead.

Deprecated: Deprecated

support_level str
The support tier associated with the account.
trial_end_date str
The trial end date of a trial account.
user_name str
The account owner's name. For example: John Doe.
wildcard_san_for_new_sites str
Add wildcard SAN to Incapsula SSL certificates for new sites. Options are true, false and default. Defaults to default.
Note: This argument is deprecated. Use use_wild_card_san_instead_of_fqdn in the account_ssl_settings resource instead.

Deprecated: Deprecated

accountId String
Unique identifier in the API for the account.
accountName String
Account name.
consentRequired Boolean
Blocks Imperva from performing sensitive operations on your behalf. You can then activate consent via the Cloud Security Console UI. Options are true, false.
dataStorageRegion String
Default data region of the account for newly created sites. Options are APAC, EU, US and AU. Defaults to US.
email String
Email address of the account admin. For example: joe@example.com.
enableHttp2ForNewSites String
Use this option to enable HTTP/2 support for traffic between end-users (visitors) and Imperva for newly created SSL sites. Options are true and false. Defaults to true.
enableHttp2ToOriginForNewSites String
Use this option to enable HTTP/2 support for traffic between Imperva and your origin server for newly created SSL sites. This option can only be 'true' once 'enable_http2_for_new_sites' is enabled for newly created sites. Options are true and false. Defaults to false.
errorPageTemplate String
Base64 encoded template for an error page.
logLevel String
The log level. Options are full, security, and none.
logsAccountId Number
Account where logs should be stored. Available only for Enterprise Plan customers that purchased the Logs Integration SKU. Numeric identifier of the account that purchased the logs integration SKU and which collects the logs. If not specified, operation will be performed on the account identified by the authentication parameters.
nakedDomainSanForNewWwwSites String
Add naked domain SAN to Incapsula SSL certificates for new www sites. Options are true and false. Defaults to true.
Note: This argument is deprecated. Use add_naked_domain_san_for_www_sites in the account_ssl_settings resource instead.

Deprecated: Deprecated

parentId Number
The newly created account's parent id. If not specified, the invoking account will be assigned as the parent.
planId String
An identifier of the plan to assign to the new account. For example, ent100 for the Enterprise 100 plan (values can be provided by your account manager).
planName String
The name of the plan associated with the account.
refId String
Customer specific identifier for this operation.
supportAllTlsVersions String
Allow sites in the account to support all TLS versions for connectivity between clients (visitors) and the Imperva service.
Note: This argument is deprecated. Use add_naked_domain_san_for_www_sites in the account_ssl_settings resource instead.

Deprecated: Deprecated

supportLevel String
The support tier associated with the account.
trialEndDate String
The trial end date of a trial account.
userName String
The account owner's name. For example: John Doe.
wildcardSanForNewSites String
Add wildcard SAN to Incapsula SSL certificates for new sites. Options are true, false and default. Defaults to default.
Note: This argument is deprecated. Use use_wild_card_san_instead_of_fqdn in the account_ssl_settings resource instead.

Deprecated: Deprecated

Import

Account can be imported using the id, e.g.:

$ pulumi import incapsula:index/account:Account demo 1234
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

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