nginx-proxy-manager/backend/internal/dnsproviders/dns_azure.go

39 lines
799 B
Go
Raw Normal View History

2022-06-01 05:02:57 +00:00
package dnsproviders
func getDNSAzure() Provider {
return Provider{
Title: "dns_azure",
Type: "object",
AdditionalProperties: false,
Required: []string{
"AZUREDNS_SUBSCRIPTIONID",
"AZUREDNS_TENANTID",
"AZUREDNS_APPID",
"AZUREDNS_CLIENTSECRET",
},
Properties: map[string]providerField{
"AZUREDNS_SUBSCRIPTIONID": {
Title: "subscription-id",
Type: "string",
MinLength: 1,
2022-06-01 05:02:57 +00:00
},
"AZUREDNS_TENANTID": {
Title: "tenant-id",
Type: "string",
MinLength: 1,
2022-06-01 05:02:57 +00:00
},
"AZUREDNS_APPID": {
Title: "app-id",
Type: "string",
MinLength: 1,
2022-06-01 05:02:57 +00:00
},
"AZUREDNS_CLIENTSECRET": {
Title: "client-secret",
Type: "string",
MinLength: 1,
IsSecret: true,
2022-06-01 05:02:57 +00:00
},
},
}
}