共用方式為


RecordSets interface

表示 RecordSets 的介面。

方法

createOrUpdate(string, string, string, RecordType, RecordSet, RecordSetsCreateOrUpdateOptionalParams)

建立或更新 DNS 區域內的記錄集。

delete(string, string, string, RecordType, RecordSetsDeleteOptionalParams)

從 DNS 區域刪除記錄集。 無法復原此作業。

get(string, string, string, RecordType, RecordSetsGetOptionalParams)

取得記錄集。

listAllByDnsZone(string, string, RecordSetsListAllByDnsZoneOptionalParams)

列出 DNS 區域中的所有記錄集。

listByDnsZone(string, string, RecordSetsListByDnsZoneOptionalParams)

列出 DNS 區域中的所有記錄集。

listByType(string, string, RecordType, RecordSetsListByTypeOptionalParams)

列出 DNS 區域中指定類型的記錄集。

update(string, string, string, RecordType, RecordSet, RecordSetsUpdateOptionalParams)

更新 DNS 區域內的記錄集。

方法詳細資料

createOrUpdate(string, string, string, RecordType, RecordSet, RecordSetsCreateOrUpdateOptionalParams)

建立或更新 DNS 區域內的記錄集。

function createOrUpdate(resourceGroupName: string, zoneName: string, relativeRecordSetName: string, recordType: RecordType, parameters: RecordSet, options?: RecordSetsCreateOrUpdateOptionalParams): Promise<RecordSet>

參數

resourceGroupName

string

資源群組的名稱。

zoneName

string

DNS 區域的名稱(不含終止點)。

relativeRecordSetName

string

記錄集的名稱,相對於區域的名稱。

recordType
RecordType

此記錄集中的 DNS 記錄類型。 SOA 類型的記錄集可以更新,但無法建立(建立 DNS 區域時會建立它們)。

parameters
RecordSet

提供給 CreateOrUpdate 作業的參數。

options
RecordSetsCreateOrUpdateOptionalParams

選項參數。

傳回

Promise<RecordSet>

delete(string, string, string, RecordType, RecordSetsDeleteOptionalParams)

從 DNS 區域刪除記錄集。 無法復原此作業。

function delete(resourceGroupName: string, zoneName: string, relativeRecordSetName: string, recordType: RecordType, options?: RecordSetsDeleteOptionalParams): Promise<void>

參數

resourceGroupName

string

資源群組的名稱。

zoneName

string

DNS 區域的名稱(不含終止點)。

relativeRecordSetName

string

記錄集的名稱,相對於區域的名稱。

recordType
RecordType

此記錄集中的 DNS 記錄類型。 無法刪除SOA類型的記錄集(刪除 DNS 區域時會刪除它們)。

options
RecordSetsDeleteOptionalParams

選項參數。

傳回

Promise<void>

get(string, string, string, RecordType, RecordSetsGetOptionalParams)

取得記錄集。

function get(resourceGroupName: string, zoneName: string, relativeRecordSetName: string, recordType: RecordType, options?: RecordSetsGetOptionalParams): Promise<RecordSet>

參數

resourceGroupName

string

資源群組的名稱。

zoneName

string

DNS 區域的名稱(不含終止點)。

relativeRecordSetName

string

記錄集的名稱,相對於區域的名稱。

recordType
RecordType

此記錄集中的 DNS 記錄類型。

options
RecordSetsGetOptionalParams

選項參數。

傳回

Promise<RecordSet>

listAllByDnsZone(string, string, RecordSetsListAllByDnsZoneOptionalParams)

列出 DNS 區域中的所有記錄集。

function listAllByDnsZone(resourceGroupName: string, zoneName: string, options?: RecordSetsListAllByDnsZoneOptionalParams): PagedAsyncIterableIterator<RecordSet, RecordSet[], PageSettings>

參數

resourceGroupName

string

資源群組的名稱。

zoneName

string

DNS 區域的名稱(不含終止點)。

傳回

listByDnsZone(string, string, RecordSetsListByDnsZoneOptionalParams)

列出 DNS 區域中的所有記錄集。

function listByDnsZone(resourceGroupName: string, zoneName: string, options?: RecordSetsListByDnsZoneOptionalParams): PagedAsyncIterableIterator<RecordSet, RecordSet[], PageSettings>

參數

resourceGroupName

string

資源群組的名稱。

zoneName

string

DNS 區域的名稱(不含終止點)。

options
RecordSetsListByDnsZoneOptionalParams

選項參數。

傳回

listByType(string, string, RecordType, RecordSetsListByTypeOptionalParams)

列出 DNS 區域中指定類型的記錄集。

function listByType(resourceGroupName: string, zoneName: string, recordType: RecordType, options?: RecordSetsListByTypeOptionalParams): PagedAsyncIterableIterator<RecordSet, RecordSet[], PageSettings>

參數

resourceGroupName

string

資源群組的名稱。

zoneName

string

DNS 區域的名稱(不含終止點)。

recordType
RecordType

要列舉的記錄集類型。

options
RecordSetsListByTypeOptionalParams

選項參數。

傳回

update(string, string, string, RecordType, RecordSet, RecordSetsUpdateOptionalParams)

更新 DNS 區域內的記錄集。

function update(resourceGroupName: string, zoneName: string, relativeRecordSetName: string, recordType: RecordType, parameters: RecordSet, options?: RecordSetsUpdateOptionalParams): Promise<RecordSet>

參數

resourceGroupName

string

資源群組的名稱。

zoneName

string

DNS 區域的名稱(不含終止點)。

relativeRecordSetName

string

記錄集的名稱,相對於區域的名稱。

recordType
RecordType

此記錄集中的 DNS 記錄類型。

parameters
RecordSet

提供給更新作業的參數。

options
RecordSetsUpdateOptionalParams

選項參數。

傳回

Promise<RecordSet>