This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
azure-native.network.getDnsResourceReferenceByTarResources
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
Returns the DNS records specified by the referencing targetResourceIds. Azure REST API version: 2018-05-01.
Other available API versions: 2023-07-01-preview.
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:
- Target
Resources List<Pulumi.Azure Native. Network. 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. Network. 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. Network. Inputs. Sub Resource Response> - A list of dns Records
- Target
Resource Pulumi.Azure Native. Network. 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
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi