Class DomainState
Inheritance
System.Object
DomainState
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class DomainState : ResourceArgs
Constructors
View Source
DomainState()
Declaration
Properties
View Source
ClusterType
The type of the WAF cluster. Valid values: "PhysicalCluster" and "VirtualCluster". Default to "PhysicalCluster".
Declaration
public Input<string> ClusterType { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Cname
The CNAME record assigned by the WAF instance to the specified domain.
Declaration
public Input<string> Cname { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ConnectionTime
The connection timeout for WAF exclusive clusters. Unit: seconds.
Declaration
public Input<int> ConnectionTime { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
DomainName
The domain that you want to add to WAF.
Declaration
public Input<string> DomainName { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Http2Ports
List of the HTTP 2.0 ports.
Declaration
public InputList<string> Http2Ports { get; set; }
Property Value
View Source
HttpPorts
Declaration
public InputList<string> HttpPorts { get; set; }
Property Value
View Source
HttpsPorts
Declaration
public InputList<string> HttpsPorts { get; set; }
Property Value
View Source
HttpsRedirect
Specifies whether to redirect HTTP requests as HTTPS requests. Valid values: "On" and "Off". Default to "Off".
Declaration
public Input<string> HttpsRedirect { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
HttpToUserIp
Specifies whether to enable the HTTP back-to-origin feature. After this feature is enabled, the WAF instance can use HTTP to forward HTTPS requests to the origin server.
By default, port 80 is used to forward the requests to the origin server. Valid values: "On" and "Off". Default to "Off".
Declaration
public Input<string> HttpToUserIp { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
InstanceId
The ID of the WAF instance.
Declaration
public Input<string> InstanceId { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
IsAccessProduct
Specifies whether to configure a Layer-7 proxy, such as Anti-DDoS Pro or CDN, to filter the inbound traffic before it is forwarded to WAF. Valid values: "On" and "Off". Default to "Off".
Declaration
public Input<string> IsAccessProduct { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
LoadBalancing
The load balancing algorithm that is used to forward requests to the origin. Valid values: "IpHash" and "RoundRobin". Default to "IpHash".
Declaration
public Input<string> LoadBalancing { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
LogHeaders
The key-value pair that is used to mark the traffic that flows through WAF to the domain. Each item contains two field:
- key: The key of label
- value: The value of label
Declaration
public InputList<DomainLogHeaderGetArgs> LogHeaders { get; set; }
Property Value
View Source
ReadTime
The read timeout of a WAF exclusive cluster. Unit: seconds.
Declaration
public Input<int> ReadTime { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
ResourceGroupId
The ID of the resource group to which the queried domain belongs in Resource Management. By default, no value is specified, indicating that the domain belongs to the default resource group.
Declaration
public Input<string> ResourceGroupId { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
SourceIps
List of the IP address or domain of the origin server to which the specified domain points.
Declaration
public InputList<string> SourceIps { get; set; }
Property Value
View Source
Status
Declaration
public Input<int> Status { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
WriteTime
The timeout period for a WAF exclusive cluster write connection. Unit: seconds.
Declaration
public Input<int> WriteTime { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|