published on Tuesday, Apr 28, 2026 by Pulumi
published on Tuesday, Apr 28, 2026 by Pulumi
Provides a ESA Site resource.
For information about ESA Site and how to use it, see What is Site.
NOTE: Available since v1.234.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
import * as random from "@pulumi/random";
const config = new pulumi.Config();
const name = config.get("name") || "terraform-example";
const _default = alicloud.resourcemanager.getResourceGroups({});
const defaultIEoDfU = new alicloud.esa.RatePlanInstance("defaultIEoDfU", {
type: "NS",
autoRenew: true,
period: 1,
paymentType: "Subscription",
coverage: "overseas",
autoPay: true,
planName: "basic",
});
const defaultInteger = new random.index.Integer("default", {
min: 10000,
max: 99999,
});
const defaultSite = new alicloud.esa.Site("default", {
siteName: `bcd${defaultInteger.result}.com`,
coverage: "overseas",
accessType: "NS",
instanceId: defaultIEoDfU.id,
resourceGroupId: _default.then(_default => _default.ids?.[0]),
});
import pulumi
import pulumi_alicloud as alicloud
import pulumi_random as random
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "terraform-example"
default = alicloud.resourcemanager.get_resource_groups()
default_i_eo_df_u = alicloud.esa.RatePlanInstance("defaultIEoDfU",
type="NS",
auto_renew=True,
period=1,
payment_type="Subscription",
coverage="overseas",
auto_pay=True,
plan_name="basic")
default_integer = random.Integer("default",
min=10000,
max=99999)
default_site = alicloud.esa.Site("default",
site_name=f"bcd{default_integer['result']}.com",
coverage="overseas",
access_type="NS",
instance_id=default_i_eo_df_u.id,
resource_group_id=default.ids[0])
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/esa"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/resourcemanager"
"github.com/pulumi/pulumi-random/sdk/v4/go/random"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
name := "terraform-example"
if param := cfg.Get("name"); param != "" {
name = param
}
_default, err := resourcemanager.GetResourceGroups(ctx, &resourcemanager.GetResourceGroupsArgs{}, nil)
if err != nil {
return err
}
defaultIEoDfU, err := esa.NewRatePlanInstance(ctx, "defaultIEoDfU", &esa.RatePlanInstanceArgs{
Type: pulumi.String("NS"),
AutoRenew: pulumi.Bool(true),
Period: pulumi.Int(1),
PaymentType: pulumi.String("Subscription"),
Coverage: pulumi.String("overseas"),
AutoPay: pulumi.Bool(true),
PlanName: pulumi.String("basic"),
})
if err != nil {
return err
}
defaultInteger, err := random.NewInteger(ctx, "default", &random.IntegerArgs{
Min: 10000,
Max: 99999,
})
if err != nil {
return err
}
_, err = esa.NewSite(ctx, "default", &esa.SiteArgs{
SiteName: pulumi.Sprintf("bcd%v.com", defaultInteger.Result),
Coverage: pulumi.String("overseas"),
AccessType: pulumi.String("NS"),
InstanceId: defaultIEoDfU.ID(),
ResourceGroupId: pulumi.String(pulumi.String(_default.Ids[0])),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
using Random = Pulumi.Random;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "terraform-example";
var @default = AliCloud.ResourceManager.GetResourceGroups.Invoke();
var defaultIEoDfU = new AliCloud.Esa.RatePlanInstance("defaultIEoDfU", new()
{
Type = "NS",
AutoRenew = true,
Period = 1,
PaymentType = "Subscription",
Coverage = "overseas",
AutoPay = true,
PlanName = "basic",
});
var defaultInteger = new Random.Index.Integer("default", new()
{
Min = 10000,
Max = 99999,
});
var defaultSite = new AliCloud.Esa.Site("default", new()
{
SiteName = $"bcd{defaultInteger.Result}.com",
Coverage = "overseas",
AccessType = "NS",
InstanceId = defaultIEoDfU.Id,
ResourceGroupId = @default.Apply(@default => @default.Apply(getResourceGroupsResult => getResourceGroupsResult.Ids[0])),
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.resourcemanager.ResourcemanagerFunctions;
import com.pulumi.alicloud.resourcemanager.inputs.GetResourceGroupsArgs;
import com.pulumi.alicloud.esa.RatePlanInstance;
import com.pulumi.alicloud.esa.RatePlanInstanceArgs;
import com.pulumi.random.Integer;
import com.pulumi.random.IntegerArgs;
import com.pulumi.alicloud.esa.Site;
import com.pulumi.alicloud.esa.SiteArgs;
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 config = ctx.config();
final var name = config.get("name").orElse("terraform-example");
final var default = ResourcemanagerFunctions.getResourceGroups(GetResourceGroupsArgs.builder()
.build());
var defaultIEoDfU = new RatePlanInstance("defaultIEoDfU", RatePlanInstanceArgs.builder()
.type("NS")
.autoRenew(true)
.period(1)
.paymentType("Subscription")
.coverage("overseas")
.autoPay(true)
.planName("basic")
.build());
var defaultInteger = new Integer("defaultInteger", IntegerArgs.builder()
.min(10000)
.max(99999)
.build());
var defaultSite = new Site("defaultSite", SiteArgs.builder()
.siteName(String.format("bcd%s.com", defaultInteger.result()))
.coverage("overseas")
.accessType("NS")
.instanceId(defaultIEoDfU.id())
.resourceGroupId(default_.ids()[0])
.build());
}
}
configuration:
name:
type: string
default: terraform-example
resources:
defaultIEoDfU:
type: alicloud:esa:RatePlanInstance
properties:
type: NS
autoRenew: true
period: '1'
paymentType: Subscription
coverage: overseas
autoPay: true
planName: basic
defaultInteger:
type: random:Integer
name: default
properties:
min: 10000
max: 99999
defaultSite:
type: alicloud:esa:Site
name: default
properties:
siteName: bcd${defaultInteger.result}.com
coverage: overseas
accessType: NS
instanceId: ${defaultIEoDfU.id}
resourceGroupId: ${default.ids[0]}
variables:
default:
fn::invoke:
function: alicloud:resourcemanager:getResourceGroups
arguments: {}
📚 Need more examples? VIEW MORE EXAMPLES
Create Site Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Site(name: string, args: SiteArgs, opts?: CustomResourceOptions);@overload
def Site(resource_name: str,
args: SiteArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Site(resource_name: str,
opts: Optional[ResourceOptions] = None,
access_type: Optional[str] = None,
site_name: Optional[str] = None,
instance_id: Optional[str] = None,
global_mode: Optional[str] = None,
real_client_ip_header_name: Optional[str] = None,
automatic_frequency_control_action_type: Optional[str] = None,
automatic_frequency_control_enable: Optional[str] = None,
automatic_frequency_control_level: Optional[str] = None,
cache_architecture_mode: Optional[str] = None,
cache_reserve_enable: Optional[str] = None,
cache_reserve_instance_id: Optional[str] = None,
case_insensitive: Optional[str] = None,
coverage: Optional[str] = None,
cross_border_optimization: Optional[str] = None,
development_mode: Optional[str] = None,
flatten_mode: Optional[str] = None,
ai_mode: Optional[str] = None,
ai_template: Optional[str] = None,
ipv6_region: Optional[str] = None,
add_real_client_ip_header: Optional[str] = None,
paused: Optional[bool] = None,
performance_data_collection_enable: Optional[str] = None,
ipv6_enable: Optional[str] = None,
resource_group_id: Optional[str] = None,
seo_bypass: Optional[str] = None,
add_client_geolocation_header: Optional[str] = None,
site_name_exclusive: Optional[str] = None,
site_version: Optional[int] = None,
site_waf_settings: Optional[SiteSiteWafSettingsArgs] = None,
tag_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
version_management: Optional[bool] = None)func NewSite(ctx *Context, name string, args SiteArgs, opts ...ResourceOption) (*Site, error)public Site(string name, SiteArgs args, CustomResourceOptions? opts = null)type: alicloud:esa:Site
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 SiteArgs
- 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 SiteArgs
- 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 SiteArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SiteArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SiteArgs
- 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 siteResource = new AliCloud.Esa.Site("siteResource", new()
{
AccessType = "string",
SiteName = "string",
InstanceId = "string",
GlobalMode = "string",
RealClientIpHeaderName = "string",
AutomaticFrequencyControlActionType = "string",
AutomaticFrequencyControlEnable = "string",
AutomaticFrequencyControlLevel = "string",
CacheArchitectureMode = "string",
CacheReserveEnable = "string",
CacheReserveInstanceId = "string",
CaseInsensitive = "string",
Coverage = "string",
CrossBorderOptimization = "string",
DevelopmentMode = "string",
FlattenMode = "string",
AiMode = "string",
AiTemplate = "string",
Ipv6Region = "string",
AddRealClientIpHeader = "string",
Paused = false,
PerformanceDataCollectionEnable = "string",
Ipv6Enable = "string",
ResourceGroupId = "string",
SeoBypass = "string",
AddClientGeolocationHeader = "string",
SiteNameExclusive = "string",
SiteVersion = 0,
SiteWafSettings = new AliCloud.Esa.Inputs.SiteSiteWafSettingsArgs
{
AddBotProtectionHeaders = new AliCloud.Esa.Inputs.SiteSiteWafSettingsAddBotProtectionHeadersArgs
{
Enable = false,
},
AddSecurityHeaders = new AliCloud.Esa.Inputs.SiteSiteWafSettingsAddSecurityHeadersArgs
{
Enable = false,
},
BandwidthAbuseProtection = new AliCloud.Esa.Inputs.SiteSiteWafSettingsBandwidthAbuseProtectionArgs
{
Action = "string",
Id = 0,
Status = "string",
},
BotManagement = new AliCloud.Esa.Inputs.SiteSiteWafSettingsBotManagementArgs
{
DefiniteBots = new AliCloud.Esa.Inputs.SiteSiteWafSettingsBotManagementDefiniteBotsArgs
{
Action = "string",
Id = 0,
},
EffectOnStatic = new AliCloud.Esa.Inputs.SiteSiteWafSettingsBotManagementEffectOnStaticArgs
{
Enable = false,
},
JsDetection = new AliCloud.Esa.Inputs.SiteSiteWafSettingsBotManagementJsDetectionArgs
{
Enable = false,
},
LikelyBots = new AliCloud.Esa.Inputs.SiteSiteWafSettingsBotManagementLikelyBotsArgs
{
Action = "string",
Id = 0,
},
VerifiedBots = new AliCloud.Esa.Inputs.SiteSiteWafSettingsBotManagementVerifiedBotsArgs
{
Action = "string",
Id = 0,
},
},
ClientIpIdentifier = new AliCloud.Esa.Inputs.SiteSiteWafSettingsClientIpIdentifierArgs
{
Headers = new[]
{
"string",
},
Mode = "string",
},
SecurityLevel = new AliCloud.Esa.Inputs.SiteSiteWafSettingsSecurityLevelArgs
{
Value = "string",
},
},
TagName = "string",
Tags =
{
{ "string", "string" },
},
VersionManagement = false,
});
example, err := esa.NewSite(ctx, "siteResource", &esa.SiteArgs{
AccessType: pulumi.String("string"),
SiteName: pulumi.String("string"),
InstanceId: pulumi.String("string"),
GlobalMode: pulumi.String("string"),
RealClientIpHeaderName: pulumi.String("string"),
AutomaticFrequencyControlActionType: pulumi.String("string"),
AutomaticFrequencyControlEnable: pulumi.String("string"),
AutomaticFrequencyControlLevel: pulumi.String("string"),
CacheArchitectureMode: pulumi.String("string"),
CacheReserveEnable: pulumi.String("string"),
CacheReserveInstanceId: pulumi.String("string"),
CaseInsensitive: pulumi.String("string"),
Coverage: pulumi.String("string"),
CrossBorderOptimization: pulumi.String("string"),
DevelopmentMode: pulumi.String("string"),
FlattenMode: pulumi.String("string"),
AiMode: pulumi.String("string"),
AiTemplate: pulumi.String("string"),
Ipv6Region: pulumi.String("string"),
AddRealClientIpHeader: pulumi.String("string"),
Paused: pulumi.Bool(false),
PerformanceDataCollectionEnable: pulumi.String("string"),
Ipv6Enable: pulumi.String("string"),
ResourceGroupId: pulumi.String("string"),
SeoBypass: pulumi.String("string"),
AddClientGeolocationHeader: pulumi.String("string"),
SiteNameExclusive: pulumi.String("string"),
SiteVersion: pulumi.Int(0),
SiteWafSettings: &esa.SiteSiteWafSettingsArgs{
AddBotProtectionHeaders: &esa.SiteSiteWafSettingsAddBotProtectionHeadersArgs{
Enable: pulumi.Bool(false),
},
AddSecurityHeaders: &esa.SiteSiteWafSettingsAddSecurityHeadersArgs{
Enable: pulumi.Bool(false),
},
BandwidthAbuseProtection: &esa.SiteSiteWafSettingsBandwidthAbuseProtectionArgs{
Action: pulumi.String("string"),
Id: pulumi.Int(0),
Status: pulumi.String("string"),
},
BotManagement: &esa.SiteSiteWafSettingsBotManagementArgs{
DefiniteBots: &esa.SiteSiteWafSettingsBotManagementDefiniteBotsArgs{
Action: pulumi.String("string"),
Id: pulumi.Int(0),
},
EffectOnStatic: &esa.SiteSiteWafSettingsBotManagementEffectOnStaticArgs{
Enable: pulumi.Bool(false),
},
JsDetection: &esa.SiteSiteWafSettingsBotManagementJsDetectionArgs{
Enable: pulumi.Bool(false),
},
LikelyBots: &esa.SiteSiteWafSettingsBotManagementLikelyBotsArgs{
Action: pulumi.String("string"),
Id: pulumi.Int(0),
},
VerifiedBots: &esa.SiteSiteWafSettingsBotManagementVerifiedBotsArgs{
Action: pulumi.String("string"),
Id: pulumi.Int(0),
},
},
ClientIpIdentifier: &esa.SiteSiteWafSettingsClientIpIdentifierArgs{
Headers: pulumi.StringArray{
pulumi.String("string"),
},
Mode: pulumi.String("string"),
},
SecurityLevel: &esa.SiteSiteWafSettingsSecurityLevelArgs{
Value: pulumi.String("string"),
},
},
TagName: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
VersionManagement: pulumi.Bool(false),
})
var siteResource = new Site("siteResource", SiteArgs.builder()
.accessType("string")
.siteName("string")
.instanceId("string")
.globalMode("string")
.realClientIpHeaderName("string")
.automaticFrequencyControlActionType("string")
.automaticFrequencyControlEnable("string")
.automaticFrequencyControlLevel("string")
.cacheArchitectureMode("string")
.cacheReserveEnable("string")
.cacheReserveInstanceId("string")
.caseInsensitive("string")
.coverage("string")
.crossBorderOptimization("string")
.developmentMode("string")
.flattenMode("string")
.aiMode("string")
.aiTemplate("string")
.ipv6Region("string")
.addRealClientIpHeader("string")
.paused(false)
.performanceDataCollectionEnable("string")
.ipv6Enable("string")
.resourceGroupId("string")
.seoBypass("string")
.addClientGeolocationHeader("string")
.siteNameExclusive("string")
.siteVersion(0)
.siteWafSettings(SiteSiteWafSettingsArgs.builder()
.addBotProtectionHeaders(SiteSiteWafSettingsAddBotProtectionHeadersArgs.builder()
.enable(false)
.build())
.addSecurityHeaders(SiteSiteWafSettingsAddSecurityHeadersArgs.builder()
.enable(false)
.build())
.bandwidthAbuseProtection(SiteSiteWafSettingsBandwidthAbuseProtectionArgs.builder()
.action("string")
.id(0)
.status("string")
.build())
.botManagement(SiteSiteWafSettingsBotManagementArgs.builder()
.definiteBots(SiteSiteWafSettingsBotManagementDefiniteBotsArgs.builder()
.action("string")
.id(0)
.build())
.effectOnStatic(SiteSiteWafSettingsBotManagementEffectOnStaticArgs.builder()
.enable(false)
.build())
.jsDetection(SiteSiteWafSettingsBotManagementJsDetectionArgs.builder()
.enable(false)
.build())
.likelyBots(SiteSiteWafSettingsBotManagementLikelyBotsArgs.builder()
.action("string")
.id(0)
.build())
.verifiedBots(SiteSiteWafSettingsBotManagementVerifiedBotsArgs.builder()
.action("string")
.id(0)
.build())
.build())
.clientIpIdentifier(SiteSiteWafSettingsClientIpIdentifierArgs.builder()
.headers("string")
.mode("string")
.build())
.securityLevel(SiteSiteWafSettingsSecurityLevelArgs.builder()
.value("string")
.build())
.build())
.tagName("string")
.tags(Map.of("string", "string"))
.versionManagement(false)
.build());
site_resource = alicloud.esa.Site("siteResource",
access_type="string",
site_name="string",
instance_id="string",
global_mode="string",
real_client_ip_header_name="string",
automatic_frequency_control_action_type="string",
automatic_frequency_control_enable="string",
automatic_frequency_control_level="string",
cache_architecture_mode="string",
cache_reserve_enable="string",
cache_reserve_instance_id="string",
case_insensitive="string",
coverage="string",
cross_border_optimization="string",
development_mode="string",
flatten_mode="string",
ai_mode="string",
ai_template="string",
ipv6_region="string",
add_real_client_ip_header="string",
paused=False,
performance_data_collection_enable="string",
ipv6_enable="string",
resource_group_id="string",
seo_bypass="string",
add_client_geolocation_header="string",
site_name_exclusive="string",
site_version=0,
site_waf_settings={
"add_bot_protection_headers": {
"enable": False,
},
"add_security_headers": {
"enable": False,
},
"bandwidth_abuse_protection": {
"action": "string",
"id": 0,
"status": "string",
},
"bot_management": {
"definite_bots": {
"action": "string",
"id": 0,
},
"effect_on_static": {
"enable": False,
},
"js_detection": {
"enable": False,
},
"likely_bots": {
"action": "string",
"id": 0,
},
"verified_bots": {
"action": "string",
"id": 0,
},
},
"client_ip_identifier": {
"headers": ["string"],
"mode": "string",
},
"security_level": {
"value": "string",
},
},
tag_name="string",
tags={
"string": "string",
},
version_management=False)
const siteResource = new alicloud.esa.Site("siteResource", {
accessType: "string",
siteName: "string",
instanceId: "string",
globalMode: "string",
realClientIpHeaderName: "string",
automaticFrequencyControlActionType: "string",
automaticFrequencyControlEnable: "string",
automaticFrequencyControlLevel: "string",
cacheArchitectureMode: "string",
cacheReserveEnable: "string",
cacheReserveInstanceId: "string",
caseInsensitive: "string",
coverage: "string",
crossBorderOptimization: "string",
developmentMode: "string",
flattenMode: "string",
aiMode: "string",
aiTemplate: "string",
ipv6Region: "string",
addRealClientIpHeader: "string",
paused: false,
performanceDataCollectionEnable: "string",
ipv6Enable: "string",
resourceGroupId: "string",
seoBypass: "string",
addClientGeolocationHeader: "string",
siteNameExclusive: "string",
siteVersion: 0,
siteWafSettings: {
addBotProtectionHeaders: {
enable: false,
},
addSecurityHeaders: {
enable: false,
},
bandwidthAbuseProtection: {
action: "string",
id: 0,
status: "string",
},
botManagement: {
definiteBots: {
action: "string",
id: 0,
},
effectOnStatic: {
enable: false,
},
jsDetection: {
enable: false,
},
likelyBots: {
action: "string",
id: 0,
},
verifiedBots: {
action: "string",
id: 0,
},
},
clientIpIdentifier: {
headers: ["string"],
mode: "string",
},
securityLevel: {
value: "string",
},
},
tagName: "string",
tags: {
string: "string",
},
versionManagement: false,
});
type: alicloud:esa:Site
properties:
accessType: string
addClientGeolocationHeader: string
addRealClientIpHeader: string
aiMode: string
aiTemplate: string
automaticFrequencyControlActionType: string
automaticFrequencyControlEnable: string
automaticFrequencyControlLevel: string
cacheArchitectureMode: string
cacheReserveEnable: string
cacheReserveInstanceId: string
caseInsensitive: string
coverage: string
crossBorderOptimization: string
developmentMode: string
flattenMode: string
globalMode: string
instanceId: string
ipv6Enable: string
ipv6Region: string
paused: false
performanceDataCollectionEnable: string
realClientIpHeaderName: string
resourceGroupId: string
seoBypass: string
siteName: string
siteNameExclusive: string
siteVersion: 0
siteWafSettings:
addBotProtectionHeaders:
enable: false
addSecurityHeaders:
enable: false
bandwidthAbuseProtection:
action: string
id: 0
status: string
botManagement:
definiteBots:
action: string
id: 0
effectOnStatic:
enable: false
jsDetection:
enable: false
likelyBots:
action: string
id: 0
verifiedBots:
action: string
id: 0
clientIpIdentifier:
headers:
- string
mode: string
securityLevel:
value: string
tagName: string
tags:
string: string
versionManagement: false
Site 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 Site resource accepts the following input properties:
- Access
Type string - The DNS setup. Valid values:
NSCNAME
- Instance
Id string - The ID of the associated package instance.
- Site
Name string - The website name.
- Add
Client stringGeolocation Header - Add visitor geolocation header. Value range:
- Add
Real stringClient Ip Header - Add the "ali-real-client-ip" header containing the real client IP. Value range:
- Ai
Mode string - HTTP DDoS Intelligent Protection Mode. Valid values:
- Ai
Template string - HTTP DDoS Intelligent Protection Level. Values:
- Automatic
Frequency stringControl Action Type - AutomaticFrequencyControl Disposal action.Valid values:
- Automatic
Frequency stringControl Enable - AutomaticFrequencyControl Switch.Valid values:
- Automatic
Frequency stringControl Level - AutomaticFrequencyControl Protection Level.Valid values:
- Cache
Architecture stringMode - Multi-level cache architecture mode. Possible values:
- Cache
Reserve stringEnable - Site cache hold switch. Value:
- Cache
Reserve stringInstance Id - The ID of the cache instance.
- Case
Insensitive string - Whether the custom CacheTag name ignores case. Value range:
- Coverage string
- The service location. Valid values:
- Cross
Border stringOptimization - Whether to enable mainland China network access optimization, the default is off. Value range:
- Development
Mode string - Development mode configuration function switch. Value range:
- Flatten
Mode string - CNAME flattening mode. Possible values:
- Global
Mode string - HTTP DDoS Attack Protection Policy Modes. Valid values:
very weak: indicates a very permissive setting.
- Ipv6Enable string
- Specifies whether to enable IPv6. Valid values:
- Ipv6Region string
- The region in which Ipv6 is enabled. The default value is x.x:
- 'x.x': Global.
- 'Cn.cn ': Mainland China.
- Paused bool
- Specifies whether to temporarily pause ESA on the website. If you set this parameter to true, all requests to the domains in your DNS records go directly to your origin server. Valid values:
- Performance
Data stringCollection Enable - Whether to enable the quality data collection switch.Valid values:
- Real
Client stringIp Header Name - Real client IP header name.
- Resource
Group stringId - The ID of the resource group
- Seo
Bypass string - Release the search engine crawler configuration. Value:
- Site
Name stringExclusive - Specifies whether to enable site hold.After you enable site hold, other accounts cannot add your website domain or its subdomains to ESA. Valid values:
- Site
Version int - The version number of the site. For sites with version management enabled, you can use this parameter to specify the site version for which the configuration will take effect, defaulting to version 0.
- Site
Waf Pulumi.Settings Ali Cloud. Esa. Inputs. Site Site Waf Settings - Site WAF Configuration Details. See
siteWafSettingsbelow. - Tag
Name string - Custom CacheTag name.
- Dictionary<string, string>
- Resource tags
- Version
Management bool - Version management enabled. When true, version management is turned on for the table site.
- Access
Type string - The DNS setup. Valid values:
NSCNAME
- Instance
Id string - The ID of the associated package instance.
- Site
Name string - The website name.
- Add
Client stringGeolocation Header - Add visitor geolocation header. Value range:
- Add
Real stringClient Ip Header - Add the "ali-real-client-ip" header containing the real client IP. Value range:
- Ai
Mode string - HTTP DDoS Intelligent Protection Mode. Valid values:
- Ai
Template string - HTTP DDoS Intelligent Protection Level. Values:
- Automatic
Frequency stringControl Action Type - AutomaticFrequencyControl Disposal action.Valid values:
- Automatic
Frequency stringControl Enable - AutomaticFrequencyControl Switch.Valid values:
- Automatic
Frequency stringControl Level - AutomaticFrequencyControl Protection Level.Valid values:
- Cache
Architecture stringMode - Multi-level cache architecture mode. Possible values:
- Cache
Reserve stringEnable - Site cache hold switch. Value:
- Cache
Reserve stringInstance Id - The ID of the cache instance.
- Case
Insensitive string - Whether the custom CacheTag name ignores case. Value range:
- Coverage string
- The service location. Valid values:
- Cross
Border stringOptimization - Whether to enable mainland China network access optimization, the default is off. Value range:
- Development
Mode string - Development mode configuration function switch. Value range:
- Flatten
Mode string - CNAME flattening mode. Possible values:
- Global
Mode string - HTTP DDoS Attack Protection Policy Modes. Valid values:
very weak: indicates a very permissive setting.
- Ipv6Enable string
- Specifies whether to enable IPv6. Valid values:
- Ipv6Region string
- The region in which Ipv6 is enabled. The default value is x.x:
- 'x.x': Global.
- 'Cn.cn ': Mainland China.
- Paused bool
- Specifies whether to temporarily pause ESA on the website. If you set this parameter to true, all requests to the domains in your DNS records go directly to your origin server. Valid values:
- Performance
Data stringCollection Enable - Whether to enable the quality data collection switch.Valid values:
- Real
Client stringIp Header Name - Real client IP header name.
- Resource
Group stringId - The ID of the resource group
- Seo
Bypass string - Release the search engine crawler configuration. Value:
- Site
Name stringExclusive - Specifies whether to enable site hold.After you enable site hold, other accounts cannot add your website domain or its subdomains to ESA. Valid values:
- Site
Version int - The version number of the site. For sites with version management enabled, you can use this parameter to specify the site version for which the configuration will take effect, defaulting to version 0.
- Site
Waf SiteSettings Site Waf Settings Args - Site WAF Configuration Details. See
siteWafSettingsbelow. - Tag
Name string - Custom CacheTag name.
- map[string]string
- Resource tags
- Version
Management bool - Version management enabled. When true, version management is turned on for the table site.
- access
Type String - The DNS setup. Valid values:
NSCNAME
- instance
Id String - The ID of the associated package instance.
- site
Name String - The website name.
- add
Client StringGeolocation Header - Add visitor geolocation header. Value range:
- add
Real StringClient Ip Header - Add the "ali-real-client-ip" header containing the real client IP. Value range:
- ai
Mode String - HTTP DDoS Intelligent Protection Mode. Valid values:
- ai
Template String - HTTP DDoS Intelligent Protection Level. Values:
- automatic
Frequency StringControl Action Type - AutomaticFrequencyControl Disposal action.Valid values:
- automatic
Frequency StringControl Enable - AutomaticFrequencyControl Switch.Valid values:
- automatic
Frequency StringControl Level - AutomaticFrequencyControl Protection Level.Valid values:
- cache
Architecture StringMode - Multi-level cache architecture mode. Possible values:
- cache
Reserve StringEnable - Site cache hold switch. Value:
- cache
Reserve StringInstance Id - The ID of the cache instance.
- case
Insensitive String - Whether the custom CacheTag name ignores case. Value range:
- coverage String
- The service location. Valid values:
- cross
Border StringOptimization - Whether to enable mainland China network access optimization, the default is off. Value range:
- development
Mode String - Development mode configuration function switch. Value range:
- flatten
Mode String - CNAME flattening mode. Possible values:
- global
Mode String - HTTP DDoS Attack Protection Policy Modes. Valid values:
very weak: indicates a very permissive setting.
- ipv6Enable String
- Specifies whether to enable IPv6. Valid values:
- ipv6Region String
- The region in which Ipv6 is enabled. The default value is x.x:
- 'x.x': Global.
- 'Cn.cn ': Mainland China.
- paused Boolean
- Specifies whether to temporarily pause ESA on the website. If you set this parameter to true, all requests to the domains in your DNS records go directly to your origin server. Valid values:
- performance
Data StringCollection Enable - Whether to enable the quality data collection switch.Valid values:
- real
Client StringIp Header Name - Real client IP header name.
- resource
Group StringId - The ID of the resource group
- seo
Bypass String - Release the search engine crawler configuration. Value:
- site
Name StringExclusive - Specifies whether to enable site hold.After you enable site hold, other accounts cannot add your website domain or its subdomains to ESA. Valid values:
- site
Version Integer - The version number of the site. For sites with version management enabled, you can use this parameter to specify the site version for which the configuration will take effect, defaulting to version 0.
- site
Waf SiteSettings Site Waf Settings - Site WAF Configuration Details. See
siteWafSettingsbelow. - tag
Name String - Custom CacheTag name.
- Map<String,String>
- Resource tags
- version
Management Boolean - Version management enabled. When true, version management is turned on for the table site.
- access
Type string - The DNS setup. Valid values:
NSCNAME
- instance
Id string - The ID of the associated package instance.
- site
Name string - The website name.
- add
Client stringGeolocation Header - Add visitor geolocation header. Value range:
- add
Real stringClient Ip Header - Add the "ali-real-client-ip" header containing the real client IP. Value range:
- ai
Mode string - HTTP DDoS Intelligent Protection Mode. Valid values:
- ai
Template string - HTTP DDoS Intelligent Protection Level. Values:
- automatic
Frequency stringControl Action Type - AutomaticFrequencyControl Disposal action.Valid values:
- automatic
Frequency stringControl Enable - AutomaticFrequencyControl Switch.Valid values:
- automatic
Frequency stringControl Level - AutomaticFrequencyControl Protection Level.Valid values:
- cache
Architecture stringMode - Multi-level cache architecture mode. Possible values:
- cache
Reserve stringEnable - Site cache hold switch. Value:
- cache
Reserve stringInstance Id - The ID of the cache instance.
- case
Insensitive string - Whether the custom CacheTag name ignores case. Value range:
- coverage string
- The service location. Valid values:
- cross
Border stringOptimization - Whether to enable mainland China network access optimization, the default is off. Value range:
- development
Mode string - Development mode configuration function switch. Value range:
- flatten
Mode string - CNAME flattening mode. Possible values:
- global
Mode string - HTTP DDoS Attack Protection Policy Modes. Valid values:
very weak: indicates a very permissive setting.
- ipv6Enable string
- Specifies whether to enable IPv6. Valid values:
- ipv6Region string
- The region in which Ipv6 is enabled. The default value is x.x:
- 'x.x': Global.
- 'Cn.cn ': Mainland China.
- paused boolean
- Specifies whether to temporarily pause ESA on the website. If you set this parameter to true, all requests to the domains in your DNS records go directly to your origin server. Valid values:
- performance
Data stringCollection Enable - Whether to enable the quality data collection switch.Valid values:
- real
Client stringIp Header Name - Real client IP header name.
- resource
Group stringId - The ID of the resource group
- seo
Bypass string - Release the search engine crawler configuration. Value:
- site
Name stringExclusive - Specifies whether to enable site hold.After you enable site hold, other accounts cannot add your website domain or its subdomains to ESA. Valid values:
- site
Version number - The version number of the site. For sites with version management enabled, you can use this parameter to specify the site version for which the configuration will take effect, defaulting to version 0.
- site
Waf SiteSettings Site Waf Settings - Site WAF Configuration Details. See
siteWafSettingsbelow. - tag
Name string - Custom CacheTag name.
- {[key: string]: string}
- Resource tags
- version
Management boolean - Version management enabled. When true, version management is turned on for the table site.
- access_
type str - The DNS setup. Valid values:
NSCNAME
- instance_
id str - The ID of the associated package instance.
- site_
name str - The website name.
- add_
client_ strgeolocation_ header - Add visitor geolocation header. Value range:
- add_
real_ strclient_ ip_ header - Add the "ali-real-client-ip" header containing the real client IP. Value range:
- ai_
mode str - HTTP DDoS Intelligent Protection Mode. Valid values:
- ai_
template str - HTTP DDoS Intelligent Protection Level. Values:
- automatic_
frequency_ strcontrol_ action_ type - AutomaticFrequencyControl Disposal action.Valid values:
- automatic_
frequency_ strcontrol_ enable - AutomaticFrequencyControl Switch.Valid values:
- automatic_
frequency_ strcontrol_ level - AutomaticFrequencyControl Protection Level.Valid values:
- cache_
architecture_ strmode - Multi-level cache architecture mode. Possible values:
- cache_
reserve_ strenable - Site cache hold switch. Value:
- cache_
reserve_ strinstance_ id - The ID of the cache instance.
- case_
insensitive str - Whether the custom CacheTag name ignores case. Value range:
- coverage str
- The service location. Valid values:
- cross_
border_ stroptimization - Whether to enable mainland China network access optimization, the default is off. Value range:
- development_
mode str - Development mode configuration function switch. Value range:
- flatten_
mode str - CNAME flattening mode. Possible values:
- global_
mode str - HTTP DDoS Attack Protection Policy Modes. Valid values:
very weak: indicates a very permissive setting.
- ipv6_
enable str - Specifies whether to enable IPv6. Valid values:
- ipv6_
region str - The region in which Ipv6 is enabled. The default value is x.x:
- 'x.x': Global.
- 'Cn.cn ': Mainland China.
- paused bool
- Specifies whether to temporarily pause ESA on the website. If you set this parameter to true, all requests to the domains in your DNS records go directly to your origin server. Valid values:
- performance_
data_ strcollection_ enable - Whether to enable the quality data collection switch.Valid values:
- real_
client_ strip_ header_ name - Real client IP header name.
- resource_
group_ strid - The ID of the resource group
- seo_
bypass str - Release the search engine crawler configuration. Value:
- site_
name_ strexclusive - Specifies whether to enable site hold.After you enable site hold, other accounts cannot add your website domain or its subdomains to ESA. Valid values:
- site_
version int - The version number of the site. For sites with version management enabled, you can use this parameter to specify the site version for which the configuration will take effect, defaulting to version 0.
- site_
waf_ Sitesettings Site Waf Settings Args - Site WAF Configuration Details. See
siteWafSettingsbelow. - tag_
name str - Custom CacheTag name.
- Mapping[str, str]
- Resource tags
- version_
management bool - Version management enabled. When true, version management is turned on for the table site.
- access
Type String - The DNS setup. Valid values:
NSCNAME
- instance
Id String - The ID of the associated package instance.
- site
Name String - The website name.
- add
Client StringGeolocation Header - Add visitor geolocation header. Value range:
- add
Real StringClient Ip Header - Add the "ali-real-client-ip" header containing the real client IP. Value range:
- ai
Mode String - HTTP DDoS Intelligent Protection Mode. Valid values:
- ai
Template String - HTTP DDoS Intelligent Protection Level. Values:
- automatic
Frequency StringControl Action Type - AutomaticFrequencyControl Disposal action.Valid values:
- automatic
Frequency StringControl Enable - AutomaticFrequencyControl Switch.Valid values:
- automatic
Frequency StringControl Level - AutomaticFrequencyControl Protection Level.Valid values:
- cache
Architecture StringMode - Multi-level cache architecture mode. Possible values:
- cache
Reserve StringEnable - Site cache hold switch. Value:
- cache
Reserve StringInstance Id - The ID of the cache instance.
- case
Insensitive String - Whether the custom CacheTag name ignores case. Value range:
- coverage String
- The service location. Valid values:
- cross
Border StringOptimization - Whether to enable mainland China network access optimization, the default is off. Value range:
- development
Mode String - Development mode configuration function switch. Value range:
- flatten
Mode String - CNAME flattening mode. Possible values:
- global
Mode String - HTTP DDoS Attack Protection Policy Modes. Valid values:
very weak: indicates a very permissive setting.
- ipv6Enable String
- Specifies whether to enable IPv6. Valid values:
- ipv6Region String
- The region in which Ipv6 is enabled. The default value is x.x:
- 'x.x': Global.
- 'Cn.cn ': Mainland China.
- paused Boolean
- Specifies whether to temporarily pause ESA on the website. If you set this parameter to true, all requests to the domains in your DNS records go directly to your origin server. Valid values:
- performance
Data StringCollection Enable - Whether to enable the quality data collection switch.Valid values:
- real
Client StringIp Header Name - Real client IP header name.
- resource
Group StringId - The ID of the resource group
- seo
Bypass String - Release the search engine crawler configuration. Value:
- site
Name StringExclusive - Specifies whether to enable site hold.After you enable site hold, other accounts cannot add your website domain or its subdomains to ESA. Valid values:
- site
Version Number - The version number of the site. For sites with version management enabled, you can use this parameter to specify the site version for which the configuration will take effect, defaulting to version 0.
- site
Waf Property MapSettings - Site WAF Configuration Details. See
siteWafSettingsbelow. - tag
Name String - Custom CacheTag name.
- Map<String>
- Resource tags
- version
Management Boolean - Version management enabled. When true, version management is turned on for the table site.
Outputs
All input properties are implicitly available as output properties. Additionally, the Site resource produces the following output properties:
- Create
Time string - The time when the website was added. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- The status of the resource
- Create
Time string - The time when the website was added. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- The status of the resource
- create
Time String - The time when the website was added. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- The status of the resource
- create
Time string - The time when the website was added. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- The status of the resource
- create_
time str - The time when the website was added. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
- id str
- The provider-assigned unique ID for this managed resource.
- status str
- The status of the resource
- create
Time String - The time when the website was added. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- The status of the resource
Look up Existing Site Resource
Get an existing Site 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?: SiteState, opts?: CustomResourceOptions): Site@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_type: Optional[str] = None,
add_client_geolocation_header: Optional[str] = None,
add_real_client_ip_header: Optional[str] = None,
ai_mode: Optional[str] = None,
ai_template: Optional[str] = None,
automatic_frequency_control_action_type: Optional[str] = None,
automatic_frequency_control_enable: Optional[str] = None,
automatic_frequency_control_level: Optional[str] = None,
cache_architecture_mode: Optional[str] = None,
cache_reserve_enable: Optional[str] = None,
cache_reserve_instance_id: Optional[str] = None,
case_insensitive: Optional[str] = None,
coverage: Optional[str] = None,
create_time: Optional[str] = None,
cross_border_optimization: Optional[str] = None,
development_mode: Optional[str] = None,
flatten_mode: Optional[str] = None,
global_mode: Optional[str] = None,
instance_id: Optional[str] = None,
ipv6_enable: Optional[str] = None,
ipv6_region: Optional[str] = None,
paused: Optional[bool] = None,
performance_data_collection_enable: Optional[str] = None,
real_client_ip_header_name: Optional[str] = None,
resource_group_id: Optional[str] = None,
seo_bypass: Optional[str] = None,
site_name: Optional[str] = None,
site_name_exclusive: Optional[str] = None,
site_version: Optional[int] = None,
site_waf_settings: Optional[SiteSiteWafSettingsArgs] = None,
status: Optional[str] = None,
tag_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
version_management: Optional[bool] = None) -> Sitefunc GetSite(ctx *Context, name string, id IDInput, state *SiteState, opts ...ResourceOption) (*Site, error)public static Site Get(string name, Input<string> id, SiteState? state, CustomResourceOptions? opts = null)public static Site get(String name, Output<String> id, SiteState state, CustomResourceOptions options)resources: _: type: alicloud:esa:Site 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.
- Access
Type string - The DNS setup. Valid values:
NSCNAME
- Add
Client stringGeolocation Header - Add visitor geolocation header. Value range:
- Add
Real stringClient Ip Header - Add the "ali-real-client-ip" header containing the real client IP. Value range:
- Ai
Mode string - HTTP DDoS Intelligent Protection Mode. Valid values:
- Ai
Template string - HTTP DDoS Intelligent Protection Level. Values:
- Automatic
Frequency stringControl Action Type - AutomaticFrequencyControl Disposal action.Valid values:
- Automatic
Frequency stringControl Enable - AutomaticFrequencyControl Switch.Valid values:
- Automatic
Frequency stringControl Level - AutomaticFrequencyControl Protection Level.Valid values:
- Cache
Architecture stringMode - Multi-level cache architecture mode. Possible values:
- Cache
Reserve stringEnable - Site cache hold switch. Value:
- Cache
Reserve stringInstance Id - The ID of the cache instance.
- Case
Insensitive string - Whether the custom CacheTag name ignores case. Value range:
- Coverage string
- The service location. Valid values:
- Create
Time string - The time when the website was added. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
- Cross
Border stringOptimization - Whether to enable mainland China network access optimization, the default is off. Value range:
- Development
Mode string - Development mode configuration function switch. Value range:
- Flatten
Mode string - CNAME flattening mode. Possible values:
- Global
Mode string - HTTP DDoS Attack Protection Policy Modes. Valid values:
very weak: indicates a very permissive setting.
- Instance
Id string - The ID of the associated package instance.
- Ipv6Enable string
- Specifies whether to enable IPv6. Valid values:
- Ipv6Region string
- The region in which Ipv6 is enabled. The default value is x.x:
- 'x.x': Global.
- 'Cn.cn ': Mainland China.
- Paused bool
- Specifies whether to temporarily pause ESA on the website. If you set this parameter to true, all requests to the domains in your DNS records go directly to your origin server. Valid values:
- Performance
Data stringCollection Enable - Whether to enable the quality data collection switch.Valid values:
- Real
Client stringIp Header Name - Real client IP header name.
- Resource
Group stringId - The ID of the resource group
- Seo
Bypass string - Release the search engine crawler configuration. Value:
- Site
Name string - The website name.
- Site
Name stringExclusive - Specifies whether to enable site hold.After you enable site hold, other accounts cannot add your website domain or its subdomains to ESA. Valid values:
- Site
Version int - The version number of the site. For sites with version management enabled, you can use this parameter to specify the site version for which the configuration will take effect, defaulting to version 0.
- Site
Waf Pulumi.Settings Ali Cloud. Esa. Inputs. Site Site Waf Settings - Site WAF Configuration Details. See
siteWafSettingsbelow. - Status string
- The status of the resource
- Tag
Name string - Custom CacheTag name.
- Dictionary<string, string>
- Resource tags
- Version
Management bool - Version management enabled. When true, version management is turned on for the table site.
- Access
Type string - The DNS setup. Valid values:
NSCNAME
- Add
Client stringGeolocation Header - Add visitor geolocation header. Value range:
- Add
Real stringClient Ip Header - Add the "ali-real-client-ip" header containing the real client IP. Value range:
- Ai
Mode string - HTTP DDoS Intelligent Protection Mode. Valid values:
- Ai
Template string - HTTP DDoS Intelligent Protection Level. Values:
- Automatic
Frequency stringControl Action Type - AutomaticFrequencyControl Disposal action.Valid values:
- Automatic
Frequency stringControl Enable - AutomaticFrequencyControl Switch.Valid values:
- Automatic
Frequency stringControl Level - AutomaticFrequencyControl Protection Level.Valid values:
- Cache
Architecture stringMode - Multi-level cache architecture mode. Possible values:
- Cache
Reserve stringEnable - Site cache hold switch. Value:
- Cache
Reserve stringInstance Id - The ID of the cache instance.
- Case
Insensitive string - Whether the custom CacheTag name ignores case. Value range:
- Coverage string
- The service location. Valid values:
- Create
Time string - The time when the website was added. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
- Cross
Border stringOptimization - Whether to enable mainland China network access optimization, the default is off. Value range:
- Development
Mode string - Development mode configuration function switch. Value range:
- Flatten
Mode string - CNAME flattening mode. Possible values:
- Global
Mode string - HTTP DDoS Attack Protection Policy Modes. Valid values:
very weak: indicates a very permissive setting.
- Instance
Id string - The ID of the associated package instance.
- Ipv6Enable string
- Specifies whether to enable IPv6. Valid values:
- Ipv6Region string
- The region in which Ipv6 is enabled. The default value is x.x:
- 'x.x': Global.
- 'Cn.cn ': Mainland China.
- Paused bool
- Specifies whether to temporarily pause ESA on the website. If you set this parameter to true, all requests to the domains in your DNS records go directly to your origin server. Valid values:
- Performance
Data stringCollection Enable - Whether to enable the quality data collection switch.Valid values:
- Real
Client stringIp Header Name - Real client IP header name.
- Resource
Group stringId - The ID of the resource group
- Seo
Bypass string - Release the search engine crawler configuration. Value:
- Site
Name string - The website name.
- Site
Name stringExclusive - Specifies whether to enable site hold.After you enable site hold, other accounts cannot add your website domain or its subdomains to ESA. Valid values:
- Site
Version int - The version number of the site. For sites with version management enabled, you can use this parameter to specify the site version for which the configuration will take effect, defaulting to version 0.
- Site
Waf SiteSettings Site Waf Settings Args - Site WAF Configuration Details. See
siteWafSettingsbelow. - Status string
- The status of the resource
- Tag
Name string - Custom CacheTag name.
- map[string]string
- Resource tags
- Version
Management bool - Version management enabled. When true, version management is turned on for the table site.
- access
Type String - The DNS setup. Valid values:
NSCNAME
- add
Client StringGeolocation Header - Add visitor geolocation header. Value range:
- add
Real StringClient Ip Header - Add the "ali-real-client-ip" header containing the real client IP. Value range:
- ai
Mode String - HTTP DDoS Intelligent Protection Mode. Valid values:
- ai
Template String - HTTP DDoS Intelligent Protection Level. Values:
- automatic
Frequency StringControl Action Type - AutomaticFrequencyControl Disposal action.Valid values:
- automatic
Frequency StringControl Enable - AutomaticFrequencyControl Switch.Valid values:
- automatic
Frequency StringControl Level - AutomaticFrequencyControl Protection Level.Valid values:
- cache
Architecture StringMode - Multi-level cache architecture mode. Possible values:
- cache
Reserve StringEnable - Site cache hold switch. Value:
- cache
Reserve StringInstance Id - The ID of the cache instance.
- case
Insensitive String - Whether the custom CacheTag name ignores case. Value range:
- coverage String
- The service location. Valid values:
- create
Time String - The time when the website was added. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
- cross
Border StringOptimization - Whether to enable mainland China network access optimization, the default is off. Value range:
- development
Mode String - Development mode configuration function switch. Value range:
- flatten
Mode String - CNAME flattening mode. Possible values:
- global
Mode String - HTTP DDoS Attack Protection Policy Modes. Valid values:
very weak: indicates a very permissive setting.
- instance
Id String - The ID of the associated package instance.
- ipv6Enable String
- Specifies whether to enable IPv6. Valid values:
- ipv6Region String
- The region in which Ipv6 is enabled. The default value is x.x:
- 'x.x': Global.
- 'Cn.cn ': Mainland China.
- paused Boolean
- Specifies whether to temporarily pause ESA on the website. If you set this parameter to true, all requests to the domains in your DNS records go directly to your origin server. Valid values:
- performance
Data StringCollection Enable - Whether to enable the quality data collection switch.Valid values:
- real
Client StringIp Header Name - Real client IP header name.
- resource
Group StringId - The ID of the resource group
- seo
Bypass String - Release the search engine crawler configuration. Value:
- site
Name String - The website name.
- site
Name StringExclusive - Specifies whether to enable site hold.After you enable site hold, other accounts cannot add your website domain or its subdomains to ESA. Valid values:
- site
Version Integer - The version number of the site. For sites with version management enabled, you can use this parameter to specify the site version for which the configuration will take effect, defaulting to version 0.
- site
Waf SiteSettings Site Waf Settings - Site WAF Configuration Details. See
siteWafSettingsbelow. - status String
- The status of the resource
- tag
Name String - Custom CacheTag name.
- Map<String,String>
- Resource tags
- version
Management Boolean - Version management enabled. When true, version management is turned on for the table site.
- access
Type string - The DNS setup. Valid values:
NSCNAME
- add
Client stringGeolocation Header - Add visitor geolocation header. Value range:
- add
Real stringClient Ip Header - Add the "ali-real-client-ip" header containing the real client IP. Value range:
- ai
Mode string - HTTP DDoS Intelligent Protection Mode. Valid values:
- ai
Template string - HTTP DDoS Intelligent Protection Level. Values:
- automatic
Frequency stringControl Action Type - AutomaticFrequencyControl Disposal action.Valid values:
- automatic
Frequency stringControl Enable - AutomaticFrequencyControl Switch.Valid values:
- automatic
Frequency stringControl Level - AutomaticFrequencyControl Protection Level.Valid values:
- cache
Architecture stringMode - Multi-level cache architecture mode. Possible values:
- cache
Reserve stringEnable - Site cache hold switch. Value:
- cache
Reserve stringInstance Id - The ID of the cache instance.
- case
Insensitive string - Whether the custom CacheTag name ignores case. Value range:
- coverage string
- The service location. Valid values:
- create
Time string - The time when the website was added. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
- cross
Border stringOptimization - Whether to enable mainland China network access optimization, the default is off. Value range:
- development
Mode string - Development mode configuration function switch. Value range:
- flatten
Mode string - CNAME flattening mode. Possible values:
- global
Mode string - HTTP DDoS Attack Protection Policy Modes. Valid values:
very weak: indicates a very permissive setting.
- instance
Id string - The ID of the associated package instance.
- ipv6Enable string
- Specifies whether to enable IPv6. Valid values:
- ipv6Region string
- The region in which Ipv6 is enabled. The default value is x.x:
- 'x.x': Global.
- 'Cn.cn ': Mainland China.
- paused boolean
- Specifies whether to temporarily pause ESA on the website. If you set this parameter to true, all requests to the domains in your DNS records go directly to your origin server. Valid values:
- performance
Data stringCollection Enable - Whether to enable the quality data collection switch.Valid values:
- real
Client stringIp Header Name - Real client IP header name.
- resource
Group stringId - The ID of the resource group
- seo
Bypass string - Release the search engine crawler configuration. Value:
- site
Name string - The website name.
- site
Name stringExclusive - Specifies whether to enable site hold.After you enable site hold, other accounts cannot add your website domain or its subdomains to ESA. Valid values:
- site
Version number - The version number of the site. For sites with version management enabled, you can use this parameter to specify the site version for which the configuration will take effect, defaulting to version 0.
- site
Waf SiteSettings Site Waf Settings - Site WAF Configuration Details. See
siteWafSettingsbelow. - status string
- The status of the resource
- tag
Name string - Custom CacheTag name.
- {[key: string]: string}
- Resource tags
- version
Management boolean - Version management enabled. When true, version management is turned on for the table site.
- access_
type str - The DNS setup. Valid values:
NSCNAME
- add_
client_ strgeolocation_ header - Add visitor geolocation header. Value range:
- add_
real_ strclient_ ip_ header - Add the "ali-real-client-ip" header containing the real client IP. Value range:
- ai_
mode str - HTTP DDoS Intelligent Protection Mode. Valid values:
- ai_
template str - HTTP DDoS Intelligent Protection Level. Values:
- automatic_
frequency_ strcontrol_ action_ type - AutomaticFrequencyControl Disposal action.Valid values:
- automatic_
frequency_ strcontrol_ enable - AutomaticFrequencyControl Switch.Valid values:
- automatic_
frequency_ strcontrol_ level - AutomaticFrequencyControl Protection Level.Valid values:
- cache_
architecture_ strmode - Multi-level cache architecture mode. Possible values:
- cache_
reserve_ strenable - Site cache hold switch. Value:
- cache_
reserve_ strinstance_ id - The ID of the cache instance.
- case_
insensitive str - Whether the custom CacheTag name ignores case. Value range:
- coverage str
- The service location. Valid values:
- create_
time str - The time when the website was added. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
- cross_
border_ stroptimization - Whether to enable mainland China network access optimization, the default is off. Value range:
- development_
mode str - Development mode configuration function switch. Value range:
- flatten_
mode str - CNAME flattening mode. Possible values:
- global_
mode str - HTTP DDoS Attack Protection Policy Modes. Valid values:
very weak: indicates a very permissive setting.
- instance_
id str - The ID of the associated package instance.
- ipv6_
enable str - Specifies whether to enable IPv6. Valid values:
- ipv6_
region str - The region in which Ipv6 is enabled. The default value is x.x:
- 'x.x': Global.
- 'Cn.cn ': Mainland China.
- paused bool
- Specifies whether to temporarily pause ESA on the website. If you set this parameter to true, all requests to the domains in your DNS records go directly to your origin server. Valid values:
- performance_
data_ strcollection_ enable - Whether to enable the quality data collection switch.Valid values:
- real_
client_ strip_ header_ name - Real client IP header name.
- resource_
group_ strid - The ID of the resource group
- seo_
bypass str - Release the search engine crawler configuration. Value:
- site_
name str - The website name.
- site_
name_ strexclusive - Specifies whether to enable site hold.After you enable site hold, other accounts cannot add your website domain or its subdomains to ESA. Valid values:
- site_
version int - The version number of the site. For sites with version management enabled, you can use this parameter to specify the site version for which the configuration will take effect, defaulting to version 0.
- site_
waf_ Sitesettings Site Waf Settings Args - Site WAF Configuration Details. See
siteWafSettingsbelow. - status str
- The status of the resource
- tag_
name str - Custom CacheTag name.
- Mapping[str, str]
- Resource tags
- version_
management bool - Version management enabled. When true, version management is turned on for the table site.
- access
Type String - The DNS setup. Valid values:
NSCNAME
- add
Client StringGeolocation Header - Add visitor geolocation header. Value range:
- add
Real StringClient Ip Header - Add the "ali-real-client-ip" header containing the real client IP. Value range:
- ai
Mode String - HTTP DDoS Intelligent Protection Mode. Valid values:
- ai
Template String - HTTP DDoS Intelligent Protection Level. Values:
- automatic
Frequency StringControl Action Type - AutomaticFrequencyControl Disposal action.Valid values:
- automatic
Frequency StringControl Enable - AutomaticFrequencyControl Switch.Valid values:
- automatic
Frequency StringControl Level - AutomaticFrequencyControl Protection Level.Valid values:
- cache
Architecture StringMode - Multi-level cache architecture mode. Possible values:
- cache
Reserve StringEnable - Site cache hold switch. Value:
- cache
Reserve StringInstance Id - The ID of the cache instance.
- case
Insensitive String - Whether the custom CacheTag name ignores case. Value range:
- coverage String
- The service location. Valid values:
- create
Time String - The time when the website was added. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
- cross
Border StringOptimization - Whether to enable mainland China network access optimization, the default is off. Value range:
- development
Mode String - Development mode configuration function switch. Value range:
- flatten
Mode String - CNAME flattening mode. Possible values:
- global
Mode String - HTTP DDoS Attack Protection Policy Modes. Valid values:
very weak: indicates a very permissive setting.
- instance
Id String - The ID of the associated package instance.
- ipv6Enable String
- Specifies whether to enable IPv6. Valid values:
- ipv6Region String
- The region in which Ipv6 is enabled. The default value is x.x:
- 'x.x': Global.
- 'Cn.cn ': Mainland China.
- paused Boolean
- Specifies whether to temporarily pause ESA on the website. If you set this parameter to true, all requests to the domains in your DNS records go directly to your origin server. Valid values:
- performance
Data StringCollection Enable - Whether to enable the quality data collection switch.Valid values:
- real
Client StringIp Header Name - Real client IP header name.
- resource
Group StringId - The ID of the resource group
- seo
Bypass String - Release the search engine crawler configuration. Value:
- site
Name String - The website name.
- site
Name StringExclusive - Specifies whether to enable site hold.After you enable site hold, other accounts cannot add your website domain or its subdomains to ESA. Valid values:
- site
Version Number - The version number of the site. For sites with version management enabled, you can use this parameter to specify the site version for which the configuration will take effect, defaulting to version 0.
- site
Waf Property MapSettings - Site WAF Configuration Details. See
siteWafSettingsbelow. - status String
- The status of the resource
- tag
Name String - Custom CacheTag name.
- Map<String>
- Resource tags
- version
Management Boolean - Version management enabled. When true, version management is turned on for the table site.
Supporting Types
SiteSiteWafSettings, SiteSiteWafSettingsArgs
- Add
Bot Pulumi.Protection Headers Ali Cloud. Esa. Inputs. Site Site Waf Settings Add Bot Protection Headers - Add BOT Protection Header. See
addBotProtectionHeadersbelow. - Add
Security Pulumi.Headers Ali Cloud. Esa. Inputs. Site Site Waf Settings Add Security Headers - Add Security Header. See
addSecurityHeadersbelow. - Bandwidth
Abuse Pulumi.Protection Ali Cloud. Esa. Inputs. Site Site Waf Settings Bandwidth Abuse Protection - Anti-theft brush. See
bandwidthAbuseProtectionbelow. - Bot
Management Pulumi.Ali Cloud. Esa. Inputs. Site Site Waf Settings Bot Management - Bot Management. See
botManagementbelow. - Client
Ip Pulumi.Identifier Ali Cloud. Esa. Inputs. Site Site Waf Settings Client Ip Identifier - Client IP Identification. See
clientIpIdentifierbelow. - Security
Level Pulumi.Ali Cloud. Esa. Inputs. Site Site Waf Settings Security Level - Security Level. See
securityLevelbelow.
- Add
Bot SiteProtection Headers Site Waf Settings Add Bot Protection Headers - Add BOT Protection Header. See
addBotProtectionHeadersbelow. - Add
Security SiteHeaders Site Waf Settings Add Security Headers - Add Security Header. See
addSecurityHeadersbelow. - Bandwidth
Abuse SiteProtection Site Waf Settings Bandwidth Abuse Protection - Anti-theft brush. See
bandwidthAbuseProtectionbelow. - Bot
Management SiteSite Waf Settings Bot Management - Bot Management. See
botManagementbelow. - Client
Ip SiteIdentifier Site Waf Settings Client Ip Identifier - Client IP Identification. See
clientIpIdentifierbelow. - Security
Level SiteSite Waf Settings Security Level - Security Level. See
securityLevelbelow.
- add
Bot SiteProtection Headers Site Waf Settings Add Bot Protection Headers - Add BOT Protection Header. See
addBotProtectionHeadersbelow. - add
Security SiteHeaders Site Waf Settings Add Security Headers - Add Security Header. See
addSecurityHeadersbelow. - bandwidth
Abuse SiteProtection Site Waf Settings Bandwidth Abuse Protection - Anti-theft brush. See
bandwidthAbuseProtectionbelow. - bot
Management SiteSite Waf Settings Bot Management - Bot Management. See
botManagementbelow. - client
Ip SiteIdentifier Site Waf Settings Client Ip Identifier - Client IP Identification. See
clientIpIdentifierbelow. - security
Level SiteSite Waf Settings Security Level - Security Level. See
securityLevelbelow.
- add
Bot SiteProtection Headers Site Waf Settings Add Bot Protection Headers - Add BOT Protection Header. See
addBotProtectionHeadersbelow. - add
Security SiteHeaders Site Waf Settings Add Security Headers - Add Security Header. See
addSecurityHeadersbelow. - bandwidth
Abuse SiteProtection Site Waf Settings Bandwidth Abuse Protection - Anti-theft brush. See
bandwidthAbuseProtectionbelow. - bot
Management SiteSite Waf Settings Bot Management - Bot Management. See
botManagementbelow. - client
Ip SiteIdentifier Site Waf Settings Client Ip Identifier - Client IP Identification. See
clientIpIdentifierbelow. - security
Level SiteSite Waf Settings Security Level - Security Level. See
securityLevelbelow.
- add_
bot_ Siteprotection_ headers Site Waf Settings Add Bot Protection Headers - Add BOT Protection Header. See
addBotProtectionHeadersbelow. - add_
security_ Siteheaders Site Waf Settings Add Security Headers - Add Security Header. See
addSecurityHeadersbelow. - bandwidth_
abuse_ Siteprotection Site Waf Settings Bandwidth Abuse Protection - Anti-theft brush. See
bandwidthAbuseProtectionbelow. - bot_
management SiteSite Waf Settings Bot Management - Bot Management. See
botManagementbelow. - client_
ip_ Siteidentifier Site Waf Settings Client Ip Identifier - Client IP Identification. See
clientIpIdentifierbelow. - security_
level SiteSite Waf Settings Security Level - Security Level. See
securityLevelbelow.
- add
Bot Property MapProtection Headers - Add BOT Protection Header. See
addBotProtectionHeadersbelow. - add
Security Property MapHeaders - Add Security Header. See
addSecurityHeadersbelow. - bandwidth
Abuse Property MapProtection - Anti-theft brush. See
bandwidthAbuseProtectionbelow. - bot
Management Property Map - Bot Management. See
botManagementbelow. - client
Ip Property MapIdentifier - Client IP Identification. See
clientIpIdentifierbelow. - security
Level Property Map - Security Level. See
securityLevelbelow.
SiteSiteWafSettingsAddBotProtectionHeaders, SiteSiteWafSettingsAddBotProtectionHeadersArgs
- Enable bool
- Switch.
- Enable bool
- Switch.
- enable Boolean
- Switch.
- enable boolean
- Switch.
- enable bool
- Switch.
- enable Boolean
- Switch.
SiteSiteWafSettingsAddSecurityHeaders, SiteSiteWafSettingsAddSecurityHeadersArgs
- Enable bool
- Switch.
- Enable bool
- Switch.
- enable Boolean
- Switch.
- enable boolean
- Switch.
- enable bool
- Switch.
- enable Boolean
- Switch.
SiteSiteWafSettingsBandwidthAbuseProtection, SiteSiteWafSettingsBandwidthAbuseProtectionArgs
SiteSiteWafSettingsBotManagement, SiteSiteWafSettingsBotManagementArgs
- Definite
Bots Pulumi.Ali Cloud. Esa. Inputs. Site Site Waf Settings Bot Management Definite Bots - Definitely Bot.
- Effect
On Pulumi.Static Ali Cloud. Esa. Inputs. Site Site Waf Settings Bot Management Effect On Static - VApply to Static Resource Requests. See
effectOnStaticbelow. - Js
Detection Pulumi.Ali Cloud. Esa. Inputs. Site Site Waf Settings Bot Management Js Detection - JavaScript Challenge. See
jsDetectionbelow. - Likely
Bots Pulumi.Ali Cloud. Esa. Inputs. Site Site Waf Settings Bot Management Likely Bots - Likely Bot.
- Verified
Bots Pulumi.Ali Cloud. Esa. Inputs. Site Site Waf Settings Bot Management Verified Bots - Verified Bot.
- Definite
Bots SiteSite Waf Settings Bot Management Definite Bots - Definitely Bot.
- Effect
On SiteStatic Site Waf Settings Bot Management Effect On Static - VApply to Static Resource Requests. See
effectOnStaticbelow. - Js
Detection SiteSite Waf Settings Bot Management Js Detection - JavaScript Challenge. See
jsDetectionbelow. - Likely
Bots SiteSite Waf Settings Bot Management Likely Bots - Likely Bot.
- Verified
Bots SiteSite Waf Settings Bot Management Verified Bots - Verified Bot.
- definite
Bots SiteSite Waf Settings Bot Management Definite Bots - Definitely Bot.
- effect
On SiteStatic Site Waf Settings Bot Management Effect On Static - VApply to Static Resource Requests. See
effectOnStaticbelow. - js
Detection SiteSite Waf Settings Bot Management Js Detection - JavaScript Challenge. See
jsDetectionbelow. - likely
Bots SiteSite Waf Settings Bot Management Likely Bots - Likely Bot.
- verified
Bots SiteSite Waf Settings Bot Management Verified Bots - Verified Bot.
- definite
Bots SiteSite Waf Settings Bot Management Definite Bots - Definitely Bot.
- effect
On SiteStatic Site Waf Settings Bot Management Effect On Static - VApply to Static Resource Requests. See
effectOnStaticbelow. - js
Detection SiteSite Waf Settings Bot Management Js Detection - JavaScript Challenge. See
jsDetectionbelow. - likely
Bots SiteSite Waf Settings Bot Management Likely Bots - Likely Bot.
- verified
Bots SiteSite Waf Settings Bot Management Verified Bots - Verified Bot.
- definite_
bots SiteSite Waf Settings Bot Management Definite Bots - Definitely Bot.
- effect_
on_ Sitestatic Site Waf Settings Bot Management Effect On Static - VApply to Static Resource Requests. See
effectOnStaticbelow. - js_
detection SiteSite Waf Settings Bot Management Js Detection - JavaScript Challenge. See
jsDetectionbelow. - likely_
bots SiteSite Waf Settings Bot Management Likely Bots - Likely Bot.
- verified_
bots SiteSite Waf Settings Bot Management Verified Bots - Verified Bot.
- definite
Bots Property Map - Definitely Bot.
- effect
On Property MapStatic - VApply to Static Resource Requests. See
effectOnStaticbelow. - js
Detection Property Map - JavaScript Challenge. See
jsDetectionbelow. - likely
Bots Property Map - Likely Bot.
- verified
Bots Property Map - Verified Bot.
SiteSiteWafSettingsBotManagementDefiniteBots, SiteSiteWafSettingsBotManagementDefiniteBotsArgs
SiteSiteWafSettingsBotManagementEffectOnStatic, SiteSiteWafSettingsBotManagementEffectOnStaticArgs
- Enable bool
- Switch.
- Enable bool
- Switch.
- enable Boolean
- Switch.
- enable boolean
- Switch.
- enable bool
- Switch.
- enable Boolean
- Switch.
SiteSiteWafSettingsBotManagementJsDetection, SiteSiteWafSettingsBotManagementJsDetectionArgs
- Enable bool
- Switch.
- Enable bool
- Switch.
- enable Boolean
- Switch.
- enable boolean
- Switch.
- enable bool
- Switch.
- enable Boolean
- Switch.
SiteSiteWafSettingsBotManagementLikelyBots, SiteSiteWafSettingsBotManagementLikelyBotsArgs
SiteSiteWafSettingsBotManagementVerifiedBots, SiteSiteWafSettingsBotManagementVerifiedBotsArgs
SiteSiteWafSettingsClientIpIdentifier, SiteSiteWafSettingsClientIpIdentifierArgs
SiteSiteWafSettingsSecurityLevel, SiteSiteWafSettingsSecurityLevelArgs
- Value string
- Security level value. Valid values:
- Value string
- Security level value. Valid values:
- value String
- Security level value. Valid values:
- value string
- Security level value. Valid values:
- value str
- Security level value. Valid values:
- value String
- Security level value. Valid values:
Import
ESA Site can be imported using the id, e.g.
$ pulumi import alicloud:esa/site:Site example <site_id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
published on Tuesday, Apr 28, 2026 by Pulumi
