Skip to content

RuleProps

Properties for defining a Rule.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-pvtz-rule

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkpvtz"
&alicloudroscdkpvtz.RuleProps {
    EndpointId: interface{},
    ForwardIp: interface{},
    RuleName: interface{},
    Type: interface{},
    ZoneName: interface{},
}

Properties

Name Type Description
EndpointId interface{} Property endpointId: The ID of the endpoint.
ForwardIp interface{} Property forwardIp: The destination external server.
RuleName interface{} Property ruleName: The name of the forwarding rule.
Type interface{} Property type: The type of the forwarding rule.
ZoneName interface{} Property zoneName: The domain name that requires DNS traffic forwarding.

EndpointIdRequired

EndpointId interface{}
  • Type: interface{}

Property endpointId: The ID of the endpoint.


ForwardIpRequired

ForwardIp interface{}
  • Type: interface{}

Property forwardIp: The destination external server.


RuleNameRequired

RuleName interface{}
  • Type: interface{}

Property ruleName: The name of the forwarding rule.


TypeRequired

Type interface{}
  • Type: interface{}

Property type: The type of the forwarding rule.

Valid value: OUTBOUND: forwards Domain Name System (DNS) traffic to one or more external IP addresses.


ZoneNameRequired

ZoneName interface{}
  • Type: interface{}

Property zoneName: The domain name that requires DNS traffic forwarding.