azure-native.dns.getDnsResourceReferenceByTarResources
Explore with Pulumi AI
Returns the DNS records specified by the referencing targetResourceIds.
Uses Azure REST API version 2023-07-01-preview.
Other available API versions: 2018-05-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native dns [ApiVersion]
. See the version guide for details.
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)
public static Output<GetDnsResourceReferenceByTarResourcesResult> getDnsResourceReferenceByTarResources(GetDnsResourceReferenceByTarResourcesArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:dns:getDnsResourceReferenceByTarResources
arguments:
# arguments dictionary
The following arguments are supported:
- Target
Resources List<Pulumi.Azure Native. Dns. Inputs. Sub Resource> - A list of references to azure resources for which referencing dns records need to be queried.
- Target
Resources []SubResource - A list of references to azure resources for which referencing dns records need to be queried.
- target
Resources List<SubResource> - A list of references to azure resources for which referencing dns records need to be queried.
- target
Resources 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.
- target
Resources 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:
- Dns
Resource List<Pulumi.References Azure Native. Dns. Outputs. Dns Resource Reference Response> - The result of dns resource reference request. A list of dns resource references for each of the azure resource in the request
- Dns
Resource []DnsReferences Resource Reference Response - The result of dns resource reference request. A list of dns resource references for each of the azure resource in the request
- dns
Resource List<DnsReferences Resource Reference Response> - The result of dns resource reference request. A list of dns resource references for each of the azure resource in the request
- dns
Resource DnsReferences Resource Reference Response[] - The result of dns resource reference request. A list of dns resource references for each of the azure resource in the request
- dns_
resource_ Sequence[Dnsreferences Resource Reference Response] - The result of dns resource reference request. A list of dns resource references for each of the azure resource in the request
- dns
Resource List<Property Map>References - 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
- Dns
Resources List<Pulumi.Azure Native. Dns. Inputs. Sub Resource Response> - A list of dns Records
- Target
Resource Pulumi.Azure Native. Dns. Inputs. Sub Resource Response - A reference to an azure resource from where the dns resource value is taken.
- Dns
Resources []SubResource Response - A list of dns Records
- Target
Resource SubResource Response - A reference to an azure resource from where the dns resource value is taken.
- dns
Resources List<SubResource Response> - A list of dns Records
- target
Resource SubResource Response - A reference to an azure resource from where the dns resource value is taken.
- dns
Resources SubResource Response[] - A list of dns Records
- target
Resource SubResource Response - A reference to an azure resource from where the dns resource value is taken.
- dns_
resources Sequence[SubResource Response] - A list of dns Records
- target_
resource SubResource Response - A reference to an azure resource from where the dns resource value is taken.
- dns
Resources List<Property Map> - A list of dns Records
- target
Resource 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 pulumi/pulumi-azure-native
- License
- Apache-2.0