2022-05-11 22:47:31 +00:00
|
|
|
package dnsproviders
|
|
|
|
|
|
|
|
func getDNSCloudns() Provider {
|
|
|
|
return Provider{
|
2023-01-12 06:25:43 +00:00
|
|
|
Title: "dns_cloudns",
|
|
|
|
Type: "object",
|
|
|
|
AdditionalProperties: false,
|
|
|
|
Required: []string{
|
|
|
|
"CLOUDNS_AUTH_ID",
|
|
|
|
"CLOUDNS_SUB_AUTH_ID",
|
|
|
|
"CLOUDNS_AUTH_PASSWORD",
|
|
|
|
},
|
|
|
|
Properties: map[string]providerField{
|
|
|
|
"CLOUDNS_AUTH_ID": {
|
|
|
|
Title: "auth-id",
|
|
|
|
Type: "string",
|
|
|
|
MinLength: 1,
|
2022-05-11 22:47:31 +00:00
|
|
|
},
|
2023-01-12 06:25:43 +00:00
|
|
|
"CLOUDNS_SUB_AUTH_ID": {
|
|
|
|
Title: "sub-auth-id",
|
|
|
|
Type: "string",
|
|
|
|
MinLength: 1,
|
2022-05-11 22:47:31 +00:00
|
|
|
},
|
2023-01-12 06:25:43 +00:00
|
|
|
"CLOUDNS_AUTH_PASSWORD": {
|
|
|
|
Title: "password",
|
|
|
|
Type: "string",
|
|
|
|
MinLength: 1,
|
|
|
|
IsSecret: true,
|
2022-05-11 22:47:31 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|