1. Packages
  2. Azure Native v1
  3. API Docs
  4. network
  5. getDnsResourceReferenceByTarResources
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.network.getDnsResourceReferenceByTarResources

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Returns the DNS records specified by the referencing targetResourceIds. API Version: 2018-05-01.

    Using getDnsResourceReferenceByTarResources

    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 getDnsResourceReferenceByTarResources(args: GetDnsResourceReferenceByTarResourcesArgs, opts?: InvokeOptions): Promise<GetDnsResourceReferenceByTarResourcesResult>
    function getDnsResourceReferenceByTarResourcesOutput(args: GetDnsResourceReferenceByTarResourcesOutputArgs, opts?: InvokeOptions): Output<GetDnsResourceReferenceByTarResourcesResult>
    def get_dns_resource_reference_by_tar_resources(target_resources: Optional[Sequence[SubResource]] = None,
                                                    opts: Optional[InvokeOptions] = None) -> GetDnsResourceReferenceByTarResourcesResult
    def get_dns_resource_reference_by_tar_resources_output(target_resources: Optional[pulumi.Input[Sequence[pulumi.Input[SubResourceArgs]]]] = None,
                                                    opts: Optional[InvokeOptions] = None) -> Output[GetDnsResourceReferenceByTarResourcesResult]
    func GetDnsResourceReferenceByTarResources(ctx *Context, args *GetDnsResourceReferenceByTarResourcesArgs, opts ...InvokeOption) (*GetDnsResourceReferenceByTarResourcesResult, error)
    func GetDnsResourceReferenceByTarResourcesOutput(ctx *Context, args *GetDnsResourceReferenceByTarResourcesOutputArgs, opts ...InvokeOption) GetDnsResourceReferenceByTarResourcesResultOutput

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

    public static class GetDnsResourceReferenceByTarResources 
    {
        public static Task<GetDnsResourceReferenceByTarResourcesResult> InvokeAsync(GetDnsResourceReferenceByTarResourcesArgs args, InvokeOptions? opts = null)
        public static Output<GetDnsResourceReferenceByTarResourcesResult> Invoke(GetDnsResourceReferenceByTarResourcesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDnsResourceReferenceByTarResourcesResult> getDnsResourceReferenceByTarResources(GetDnsResourceReferenceByTarResourcesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:network:getDnsResourceReferenceByTarResources
      arguments:
        # arguments dictionary

    The following arguments are supported:

    TargetResources List<Pulumi.AzureNative.Network.Inputs.SubResource>
    A list of references to azure resources for which referencing dns records need to be queried.
    TargetResources []SubResource
    A list of references to azure resources for which referencing dns records need to be queried.
    targetResources List<SubResource>
    A list of references to azure resources for which referencing dns records need to be queried.
    targetResources SubResource[]
    A list of references to azure resources for which referencing dns records need to be queried.
    target_resources Sequence[SubResource]
    A list of references to azure resources for which referencing dns records need to be queried.
    targetResources List<Property Map>
    A list of references to azure resources for which referencing dns records need to be queried.

    getDnsResourceReferenceByTarResources Result

    The following output properties are available:

    DnsResourceReferences List<Pulumi.AzureNative.Network.Outputs.DnsResourceReferenceResponse>
    The result of dns resource reference request. A list of dns resource references for each of the azure resource in the request
    DnsResourceReferences []DnsResourceReferenceResponse
    The result of dns resource reference request. A list of dns resource references for each of the azure resource in the request
    dnsResourceReferences List<DnsResourceReferenceResponse>
    The result of dns resource reference request. A list of dns resource references for each of the azure resource in the request
    dnsResourceReferences DnsResourceReferenceResponse[]
    The result of dns resource reference request. A list of dns resource references for each of the azure resource in the request
    dns_resource_references Sequence[DnsResourceReferenceResponse]
    The result of dns resource reference request. A list of dns resource references for each of the azure resource in the request
    dnsResourceReferences List<Property Map>
    The result of dns resource reference request. A list of dns resource references for each of the azure resource in the request

    Supporting Types

    DnsResourceReferenceResponse

    DnsResources List<Pulumi.AzureNative.Network.Inputs.SubResourceResponse>
    A list of dns Records
    TargetResource Pulumi.AzureNative.Network.Inputs.SubResourceResponse
    A reference to an azure resource from where the dns resource value is taken.
    DnsResources []SubResourceResponse
    A list of dns Records
    TargetResource SubResourceResponse
    A reference to an azure resource from where the dns resource value is taken.
    dnsResources List<SubResourceResponse>
    A list of dns Records
    targetResource SubResourceResponse
    A reference to an azure resource from where the dns resource value is taken.
    dnsResources SubResourceResponse[]
    A list of dns Records
    targetResource SubResourceResponse
    A reference to an azure resource from where the dns resource value is taken.
    dns_resources Sequence[SubResourceResponse]
    A list of dns Records
    target_resource SubResourceResponse
    A reference to an azure resource from where the dns resource value is taken.
    dnsResources List<Property Map>
    A list of dns Records
    targetResource Property Map
    A reference to an azure resource from where the dns resource value is taken.

    SubResource

    Id string
    Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
    Id string
    Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
    id String
    Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
    id string
    Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
    id str
    Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
    id String
    Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.

    SubResourceResponse

    Id string
    Resource ID.
    Id string
    Resource ID.
    id String
    Resource ID.
    id string
    Resource ID.
    id str
    Resource ID.
    id String
    Resource ID.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi