1. Packages
  2. Azure Native
  3. API Docs
  4. dbforpostgresql
  5. getPrivateDnsZoneSuffix
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.10.1 published on Friday, Nov 7, 2025 by Pulumi
azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.10.1 published on Friday, Nov 7, 2025 by Pulumi

    Gets the private DNS zone suffix.

    Uses Azure REST API version 2025-06-01-preview.

    Other available API versions: 2025-08-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native dbforpostgresql [ApiVersion]. See the version guide for details.

    Using getPrivateDnsZoneSuffix

    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 getPrivateDnsZoneSuffix(args: GetPrivateDnsZoneSuffixArgs, opts?: InvokeOptions): Promise<GetPrivateDnsZoneSuffixResult>
    function getPrivateDnsZoneSuffixOutput(args: GetPrivateDnsZoneSuffixOutputArgs, opts?: InvokeOptions): Output<GetPrivateDnsZoneSuffixResult>
    def get_private_dns_zone_suffix(opts: Optional[InvokeOptions] = None) -> GetPrivateDnsZoneSuffixResult
    def get_private_dns_zone_suffix_output(opts: Optional[InvokeOptions] = None) -> Output[GetPrivateDnsZoneSuffixResult]
    func GetPrivateDnsZoneSuffix(ctx *Context, args *GetPrivateDnsZoneSuffixArgs, opts ...InvokeOption) (*GetPrivateDnsZoneSuffixResult, error)
    func GetPrivateDnsZoneSuffixOutput(ctx *Context, args *GetPrivateDnsZoneSuffixOutputArgs, opts ...InvokeOption) GetPrivateDnsZoneSuffixResultOutput

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

    public static class GetPrivateDnsZoneSuffix 
    {
        public static Task<GetPrivateDnsZoneSuffixResult> InvokeAsync(GetPrivateDnsZoneSuffixArgs args, InvokeOptions? opts = null)
        public static Output<GetPrivateDnsZoneSuffixResult> Invoke(GetPrivateDnsZoneSuffixInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPrivateDnsZoneSuffixResult> getPrivateDnsZoneSuffix(GetPrivateDnsZoneSuffixArgs args, InvokeOptions options)
    public static Output<GetPrivateDnsZoneSuffixResult> getPrivateDnsZoneSuffix(GetPrivateDnsZoneSuffixArgs args, InvokeOptions options)
    
    fn::invoke:
      function: azure-native:dbforpostgresql:getPrivateDnsZoneSuffix
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getPrivateDnsZoneSuffix Result

    The following output properties are available:

    Value string
    Value string
    value String
    value string
    value str
    value String

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Azure Native v3.10.1 published on Friday, Nov 7, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate