Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi
alicloud.dns.getDomainRecords
Explore with Pulumi AI
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:
- Domain
Name string - Host
Record stringRegex - Ids List<string>
- Is
Locked bool - Line string
- Output
File string - Status string
- Type string
- Value
Regex string
- Domain
Name string - Host
Record stringRegex - Ids []string
- Is
Locked bool - Line string
- Output
File string - Status string
- Type string
- Value
Regex string
- domain
Name String - host
Record StringRegex - ids List<String>
- is
Locked Boolean - line String
- output
File String - status String
- type String
- value
Regex String
- domain
Name string - host
Record stringRegex - ids string[]
- is
Locked boolean - line string
- output
File string - status string
- type string
- value
Regex string
- domain_
name str - host_
record_ strregex - ids Sequence[str]
- is_
locked bool - line str
- output_
file str - status str
- type str
- value_
regex str
- domain
Name String - host
Record StringRegex - ids List<String>
- is
Locked Boolean - line String
- output
File String - status String
- type String
- value
Regex String
getDomainRecords Result
The following output properties are available:
- Domain
Name string - Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- Records
List<Pulumi.
Ali Cloud. Dns. Outputs. Get Domain Records Record> - Urls List<string>
- Host
Record stringRegex - Is
Locked bool - Line string
- Output
File string - Status string
- Type string
- Value
Regex string
- Domain
Name string - Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- Records
[]Get
Domain Records Record - Urls []string
- Host
Record stringRegex - Is
Locked bool - Line string
- Output
File string - Status string
- Type string
- Value
Regex string
- domain
Name String - id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- records
List<Get
Domain Records Record> - urls List<String>
- host
Record StringRegex - is
Locked Boolean - line String
- output
File String - status String
- type String
- value
Regex String
- domain
Name string - id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- records
Get
Domain Records Record[] - urls string[]
- host
Record stringRegex - is
Locked boolean - line string
- output
File string - status string
- type string
- value
Regex string
- domain_
name str - id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- records
Sequence[Get
Domain Records Record] - urls Sequence[str]
- host_
record_ strregex - is_
locked bool - line str
- output_
file str - status str
- type str
- value_
regex str
- domain
Name String - id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- records List<Property Map>
- urls List<String>
- host
Record StringRegex - is
Locked Boolean - line String
- output
File String - status String
- type String
- value
Regex String
Supporting Types
GetDomainRecordsRecord
- Domain
Name string - Host
Record string - Line string
- Locked bool
- Priority int
- Record
Id string - Status string
- Ttl double
- Type string
- Value string
- Domain
Name string - Host
Record string - Line string
- Locked bool
- Priority int
- Record
Id string - Status string
- Ttl float64
- Type string
- Value string
- domain
Name String - host
Record String - line String
- locked Boolean
- priority Integer
- record
Id String - status String
- ttl Double
- type String
- value String
- domain
Name string - host
Record string - line string
- locked boolean
- priority number
- record
Id string - status string
- ttl number
- type string
- value string
- domain_
name str - host_
record str - line str
- locked bool
- priority int
- record_
id str - status str
- ttl float
- type str
- value str
- domain
Name String - host
Record String - line String
- locked Boolean
- priority Number
- record
Id 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.