1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. dns
  5. getDomainRecords
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

alicloud.dns.getDomainRecords

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

    NOTE: This resource has been deprecated from v1.3.2. Please use the datasource alicloud.dns.getRecords instead.

    Using getDomainRecords

    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 getDomainRecords(args: GetDomainRecordsArgs, opts?: InvokeOptions): Promise<GetDomainRecordsResult>
    function getDomainRecordsOutput(args: GetDomainRecordsOutputArgs, opts?: InvokeOptions): Output<GetDomainRecordsResult>
    def get_domain_records(domain_name: Optional[str] = None,
                           host_record_regex: Optional[str] = None,
                           ids: Optional[Sequence[str]] = None,
                           is_locked: Optional[bool] = None,
                           line: Optional[str] = None,
                           output_file: Optional[str] = None,
                           status: Optional[str] = None,
                           type: Optional[str] = None,
                           value_regex: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetDomainRecordsResult
    def get_domain_records_output(domain_name: Optional[pulumi.Input[str]] = None,
                           host_record_regex: Optional[pulumi.Input[str]] = None,
                           ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                           is_locked: Optional[pulumi.Input[bool]] = None,
                           line: Optional[pulumi.Input[str]] = None,
                           output_file: Optional[pulumi.Input[str]] = None,
                           status: Optional[pulumi.Input[str]] = None,
                           type: Optional[pulumi.Input[str]] = None,
                           value_regex: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetDomainRecordsResult]
    func GetDomainRecords(ctx *Context, args *GetDomainRecordsArgs, opts ...InvokeOption) (*GetDomainRecordsResult, error)
    func GetDomainRecordsOutput(ctx *Context, args *GetDomainRecordsOutputArgs, opts ...InvokeOption) GetDomainRecordsResultOutput

    > Note: This function is named GetDomainRecords in the Go SDK.

    public static class GetDomainRecords 
    {
        public static Task<GetDomainRecordsResult> InvokeAsync(GetDomainRecordsArgs args, InvokeOptions? opts = null)
        public static Output<GetDomainRecordsResult> Invoke(GetDomainRecordsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDomainRecordsResult> getDomainRecords(GetDomainRecordsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: alicloud:dns/getDomainRecords:getDomainRecords
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DomainName string
    HostRecordRegex string
    Ids List<string>
    IsLocked bool
    Line string
    OutputFile string
    Status string
    Type string
    ValueRegex string
    DomainName string
    HostRecordRegex string
    Ids []string
    IsLocked bool
    Line string
    OutputFile string
    Status string
    Type string
    ValueRegex string
    domainName String
    hostRecordRegex String
    ids List<String>
    isLocked Boolean
    line String
    outputFile String
    status String
    type String
    valueRegex String
    domainName string
    hostRecordRegex string
    ids string[]
    isLocked boolean
    line string
    outputFile string
    status string
    type string
    valueRegex string
    domainName String
    hostRecordRegex String
    ids List<String>
    isLocked Boolean
    line String
    outputFile String
    status String
    type String
    valueRegex String

    getDomainRecords Result

    The following output properties are available:

    DomainName string
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids List<string>
    Records List<Pulumi.AliCloud.Dns.Outputs.GetDomainRecordsRecord>
    Urls List<string>
    HostRecordRegex string
    IsLocked bool
    Line string
    OutputFile string
    Status string
    Type string
    ValueRegex string
    DomainName string
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids []string
    Records []GetDomainRecordsRecord
    Urls []string
    HostRecordRegex string
    IsLocked bool
    Line string
    OutputFile string
    Status string
    Type string
    ValueRegex string
    domainName String
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    records List<GetDomainRecordsRecord>
    urls List<String>
    hostRecordRegex String
    isLocked Boolean
    line String
    outputFile String
    status String
    type String
    valueRegex String
    domainName string
    id string
    The provider-assigned unique ID for this managed resource.
    ids string[]
    records GetDomainRecordsRecord[]
    urls string[]
    hostRecordRegex string
    isLocked boolean
    line string
    outputFile string
    status string
    type string
    valueRegex string
    domain_name str
    id str
    The provider-assigned unique ID for this managed resource.
    ids Sequence[str]
    records Sequence[GetDomainRecordsRecord]
    urls Sequence[str]
    host_record_regex str
    is_locked bool
    line str
    output_file str
    status str
    type str
    value_regex str
    domainName String
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    records List<Property Map>
    urls List<String>
    hostRecordRegex String
    isLocked Boolean
    line String
    outputFile String
    status String
    type String
    valueRegex String

    Supporting Types

    GetDomainRecordsRecord

    DomainName string
    HostRecord string
    Line string
    Locked bool
    Priority int
    RecordId string
    Status string
    Ttl double
    Type string
    Value string
    DomainName string
    HostRecord string
    Line string
    Locked bool
    Priority int
    RecordId string
    Status string
    Ttl float64
    Type string
    Value string
    domainName String
    hostRecord String
    line String
    locked Boolean
    priority Integer
    recordId String
    status String
    ttl Double
    type String
    value String
    domainName string
    hostRecord string
    line string
    locked boolean
    priority number
    recordId string
    status string
    ttl number
    type string
    value string
    domainName String
    hostRecord String
    line String
    locked Boolean
    priority Number
    recordId String
    status String
    ttl Number
    type String
    value String

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi