This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.network.getPrivateRecordSet
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Gets a record set. Azure REST API version: 2020-06-01.
Other available API versions: 2024-06-01.
Using getPrivateRecordSet
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getPrivateRecordSet(args: GetPrivateRecordSetArgs, opts?: InvokeOptions): Promise<GetPrivateRecordSetResult>
function getPrivateRecordSetOutput(args: GetPrivateRecordSetOutputArgs, opts?: InvokeOptions): Output<GetPrivateRecordSetResult>def get_private_record_set(private_zone_name: Optional[str] = None,
                           record_type: Optional[str] = None,
                           relative_record_set_name: Optional[str] = None,
                           resource_group_name: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetPrivateRecordSetResult
def get_private_record_set_output(private_zone_name: Optional[pulumi.Input[str]] = None,
                           record_type: Optional[pulumi.Input[str]] = None,
                           relative_record_set_name: Optional[pulumi.Input[str]] = None,
                           resource_group_name: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetPrivateRecordSetResult]func LookupPrivateRecordSet(ctx *Context, args *LookupPrivateRecordSetArgs, opts ...InvokeOption) (*LookupPrivateRecordSetResult, error)
func LookupPrivateRecordSetOutput(ctx *Context, args *LookupPrivateRecordSetOutputArgs, opts ...InvokeOption) LookupPrivateRecordSetResultOutput> Note: This function is named LookupPrivateRecordSet in the Go SDK.
public static class GetPrivateRecordSet 
{
    public static Task<GetPrivateRecordSetResult> InvokeAsync(GetPrivateRecordSetArgs args, InvokeOptions? opts = null)
    public static Output<GetPrivateRecordSetResult> Invoke(GetPrivateRecordSetInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPrivateRecordSetResult> getPrivateRecordSet(GetPrivateRecordSetArgs args, InvokeOptions options)
public static Output<GetPrivateRecordSetResult> getPrivateRecordSet(GetPrivateRecordSetArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:network:getPrivateRecordSet
  arguments:
    # arguments dictionaryThe following arguments are supported:
- PrivateZone stringName 
- The name of the Private DNS zone (without a terminating dot).
- RecordType string
- The type of DNS record in this record set.
- RelativeRecord stringSet Name 
- The name of the record set, relative to the name of the zone.
- ResourceGroup stringName 
- The name of the resource group.
- PrivateZone stringName 
- The name of the Private DNS zone (without a terminating dot).
- RecordType string
- The type of DNS record in this record set.
- RelativeRecord stringSet Name 
- The name of the record set, relative to the name of the zone.
- ResourceGroup stringName 
- The name of the resource group.
- privateZone StringName 
- The name of the Private DNS zone (without a terminating dot).
- recordType String
- The type of DNS record in this record set.
- relativeRecord StringSet Name 
- The name of the record set, relative to the name of the zone.
- resourceGroup StringName 
- The name of the resource group.
- privateZone stringName 
- The name of the Private DNS zone (without a terminating dot).
- recordType string
- The type of DNS record in this record set.
- relativeRecord stringSet Name 
- The name of the record set, relative to the name of the zone.
- resourceGroup stringName 
- The name of the resource group.
- private_zone_ strname 
- The name of the Private DNS zone (without a terminating dot).
- record_type str
- The type of DNS record in this record set.
- relative_record_ strset_ name 
- The name of the record set, relative to the name of the zone.
- resource_group_ strname 
- The name of the resource group.
- privateZone StringName 
- The name of the Private DNS zone (without a terminating dot).
- recordType String
- The type of DNS record in this record set.
- relativeRecord StringSet Name 
- The name of the record set, relative to the name of the zone.
- resourceGroup StringName 
- The name of the resource group.
getPrivateRecordSet Result
The following output properties are available:
- Fqdn string
- Fully qualified domain name of the record set.
- Id string
- Fully qualified resource Id for the resource. Example - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}'.
- IsAuto boolRegistered 
- Is the record set auto-registered in the Private DNS zone through a virtual network link?
- Name string
- The name of the resource
- Type string
- The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.
- ARecords
List<Pulumi.Azure Native. Network. Outputs. ARecord Response> 
- The list of A records in the record set.
- AaaaRecords List<Pulumi.Azure Native. Network. Outputs. Aaaa Record Response> 
- The list of AAAA records in the record set.
- CnameRecord Pulumi.Azure Native. Network. Outputs. Cname Record Response 
- The CNAME record in the record set.
- Etag string
- The ETag of the record set.
- Metadata Dictionary<string, string>
- The metadata attached to the record set.
- MxRecords List<Pulumi.Azure Native. Network. Outputs. Mx Record Response> 
- The list of MX records in the record set.
- PtrRecords List<Pulumi.Azure Native. Network. Outputs. Ptr Record Response> 
- The list of PTR records in the record set.
- SoaRecord Pulumi.Azure Native. Network. Outputs. Soa Record Response 
- The SOA record in the record set.
- SrvRecords List<Pulumi.Azure Native. Network. Outputs. Srv Record Response> 
- The list of SRV records in the record set.
- Ttl double
- The TTL (time-to-live) of the records in the record set.
- TxtRecords List<Pulumi.Azure Native. Network. Outputs. Txt Record Response> 
- The list of TXT records in the record set.
- Fqdn string
- Fully qualified domain name of the record set.
- Id string
- Fully qualified resource Id for the resource. Example - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}'.
- IsAuto boolRegistered 
- Is the record set auto-registered in the Private DNS zone through a virtual network link?
- Name string
- The name of the resource
- Type string
- The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.
- ARecords
[]ARecordResponse 
- The list of A records in the record set.
- AaaaRecords []AaaaRecord Response 
- The list of AAAA records in the record set.
- CnameRecord CnameRecord Response 
- The CNAME record in the record set.
- Etag string
- The ETag of the record set.
- Metadata map[string]string
- The metadata attached to the record set.
- MxRecords []MxRecord Response 
- The list of MX records in the record set.
- PtrRecords []PtrRecord Response 
- The list of PTR records in the record set.
- SoaRecord SoaRecord Response 
- The SOA record in the record set.
- SrvRecords []SrvRecord Response 
- The list of SRV records in the record set.
- Ttl float64
- The TTL (time-to-live) of the records in the record set.
- TxtRecords []TxtRecord Response 
- The list of TXT records in the record set.
- fqdn String
- Fully qualified domain name of the record set.
- id String
- Fully qualified resource Id for the resource. Example - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}'.
- isAuto BooleanRegistered 
- Is the record set auto-registered in the Private DNS zone through a virtual network link?
- name String
- The name of the resource
- type String
- The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.
- aRecords List<ARecordResponse> 
- The list of A records in the record set.
- aaaaRecords List<AaaaRecord Response> 
- The list of AAAA records in the record set.
- cnameRecord CnameRecord Response 
- The CNAME record in the record set.
- etag String
- The ETag of the record set.
- metadata Map<String,String>
- The metadata attached to the record set.
- mxRecords List<MxRecord Response> 
- The list of MX records in the record set.
- ptrRecords List<PtrRecord Response> 
- The list of PTR records in the record set.
- soaRecord SoaRecord Response 
- The SOA record in the record set.
- srvRecords List<SrvRecord Response> 
- The list of SRV records in the record set.
- ttl Double
- The TTL (time-to-live) of the records in the record set.
- txtRecords List<TxtRecord Response> 
- The list of TXT records in the record set.
- fqdn string
- Fully qualified domain name of the record set.
- id string
- Fully qualified resource Id for the resource. Example - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}'.
- isAuto booleanRegistered 
- Is the record set auto-registered in the Private DNS zone through a virtual network link?
- name string
- The name of the resource
- type string
- The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.
- aRecords ARecordResponse[] 
- The list of A records in the record set.
- aaaaRecords AaaaRecord Response[] 
- The list of AAAA records in the record set.
- cnameRecord CnameRecord Response 
- The CNAME record in the record set.
- etag string
- The ETag of the record set.
- metadata {[key: string]: string}
- The metadata attached to the record set.
- mxRecords MxRecord Response[] 
- The list of MX records in the record set.
- ptrRecords PtrRecord Response[] 
- The list of PTR records in the record set.
- soaRecord SoaRecord Response 
- The SOA record in the record set.
- srvRecords SrvRecord Response[] 
- The list of SRV records in the record set.
- ttl number
- The TTL (time-to-live) of the records in the record set.
- txtRecords TxtRecord Response[] 
- The list of TXT records in the record set.
- fqdn str
- Fully qualified domain name of the record set.
- id str
- Fully qualified resource Id for the resource. Example - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}'.
- is_auto_ boolregistered 
- Is the record set auto-registered in the Private DNS zone through a virtual network link?
- name str
- The name of the resource
- type str
- The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.
- a_records Sequence[ARecordResponse] 
- The list of A records in the record set.
- aaaa_records Sequence[AaaaRecord Response] 
- The list of AAAA records in the record set.
- cname_record CnameRecord Response 
- The CNAME record in the record set.
- etag str
- The ETag of the record set.
- metadata Mapping[str, str]
- The metadata attached to the record set.
- mx_records Sequence[MxRecord Response] 
- The list of MX records in the record set.
- ptr_records Sequence[PtrRecord Response] 
- The list of PTR records in the record set.
- soa_record SoaRecord Response 
- The SOA record in the record set.
- srv_records Sequence[SrvRecord Response] 
- The list of SRV records in the record set.
- ttl float
- The TTL (time-to-live) of the records in the record set.
- txt_records Sequence[TxtRecord Response] 
- The list of TXT records in the record set.
- fqdn String
- Fully qualified domain name of the record set.
- id String
- Fully qualified resource Id for the resource. Example - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}'.
- isAuto BooleanRegistered 
- Is the record set auto-registered in the Private DNS zone through a virtual network link?
- name String
- The name of the resource
- type String
- The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.
- aRecords List<Property Map>
- The list of A records in the record set.
- aaaaRecords List<Property Map>
- The list of AAAA records in the record set.
- cnameRecord Property Map
- The CNAME record in the record set.
- etag String
- The ETag of the record set.
- metadata Map<String>
- The metadata attached to the record set.
- mxRecords List<Property Map>
- The list of MX records in the record set.
- ptrRecords List<Property Map>
- The list of PTR records in the record set.
- soaRecord Property Map
- The SOA record in the record set.
- srvRecords List<Property Map>
- The list of SRV records in the record set.
- ttl Number
- The TTL (time-to-live) of the records in the record set.
- txtRecords List<Property Map>
- The list of TXT records in the record set.
Supporting Types
ARecordResponse 
- Ipv4Address string
- The IPv4 address of this A record.
- Ipv4Address string
- The IPv4 address of this A record.
- ipv4Address String
- The IPv4 address of this A record.
- ipv4Address string
- The IPv4 address of this A record.
- ipv4_address str
- The IPv4 address of this A record.
- ipv4Address String
- The IPv4 address of this A record.
AaaaRecordResponse  
- Ipv6Address string
- The IPv6 address of this AAAA record.
- Ipv6Address string
- The IPv6 address of this AAAA record.
- ipv6Address String
- The IPv6 address of this AAAA record.
- ipv6Address string
- The IPv6 address of this AAAA record.
- ipv6_address str
- The IPv6 address of this AAAA record.
- ipv6Address String
- The IPv6 address of this AAAA record.
CnameRecordResponse  
- Cname string
- The canonical name for this CNAME record.
- Cname string
- The canonical name for this CNAME record.
- cname String
- The canonical name for this CNAME record.
- cname string
- The canonical name for this CNAME record.
- cname str
- The canonical name for this CNAME record.
- cname String
- The canonical name for this CNAME record.
MxRecordResponse  
- Exchange string
- The domain name of the mail host for this MX record.
- Preference int
- The preference value for this MX record.
- Exchange string
- The domain name of the mail host for this MX record.
- Preference int
- The preference value for this MX record.
- exchange String
- The domain name of the mail host for this MX record.
- preference Integer
- The preference value for this MX record.
- exchange string
- The domain name of the mail host for this MX record.
- preference number
- The preference value for this MX record.
- exchange str
- The domain name of the mail host for this MX record.
- preference int
- The preference value for this MX record.
- exchange String
- The domain name of the mail host for this MX record.
- preference Number
- The preference value for this MX record.
PtrRecordResponse  
- Ptrdname string
- The PTR target domain name for this PTR record.
- Ptrdname string
- The PTR target domain name for this PTR record.
- ptrdname String
- The PTR target domain name for this PTR record.
- ptrdname string
- The PTR target domain name for this PTR record.
- ptrdname str
- The PTR target domain name for this PTR record.
- ptrdname String
- The PTR target domain name for this PTR record.
SoaRecordResponse  
- Email string
- The email contact for this SOA record.
- ExpireTime double
- The expire time for this SOA record.
- Host string
- The domain name of the authoritative name server for this SOA record.
- MinimumTtl double
- The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
- RefreshTime double
- The refresh value for this SOA record.
- RetryTime double
- The retry time for this SOA record.
- SerialNumber double
- The serial number for this SOA record.
- Email string
- The email contact for this SOA record.
- ExpireTime float64
- The expire time for this SOA record.
- Host string
- The domain name of the authoritative name server for this SOA record.
- MinimumTtl float64
- The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
- RefreshTime float64
- The refresh value for this SOA record.
- RetryTime float64
- The retry time for this SOA record.
- SerialNumber float64
- The serial number for this SOA record.
- email String
- The email contact for this SOA record.
- expireTime Double
- The expire time for this SOA record.
- host String
- The domain name of the authoritative name server for this SOA record.
- minimumTtl Double
- The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
- refreshTime Double
- The refresh value for this SOA record.
- retryTime Double
- The retry time for this SOA record.
- serialNumber Double
- The serial number for this SOA record.
- email string
- The email contact for this SOA record.
- expireTime number
- The expire time for this SOA record.
- host string
- The domain name of the authoritative name server for this SOA record.
- minimumTtl number
- The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
- refreshTime number
- The refresh value for this SOA record.
- retryTime number
- The retry time for this SOA record.
- serialNumber number
- The serial number for this SOA record.
- email str
- The email contact for this SOA record.
- expire_time float
- The expire time for this SOA record.
- host str
- The domain name of the authoritative name server for this SOA record.
- minimum_ttl float
- The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
- refresh_time float
- The refresh value for this SOA record.
- retry_time float
- The retry time for this SOA record.
- serial_number float
- The serial number for this SOA record.
- email String
- The email contact for this SOA record.
- expireTime Number
- The expire time for this SOA record.
- host String
- The domain name of the authoritative name server for this SOA record.
- minimumTtl Number
- The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
- refreshTime Number
- The refresh value for this SOA record.
- retryTime Number
- The retry time for this SOA record.
- serialNumber Number
- The serial number for this SOA record.
SrvRecordResponse  
TxtRecordResponse  
- Value List<string>
- The text value of this TXT record.
- Value []string
- The text value of this TXT record.
- value List<String>
- The text value of this TXT record.
- value string[]
- The text value of this TXT record.
- value Sequence[str]
- The text value of this TXT record.
- value List<String>
- The text value of this TXT record.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi