1. Packages
  2. Exoscale
  3. API Docs
  4. getDomainRecord
Exoscale v0.59.2 published on Monday, Jul 22, 2024 by Pulumiverse

exoscale.getDomainRecord

Explore with Pulumi AI

exoscale logo
Exoscale v0.59.2 published on Monday, Jul 22, 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
    The exoscale.Domain name to match.
    Filter Pulumiverse.Exoscale.Inputs.GetDomainRecordFilter
    Filter to apply when looking up domain records.
    Domain string
    The exoscale.Domain name to match.
    Filter GetDomainRecordFilter
    Filter to apply when looking up domain records.
    domain String
    The exoscale.Domain name to match.
    filter GetDomainRecordFilter
    Filter to apply when looking up domain records.
    domain string
    The exoscale.Domain name to match.
    filter GetDomainRecordFilter
    Filter to apply when looking up domain records.
    domain str
    The exoscale.Domain name to match.
    filter GetDomainRecordFilter
    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.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
    Content of the Record
    Domain string
    Domain of the Record
    Id string
    ID of the Record
    Name string
    Name of the Record
    Prio int
    Priority of the Record
    RecordType string
    Type of the Record
    Ttl int
    TTL of the Record
    Content string
    Content of the Record
    Domain string
    Domain of the Record
    Id string
    ID of the Record
    Name string
    Name of the Record
    Prio int
    Priority of the Record
    RecordType string
    Type of the Record
    Ttl int
    TTL of the Record
    content String
    Content of the Record
    domain String
    Domain of the Record
    id String
    ID of the Record
    name String
    Name of the Record
    prio Integer
    Priority of the Record
    recordType String
    Type of the Record
    ttl Integer
    TTL of the Record
    content string
    Content of the Record
    domain string
    Domain of the Record
    id string
    ID of the Record
    name string
    Name of the Record
    prio number
    Priority of the Record
    recordType string
    Type of the Record
    ttl number
    TTL of the Record
    content str
    Content of the Record
    domain str
    Domain of the Record
    id str
    ID of the Record
    name str
    Name of the Record
    prio int
    Priority of the Record
    record_type str
    Type of the Record
    ttl int
    TTL of the Record
    content String
    Content of the Record
    domain String
    Domain of the Record
    id String
    ID of the Record
    name String
    Name of the Record
    prio Number
    Priority of the Record
    recordType String
    Type of the Record
    ttl Number
    TTL of the Record

    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.59.2 published on Monday, Jul 22, 2024 by Pulumiverse