1. Packages
  2. Exoscale
  3. API Docs
  4. getDomainRecord
Exoscale v0.55.0 published on Monday, Jan 29, 2024 by Pulumiverse

exoscale.getDomainRecord

Explore with Pulumi AI

exoscale logo
Exoscale v0.55.0 published on Monday, Jan 29, 2024 by Pulumiverse

    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
    Filter Pulumiverse.Exoscale.Inputs.GetDomainRecordFilter
    Filter to apply when looking up domain records.
    Domain string
    Filter GetDomainRecordFilter
    Filter to apply when looking up domain records.
    domain String
    filter GetDomainRecordFilter
    Filter to apply when looking up domain records.
    domain string
    filter GetDomainRecordFilter
    Filter to apply when looking up domain records.
    domain str
    filter GetDomainRecordFilter
    Filter to apply when looking up domain records.
    domain String
    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.GetDomainRecordFilter
    Filter to apply when looking up domain records.
    Id string
    The provider-assigned unique ID for this managed resource.
    Records List<Pulumiverse.Exoscale.Outputs.GetDomainRecordRecord>
    The list of matching records. Structure is documented below.
    Domain string
    The exoscale.Domain name to match.
    Filter GetDomainRecordFilter
    Filter to apply when looking up domain records.
    Id string
    The provider-assigned unique ID for this managed resource.
    Records []GetDomainRecordRecord
    The list of matching records. Structure is documented below.
    domain String
    The exoscale.Domain name to match.
    filter GetDomainRecordFilter
    Filter to apply when looking up domain records.
    id String
    The provider-assigned unique ID for this managed resource.
    records List<GetDomainRecordRecord>
    The list of matching records. Structure is documented below.
    domain string
    The exoscale.Domain name to match.
    filter GetDomainRecordFilter
    Filter to apply when looking up domain records.
    id string
    The provider-assigned unique ID for this managed resource.
    records GetDomainRecordRecord[]
    The list of matching records. Structure is documented below.
    domain str
    The exoscale.Domain name to match.
    filter GetDomainRecordFilter
    Filter to apply when looking up domain records.
    id str
    The provider-assigned unique ID for this managed resource.
    records Sequence[GetDomainRecordRecord]
    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

    ContentRegex string
    A regular expression to match the record content.
    Id string
    The record ID to match.
    Name string
    The domain record name to match.
    RecordType string
    The record type to match.
    ContentRegex string
    A regular expression to match the record content.
    Id string
    The record ID to match.
    Name string
    The domain record name to match.
    RecordType string
    The record type to match.
    contentRegex String
    A regular expression to match the record content.
    id String
    The record ID to match.
    name String
    The domain record name to match.
    recordType String
    The record type to match.
    contentRegex string
    A regular expression to match the record content.
    id string
    The record ID to match.
    name string
    The domain record name to match.
    recordType 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.
    contentRegex String
    A regular expression to match the record content.
    id String
    The record ID to match.
    name String
    The domain record name to match.
    recordType String
    The record type to match.

    GetDomainRecordRecord

    Content string
    Domain string
    Id string
    Name string
    Prio int
    RecordType string
    Ttl int
    Content string
    Domain string
    Id string
    Name string
    Prio int
    RecordType string
    Ttl int
    content String
    domain String
    id String
    name String
    prio Integer
    recordType String
    ttl Integer
    content string
    domain string
    id string
    name string
    prio number
    recordType string
    ttl number
    content str
    domain str
    id str
    name str
    prio int
    record_type str
    ttl int
    content String
    domain String
    id String
    name String
    prio Number
    recordType String
    ttl Number

    Package Details

    Repository
    exoscale pulumiverse/pulumi-exoscale
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the exoscale Terraform Provider.
    exoscale logo
    Exoscale v0.55.0 published on Monday, Jan 29, 2024 by Pulumiverse