第三方域名解析支持微软Azure DNS(商业版)

This commit is contained in:
刘祥超
2023-11-12 20:31:16 +08:00
parent c86b91ead6
commit 5fd6a08988
3 changed files with 89 additions and 0 deletions

View File

@@ -238,6 +238,34 @@
</tr>
</tbody>
<!-- Microsoft Azure DNS -->
<tbody v-if="type == 'azureDNS'">
<tr>
<td>Subscription ID *</td>
<td>
<input type="text" name="paramAzureDNSSubscriptionId" maxlength="100" spellcheck="false"/>
</td>
</tr>
<tr>
<td>Tenant ID *</td>
<td>
<input type="text" name="paramAzureDNSTenantId" maxlength="100" spellcheck="false"/>
</td>
</tr>
<tr>
<td>Client ID *</td>
<td><input type="text" name="paramAzureDNSClientId" maxlength="100" spellcheck="false"/></td>
</tr>
<tr>
<td>Client Secret Value *</td>
<td><input type="text" name="paramAzureDNSClientSecret" maxlength="100" spellcheck="false"/></td>
</tr>
<tr>
<td>Resource Group Name *</td>
<td><input type="text" name="paramAzureDNSResourceGroupName" maxlength="100" spellcheck="false"/></td>
</tr>
</tbody>
<!-- EdgeDNS -->
<tbody v-if="type == 'localEdgeDNS'">
<tr>

View File

@@ -176,6 +176,39 @@
</tr>
</tbody>
<tbody v-if="provider.type == 'azureDNS'">
<tr>
<td class="color-border">Subscription ID</td>
<td>
{{provider.apiParams.subscriptionId}}
</td>
</tr>
<tr>
<td class="color-border">Tenant ID</td>
<td>
{{provider.apiParams.tenantId}}
</td>
</tr>
<tr>
<td class="color-border">Client ID</td>
<td>
{{provider.apiParams.clientId}}
</td>
</tr>
<tr>
<td class="color-border">Client Secret Value</td>
<td>
{{provider.apiParams.clientSecret}}
</td>
</tr>
<tr>
<td class="color-border">Resource Group Name</td>
<td>
{{provider.apiParams.resourceGroupName}}
</td>
</tr>
</tbody>
<!-- Local EdgeDNS -->
<tbody v-if="provider.type == 'localEdgeDNS'">
<tr>

View File

@@ -238,6 +238,34 @@
</tr>
</tbody>
<!-- Microsoft Azure DNS -->
<tbody v-if="provider.type == 'azureDNS'">
<tr>
<td>Subscription ID *</td>
<td>
<input type="text" name="paramAzureDNSSubscriptionId" maxlength="100" v-model="provider.params.subscriptionId" spellcheck="false"/>
</td>
</tr>
<tr>
<td>Tenant ID *</td>
<td>
<input type="text" name="paramAzureDNSTenantId" maxlength="100" v-model="provider.params.tenantId" spellcheck="false"/>
</td>
</tr>
<tr>
<td>Client ID *</td>
<td><input type="text" name="paramAzureDNSClientId" maxlength="100" v-model="provider.params.clientId" spellcheck="false"/></td>
</tr>
<tr>
<td>Client Secret Value *</td>
<td><input type="text" name="paramAzureDNSClientSecret" maxlength="100" v-model="provider.params.clientSecret" spellcheck="false"/></td>
</tr>
<tr>
<td>Resource Group Name *</td>
<td><input type="text" name="paramAzureDNSResourceGroupName" maxlength="100" v-model="provider.params.resourceGroupName" spellcheck="false"/></td>
</tr>
</tbody>
<!-- EdgeDNS -->
<tbody v-if="provider.type == 'localEdgeDNS'">
<tr>