import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { RecordSets } from "../operationsInterfaces"; import { DnsManagementClient } from "../dnsManagementClient"; import { RecordSet, RecordType, RecordSetsListByTypeOptionalParams, RecordSetsListByDnsZoneOptionalParams, RecordSetsListAllByDnsZoneOptionalParams, RecordSetsUpdateOptionalParams, RecordSetsUpdateResponse, RecordSetsCreateOrUpdateOptionalParams, RecordSetsCreateOrUpdateResponse, RecordSetsDeleteOptionalParams, RecordSetsGetOptionalParams, RecordSetsGetResponse } from "../models"; /** Class containing RecordSets operations. */ export declare class RecordSetsImpl implements RecordSets { private readonly client; /** * Initialize a new instance of the class RecordSets class. * @param client Reference to the service client */ constructor(client: DnsManagementClient); /** * Lists the record sets of a specified type in a DNS zone. * @param resourceGroupName The name of the resource group. * @param zoneName The name of the DNS zone (without a terminating dot). * @param recordType The type of record sets to enumerate. * @param options The options parameters. */ listByType(resourceGroupName: string, zoneName: string, recordType: RecordType, options?: RecordSetsListByTypeOptionalParams): PagedAsyncIterableIterator; private listByTypePagingPage; private listByTypePagingAll; /** * Lists all record sets in a DNS zone. * @param resourceGroupName The name of the resource group. * @param zoneName The name of the DNS zone (without a terminating dot). * @param options The options parameters. */ listByDnsZone(resourceGroupName: string, zoneName: string, options?: RecordSetsListByDnsZoneOptionalParams): PagedAsyncIterableIterator; private listByDnsZonePagingPage; private listByDnsZonePagingAll; /** * Lists all record sets in a DNS zone. * @param resourceGroupName The name of the resource group. * @param zoneName The name of the DNS zone (without a terminating dot). * @param options The options parameters. */ listAllByDnsZone(resourceGroupName: string, zoneName: string, options?: RecordSetsListAllByDnsZoneOptionalParams): PagedAsyncIterableIterator; private listAllByDnsZonePagingPage; private listAllByDnsZonePagingAll; /** * Updates a record set within a DNS zone. * @param resourceGroupName The name of the resource group. * @param zoneName The name of the DNS zone (without a terminating dot). * @param relativeRecordSetName The name of the record set, relative to the name of the zone. * @param recordType The type of DNS record in this record set. * @param parameters Parameters supplied to the Update operation. * @param options The options parameters. */ update(resourceGroupName: string, zoneName: string, relativeRecordSetName: string, recordType: RecordType, parameters: RecordSet, options?: RecordSetsUpdateOptionalParams): Promise; /** * Creates or updates a record set within a DNS zone. * @param resourceGroupName The name of the resource group. * @param zoneName The name of the DNS zone (without a terminating dot). * @param relativeRecordSetName The name of the record set, relative to the name of the zone. * @param recordType The type of DNS record in this record set. Record sets of type SOA can be updated * but not created (they are created when the DNS zone is created). * @param parameters Parameters supplied to the CreateOrUpdate operation. * @param options The options parameters. */ createOrUpdate(resourceGroupName: string, zoneName: string, relativeRecordSetName: string, recordType: RecordType, parameters: RecordSet, options?: RecordSetsCreateOrUpdateOptionalParams): Promise; /** * Deletes a record set from a DNS zone. This operation cannot be undone. * @param resourceGroupName The name of the resource group. * @param zoneName The name of the DNS zone (without a terminating dot). * @param relativeRecordSetName The name of the record set, relative to the name of the zone. * @param recordType The type of DNS record in this record set. Record sets of type SOA cannot be * deleted (they are deleted when the DNS zone is deleted). * @param options The options parameters. */ delete(resourceGroupName: string, zoneName: string, relativeRecordSetName: string, recordType: RecordType, options?: RecordSetsDeleteOptionalParams): Promise; /** * Gets a record set. * @param resourceGroupName The name of the resource group. * @param zoneName The name of the DNS zone (without a terminating dot). * @param relativeRecordSetName The name of the record set, relative to the name of the zone. * @param recordType The type of DNS record in this record set. * @param options The options parameters. */ get(resourceGroupName: string, zoneName: string, relativeRecordSetName: string, recordType: RecordType, options?: RecordSetsGetOptionalParams): Promise; /** * Lists the record sets of a specified type in a DNS zone. * @param resourceGroupName The name of the resource group. * @param zoneName The name of the DNS zone (without a terminating dot). * @param recordType The type of record sets to enumerate. * @param options The options parameters. */ private _listByType; /** * Lists all record sets in a DNS zone. * @param resourceGroupName The name of the resource group. * @param zoneName The name of the DNS zone (without a terminating dot). * @param options The options parameters. */ private _listByDnsZone; /** * Lists all record sets in a DNS zone. * @param resourceGroupName The name of the resource group. * @param zoneName The name of the DNS zone (without a terminating dot). * @param options The options parameters. */ private _listAllByDnsZone; /** * ListByTypeNext * @param resourceGroupName The name of the resource group. * @param zoneName The name of the DNS zone (without a terminating dot). * @param recordType The type of record sets to enumerate. * @param nextLink The nextLink from the previous successful call to the ListByType method. * @param options The options parameters. */ private _listByTypeNext; /** * ListByDnsZoneNext * @param resourceGroupName The name of the resource group. * @param zoneName The name of the DNS zone (without a terminating dot). * @param nextLink The nextLink from the previous successful call to the ListByDnsZone method. * @param options The options parameters. */ private _listByDnsZoneNext; /** * ListAllByDnsZoneNext * @param resourceGroupName The name of the resource group. * @param zoneName The name of the DNS zone (without a terminating dot). * @param nextLink The nextLink from the previous successful call to the ListAllByDnsZone method. * @param options The options parameters. */ private _listAllByDnsZoneNext; } //# sourceMappingURL=recordSets.d.ts.map