incapsula.getDataCenter
Explore with Pulumi AI
Provides filtering of a single Data Center in specific site. Then its id can be referenced by other resources such as incapsula_incap_rule.
Filtering by site id is mandatory. All other filters are optional. A logical AND is applied on all specified filters.
Exactly one Data Center must be qualified or an error will be raised.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as incapsula from "@pulumi/incapsula";
const example_two_data_centers_configuration = new incapsula.DataCentersConfiguration("example-two-data-centers-configuration", {
siteId: incapsula_site["example-site"].id,
siteTopology: "MULTIPLE_DC",
dataCenters: [
{
name: "AD Forward Rules DC",
isContent: true,
originServers: [{
address: "55.66.77.123",
}],
},
{
name: "Main DC",
originServers: [{
address: "54.74.193.120",
}],
},
],
});
const contentDc = incapsula.getDataCenterOutput({
siteId: example_two_data_centers_configuration.dataCentersConfigurationId,
filterByIsContent: true,
});
// Incap Rule: Forward to Data Center (ADR)
const example_incap_rule_fwd_to_data_center = new incapsula.IncapRule("example-incap-rule-fwd-to-data-center", {
siteId: incapsula_site["example-site"].id,
action: "RULE_ACTION_FORWARD_TO_DC",
filter: "Full-URL == \"/someurl\"",
dcId: contentDc.apply(contentDc => contentDc.id),
});
import pulumi
import pulumi_incapsula as incapsula
example_two_data_centers_configuration = incapsula.DataCentersConfiguration("example-two-data-centers-configuration",
site_id=incapsula_site["example-site"]["id"],
site_topology="MULTIPLE_DC",
data_centers=[
{
"name": "AD Forward Rules DC",
"is_content": True,
"origin_servers": [{
"address": "55.66.77.123",
}],
},
{
"name": "Main DC",
"origin_servers": [{
"address": "54.74.193.120",
}],
},
])
content_dc = incapsula.get_data_center_output(site_id=example_two_data_centers_configuration.data_centers_configuration_id,
filter_by_is_content=True)
# Incap Rule: Forward to Data Center (ADR)
example_incap_rule_fwd_to_data_center = incapsula.IncapRule("example-incap-rule-fwd-to-data-center",
site_id=incapsula_site["example-site"]["id"],
action="RULE_ACTION_FORWARD_TO_DC",
filter="Full-URL == \"/someurl\"",
dc_id=content_dc.id)
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 {
example_two_data_centers_configuration, err := incapsula.NewDataCentersConfiguration(ctx, "example-two-data-centers-configuration", &incapsula.DataCentersConfigurationArgs{
SiteId: pulumi.Any(incapsula_site.ExampleSite.Id),
SiteTopology: pulumi.String("MULTIPLE_DC"),
DataCenters: incapsula.DataCentersConfigurationDataCenterArray{
&incapsula.DataCentersConfigurationDataCenterArgs{
Name: pulumi.String("AD Forward Rules DC"),
IsContent: pulumi.Bool(true),
OriginServers: incapsula.DataCentersConfigurationDataCenterOriginServerArray{
&incapsula.DataCentersConfigurationDataCenterOriginServerArgs{
Address: pulumi.String("55.66.77.123"),
},
},
},
&incapsula.DataCentersConfigurationDataCenterArgs{
Name: pulumi.String("Main DC"),
OriginServers: incapsula.DataCentersConfigurationDataCenterOriginServerArray{
&incapsula.DataCentersConfigurationDataCenterOriginServerArgs{
Address: pulumi.String("54.74.193.120"),
},
},
},
},
})
if err != nil {
return err
}
contentDc := incapsula.LookupDataCenterOutput(ctx, incapsula.GetDataCenterOutputArgs{
SiteId: example_two_data_centers_configuration.DataCentersConfigurationId,
FilterByIsContent: pulumi.Bool(true),
}, nil)
// Incap Rule: Forward to Data Center (ADR)
_, err = incapsula.NewIncapRule(ctx, "example-incap-rule-fwd-to-data-center", &incapsula.IncapRuleArgs{
SiteId: pulumi.Any(incapsula_site.ExampleSite.Id),
Action: pulumi.String("RULE_ACTION_FORWARD_TO_DC"),
Filter: pulumi.String("Full-URL == \"/someurl\""),
DcId: pulumi.Float64(contentDc.ApplyT(func(contentDc incapsula.GetDataCenterResult) (*string, error) {
return &contentDc.Id, nil
}).(pulumi.StringPtrOutput)),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Incapsula = Pulumi.Incapsula;
return await Deployment.RunAsync(() =>
{
var example_two_data_centers_configuration = new Incapsula.DataCentersConfiguration("example-two-data-centers-configuration", new()
{
SiteId = incapsula_site.Example_site.Id,
SiteTopology = "MULTIPLE_DC",
DataCenters = new[]
{
new Incapsula.Inputs.DataCentersConfigurationDataCenterArgs
{
Name = "AD Forward Rules DC",
IsContent = true,
OriginServers = new[]
{
new Incapsula.Inputs.DataCentersConfigurationDataCenterOriginServerArgs
{
Address = "55.66.77.123",
},
},
},
new Incapsula.Inputs.DataCentersConfigurationDataCenterArgs
{
Name = "Main DC",
OriginServers = new[]
{
new Incapsula.Inputs.DataCentersConfigurationDataCenterOriginServerArgs
{
Address = "54.74.193.120",
},
},
},
},
});
var contentDc = Incapsula.GetDataCenter.Invoke(new()
{
SiteId = example_two_data_centers_configuration.DataCentersConfigurationId,
FilterByIsContent = true,
});
// Incap Rule: Forward to Data Center (ADR)
var example_incap_rule_fwd_to_data_center = new Incapsula.IncapRule("example-incap-rule-fwd-to-data-center", new()
{
SiteId = incapsula_site.Example_site.Id,
Action = "RULE_ACTION_FORWARD_TO_DC",
Filter = "Full-URL == \"/someurl\"",
DcId = contentDc.Apply(getDataCenterResult => getDataCenterResult.Id),
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.incapsula.DataCentersConfiguration;
import com.pulumi.incapsula.DataCentersConfigurationArgs;
import com.pulumi.incapsula.inputs.DataCentersConfigurationDataCenterArgs;
import com.pulumi.incapsula.IncapsulaFunctions;
import com.pulumi.incapsula.inputs.GetDataCenterArgs;
import com.pulumi.incapsula.IncapRule;
import com.pulumi.incapsula.IncapRuleArgs;
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_two_data_centers_configuration = new DataCentersConfiguration("example-two-data-centers-configuration", DataCentersConfigurationArgs.builder()
.siteId(incapsula_site.example-site().id())
.siteTopology("MULTIPLE_DC")
.dataCenters(
DataCentersConfigurationDataCenterArgs.builder()
.name("AD Forward Rules DC")
.isContent(true)
.originServers(DataCentersConfigurationDataCenterOriginServerArgs.builder()
.address("55.66.77.123")
.build())
.build(),
DataCentersConfigurationDataCenterArgs.builder()
.name("Main DC")
.originServers(DataCentersConfigurationDataCenterOriginServerArgs.builder()
.address("54.74.193.120")
.build())
.build())
.build());
final var contentDc = IncapsulaFunctions.getDataCenter(GetDataCenterArgs.builder()
.siteId(example_two_data_centers_configuration.dataCentersConfigurationId())
.filterByIsContent(true)
.build());
// Incap Rule: Forward to Data Center (ADR)
var example_incap_rule_fwd_to_data_center = new IncapRule("example-incap-rule-fwd-to-data-center", IncapRuleArgs.builder()
.siteId(incapsula_site.example-site().id())
.action("RULE_ACTION_FORWARD_TO_DC")
.filter("Full-URL == \"/someurl\"")
.dcId(contentDc.applyValue(getDataCenterResult -> getDataCenterResult).applyValue(contentDc -> contentDc.applyValue(getDataCenterResult -> getDataCenterResult.id())))
.build());
}
}
resources:
example-two-data-centers-configuration:
type: incapsula:DataCentersConfiguration
properties:
siteId: ${incapsula_site"example-site"[%!s(MISSING)].id}
siteTopology: MULTIPLE_DC
dataCenters:
- name: AD Forward Rules DC
isContent: true
originServers:
- address: 55.66.77.123
- name: Main DC
originServers:
- address: 54.74.193.120
# Incap Rule: Forward to Data Center (ADR)
example-incap-rule-fwd-to-data-center:
type: incapsula:IncapRule
properties:
siteId: ${incapsula_site"example-site"[%!s(MISSING)].id}
action: RULE_ACTION_FORWARD_TO_DC
filter: Full-URL == "/someurl"
dcId: ${contentDc.id}
variables:
contentDc:
fn::invoke:
function: incapsula:getDataCenter
arguments:
siteId: ${["example-two-data-centers-configuration"].dataCentersConfigurationId}
filterByIsContent: true
If more than one content Data Center is defined for the site, you may add filters. E.g.
import * as pulumi from "@pulumi/pulumi";
import * as incapsula from "@pulumi/incapsula";
const contentDc = incapsula.getDataCenter({
siteId: incapsula_data_centers_configuration["example-two-data-centers-configuration"].id,
filterByIsContent: true,
filterByName: "AD Forward Rules DC",
});
import pulumi
import pulumi_incapsula as incapsula
content_dc = incapsula.get_data_center(site_id=incapsula_data_centers_configuration["example-two-data-centers-configuration"]["id"],
filter_by_is_content=True,
filter_by_name="AD Forward Rules DC")
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.LookupDataCenter(ctx, &incapsula.LookupDataCenterArgs{
SiteId: incapsula_data_centers_configuration.ExampleTwoDataCentersConfiguration.Id,
FilterByIsContent: pulumi.BoolRef(true),
FilterByName: pulumi.StringRef("AD Forward Rules DC"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Incapsula = Pulumi.Incapsula;
return await Deployment.RunAsync(() =>
{
var contentDc = Incapsula.GetDataCenter.Invoke(new()
{
SiteId = incapsula_data_centers_configuration.Example_two_data_centers_configuration.Id,
FilterByIsContent = true,
FilterByName = "AD Forward Rules DC",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.incapsula.IncapsulaFunctions;
import com.pulumi.incapsula.inputs.GetDataCenterArgs;
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) {
final var contentDc = IncapsulaFunctions.getDataCenter(GetDataCenterArgs.builder()
.siteId(incapsula_data_centers_configuration.example-two-data-centers-configuration().id())
.filterByIsContent(true)
.filterByName("AD Forward Rules DC")
.build());
}
}
variables:
contentDc:
fn::invoke:
function: incapsula:getDataCenter
arguments:
siteId: ${incapsula_data_centers_configuration"example-two-data-centers-configuration"[%!s(MISSING)].id}
filterByIsContent: true
filterByName: AD Forward Rules DC
Using getDataCenter
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDataCenter(args: GetDataCenterArgs, opts?: InvokeOptions): Promise<GetDataCenterResult>
function getDataCenterOutput(args: GetDataCenterOutputArgs, opts?: InvokeOptions): Output<GetDataCenterResult>
def get_data_center(filter_by_geo_location: Optional[str] = None,
filter_by_id: Optional[float] = None,
filter_by_is_active: Optional[bool] = None,
filter_by_is_content: Optional[bool] = None,
filter_by_is_enabled: Optional[bool] = None,
filter_by_is_rest_of_the_world: Optional[bool] = None,
filter_by_is_standby: Optional[bool] = None,
filter_by_name: Optional[str] = None,
id: Optional[str] = None,
site_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDataCenterResult
def get_data_center_output(filter_by_geo_location: Optional[pulumi.Input[str]] = None,
filter_by_id: Optional[pulumi.Input[float]] = None,
filter_by_is_active: Optional[pulumi.Input[bool]] = None,
filter_by_is_content: Optional[pulumi.Input[bool]] = None,
filter_by_is_enabled: Optional[pulumi.Input[bool]] = None,
filter_by_is_rest_of_the_world: Optional[pulumi.Input[bool]] = None,
filter_by_is_standby: Optional[pulumi.Input[bool]] = None,
filter_by_name: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
site_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDataCenterResult]
func LookupDataCenter(ctx *Context, args *LookupDataCenterArgs, opts ...InvokeOption) (*LookupDataCenterResult, error)
func LookupDataCenterOutput(ctx *Context, args *LookupDataCenterOutputArgs, opts ...InvokeOption) LookupDataCenterResultOutput
> Note: This function is named LookupDataCenter
in the Go SDK.
public static class GetDataCenter
{
public static Task<GetDataCenterResult> InvokeAsync(GetDataCenterArgs args, InvokeOptions? opts = null)
public static Output<GetDataCenterResult> Invoke(GetDataCenterInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDataCenterResult> getDataCenter(GetDataCenterArgs args, InvokeOptions options)
public static Output<GetDataCenterResult> getDataCenter(GetDataCenterArgs args, InvokeOptions options)
fn::invoke:
function: incapsula:index/getDataCenter:getDataCenter
arguments:
# arguments dictionary
The following arguments are supported:
- Site
Id string - Reference to resource incapsula_data_centers_configuration.resource_name.id
- Filter
By stringGeo Location string value - One of: EUROPE, AUSTRALIA, US_EAST, US_WEST, AFRICA, ASIA, SOUTH_AMERICA, NORTH_AMERICA. If no DC is assigned to handle traffic from the specified region, then qualify the the single rest-of-the-world DC,
The five boolean filters accept true value only. To get the standby Data Center: use
filter_by_is_standby = true
(instead offilter_by_is_active = false
which will be ignored).- Filter
By doubleId - Filters by the numeric unique internal Data Center id.
- Filter
By boolIs Active - boolean value - Filters by is_active == true.
- Filter
By boolIs Content - boolean value - Filters by is_content. True value will provide the single content DC (handles only traffic routed by AD forward-to-dc rule).
- Filter
By boolIs Enabled - boolean value - Filters by is_enabled.
- Filter
By boolIs Rest Of The World - boolean value - Filters by is_rest_of_the_world. True value will provide the single rest-of-the-world DC.
- Filter
By boolIs Standby - boolean value - Filters by is_active == false.
- Filter
By stringName - string value - Filters by Data Center name. DC Name is unique per Site.
- Id string
- Unique identifier in the API for the qualified data center.
- Site
Id string - Reference to resource incapsula_data_centers_configuration.resource_name.id
- Filter
By stringGeo Location string value - One of: EUROPE, AUSTRALIA, US_EAST, US_WEST, AFRICA, ASIA, SOUTH_AMERICA, NORTH_AMERICA. If no DC is assigned to handle traffic from the specified region, then qualify the the single rest-of-the-world DC,
The five boolean filters accept true value only. To get the standby Data Center: use
filter_by_is_standby = true
(instead offilter_by_is_active = false
which will be ignored).- Filter
By float64Id - Filters by the numeric unique internal Data Center id.
- Filter
By boolIs Active - boolean value - Filters by is_active == true.
- Filter
By boolIs Content - boolean value - Filters by is_content. True value will provide the single content DC (handles only traffic routed by AD forward-to-dc rule).
- Filter
By boolIs Enabled - boolean value - Filters by is_enabled.
- Filter
By boolIs Rest Of The World - boolean value - Filters by is_rest_of_the_world. True value will provide the single rest-of-the-world DC.
- Filter
By boolIs Standby - boolean value - Filters by is_active == false.
- Filter
By stringName - string value - Filters by Data Center name. DC Name is unique per Site.
- Id string
- Unique identifier in the API for the qualified data center.
- site
Id String - Reference to resource incapsula_data_centers_configuration.resource_name.id
- filter
By StringGeo Location string value - One of: EUROPE, AUSTRALIA, US_EAST, US_WEST, AFRICA, ASIA, SOUTH_AMERICA, NORTH_AMERICA. If no DC is assigned to handle traffic from the specified region, then qualify the the single rest-of-the-world DC,
The five boolean filters accept true value only. To get the standby Data Center: use
filter_by_is_standby = true
(instead offilter_by_is_active = false
which will be ignored).- filter
By DoubleId - Filters by the numeric unique internal Data Center id.
- filter
By BooleanIs Active - boolean value - Filters by is_active == true.
- filter
By BooleanIs Content - boolean value - Filters by is_content. True value will provide the single content DC (handles only traffic routed by AD forward-to-dc rule).
- filter
By BooleanIs Enabled - boolean value - Filters by is_enabled.
- filter
By BooleanIs Rest Of The World - boolean value - Filters by is_rest_of_the_world. True value will provide the single rest-of-the-world DC.
- filter
By BooleanIs Standby - boolean value - Filters by is_active == false.
- filter
By StringName - string value - Filters by Data Center name. DC Name is unique per Site.
- id String
- Unique identifier in the API for the qualified data center.
- site
Id string - Reference to resource incapsula_data_centers_configuration.resource_name.id
- filter
By stringGeo Location string value - One of: EUROPE, AUSTRALIA, US_EAST, US_WEST, AFRICA, ASIA, SOUTH_AMERICA, NORTH_AMERICA. If no DC is assigned to handle traffic from the specified region, then qualify the the single rest-of-the-world DC,
The five boolean filters accept true value only. To get the standby Data Center: use
filter_by_is_standby = true
(instead offilter_by_is_active = false
which will be ignored).- filter
By numberId - Filters by the numeric unique internal Data Center id.
- filter
By booleanIs Active - boolean value - Filters by is_active == true.
- filter
By booleanIs Content - boolean value - Filters by is_content. True value will provide the single content DC (handles only traffic routed by AD forward-to-dc rule).
- filter
By booleanIs Enabled - boolean value - Filters by is_enabled.
- filter
By booleanIs Rest Of The World - boolean value - Filters by is_rest_of_the_world. True value will provide the single rest-of-the-world DC.
- filter
By booleanIs Standby - boolean value - Filters by is_active == false.
- filter
By stringName - string value - Filters by Data Center name. DC Name is unique per Site.
- id string
- Unique identifier in the API for the qualified data center.
- site_
id str - Reference to resource incapsula_data_centers_configuration.resource_name.id
- filter_
by_ strgeo_ location string value - One of: EUROPE, AUSTRALIA, US_EAST, US_WEST, AFRICA, ASIA, SOUTH_AMERICA, NORTH_AMERICA. If no DC is assigned to handle traffic from the specified region, then qualify the the single rest-of-the-world DC,
The five boolean filters accept true value only. To get the standby Data Center: use
filter_by_is_standby = true
(instead offilter_by_is_active = false
which will be ignored).- filter_
by_ floatid - Filters by the numeric unique internal Data Center id.
- filter_
by_ boolis_ active - boolean value - Filters by is_active == true.
- filter_
by_ boolis_ content - boolean value - Filters by is_content. True value will provide the single content DC (handles only traffic routed by AD forward-to-dc rule).
- filter_
by_ boolis_ enabled - boolean value - Filters by is_enabled.
- filter_
by_ boolis_ rest_ of_ the_ world - boolean value - Filters by is_rest_of_the_world. True value will provide the single rest-of-the-world DC.
- filter_
by_ boolis_ standby - boolean value - Filters by is_active == false.
- filter_
by_ strname - string value - Filters by Data Center name. DC Name is unique per Site.
- id str
- Unique identifier in the API for the qualified data center.
- site
Id String - Reference to resource incapsula_data_centers_configuration.resource_name.id
- filter
By StringGeo Location string value - One of: EUROPE, AUSTRALIA, US_EAST, US_WEST, AFRICA, ASIA, SOUTH_AMERICA, NORTH_AMERICA. If no DC is assigned to handle traffic from the specified region, then qualify the the single rest-of-the-world DC,
The five boolean filters accept true value only. To get the standby Data Center: use
filter_by_is_standby = true
(instead offilter_by_is_active = false
which will be ignored).- filter
By NumberId - Filters by the numeric unique internal Data Center id.
- filter
By BooleanIs Active - boolean value - Filters by is_active == true.
- filter
By BooleanIs Content - boolean value - Filters by is_content. True value will provide the single content DC (handles only traffic routed by AD forward-to-dc rule).
- filter
By BooleanIs Enabled - boolean value - Filters by is_enabled.
- filter
By BooleanIs Rest Of The World - boolean value - Filters by is_rest_of_the_world. True value will provide the single rest-of-the-world DC.
- filter
By BooleanIs Standby - boolean value - Filters by is_active == false.
- filter
By StringName - string value - Filters by Data Center name. DC Name is unique per Site.
- id String
- Unique identifier in the API for the qualified data center.
getDataCenter Result
The following output properties are available:
- Geo
Locations string - Comma separated list of geo regions that this data center will serve. Populated only when Site's LB algorithm is GEO_PREFERRED or GEO_REQUIRED. E.g. "ASIA,AFRICA". Allowed regions: EUROPE, AUSTRALIA, US_EAST, US_WEST, AFRICA, ASIA, SOUTH_AMERICA, NORTH_AMERICA.
- Id string
- Unique identifier in the API for the qualified data center.
- Ip
Mode string - One of: SINGLE_IP, MULTIPLE_IP.
- Is
Active bool - When true, this Data Center is active. When false, this Data center will Standby.
- Is
Content bool - When true, this Data Center will only serve requests that were routed using AD Forward rules.
- Is
Enabled bool - When true, this Data Center is enabled. I.e. can serve requests.
- Is
Rest boolOf The World - When true and Site's LB algorithm = GEO_PREFERRED or GEO_REQUIRED, this data center will handle traffic from any region that is not assigned to a specific data center.
- Lb
Algorithm string - How to load balance between the servers of this data center. One of: LB_LEAST_PENDING_REQUESTS, LB_LEAST_OPEN_CONNECTIONS, LB_SOURCE_IP_HASH, RANDOM, WEIGHTED.
- Name string
- Data Center Name.
- Origin
Pop string - (Optional) The ID of the PoP that serves as an access point between Imperva and the customer’s origin server. E.g. "lax", for Los Angeles. When not specified, all Imperva PoPs can send traffic to this data center. The list of available PoPs is documented at: https://docs.imperva.com/bundle/cloud-application-security/page/more/pops.htm.
- Site
Id string - Weight double
- The weight in percentage of this Data Center. Populated only when Site's LB algorithm is WEIGHTED_LB.
- Filter
By stringGeo Location - Filter
By doubleId - Filter
By boolIs Active - Filter
By boolIs Content - Filter
By boolIs Enabled - Filter
By boolIs Rest Of The World - Filter
By boolIs Standby - Filter
By stringName
- Geo
Locations string - Comma separated list of geo regions that this data center will serve. Populated only when Site's LB algorithm is GEO_PREFERRED or GEO_REQUIRED. E.g. "ASIA,AFRICA". Allowed regions: EUROPE, AUSTRALIA, US_EAST, US_WEST, AFRICA, ASIA, SOUTH_AMERICA, NORTH_AMERICA.
- Id string
- Unique identifier in the API for the qualified data center.
- Ip
Mode string - One of: SINGLE_IP, MULTIPLE_IP.
- Is
Active bool - When true, this Data Center is active. When false, this Data center will Standby.
- Is
Content bool - When true, this Data Center will only serve requests that were routed using AD Forward rules.
- Is
Enabled bool - When true, this Data Center is enabled. I.e. can serve requests.
- Is
Rest boolOf The World - When true and Site's LB algorithm = GEO_PREFERRED or GEO_REQUIRED, this data center will handle traffic from any region that is not assigned to a specific data center.
- Lb
Algorithm string - How to load balance between the servers of this data center. One of: LB_LEAST_PENDING_REQUESTS, LB_LEAST_OPEN_CONNECTIONS, LB_SOURCE_IP_HASH, RANDOM, WEIGHTED.
- Name string
- Data Center Name.
- Origin
Pop string - (Optional) The ID of the PoP that serves as an access point between Imperva and the customer’s origin server. E.g. "lax", for Los Angeles. When not specified, all Imperva PoPs can send traffic to this data center. The list of available PoPs is documented at: https://docs.imperva.com/bundle/cloud-application-security/page/more/pops.htm.
- Site
Id string - Weight float64
- The weight in percentage of this Data Center. Populated only when Site's LB algorithm is WEIGHTED_LB.
- Filter
By stringGeo Location - Filter
By float64Id - Filter
By boolIs Active - Filter
By boolIs Content - Filter
By boolIs Enabled - Filter
By boolIs Rest Of The World - Filter
By boolIs Standby - Filter
By stringName
- geo
Locations String - Comma separated list of geo regions that this data center will serve. Populated only when Site's LB algorithm is GEO_PREFERRED or GEO_REQUIRED. E.g. "ASIA,AFRICA". Allowed regions: EUROPE, AUSTRALIA, US_EAST, US_WEST, AFRICA, ASIA, SOUTH_AMERICA, NORTH_AMERICA.
- id String
- Unique identifier in the API for the qualified data center.
- ip
Mode String - One of: SINGLE_IP, MULTIPLE_IP.
- is
Active Boolean - When true, this Data Center is active. When false, this Data center will Standby.
- is
Content Boolean - When true, this Data Center will only serve requests that were routed using AD Forward rules.
- is
Enabled Boolean - When true, this Data Center is enabled. I.e. can serve requests.
- is
Rest BooleanOf The World - When true and Site's LB algorithm = GEO_PREFERRED or GEO_REQUIRED, this data center will handle traffic from any region that is not assigned to a specific data center.
- lb
Algorithm String - How to load balance between the servers of this data center. One of: LB_LEAST_PENDING_REQUESTS, LB_LEAST_OPEN_CONNECTIONS, LB_SOURCE_IP_HASH, RANDOM, WEIGHTED.
- name String
- Data Center Name.
- origin
Pop String - (Optional) The ID of the PoP that serves as an access point between Imperva and the customer’s origin server. E.g. "lax", for Los Angeles. When not specified, all Imperva PoPs can send traffic to this data center. The list of available PoPs is documented at: https://docs.imperva.com/bundle/cloud-application-security/page/more/pops.htm.
- site
Id String - weight Double
- The weight in percentage of this Data Center. Populated only when Site's LB algorithm is WEIGHTED_LB.
- filter
By StringGeo Location - filter
By DoubleId - filter
By BooleanIs Active - filter
By BooleanIs Content - filter
By BooleanIs Enabled - filter
By BooleanIs Rest Of The World - filter
By BooleanIs Standby - filter
By StringName
- geo
Locations string - Comma separated list of geo regions that this data center will serve. Populated only when Site's LB algorithm is GEO_PREFERRED or GEO_REQUIRED. E.g. "ASIA,AFRICA". Allowed regions: EUROPE, AUSTRALIA, US_EAST, US_WEST, AFRICA, ASIA, SOUTH_AMERICA, NORTH_AMERICA.
- id string
- Unique identifier in the API for the qualified data center.
- ip
Mode string - One of: SINGLE_IP, MULTIPLE_IP.
- is
Active boolean - When true, this Data Center is active. When false, this Data center will Standby.
- is
Content boolean - When true, this Data Center will only serve requests that were routed using AD Forward rules.
- is
Enabled boolean - When true, this Data Center is enabled. I.e. can serve requests.
- is
Rest booleanOf The World - When true and Site's LB algorithm = GEO_PREFERRED or GEO_REQUIRED, this data center will handle traffic from any region that is not assigned to a specific data center.
- lb
Algorithm string - How to load balance between the servers of this data center. One of: LB_LEAST_PENDING_REQUESTS, LB_LEAST_OPEN_CONNECTIONS, LB_SOURCE_IP_HASH, RANDOM, WEIGHTED.
- name string
- Data Center Name.
- origin
Pop string - (Optional) The ID of the PoP that serves as an access point between Imperva and the customer’s origin server. E.g. "lax", for Los Angeles. When not specified, all Imperva PoPs can send traffic to this data center. The list of available PoPs is documented at: https://docs.imperva.com/bundle/cloud-application-security/page/more/pops.htm.
- site
Id string - weight number
- The weight in percentage of this Data Center. Populated only when Site's LB algorithm is WEIGHTED_LB.
- filter
By stringGeo Location - filter
By numberId - filter
By booleanIs Active - filter
By booleanIs Content - filter
By booleanIs Enabled - filter
By booleanIs Rest Of The World - filter
By booleanIs Standby - filter
By stringName
- geo_
locations str - Comma separated list of geo regions that this data center will serve. Populated only when Site's LB algorithm is GEO_PREFERRED or GEO_REQUIRED. E.g. "ASIA,AFRICA". Allowed regions: EUROPE, AUSTRALIA, US_EAST, US_WEST, AFRICA, ASIA, SOUTH_AMERICA, NORTH_AMERICA.
- id str
- Unique identifier in the API for the qualified data center.
- ip_
mode str - One of: SINGLE_IP, MULTIPLE_IP.
- is_
active bool - When true, this Data Center is active. When false, this Data center will Standby.
- is_
content bool - When true, this Data Center will only serve requests that were routed using AD Forward rules.
- is_
enabled bool - When true, this Data Center is enabled. I.e. can serve requests.
- is_
rest_ boolof_ the_ world - When true and Site's LB algorithm = GEO_PREFERRED or GEO_REQUIRED, this data center will handle traffic from any region that is not assigned to a specific data center.
- lb_
algorithm str - How to load balance between the servers of this data center. One of: LB_LEAST_PENDING_REQUESTS, LB_LEAST_OPEN_CONNECTIONS, LB_SOURCE_IP_HASH, RANDOM, WEIGHTED.
- name str
- Data Center Name.
- origin_
pop str - (Optional) The ID of the PoP that serves as an access point between Imperva and the customer’s origin server. E.g. "lax", for Los Angeles. When not specified, all Imperva PoPs can send traffic to this data center. The list of available PoPs is documented at: https://docs.imperva.com/bundle/cloud-application-security/page/more/pops.htm.
- site_
id str - weight float
- The weight in percentage of this Data Center. Populated only when Site's LB algorithm is WEIGHTED_LB.
- filter_
by_ strgeo_ location - filter_
by_ floatid - filter_
by_ boolis_ active - filter_
by_ boolis_ content - filter_
by_ boolis_ enabled - filter_
by_ boolis_ rest_ of_ the_ world - filter_
by_ boolis_ standby - filter_
by_ strname
- geo
Locations String - Comma separated list of geo regions that this data center will serve. Populated only when Site's LB algorithm is GEO_PREFERRED or GEO_REQUIRED. E.g. "ASIA,AFRICA". Allowed regions: EUROPE, AUSTRALIA, US_EAST, US_WEST, AFRICA, ASIA, SOUTH_AMERICA, NORTH_AMERICA.
- id String
- Unique identifier in the API for the qualified data center.
- ip
Mode String - One of: SINGLE_IP, MULTIPLE_IP.
- is
Active Boolean - When true, this Data Center is active. When false, this Data center will Standby.
- is
Content Boolean - When true, this Data Center will only serve requests that were routed using AD Forward rules.
- is
Enabled Boolean - When true, this Data Center is enabled. I.e. can serve requests.
- is
Rest BooleanOf The World - When true and Site's LB algorithm = GEO_PREFERRED or GEO_REQUIRED, this data center will handle traffic from any region that is not assigned to a specific data center.
- lb
Algorithm String - How to load balance between the servers of this data center. One of: LB_LEAST_PENDING_REQUESTS, LB_LEAST_OPEN_CONNECTIONS, LB_SOURCE_IP_HASH, RANDOM, WEIGHTED.
- name String
- Data Center Name.
- origin
Pop String - (Optional) The ID of the PoP that serves as an access point between Imperva and the customer’s origin server. E.g. "lax", for Los Angeles. When not specified, all Imperva PoPs can send traffic to this data center. The list of available PoPs is documented at: https://docs.imperva.com/bundle/cloud-application-security/page/more/pops.htm.
- site
Id String - weight Number
- The weight in percentage of this Data Center. Populated only when Site's LB algorithm is WEIGHTED_LB.
- filter
By StringGeo Location - filter
By NumberId - filter
By BooleanIs Active - filter
By BooleanIs Content - filter
By BooleanIs Enabled - filter
By BooleanIs Rest Of The World - filter
By BooleanIs Standby - filter
By StringName
Package Details
- Repository
- incapsula imperva/terraform-provider-incapsula
- License
- Notes
- This Pulumi package is based on the
incapsula
Terraform Provider.