record_sets_all_by_dns_zones
Creates, updates, deletes, gets or lists a record_sets_all_by_dns_zones
resource.
Overview
Name | record_sets_all_by_dns_zones |
Type | Resource |
Id | azure.dns.record_sets_all_by_dns_zones |
Fields
The following fields are returned by SELECT
queries:
- list
Success.
Name | Datatype | Description |
---|---|---|
id | string | The ID of the record set. |
name | string | The name of the record set. |
etag | string | The etag of the record set. |
properties | object | The properties of the record set. |
type | string | The type of the record set. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | resourceGroupName , zoneName , subscriptionId | $top , $recordsetnamesuffix | Lists 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.
Name | Datatype | Description |
---|---|---|
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string | The ID of the target subscription. |
zoneName | string | The name of the DNS zone (without a terminating dot). |
$recordsetnamesuffix | string | The 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> |
$top | integer (int32) | The maximum number of record sets to return. If not specified, returns up to 100 record sets. |
SELECT
examples
- list
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 }}'
;