forked from aliyun/terraform-provider-alicloud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
extension_pvtz.go
35 lines (30 loc) · 810 Bytes
/
extension_pvtz.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package alicloud
type RecordType string
const (
RecordA = RecordType("A")
RecordCNAME = RecordType("CNAME")
RecordTXT = RecordType("TXT")
RecordMX = RecordType("MX")
RecordPTR = RecordType("PTR")
)
var PvtzThrottlingUserCatcher = Catcher{PvtzThrottlingUser, 30, 2}
var PvtzSystemBusyCatcher = Catcher{PvtzSystemBusy, 30, 5}
func PvtzInvoker() Invoker {
i := Invoker{}
i.AddCatcher(PvtzThrottlingUserCatcher)
i.AddCatcher(ServiceBusyCatcher)
i.AddCatcher(PvtzSystemBusyCatcher)
return i
}
const (
ARecord = "A"
NSRecord = "NS"
MXRecord = "MX"
TXTRecord = "TXT"
CNAMERecord = "CNAME"
SRVRecord = "SRV"
AAAARecord = "AAAA"
CAARecord = "CAA"
RedirectURLRecord = "REDIRECT_URL"
ForwordURLRecord = "FORWORD_URL"
)