Scaleway
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:
getDomainRecord Result
The following output properties are available:
- Geo
Ips List<GetDomain Record Geo Ip> - Http
Services List<GetDomain Record Http Service> - Id string
The provider-assigned unique ID for this managed resource.
- Keep
Empty boolZone - Priority int
- Project
Id string - Root
Zone bool - Ttl int
- Views
List<Get
Domain Record View> - Weighteds
List<Get
Domain Record Weighted> - Data string
- Dns
Zone string - Name string
- Record
Id string - Type string
- Geo
Ips []GetDomain Record Geo Ip - Http
Services []GetDomain Record Http Service - Id string
The provider-assigned unique ID for this managed resource.
- Keep
Empty boolZone - Priority int
- Project
Id string - Root
Zone bool - Ttl int
- Views
[]Get
Domain Record View - Weighteds
[]Get
Domain Record Weighted - Data string
- Dns
Zone string - Name string
- Record
Id string - Type string
- geo
Ips List<GetDomain Record Geo Ip> - http
Services List<GetDomain Record Http Service> - id String
The provider-assigned unique ID for this managed resource.
- keep
Empty BooleanZone - priority Integer
- project
Id String - root
Zone Boolean - ttl Integer
- views
List<Get
Domain Record View> - weighteds
List<Get
Domain Record Weighted> - data String
- dns
Zone String - name String
- record
Id String - type String
- geo
Ips GetDomain Record Geo Ip[] - http
Services GetDomain Record Http Service[] - id string
The provider-assigned unique ID for this managed resource.
- keep
Empty booleanZone - priority number
- project
Id string - root
Zone boolean - ttl number
- views
Get
Domain Record View[] - weighteds
Get
Domain Record Weighted[] - data string
- dns
Zone string - name string
- record
Id string - type string
- geo_
ips Sequence[GetDomain Record Geo Ip] - http_
services Sequence[GetDomain Record Http Service] - id str
The provider-assigned unique ID for this managed resource.
- keep_
empty_ boolzone - priority int
- project_
id str - root_
zone bool - ttl int
- views
Sequence[Get
Domain Record View] - weighteds
Sequence[Get
Domain Record Weighted] - data str
- dns_
zone str - name str
- record_
id str - type str
- geo
Ips List<Property Map> - http
Services List<Property Map> - id String
The provider-assigned unique ID for this managed resource.
- keep
Empty BooleanZone - priority Number
- project
Id String - root
Zone Boolean - ttl Number
- views List<Property Map>
- weighteds List<Property Map>
- data String
- dns
Zone String - name String
- record
Id 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>
- Must
Contain string - Strategy string
- Url string
- User
Agent string
- Ips []string
- Must
Contain string - Strategy string
- Url string
- User
Agent string
- ips List<String>
- must
Contain String - strategy String
- url String
- user
Agent String
- ips string[]
- must
Contain string - strategy string
- url string
- user
Agent string
- ips Sequence[str]
- must_
contain str - strategy str
- url str
- user_
agent str
- ips List<String>
- must
Contain String - strategy String
- url String
- user
Agent String
GetDomainRecordView
GetDomainRecordWeighted
Package Details
- Repository
- https://github.com/jaxxstorm/pulumi-scaleway
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
scaleway
Terraform Provider.