Exoscale v0.59.0 published on Monday, May 20, 2024 by Pulumiverse
exoscale.getDomainRecord
Explore with Pulumi AI
Fetch Exoscale DNS Domain Records data.
Corresponding resource: exoscale_domain_record.
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(domain: Optional[str] = None,
filter: Optional[GetDomainRecordFilter] = None,
opts: Optional[InvokeOptions] = None) -> GetDomainRecordResult
def get_domain_record_output(domain: Optional[pulumi.Input[str]] = None,
filter: Optional[pulumi.Input[GetDomainRecordFilterArgs]] = 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: exoscale:index/getDomainRecord:getDomainRecord
arguments:
# arguments dictionary
The following arguments are supported:
- Domain string
- The exoscale.Domain name to match.
- Filter
Pulumiverse.
Exoscale. Inputs. Get Domain Record Filter - Filter to apply when looking up domain records.
- Domain string
- The exoscale.Domain name to match.
- Filter
Get
Domain Record Filter - Filter to apply when looking up domain records.
- domain String
- The exoscale.Domain name to match.
- filter
Get
Domain Record Filter - Filter to apply when looking up domain records.
- domain string
- The exoscale.Domain name to match.
- filter
Get
Domain Record Filter - Filter to apply when looking up domain records.
- domain str
- The exoscale.Domain name to match.
- filter
Get
Domain Record Filter - Filter to apply when looking up domain records.
- domain String
- The exoscale.Domain name to match.
- filter Property Map
- Filter to apply when looking up domain records.
getDomainRecord Result
The following output properties are available:
- Domain string
- The exoscale.Domain name to match.
- Filter
Pulumiverse.
Exoscale. Outputs. Get Domain Record Filter - Filter to apply when looking up domain records.
- Id string
- The provider-assigned unique ID for this managed resource.
- Records
List<Pulumiverse.
Exoscale. Outputs. Get Domain Record Record> - The list of matching records. Structure is documented below.
- Domain string
- The exoscale.Domain name to match.
- Filter
Get
Domain Record Filter - Filter to apply when looking up domain records.
- Id string
- The provider-assigned unique ID for this managed resource.
- Records
[]Get
Domain Record Record - The list of matching records. Structure is documented below.
- domain String
- The exoscale.Domain name to match.
- filter
Get
Domain Record Filter - Filter to apply when looking up domain records.
- id String
- The provider-assigned unique ID for this managed resource.
- records
List<Get
Domain Record Record> - The list of matching records. Structure is documented below.
- domain string
- The exoscale.Domain name to match.
- filter
Get
Domain Record Filter - Filter to apply when looking up domain records.
- id string
- The provider-assigned unique ID for this managed resource.
- records
Get
Domain Record Record[] - The list of matching records. Structure is documented below.
- domain str
- The exoscale.Domain name to match.
- filter
Get
Domain Record Filter - Filter to apply when looking up domain records.
- id str
- The provider-assigned unique ID for this managed resource.
- records
Sequence[Get
Domain Record Record] - The list of matching records. Structure is documented below.
- domain String
- The exoscale.Domain name to match.
- filter Property Map
- Filter to apply when looking up domain records.
- id String
- The provider-assigned unique ID for this managed resource.
- records List<Property Map>
- The list of matching records. Structure is documented below.
Supporting Types
GetDomainRecordFilter
- Content
Regex string - A regular expression to match the record content.
- Id string
- The record ID to match.
- Name string
- The domain record name to match.
- Record
Type string - The record type to match.
- Content
Regex string - A regular expression to match the record content.
- Id string
- The record ID to match.
- Name string
- The domain record name to match.
- Record
Type string - The record type to match.
- content
Regex String - A regular expression to match the record content.
- id String
- The record ID to match.
- name String
- The domain record name to match.
- record
Type String - The record type to match.
- content
Regex string - A regular expression to match the record content.
- id string
- The record ID to match.
- name string
- The domain record name to match.
- record
Type string - The record type to match.
- content_
regex str - A regular expression to match the record content.
- id str
- The record ID to match.
- name str
- The domain record name to match.
- record_
type str - The record type to match.
- content
Regex String - A regular expression to match the record content.
- id String
- The record ID to match.
- name String
- The domain record name to match.
- record
Type String - The record type to match.
GetDomainRecordRecord
Package Details
- Repository
- exoscale pulumiverse/pulumi-exoscale
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
exoscale
Terraform Provider.