Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi
alicloud.wafv3.getDomains
Explore with Pulumi AI
This data source provides the Wafv3 Domains of the current Alibaba Cloud user.
NOTE: Available since v1.200.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const default = alicloud.wafv3.getInstances({});
const ids = _default.then(_default => alicloud.wafv3.getDomains({
instanceId: _default.ids?.[0],
ids: ["example_id"],
}));
export const wafv3DomainsId1 = ids.then(ids => ids.domains?.[0]?.id);
const defaultGetDomains = _default.then(_default => alicloud.wafv3.getDomains({
instanceId: _default.ids?.[0],
domain: "zctest12.wafqax.top",
}));
export const wafv3DomainsId2 = defaultGetDomains.then(defaultGetDomains => defaultGetDomains.domains?.[0]?.id);
import pulumi
import pulumi_alicloud as alicloud
default = alicloud.wafv3.get_instances()
ids = alicloud.wafv3.get_domains(instance_id=default.ids[0],
ids=["example_id"])
pulumi.export("wafv3DomainsId1", ids.domains[0].id)
default_get_domains = alicloud.wafv3.get_domains(instance_id=default.ids[0],
domain="zctest12.wafqax.top")
pulumi.export("wafv3DomainsId2", default_get_domains.domains[0].id)
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/wafv3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_default, err := wafv3.GetInstances(ctx, nil, nil)
if err != nil {
return err
}
ids, err := wafv3.GetDomains(ctx, &wafv3.GetDomainsArgs{
InstanceId: _default.Ids[0],
Ids: []string{
"example_id",
},
}, nil)
if err != nil {
return err
}
ctx.Export("wafv3DomainsId1", ids.Domains[0].Id)
defaultGetDomains, err := wafv3.GetDomains(ctx, &wafv3.GetDomainsArgs{
InstanceId: _default.Ids[0],
Domain: pulumi.StringRef("zctest12.wafqax.top"),
}, nil)
if err != nil {
return err
}
ctx.Export("wafv3DomainsId2", defaultGetDomains.Domains[0].Id)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var @default = AliCloud.Wafv3.GetInstances.Invoke();
var ids = AliCloud.Wafv3.GetDomains.Invoke(new()
{
InstanceId = @default.Apply(getInstancesResult => getInstancesResult.Ids[0]),
Ids = new[]
{
"example_id",
},
});
var defaultGetDomains = AliCloud.Wafv3.GetDomains.Invoke(new()
{
InstanceId = @default.Apply(getInstancesResult => getInstancesResult.Ids[0]),
Domain = "zctest12.wafqax.top",
});
return new Dictionary<string, object?>
{
["wafv3DomainsId1"] = ids.Apply(getDomainsResult => getDomainsResult.Domains[0]?.Id),
["wafv3DomainsId2"] = defaultGetDomains.Apply(getDomainsResult => getDomainsResult.Domains[0]?.Id),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.wafv3.Wafv3Functions;
import com.pulumi.alicloud.wafv3.inputs.GetInstancesArgs;
import com.pulumi.alicloud.wafv3.inputs.GetDomainsArgs;
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 default = Wafv3Functions.getInstances();
final var ids = Wafv3Functions.getDomains(GetDomainsArgs.builder()
.instanceId(default_.ids()[0])
.ids("example_id")
.build());
ctx.export("wafv3DomainsId1", ids.applyValue(getDomainsResult -> getDomainsResult.domains()[0].id()));
final var defaultGetDomains = Wafv3Functions.getDomains(GetDomainsArgs.builder()
.instanceId(default_.ids()[0])
.domain("zctest12.wafqax.top")
.build());
ctx.export("wafv3DomainsId2", defaultGetDomains.applyValue(getDomainsResult -> getDomainsResult.domains()[0].id()));
}
}
variables:
default:
fn::invoke:
Function: alicloud:wafv3:getInstances
Arguments: {}
ids:
fn::invoke:
Function: alicloud:wafv3:getDomains
Arguments:
instanceId: ${default.ids[0]}
ids:
- example_id
defaultGetDomains:
fn::invoke:
Function: alicloud:wafv3:getDomains
Arguments:
instanceId: ${default.ids[0]}
domain: zctest12.wafqax.top
outputs:
wafv3DomainsId1: ${ids.domains[0].id}
wafv3DomainsId2: ${defaultGetDomains.domains[0].id}
Using getDomains
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 getDomains(args: GetDomainsArgs, opts?: InvokeOptions): Promise<GetDomainsResult>
function getDomainsOutput(args: GetDomainsOutputArgs, opts?: InvokeOptions): Output<GetDomainsResult>
def get_domains(backend: Optional[str] = None,
domain: Optional[str] = None,
enable_details: Optional[bool] = None,
ids: Optional[Sequence[str]] = None,
instance_id: Optional[str] = None,
output_file: Optional[str] = None,
page_number: Optional[int] = None,
page_size: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetDomainsResult
def get_domains_output(backend: Optional[pulumi.Input[str]] = None,
domain: Optional[pulumi.Input[str]] = None,
enable_details: Optional[pulumi.Input[bool]] = None,
ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
page_number: Optional[pulumi.Input[int]] = None,
page_size: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDomainsResult]
func GetDomains(ctx *Context, args *GetDomainsArgs, opts ...InvokeOption) (*GetDomainsResult, error)
func GetDomainsOutput(ctx *Context, args *GetDomainsOutputArgs, opts ...InvokeOption) GetDomainsResultOutput
> Note: This function is named GetDomains
in the Go SDK.
public static class GetDomains
{
public static Task<GetDomainsResult> InvokeAsync(GetDomainsArgs args, InvokeOptions? opts = null)
public static Output<GetDomainsResult> Invoke(GetDomainsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDomainsResult> getDomains(GetDomainsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: alicloud:wafv3/getDomains:getDomains
arguments:
# arguments dictionary
The following arguments are supported:
- Instance
Id string - The WAF instance ID.
- Backend string
- The address type of the origin server. The address can be an IP address or a domain name. You can specify only one type of address.
- Domain string
- The name of the domain name to query.
- Enable
Details bool - Default to
false
. Set it totrue
can output more details about resource attributes. - Ids List<string>
- A list of domain IDs.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - Page
Number int - Page
Size int
- Instance
Id string - The WAF instance ID.
- Backend string
- The address type of the origin server. The address can be an IP address or a domain name. You can specify only one type of address.
- Domain string
- The name of the domain name to query.
- Enable
Details bool - Default to
false
. Set it totrue
can output more details about resource attributes. - Ids []string
- A list of domain IDs.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - Page
Number int - Page
Size int
- instance
Id String - The WAF instance ID.
- backend String
- The address type of the origin server. The address can be an IP address or a domain name. You can specify only one type of address.
- domain String
- The name of the domain name to query.
- enable
Details Boolean - Default to
false
. Set it totrue
can output more details about resource attributes. - ids List<String>
- A list of domain IDs.
- output
File String - File name where to save data source results (after running
pulumi preview
). - page
Number Integer - page
Size Integer
- instance
Id string - The WAF instance ID.
- backend string
- The address type of the origin server. The address can be an IP address or a domain name. You can specify only one type of address.
- domain string
- The name of the domain name to query.
- enable
Details boolean - Default to
false
. Set it totrue
can output more details about resource attributes. - ids string[]
- A list of domain IDs.
- output
File string - File name where to save data source results (after running
pulumi preview
). - page
Number number - page
Size number
- instance_
id str - The WAF instance ID.
- backend str
- The address type of the origin server. The address can be an IP address or a domain name. You can specify only one type of address.
- domain str
- The name of the domain name to query.
- enable_
details bool - Default to
false
. Set it totrue
can output more details about resource attributes. - ids Sequence[str]
- A list of domain IDs.
- output_
file str - File name where to save data source results (after running
pulumi preview
). - page_
number int - page_
size int
- instance
Id String - The WAF instance ID.
- backend String
- The address type of the origin server. The address can be an IP address or a domain name. You can specify only one type of address.
- domain String
- The name of the domain name to query.
- enable
Details Boolean - Default to
false
. Set it totrue
can output more details about resource attributes. - ids List<String>
- A list of domain IDs.
- output
File String - File name where to save data source results (after running
pulumi preview
). - page
Number Number - page
Size Number
getDomains Result
The following output properties are available:
- Domains
List<Pulumi.
Ali Cloud. Wafv3. Outputs. Get Domains Domain> - A list of Domain Entries. Each element contains the following attributes:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- Instance
Id string - Backend string
- Domain string
- The name of the domain.
- Enable
Details bool - Output
File string - Page
Number int - Page
Size int
- Domains
[]Get
Domains Domain - A list of Domain Entries. Each element contains the following attributes:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- Instance
Id string - Backend string
- Domain string
- The name of the domain.
- Enable
Details bool - Output
File string - Page
Number int - Page
Size int
- domains
List<Get
Domains Domain> - A list of Domain Entries. Each element contains the following attributes:
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- instance
Id String - backend String
- domain String
- The name of the domain.
- enable
Details Boolean - output
File String - page
Number Integer - page
Size Integer
- domains
Get
Domains Domain[] - A list of Domain Entries. Each element contains the following attributes:
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- instance
Id string - backend string
- domain string
- The name of the domain.
- enable
Details boolean - output
File string - page
Number number - page
Size number
- domains
Sequence[Get
Domains Domain] - A list of Domain Entries. Each element contains the following attributes:
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- instance_
id str - backend str
- domain str
- The name of the domain.
- enable_
details bool - output_
file str - page_
number int - page_
size int
- domains List<Property Map>
- A list of Domain Entries. Each element contains the following attributes:
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- instance
Id String - backend String
- domain String
- The name of the domain.
- enable
Details Boolean - output
File String - page
Number Number - page
Size Number
Supporting Types
GetDomainsDomain
- Domain string
- The name of the domain name to query.
- Id string
- The ID of the domain. It formats as
<instance_id>:<domain>
. - Listens
List<Pulumi.
Ali Cloud. Wafv3. Inputs. Get Domains Domain Listen> - Configure listening information
- Redirects
List<Pulumi.
Ali Cloud. Wafv3. Inputs. Get Domains Domain Redirect> - Configure forwarding information.
- Resource
Manager stringResource Group Id - The ID of the resource group.
- Status string
- The status of the domain.
- Domain string
- The name of the domain name to query.
- Id string
- The ID of the domain. It formats as
<instance_id>:<domain>
. - Listens
[]Get
Domains Domain Listen - Configure listening information
- Redirects
[]Get
Domains Domain Redirect - Configure forwarding information.
- Resource
Manager stringResource Group Id - The ID of the resource group.
- Status string
- The status of the domain.
- domain String
- The name of the domain name to query.
- id String
- The ID of the domain. It formats as
<instance_id>:<domain>
. - listens
List<Get
Domains Domain Listen> - Configure listening information
- redirects
List<Get
Domains Domain Redirect> - Configure forwarding information.
- resource
Manager StringResource Group Id - The ID of the resource group.
- status String
- The status of the domain.
- domain string
- The name of the domain name to query.
- id string
- The ID of the domain. It formats as
<instance_id>:<domain>
. - listens
Get
Domains Domain Listen[] - Configure listening information
- redirects
Get
Domains Domain Redirect[] - Configure forwarding information.
- resource
Manager stringResource Group Id - The ID of the resource group.
- status string
- The status of the domain.
- domain str
- The name of the domain name to query.
- id str
- The ID of the domain. It formats as
<instance_id>:<domain>
. - listens
Sequence[Get
Domains Domain Listen] - Configure listening information
- redirects
Sequence[Get
Domains Domain Redirect] - Configure forwarding information.
- resource_
manager_ strresource_ group_ id - The ID of the resource group.
- status str
- The status of the domain.
- domain String
- The name of the domain name to query.
- id String
- The ID of the domain. It formats as
<instance_id>:<domain>
. - listens List<Property Map>
- Configure listening information
- redirects List<Property Map>
- Configure forwarding information.
- resource
Manager StringResource Group Id - The ID of the resource group.
- status String
- The status of the domain.
GetDomainsDomainListen
- Cert
Id string - The ID of the certificate to be added. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- Cipher
Suite int - The type of encryption suite to add. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- Custom
Ciphers List<string> - The specific custom encryption suite to add.
- Enable
Tlsv3 bool - Whether TSL1.3 version is supported. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- Exclusive
Ip bool - Whether to enable exclusive IP address. This parameter is used only when the value of ipv6_enabled is false (indicating that IPv6 is not enabled) and the value of protection_resource is share (indicating that a shared cluster is used).
- Focus
Https bool - Whether to enable the forced jump of HTTPS. This parameter is used only when the value of
https_ports
is not empty (indicating that the domain name uses HTTPS protocol) and the value of httports is empty (indicating that the domain name does not use HTTP protocol). - Http2Enabled bool
- Whether to turn on http2. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- Http
Ports List<int> - The listening port of the HTTP protocol.
- Https
Ports List<int> - The listening port of the HTTPS protocol.
- Ipv6Enabled bool
- Whether IPv6 is turned on.
- Protection
Resource string - The type of protection resource to use.
- Tls
Version string - The version of TLS to add. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- Xff
Header intMode - WAF obtains the real IP address of the client.
- Xff
Headers List<string> - Set the list of custom fields used to obtain the client IP address.
- Cert
Id string - The ID of the certificate to be added. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- Cipher
Suite int - The type of encryption suite to add. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- Custom
Ciphers []string - The specific custom encryption suite to add.
- Enable
Tlsv3 bool - Whether TSL1.3 version is supported. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- Exclusive
Ip bool - Whether to enable exclusive IP address. This parameter is used only when the value of ipv6_enabled is false (indicating that IPv6 is not enabled) and the value of protection_resource is share (indicating that a shared cluster is used).
- Focus
Https bool - Whether to enable the forced jump of HTTPS. This parameter is used only when the value of
https_ports
is not empty (indicating that the domain name uses HTTPS protocol) and the value of httports is empty (indicating that the domain name does not use HTTP protocol). - Http2Enabled bool
- Whether to turn on http2. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- Http
Ports []int - The listening port of the HTTP protocol.
- Https
Ports []int - The listening port of the HTTPS protocol.
- Ipv6Enabled bool
- Whether IPv6 is turned on.
- Protection
Resource string - The type of protection resource to use.
- Tls
Version string - The version of TLS to add. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- Xff
Header intMode - WAF obtains the real IP address of the client.
- Xff
Headers []string - Set the list of custom fields used to obtain the client IP address.
- cert
Id String - The ID of the certificate to be added. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- cipher
Suite Integer - The type of encryption suite to add. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- custom
Ciphers List<String> - The specific custom encryption suite to add.
- enable
Tlsv3 Boolean - Whether TSL1.3 version is supported. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- exclusive
Ip Boolean - Whether to enable exclusive IP address. This parameter is used only when the value of ipv6_enabled is false (indicating that IPv6 is not enabled) and the value of protection_resource is share (indicating that a shared cluster is used).
- focus
Https Boolean - Whether to enable the forced jump of HTTPS. This parameter is used only when the value of
https_ports
is not empty (indicating that the domain name uses HTTPS protocol) and the value of httports is empty (indicating that the domain name does not use HTTP protocol). - http2Enabled Boolean
- Whether to turn on http2. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- http
Ports List<Integer> - The listening port of the HTTP protocol.
- https
Ports List<Integer> - The listening port of the HTTPS protocol.
- ipv6Enabled Boolean
- Whether IPv6 is turned on.
- protection
Resource String - The type of protection resource to use.
- tls
Version String - The version of TLS to add. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- xff
Header IntegerMode - WAF obtains the real IP address of the client.
- xff
Headers List<String> - Set the list of custom fields used to obtain the client IP address.
- cert
Id string - The ID of the certificate to be added. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- cipher
Suite number - The type of encryption suite to add. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- custom
Ciphers string[] - The specific custom encryption suite to add.
- enable
Tlsv3 boolean - Whether TSL1.3 version is supported. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- exclusive
Ip boolean - Whether to enable exclusive IP address. This parameter is used only when the value of ipv6_enabled is false (indicating that IPv6 is not enabled) and the value of protection_resource is share (indicating that a shared cluster is used).
- focus
Https boolean - Whether to enable the forced jump of HTTPS. This parameter is used only when the value of
https_ports
is not empty (indicating that the domain name uses HTTPS protocol) and the value of httports is empty (indicating that the domain name does not use HTTP protocol). - http2Enabled boolean
- Whether to turn on http2. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- http
Ports number[] - The listening port of the HTTP protocol.
- https
Ports number[] - The listening port of the HTTPS protocol.
- ipv6Enabled boolean
- Whether IPv6 is turned on.
- protection
Resource string - The type of protection resource to use.
- tls
Version string - The version of TLS to add. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- xff
Header numberMode - WAF obtains the real IP address of the client.
- xff
Headers string[] - Set the list of custom fields used to obtain the client IP address.
- cert_
id str - The ID of the certificate to be added. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- cipher_
suite int - The type of encryption suite to add. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- custom_
ciphers Sequence[str] - The specific custom encryption suite to add.
- enable_
tlsv3 bool - Whether TSL1.3 version is supported. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- exclusive_
ip bool - Whether to enable exclusive IP address. This parameter is used only when the value of ipv6_enabled is false (indicating that IPv6 is not enabled) and the value of protection_resource is share (indicating that a shared cluster is used).
- focus_
https bool - Whether to enable the forced jump of HTTPS. This parameter is used only when the value of
https_ports
is not empty (indicating that the domain name uses HTTPS protocol) and the value of httports is empty (indicating that the domain name does not use HTTP protocol). - http2_
enabled bool - Whether to turn on http2. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- http_
ports Sequence[int] - The listening port of the HTTP protocol.
- https_
ports Sequence[int] - The listening port of the HTTPS protocol.
- ipv6_
enabled bool - Whether IPv6 is turned on.
- protection_
resource str - The type of protection resource to use.
- tls_
version str - The version of TLS to add. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- xff_
header_ intmode - WAF obtains the real IP address of the client.
- xff_
headers Sequence[str] - Set the list of custom fields used to obtain the client IP address.
- cert
Id String - The ID of the certificate to be added. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- cipher
Suite Number - The type of encryption suite to add. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- custom
Ciphers List<String> - The specific custom encryption suite to add.
- enable
Tlsv3 Boolean - Whether TSL1.3 version is supported. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- exclusive
Ip Boolean - Whether to enable exclusive IP address. This parameter is used only when the value of ipv6_enabled is false (indicating that IPv6 is not enabled) and the value of protection_resource is share (indicating that a shared cluster is used).
- focus
Https Boolean - Whether to enable the forced jump of HTTPS. This parameter is used only when the value of
https_ports
is not empty (indicating that the domain name uses HTTPS protocol) and the value of httports is empty (indicating that the domain name does not use HTTP protocol). - http2Enabled Boolean
- Whether to turn on http2. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- http
Ports List<Number> - The listening port of the HTTP protocol.
- https
Ports List<Number> - The listening port of the HTTPS protocol.
- ipv6Enabled Boolean
- Whether IPv6 is turned on.
- protection
Resource String - The type of protection resource to use.
- tls
Version String - The version of TLS to add. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- xff
Header NumberMode - WAF obtains the real IP address of the client.
- xff
Headers List<String> - Set the list of custom fields used to obtain the client IP address.
GetDomainsDomainRedirect
- Backends List<string>
- The IP address of the origin server corresponding to the domain name or the back-to-origin domain name of the server.
- Connect
Timeout int - Connection timeout, Unit: seconds, value range: 5~120.
- Focus
Http boolBackend - Whether to enable forced HTTP back-to-origin. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- Keepalive bool
- Open long connection, default true.
- Keepalive
Requests int - Number of long connections, default:
60
. range :60-1000. - Keepalive
Timeout int - Long connection over time, default:
15
. Range: 1-60. - Loadbalance string
- The load balancing algorithm used when returning to the source.
- Read
Timeout int - Read timeout duration. Unit: seconds, Value range: 5~1800.
- Request
Headers List<Pulumi.Ali Cloud. Wafv3. Inputs. Get Domains Domain Redirect Request Header> - The traffic tag field and value of the domain name, which is used to mark the traffic processed by WAF. the format of this parameter value is [{" k ":"key"," v ":"value"}]. where_key_represents the specified custom request header field, and_value_represents the value set for this field.By specifying the custom request header field and the corresponding value, when the access traffic of the domain name passes through WAF, WAF automatically adds the specified custom field value to the request header as the traffic mark, which is convenient for backend service statistics.Explain that if the custom header field already exists in the request, the system will overwrite the value of the custom field in the request with the set traffic tag value.
- Retry bool
- Back to Source Retry. default
true
, retry 3 times by default. - Sni
Enabled bool - Whether to enable back-to-source SNI. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- Sni
Host string - Sets the value of the custom SNI extension field. If this parameter is not set, the value of the Host field in the request header is used as the value of the SNI extension field by default.In general, you do not need to customize SNI unless your business has special configuration requirements. You want WAF to use SNI that is inconsistent with the actual request Host in the back-to-origin request (that is, the custom SNI set here).> This parameter is required only when sni_enalbed is set to true (indicating that back-to-source SNI is enabled).
- Write
Timeout int - Write timeout duration. Unit: seconds, Value range:5~1800.
- Backends []string
- The IP address of the origin server corresponding to the domain name or the back-to-origin domain name of the server.
- Connect
Timeout int - Connection timeout, Unit: seconds, value range: 5~120.
- Focus
Http boolBackend - Whether to enable forced HTTP back-to-origin. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- Keepalive bool
- Open long connection, default true.
- Keepalive
Requests int - Number of long connections, default:
60
. range :60-1000. - Keepalive
Timeout int - Long connection over time, default:
15
. Range: 1-60. - Loadbalance string
- The load balancing algorithm used when returning to the source.
- Read
Timeout int - Read timeout duration. Unit: seconds, Value range: 5~1800.
- Request
Headers []GetDomains Domain Redirect Request Header - The traffic tag field and value of the domain name, which is used to mark the traffic processed by WAF. the format of this parameter value is [{" k ":"key"," v ":"value"}]. where_key_represents the specified custom request header field, and_value_represents the value set for this field.By specifying the custom request header field and the corresponding value, when the access traffic of the domain name passes through WAF, WAF automatically adds the specified custom field value to the request header as the traffic mark, which is convenient for backend service statistics.Explain that if the custom header field already exists in the request, the system will overwrite the value of the custom field in the request with the set traffic tag value.
- Retry bool
- Back to Source Retry. default
true
, retry 3 times by default. - Sni
Enabled bool - Whether to enable back-to-source SNI. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- Sni
Host string - Sets the value of the custom SNI extension field. If this parameter is not set, the value of the Host field in the request header is used as the value of the SNI extension field by default.In general, you do not need to customize SNI unless your business has special configuration requirements. You want WAF to use SNI that is inconsistent with the actual request Host in the back-to-origin request (that is, the custom SNI set here).> This parameter is required only when sni_enalbed is set to true (indicating that back-to-source SNI is enabled).
- Write
Timeout int - Write timeout duration. Unit: seconds, Value range:5~1800.
- backends List<String>
- The IP address of the origin server corresponding to the domain name or the back-to-origin domain name of the server.
- connect
Timeout Integer - Connection timeout, Unit: seconds, value range: 5~120.
- focus
Http BooleanBackend - Whether to enable forced HTTP back-to-origin. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- keepalive Boolean
- Open long connection, default true.
- keepalive
Requests Integer - Number of long connections, default:
60
. range :60-1000. - keepalive
Timeout Integer - Long connection over time, default:
15
. Range: 1-60. - loadbalance String
- The load balancing algorithm used when returning to the source.
- read
Timeout Integer - Read timeout duration. Unit: seconds, Value range: 5~1800.
- request
Headers List<GetDomains Domain Redirect Request Header> - The traffic tag field and value of the domain name, which is used to mark the traffic processed by WAF. the format of this parameter value is [{" k ":"key"," v ":"value"}]. where_key_represents the specified custom request header field, and_value_represents the value set for this field.By specifying the custom request header field and the corresponding value, when the access traffic of the domain name passes through WAF, WAF automatically adds the specified custom field value to the request header as the traffic mark, which is convenient for backend service statistics.Explain that if the custom header field already exists in the request, the system will overwrite the value of the custom field in the request with the set traffic tag value.
- retry Boolean
- Back to Source Retry. default
true
, retry 3 times by default. - sni
Enabled Boolean - Whether to enable back-to-source SNI. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- sni
Host String - Sets the value of the custom SNI extension field. If this parameter is not set, the value of the Host field in the request header is used as the value of the SNI extension field by default.In general, you do not need to customize SNI unless your business has special configuration requirements. You want WAF to use SNI that is inconsistent with the actual request Host in the back-to-origin request (that is, the custom SNI set here).> This parameter is required only when sni_enalbed is set to true (indicating that back-to-source SNI is enabled).
- write
Timeout Integer - Write timeout duration. Unit: seconds, Value range:5~1800.
- backends string[]
- The IP address of the origin server corresponding to the domain name or the back-to-origin domain name of the server.
- connect
Timeout number - Connection timeout, Unit: seconds, value range: 5~120.
- focus
Http booleanBackend - Whether to enable forced HTTP back-to-origin. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- keepalive boolean
- Open long connection, default true.
- keepalive
Requests number - Number of long connections, default:
60
. range :60-1000. - keepalive
Timeout number - Long connection over time, default:
15
. Range: 1-60. - loadbalance string
- The load balancing algorithm used when returning to the source.
- read
Timeout number - Read timeout duration. Unit: seconds, Value range: 5~1800.
- request
Headers GetDomains Domain Redirect Request Header[] - The traffic tag field and value of the domain name, which is used to mark the traffic processed by WAF. the format of this parameter value is [{" k ":"key"," v ":"value"}]. where_key_represents the specified custom request header field, and_value_represents the value set for this field.By specifying the custom request header field and the corresponding value, when the access traffic of the domain name passes through WAF, WAF automatically adds the specified custom field value to the request header as the traffic mark, which is convenient for backend service statistics.Explain that if the custom header field already exists in the request, the system will overwrite the value of the custom field in the request with the set traffic tag value.
- retry boolean
- Back to Source Retry. default
true
, retry 3 times by default. - sni
Enabled boolean - Whether to enable back-to-source SNI. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- sni
Host string - Sets the value of the custom SNI extension field. If this parameter is not set, the value of the Host field in the request header is used as the value of the SNI extension field by default.In general, you do not need to customize SNI unless your business has special configuration requirements. You want WAF to use SNI that is inconsistent with the actual request Host in the back-to-origin request (that is, the custom SNI set here).> This parameter is required only when sni_enalbed is set to true (indicating that back-to-source SNI is enabled).
- write
Timeout number - Write timeout duration. Unit: seconds, Value range:5~1800.
- backends Sequence[str]
- The IP address of the origin server corresponding to the domain name or the back-to-origin domain name of the server.
- connect_
timeout int - Connection timeout, Unit: seconds, value range: 5~120.
- focus_
http_ boolbackend - Whether to enable forced HTTP back-to-origin. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- keepalive bool
- Open long connection, default true.
- keepalive_
requests int - Number of long connections, default:
60
. range :60-1000. - keepalive_
timeout int - Long connection over time, default:
15
. Range: 1-60. - loadbalance str
- The load balancing algorithm used when returning to the source.
- read_
timeout int - Read timeout duration. Unit: seconds, Value range: 5~1800.
- request_
headers Sequence[GetDomains Domain Redirect Request Header] - The traffic tag field and value of the domain name, which is used to mark the traffic processed by WAF. the format of this parameter value is [{" k ":"key"," v ":"value"}]. where_key_represents the specified custom request header field, and_value_represents the value set for this field.By specifying the custom request header field and the corresponding value, when the access traffic of the domain name passes through WAF, WAF automatically adds the specified custom field value to the request header as the traffic mark, which is convenient for backend service statistics.Explain that if the custom header field already exists in the request, the system will overwrite the value of the custom field in the request with the set traffic tag value.
- retry bool
- Back to Source Retry. default
true
, retry 3 times by default. - sni_
enabled bool - Whether to enable back-to-source SNI. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- sni_
host str - Sets the value of the custom SNI extension field. If this parameter is not set, the value of the Host field in the request header is used as the value of the SNI extension field by default.In general, you do not need to customize SNI unless your business has special configuration requirements. You want WAF to use SNI that is inconsistent with the actual request Host in the back-to-origin request (that is, the custom SNI set here).> This parameter is required only when sni_enalbed is set to true (indicating that back-to-source SNI is enabled).
- write_
timeout int - Write timeout duration. Unit: seconds, Value range:5~1800.
- backends List<String>
- The IP address of the origin server corresponding to the domain name or the back-to-origin domain name of the server.
- connect
Timeout Number - Connection timeout, Unit: seconds, value range: 5~120.
- focus
Http BooleanBackend - Whether to enable forced HTTP back-to-origin. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- keepalive Boolean
- Open long connection, default true.
- keepalive
Requests Number - Number of long connections, default:
60
. range :60-1000. - keepalive
Timeout Number - Long connection over time, default:
15
. Range: 1-60. - loadbalance String
- The load balancing algorithm used when returning to the source.
- read
Timeout Number - Read timeout duration. Unit: seconds, Value range: 5~1800.
- request
Headers List<Property Map> - The traffic tag field and value of the domain name, which is used to mark the traffic processed by WAF. the format of this parameter value is [{" k ":"key"," v ":"value"}]. where_key_represents the specified custom request header field, and_value_represents the value set for this field.By specifying the custom request header field and the corresponding value, when the access traffic of the domain name passes through WAF, WAF automatically adds the specified custom field value to the request header as the traffic mark, which is convenient for backend service statistics.Explain that if the custom header field already exists in the request, the system will overwrite the value of the custom field in the request with the set traffic tag value.
- retry Boolean
- Back to Source Retry. default
true
, retry 3 times by default. - sni
Enabled Boolean - Whether to enable back-to-source SNI. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
- sni
Host String - Sets the value of the custom SNI extension field. If this parameter is not set, the value of the Host field in the request header is used as the value of the SNI extension field by default.In general, you do not need to customize SNI unless your business has special configuration requirements. You want WAF to use SNI that is inconsistent with the actual request Host in the back-to-origin request (that is, the custom SNI set here).> This parameter is required only when sni_enalbed is set to true (indicating that back-to-source SNI is enabled).
- write
Timeout Number - Write timeout duration. Unit: seconds, Value range:5~1800.
GetDomainsDomainRedirectRequestHeader
- Key string
- The traffic tag field and value of the domain name, which is used to mark the traffic processed by WAF. the format of this parameter value is [{" k ":"key"," v ":"value"}]. where_key_represents the specified custom request header field, and_value_represents the value set for this field.By specifying the custom request header field and the corresponding value, when the access traffic of the domain name passes through WAF, WAF automatically adds the specified custom field value to the request header as the traffic mark, which is convenient for backend service statistics.Explain that if the custom header field already exists in the request, the system will overwrite the value of the custom field in the request with the set traffic tag value.
- Value string
- The traffic tag field and value of the domain name, which is used to mark the traffic processed by WAF. the format of this parameter value is [{" k ":"key"," v ":"value"}]. where_key_represents the specified custom request header field, and_value_represents the value set for this field.By specifying the custom request header field and the corresponding value, when the access traffic of the domain name passes through WAF, WAF automatically adds the specified custom field value to the request header as the traffic mark, which is convenient for backend service statistics.Explain that if the custom header field already exists in the request, the system will overwrite the value of the custom field in the request with the set traffic tag value.
- Key string
- The traffic tag field and value of the domain name, which is used to mark the traffic processed by WAF. the format of this parameter value is [{" k ":"key"," v ":"value"}]. where_key_represents the specified custom request header field, and_value_represents the value set for this field.By specifying the custom request header field and the corresponding value, when the access traffic of the domain name passes through WAF, WAF automatically adds the specified custom field value to the request header as the traffic mark, which is convenient for backend service statistics.Explain that if the custom header field already exists in the request, the system will overwrite the value of the custom field in the request with the set traffic tag value.
- Value string
- The traffic tag field and value of the domain name, which is used to mark the traffic processed by WAF. the format of this parameter value is [{" k ":"key"," v ":"value"}]. where_key_represents the specified custom request header field, and_value_represents the value set for this field.By specifying the custom request header field and the corresponding value, when the access traffic of the domain name passes through WAF, WAF automatically adds the specified custom field value to the request header as the traffic mark, which is convenient for backend service statistics.Explain that if the custom header field already exists in the request, the system will overwrite the value of the custom field in the request with the set traffic tag value.
- key String
- The traffic tag field and value of the domain name, which is used to mark the traffic processed by WAF. the format of this parameter value is [{" k ":"key"," v ":"value"}]. where_key_represents the specified custom request header field, and_value_represents the value set for this field.By specifying the custom request header field and the corresponding value, when the access traffic of the domain name passes through WAF, WAF automatically adds the specified custom field value to the request header as the traffic mark, which is convenient for backend service statistics.Explain that if the custom header field already exists in the request, the system will overwrite the value of the custom field in the request with the set traffic tag value.
- value String
- The traffic tag field and value of the domain name, which is used to mark the traffic processed by WAF. the format of this parameter value is [{" k ":"key"," v ":"value"}]. where_key_represents the specified custom request header field, and_value_represents the value set for this field.By specifying the custom request header field and the corresponding value, when the access traffic of the domain name passes through WAF, WAF automatically adds the specified custom field value to the request header as the traffic mark, which is convenient for backend service statistics.Explain that if the custom header field already exists in the request, the system will overwrite the value of the custom field in the request with the set traffic tag value.
- key string
- The traffic tag field and value of the domain name, which is used to mark the traffic processed by WAF. the format of this parameter value is [{" k ":"key"," v ":"value"}]. where_key_represents the specified custom request header field, and_value_represents the value set for this field.By specifying the custom request header field and the corresponding value, when the access traffic of the domain name passes through WAF, WAF automatically adds the specified custom field value to the request header as the traffic mark, which is convenient for backend service statistics.Explain that if the custom header field already exists in the request, the system will overwrite the value of the custom field in the request with the set traffic tag value.
- value string
- The traffic tag field and value of the domain name, which is used to mark the traffic processed by WAF. the format of this parameter value is [{" k ":"key"," v ":"value"}]. where_key_represents the specified custom request header field, and_value_represents the value set for this field.By specifying the custom request header field and the corresponding value, when the access traffic of the domain name passes through WAF, WAF automatically adds the specified custom field value to the request header as the traffic mark, which is convenient for backend service statistics.Explain that if the custom header field already exists in the request, the system will overwrite the value of the custom field in the request with the set traffic tag value.
- key str
- The traffic tag field and value of the domain name, which is used to mark the traffic processed by WAF. the format of this parameter value is [{" k ":"key"," v ":"value"}]. where_key_represents the specified custom request header field, and_value_represents the value set for this field.By specifying the custom request header field and the corresponding value, when the access traffic of the domain name passes through WAF, WAF automatically adds the specified custom field value to the request header as the traffic mark, which is convenient for backend service statistics.Explain that if the custom header field already exists in the request, the system will overwrite the value of the custom field in the request with the set traffic tag value.
- value str
- The traffic tag field and value of the domain name, which is used to mark the traffic processed by WAF. the format of this parameter value is [{" k ":"key"," v ":"value"}]. where_key_represents the specified custom request header field, and_value_represents the value set for this field.By specifying the custom request header field and the corresponding value, when the access traffic of the domain name passes through WAF, WAF automatically adds the specified custom field value to the request header as the traffic mark, which is convenient for backend service statistics.Explain that if the custom header field already exists in the request, the system will overwrite the value of the custom field in the request with the set traffic tag value.
- key String
- The traffic tag field and value of the domain name, which is used to mark the traffic processed by WAF. the format of this parameter value is [{" k ":"key"," v ":"value"}]. where_key_represents the specified custom request header field, and_value_represents the value set for this field.By specifying the custom request header field and the corresponding value, when the access traffic of the domain name passes through WAF, WAF automatically adds the specified custom field value to the request header as the traffic mark, which is convenient for backend service statistics.Explain that if the custom header field already exists in the request, the system will overwrite the value of the custom field in the request with the set traffic tag value.
- value String
- The traffic tag field and value of the domain name, which is used to mark the traffic processed by WAF. the format of this parameter value is [{" k ":"key"," v ":"value"}]. where_key_represents the specified custom request header field, and_value_represents the value set for this field.By specifying the custom request header field and the corresponding value, when the access traffic of the domain name passes through WAF, WAF automatically adds the specified custom field value to the request header as the traffic mark, which is convenient for backend service statistics.Explain that if the custom header field already exists in the request, the system will overwrite the value of the custom field in the request with the set traffic tag value.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.