Scaleway

Community
Package contributed by a community member
v0.3.0 published on Tuesday, Jun 7, 2022 by Lee Briggs

getDomainRecord

Using getDomainRecord

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 getDomainRecord(args: GetDomainRecordArgs, opts?: InvokeOptions): Promise<GetDomainRecordResult>
function getDomainRecordOutput(args: GetDomainRecordOutputArgs, opts?: InvokeOptions): Output<GetDomainRecordResult>
def get_domain_record(data: Optional[str] = None,
                      dns_zone: Optional[str] = None,
                      name: Optional[str] = None,
                      record_id: Optional[str] = None,
                      type: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetDomainRecordResult
def get_domain_record_output(data: Optional[pulumi.Input[str]] = None,
                      dns_zone: Optional[pulumi.Input[str]] = None,
                      name: Optional[pulumi.Input[str]] = None,
                      record_id: Optional[pulumi.Input[str]] = None,
                      type: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetDomainRecordResult]
func LookupDomainRecord(ctx *Context, args *LookupDomainRecordArgs, opts ...InvokeOption) (*LookupDomainRecordResult, error)
func LookupDomainRecordOutput(ctx *Context, args *LookupDomainRecordOutputArgs, opts ...InvokeOption) LookupDomainRecordResultOutput

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

public static class GetDomainRecord 
{
    public static Task<GetDomainRecordResult> InvokeAsync(GetDomainRecordArgs args, InvokeOptions? opts = null)
    public static Output<GetDomainRecordResult> Invoke(GetDomainRecordInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDomainRecordResult> getDomainRecord(GetDomainRecordArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: scaleway:index/getDomainRecord:getDomainRecord
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Data string
DnsZone string
Name string
RecordId string
Type string
Data string
DnsZone string
Name string
RecordId string
Type string
data String
dnsZone String
name String
recordId String
type String
data string
dnsZone string
name string
recordId string
type string
data str
dns_zone str
name str
record_id str
type str
data String
dnsZone String
name String
recordId String
type String

getDomainRecord Result

The following output properties are available:

geoIps List<GetDomainRecordGeoIp>
httpServices List<GetDomainRecordHttpService>
id String

The provider-assigned unique ID for this managed resource.

keepEmptyZone Boolean
priority Integer
projectId String
rootZone Boolean
ttl Integer
views List<GetDomainRecordView>
weighteds List<GetDomainRecordWeighted>
data String
dnsZone String
name String
recordId String
type String
geoIps GetDomainRecordGeoIp[]
httpServices GetDomainRecordHttpService[]
id string

The provider-assigned unique ID for this managed resource.

keepEmptyZone boolean
priority number
projectId string
rootZone boolean
ttl number
views GetDomainRecordView[]
weighteds GetDomainRecordWeighted[]
data string
dnsZone string
name string
recordId string
type string
geoIps List<Property Map>
httpServices List<Property Map>
id String

The provider-assigned unique ID for this managed resource.

keepEmptyZone Boolean
priority Number
projectId String
rootZone Boolean
ttl Number
views List<Property Map>
weighteds List<Property Map>
data String
dnsZone String
name String
recordId String
type String

Supporting Types

GetDomainRecordGeoIp

GetDomainRecordGeoIpMatch

Continents List<string>
Countries List<string>
Data string
Continents []string
Countries []string
Data string
continents List<String>
countries List<String>
data String
continents string[]
countries string[]
data string
continents Sequence[str]
countries Sequence[str]
data str
continents List<String>
countries List<String>
data String

GetDomainRecordHttpService

Ips List<string>
MustContain string
Strategy string
Url string
UserAgent string
Ips []string
MustContain string
Strategy string
Url string
UserAgent string
ips List<String>
mustContain String
strategy String
url String
userAgent String
ips string[]
mustContain string
strategy string
url string
userAgent string
ips Sequence[str]
must_contain str
strategy str
url str
user_agent str
ips List<String>
mustContain String
strategy String
url String
userAgent String

GetDomainRecordView

Data string
Subnet string
Data string
Subnet string
data String
subnet String
data string
subnet string
data str
subnet str
data String
subnet String

GetDomainRecordWeighted

Ip string
Weight int
Ip string
Weight int
ip String
weight Integer
ip string
weight number
ip str
weight int
ip String
weight Number

Package Details

Repository
https://github.com/jaxxstorm/pulumi-scaleway
License
Apache-2.0
Notes

This Pulumi package is based on the scaleway Terraform Provider.