1. Packages
  2. Azure Native v1
  3. API Docs
  4. sql
  5. getManagedServerDnsAlias
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.sql.getManagedServerDnsAlias

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

    Gets a server DNS alias. API Version: 2021-11-01-preview.

    Using getManagedServerDnsAlias

    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 getManagedServerDnsAlias(args: GetManagedServerDnsAliasArgs, opts?: InvokeOptions): Promise<GetManagedServerDnsAliasResult>
    function getManagedServerDnsAliasOutput(args: GetManagedServerDnsAliasOutputArgs, opts?: InvokeOptions): Output<GetManagedServerDnsAliasResult>
    def get_managed_server_dns_alias(dns_alias_name: Optional[str] = None,
                                     managed_instance_name: Optional[str] = None,
                                     resource_group_name: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetManagedServerDnsAliasResult
    def get_managed_server_dns_alias_output(dns_alias_name: Optional[pulumi.Input[str]] = None,
                                     managed_instance_name: Optional[pulumi.Input[str]] = None,
                                     resource_group_name: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetManagedServerDnsAliasResult]
    func LookupManagedServerDnsAlias(ctx *Context, args *LookupManagedServerDnsAliasArgs, opts ...InvokeOption) (*LookupManagedServerDnsAliasResult, error)
    func LookupManagedServerDnsAliasOutput(ctx *Context, args *LookupManagedServerDnsAliasOutputArgs, opts ...InvokeOption) LookupManagedServerDnsAliasResultOutput

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

    public static class GetManagedServerDnsAlias 
    {
        public static Task<GetManagedServerDnsAliasResult> InvokeAsync(GetManagedServerDnsAliasArgs args, InvokeOptions? opts = null)
        public static Output<GetManagedServerDnsAliasResult> Invoke(GetManagedServerDnsAliasInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetManagedServerDnsAliasResult> getManagedServerDnsAlias(GetManagedServerDnsAliasArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:sql:getManagedServerDnsAlias
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DnsAliasName string
    ManagedInstanceName string
    The name of the managed instance.
    ResourceGroupName string
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    DnsAliasName string
    ManagedInstanceName string
    The name of the managed instance.
    ResourceGroupName string
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    dnsAliasName String
    managedInstanceName String
    The name of the managed instance.
    resourceGroupName String
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    dnsAliasName string
    managedInstanceName string
    The name of the managed instance.
    resourceGroupName string
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    dns_alias_name str
    managed_instance_name str
    The name of the managed instance.
    resource_group_name str
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    dnsAliasName String
    managedInstanceName String
    The name of the managed instance.
    resourceGroupName String
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

    getManagedServerDnsAlias Result

    The following output properties are available:

    AzureDnsRecord string
    The fully qualified DNS record for managed server alias
    Id string
    Resource ID.
    Name string
    Resource name.
    PublicAzureDnsRecord string
    The fully qualified public DNS record for managed server alias
    Type string
    Resource type.
    AzureDnsRecord string
    The fully qualified DNS record for managed server alias
    Id string
    Resource ID.
    Name string
    Resource name.
    PublicAzureDnsRecord string
    The fully qualified public DNS record for managed server alias
    Type string
    Resource type.
    azureDnsRecord String
    The fully qualified DNS record for managed server alias
    id String
    Resource ID.
    name String
    Resource name.
    publicAzureDnsRecord String
    The fully qualified public DNS record for managed server alias
    type String
    Resource type.
    azureDnsRecord string
    The fully qualified DNS record for managed server alias
    id string
    Resource ID.
    name string
    Resource name.
    publicAzureDnsRecord string
    The fully qualified public DNS record for managed server alias
    type string
    Resource type.
    azure_dns_record str
    The fully qualified DNS record for managed server alias
    id str
    Resource ID.
    name str
    Resource name.
    public_azure_dns_record str
    The fully qualified public DNS record for managed server alias
    type str
    Resource type.
    azureDnsRecord String
    The fully qualified DNS record for managed server alias
    id String
    Resource ID.
    name String
    Resource name.
    publicAzureDnsRecord String
    The fully qualified public DNS record for managed server alias
    type String
    Resource type.

    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