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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
azure-native.network.getRecordSet
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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
Gets a record set. Azure REST API version: 2018-05-01.
Other available API versions: 2015-05-04-preview, 2016-04-01, 2023-07-01-preview.
Using getRecordSet
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 getRecordSet(args: GetRecordSetArgs, opts?: InvokeOptions): Promise<GetRecordSetResult>
function getRecordSetOutput(args: GetRecordSetOutputArgs, opts?: InvokeOptions): Output<GetRecordSetResult>
def get_record_set(record_type: Optional[str] = None,
relative_record_set_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
zone_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRecordSetResult
def get_record_set_output(record_type: Optional[pulumi.Input[str]] = None,
relative_record_set_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
zone_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRecordSetResult]
func LookupRecordSet(ctx *Context, args *LookupRecordSetArgs, opts ...InvokeOption) (*LookupRecordSetResult, error)
func LookupRecordSetOutput(ctx *Context, args *LookupRecordSetOutputArgs, opts ...InvokeOption) LookupRecordSetResultOutput
> Note: This function is named LookupRecordSet
in the Go SDK.
public static class GetRecordSet
{
public static Task<GetRecordSetResult> InvokeAsync(GetRecordSetArgs args, InvokeOptions? opts = null)
public static Output<GetRecordSetResult> Invoke(GetRecordSetInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRecordSetResult> getRecordSet(GetRecordSetArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:network:getRecordSet
arguments:
# arguments dictionary
The following arguments are supported:
- Record
Type string - The type of DNS record in this record set.
- Relative
Record stringSet Name - The name of the record set, relative to the name of the zone.
- Resource
Group stringName - The name of the resource group.
- Zone
Name string - The name of the DNS zone (without a terminating dot).
- Record
Type string - The type of DNS record in this record set.
- Relative
Record stringSet Name - The name of the record set, relative to the name of the zone.
- Resource
Group stringName - The name of the resource group.
- Zone
Name string - The name of the DNS zone (without a terminating dot).
- record
Type String - The type of DNS record in this record set.
- relative
Record StringSet Name - The name of the record set, relative to the name of the zone.
- resource
Group StringName - The name of the resource group.
- zone
Name String - The name of the DNS zone (without a terminating dot).
- record
Type string - The type of DNS record in this record set.
- relative
Record stringSet Name - The name of the record set, relative to the name of the zone.
- resource
Group stringName - The name of the resource group.
- zone
Name string - The name of the 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.
- zone_
name str - The name of the DNS zone (without a terminating dot).
- record
Type String - The type of DNS record in this record set.
- relative
Record StringSet Name - The name of the record set, relative to the name of the zone.
- resource
Group StringName - The name of the resource group.
- zone
Name String - The name of the DNS zone (without a terminating dot).
getRecordSet Result
The following output properties are available:
- Fqdn string
- Fully qualified domain name of the record set.
- Id string
- The ID of the record set.
- Name string
- The name of the record set.
- Provisioning
State string - provisioning State of the record set.
- Type string
- The type of the record set.
- ARecords
List<Pulumi.
Azure Native. Network. Outputs. ARecord Response> - The list of A records in the record set.
- Aaaa
Records List<Pulumi.Azure Native. Network. Outputs. Aaaa Record Response> - The list of AAAA records in the record set.
- Caa
Records List<Pulumi.Azure Native. Network. Outputs. Caa Record Response> - The list of CAA records in the record set.
- Cname
Record 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.
- Mx
Records List<Pulumi.Azure Native. Network. Outputs. Mx Record Response> - The list of MX records in the record set.
- Ns
Records List<Pulumi.Azure Native. Network. Outputs. Ns Record Response> - The list of NS records in the record set.
- Ptr
Records List<Pulumi.Azure Native. Network. Outputs. Ptr Record Response> - The list of PTR records in the record set.
- Soa
Record Pulumi.Azure Native. Network. Outputs. Soa Record Response - The SOA record in the record set.
- Srv
Records List<Pulumi.Azure Native. Network. Outputs. Srv Record Response> - The list of SRV records in the record set.
- Target
Resource Pulumi.Azure Native. Network. Outputs. Sub Resource Response - A reference to an azure resource from where the dns resource value is taken.
- Ttl double
- The TTL (time-to-live) of the records in the record set.
- Txt
Records 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
- The ID of the record set.
- Name string
- The name of the record set.
- Provisioning
State string - provisioning State of the record set.
- Type string
- The type of the record set.
- ARecords
[]ARecord
Response - The list of A records in the record set.
- Aaaa
Records []AaaaRecord Response - The list of AAAA records in the record set.
- Caa
Records []CaaRecord Response - The list of CAA records in the record set.
- Cname
Record 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.
- Mx
Records []MxRecord Response - The list of MX records in the record set.
- Ns
Records []NsRecord Response - The list of NS records in the record set.
- Ptr
Records []PtrRecord Response - The list of PTR records in the record set.
- Soa
Record SoaRecord Response - The SOA record in the record set.
- Srv
Records []SrvRecord Response - The list of SRV records in the record set.
- Target
Resource SubResource Response - A reference to an azure resource from where the dns resource value is taken.
- Ttl float64
- The TTL (time-to-live) of the records in the record set.
- Txt
Records []TxtRecord Response - The list of TXT records in the record set.
- fqdn String
- Fully qualified domain name of the record set.
- id String
- The ID of the record set.
- name String
- The name of the record set.
- provisioning
State String - provisioning State of the record set.
- type String
- The type of the record set.
- a
Records List<ARecordResponse> - The list of A records in the record set.
- aaaa
Records List<AaaaRecord Response> - The list of AAAA records in the record set.
- caa
Records List<CaaRecord Response> - The list of CAA records in the record set.
- cname
Record 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.
- mx
Records List<MxRecord Response> - The list of MX records in the record set.
- ns
Records List<NsRecord Response> - The list of NS records in the record set.
- ptr
Records List<PtrRecord Response> - The list of PTR records in the record set.
- soa
Record SoaRecord Response - The SOA record in the record set.
- srv
Records List<SrvRecord Response> - The list of SRV records in the record set.
- target
Resource SubResource Response - A reference to an azure resource from where the dns resource value is taken.
- ttl Double
- The TTL (time-to-live) of the records in the record set.
- txt
Records List<TxtRecord Response> - The list of TXT records in the record set.
- fqdn string
- Fully qualified domain name of the record set.
- id string
- The ID of the record set.
- name string
- The name of the record set.
- provisioning
State string - provisioning State of the record set.
- type string
- The type of the record set.
- a
Records ARecordResponse[] - The list of A records in the record set.
- aaaa
Records AaaaRecord Response[] - The list of AAAA records in the record set.
- caa
Records CaaRecord Response[] - The list of CAA records in the record set.
- cname
Record 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.
- mx
Records MxRecord Response[] - The list of MX records in the record set.
- ns
Records NsRecord Response[] - The list of NS records in the record set.
- ptr
Records PtrRecord Response[] - The list of PTR records in the record set.
- soa
Record SoaRecord Response - The SOA record in the record set.
- srv
Records SrvRecord Response[] - The list of SRV records in the record set.
- target
Resource SubResource Response - A reference to an azure resource from where the dns resource value is taken.
- ttl number
- The TTL (time-to-live) of the records in the record set.
- txt
Records TxtRecord Response[] - The list of TXT records in the record set.
- fqdn str
- Fully qualified domain name of the record set.
- id str
- The ID of the record set.
- name str
- The name of the record set.
- provisioning_
state str - provisioning State of the record set.
- type str
- The type of the record set.
- 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.
- caa_
records Sequence[CaaRecord Response] - The list of CAA 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.
- ns_
records Sequence[NsRecord Response] - The list of NS 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.
- target_
resource SubResource Response - A reference to an azure resource from where the dns resource value is taken.
- 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
- The ID of the record set.
- name String
- The name of the record set.
- provisioning
State String - provisioning State of the record set.
- type String
- The type of the record set.
- a
Records List<Property Map> - The list of A records in the record set.
- aaaa
Records List<Property Map> - The list of AAAA records in the record set.
- caa
Records List<Property Map> - The list of CAA records in the record set.
- cname
Record 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.
- mx
Records List<Property Map> - The list of MX records in the record set.
- ns
Records List<Property Map> - The list of NS records in the record set.
- ptr
Records List<Property Map> - The list of PTR records in the record set.
- soa
Record Property Map - The SOA record in the record set.
- srv
Records List<Property Map> - The list of SRV records in the record set.
- target
Resource Property Map - A reference to an azure resource from where the dns resource value is taken.
- ttl Number
- The TTL (time-to-live) of the records in the record set.
- txt
Records 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.
CaaRecordResponse
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.
NsRecordResponse
- Nsdname string
- The name server name for this NS record.
- Nsdname string
- The name server name for this NS record.
- nsdname String
- The name server name for this NS record.
- nsdname string
- The name server name for this NS record.
- nsdname str
- The name server name for this NS record.
- nsdname String
- The name server name for this NS 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.
- Expire
Time double - The expire time for this SOA record.
- Host string
- The domain name of the authoritative name server for this SOA record.
- Minimum
Ttl double - The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
- Refresh
Time double - The refresh value for this SOA record.
- Retry
Time double - The retry time for this SOA record.
- Serial
Number double - The serial number for this SOA record.
- Email string
- The email contact for this SOA record.
- Expire
Time float64 - The expire time for this SOA record.
- Host string
- The domain name of the authoritative name server for this SOA record.
- Minimum
Ttl float64 - The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
- Refresh
Time float64 - The refresh value for this SOA record.
- Retry
Time float64 - The retry time for this SOA record.
- Serial
Number float64 - The serial number for this SOA record.
- email String
- The email contact for this SOA record.
- expire
Time Double - The expire time for this SOA record.
- host String
- The domain name of the authoritative name server for this SOA record.
- minimum
Ttl Double - The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
- refresh
Time Double - The refresh value for this SOA record.
- retry
Time Double - The retry time for this SOA record.
- serial
Number Double - The serial number for this SOA record.
- email string
- The email contact for this SOA record.
- expire
Time number - The expire time for this SOA record.
- host string
- The domain name of the authoritative name server for this SOA record.
- minimum
Ttl number - The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
- refresh
Time number - The refresh value for this SOA record.
- retry
Time number - The retry time for this SOA record.
- serial
Number 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.
- expire
Time Number - The expire time for this SOA record.
- host String
- The domain name of the authoritative name server for this SOA record.
- minimum
Ttl Number - The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
- refresh
Time Number - The refresh value for this SOA record.
- retry
Time Number - The retry time for this SOA record.
- serial
Number Number - The serial number for this SOA record.
SrvRecordResponse
SubResourceResponse
- Id string
- Resource ID.
- Id string
- Resource ID.
- id String
- Resource ID.
- id string
- Resource ID.
- id str
- Resource ID.
- id String
- Resource ID.
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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi