mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 05:00:25 +08:00 
			
		
		
		
	第三方域名解析支持微软Azure DNS(商业版)
This commit is contained in:
		@@ -238,6 +238,34 @@
 | 
				
			|||||||
            </tr>
 | 
					            </tr>
 | 
				
			||||||
        </tbody>
 | 
					        </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 -->
 | 
					        <!-- EdgeDNS -->
 | 
				
			||||||
        <tbody v-if="type == 'localEdgeDNS'">
 | 
					        <tbody v-if="type == 'localEdgeDNS'">
 | 
				
			||||||
            <tr>
 | 
					            <tr>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -176,6 +176,39 @@
 | 
				
			|||||||
        </tr>
 | 
					        </tr>
 | 
				
			||||||
    </tbody>
 | 
					    </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 -->
 | 
					    <!-- Local EdgeDNS -->
 | 
				
			||||||
    <tbody v-if="provider.type == 'localEdgeDNS'">
 | 
					    <tbody v-if="provider.type == 'localEdgeDNS'">
 | 
				
			||||||
        <tr>
 | 
					        <tr>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -238,6 +238,34 @@
 | 
				
			|||||||
            </tr>
 | 
					            </tr>
 | 
				
			||||||
        </tbody>
 | 
					        </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 -->
 | 
					        <!-- EdgeDNS -->
 | 
				
			||||||
        <tbody v-if="provider.type == 'localEdgeDNS'">
 | 
					        <tbody v-if="provider.type == 'localEdgeDNS'">
 | 
				
			||||||
            <tr>
 | 
					            <tr>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user