Skip to main content

record_sets_all_by_dns_zones

Creates, updates, deletes, gets or lists a record_sets_all_by_dns_zones resource.

Overview

Namerecord_sets_all_by_dns_zones
TypeResource
Idazure.dns.record_sets_all_by_dns_zones

Fields

The following fields are returned by SELECT queries:

Success.

NameDatatypeDescription
idstringThe ID of the record set.
namestringThe name of the record set.
etagstringThe etag of the record set.
propertiesobjectThe properties of the record set.
typestringThe type of the record set.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectresourceGroupName, zoneName, subscriptionId$top, $recordsetnamesuffixLists all record sets in a DNS zone.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.
zoneNamestringThe name of the DNS zone (without a terminating dot).
$recordsetnamesuffixstringThe suffix label of the record set name that has to be used to filter the record set enumerations. If this parameter is specified, Enumeration will return only records that end with .<recordSetNameSuffix>
$topinteger (int32)The maximum number of record sets to return. If not specified, returns up to 100 record sets.

SELECT examples

Lists all record sets in a DNS zone.

SELECT
id,
name,
etag,
properties,
type
FROM azure.dns.record_sets_all_by_dns_zones
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND zoneName = '{{ zoneName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND $top = '{{ $top }}'
AND $recordsetnamesuffix = '{{ $recordsetnamesuffix }}'
;