2022-06-01 05:02:57 +00:00
|
|
|
package dnsproviders
|
|
|
|
|
|
|
|
func getDNSAzure() Provider {
|
|
|
|
return Provider{
|
2023-01-12 06:25:43 +00:00
|
|
|
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
|
|
|
},
|
2023-01-12 06:25:43 +00:00
|
|
|
"AZUREDNS_TENANTID": {
|
|
|
|
Title: "tenant-id",
|
|
|
|
Type: "string",
|
|
|
|
MinLength: 1,
|
2022-06-01 05:02:57 +00:00
|
|
|
},
|
2023-01-12 06:25:43 +00:00
|
|
|
"AZUREDNS_APPID": {
|
|
|
|
Title: "app-id",
|
|
|
|
Type: "string",
|
|
|
|
MinLength: 1,
|
2022-06-01 05:02:57 +00:00
|
|
|
},
|
2023-01-12 06:25:43 +00:00
|
|
|
"AZUREDNS_CLIENTSECRET": {
|
|
|
|
Title: "client-secret",
|
|
|
|
Type: "string",
|
|
|
|
MinLength: 1,
|
|
|
|
IsSecret: true,
|
2022-06-01 05:02:57 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|