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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.sql.getManagedServerDnsAlias
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Gets a server DNS alias. Azure REST API version: 2021-11-01.
Other available API versions: 2022-11-01-preview, 2023-02-01-preview, 2023-05-01-preview, 2023-08-01-preview, 2024-05-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)
public static Output<GetManagedServerDnsAliasResult> getManagedServerDnsAlias(GetManagedServerDnsAliasArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:sql:getManagedServerDnsAlias
  arguments:
    # arguments dictionaryThe following arguments are supported:
- DnsAlias stringName 
- ManagedInstance stringName 
- The name of the managed instance.
- ResourceGroup stringName 
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- DnsAlias stringName 
- ManagedInstance stringName 
- The name of the managed instance.
- ResourceGroup stringName 
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- dnsAlias StringName 
- managedInstance StringName 
- The name of the managed instance.
- resourceGroup StringName 
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- dnsAlias stringName 
- managedInstance stringName 
- The name of the managed instance.
- resourceGroup stringName 
- 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_ strname 
- managed_instance_ strname 
- The name of the managed instance.
- resource_group_ strname 
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- dnsAlias StringName 
- managedInstance StringName 
- The name of the managed instance.
- resourceGroup StringName 
- 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:
- AzureDns stringRecord 
- The fully qualified DNS record for managed server alias
- Id string
- Resource ID.
- Name string
- Resource name.
- PublicAzure stringDns Record 
- The fully qualified public DNS record for managed server alias
- Type string
- Resource type.
- AzureDns stringRecord 
- The fully qualified DNS record for managed server alias
- Id string
- Resource ID.
- Name string
- Resource name.
- PublicAzure stringDns Record 
- The fully qualified public DNS record for managed server alias
- Type string
- Resource type.
- azureDns StringRecord 
- The fully qualified DNS record for managed server alias
- id String
- Resource ID.
- name String
- Resource name.
- publicAzure StringDns Record 
- The fully qualified public DNS record for managed server alias
- type String
- Resource type.
- azureDns stringRecord 
- The fully qualified DNS record for managed server alias
- id string
- Resource ID.
- name string
- Resource name.
- publicAzure stringDns Record 
- The fully qualified public DNS record for managed server alias
- type string
- Resource type.
- azure_dns_ strrecord 
- The fully qualified DNS record for managed server alias
- id str
- Resource ID.
- name str
- Resource name.
- public_azure_ strdns_ record 
- The fully qualified public DNS record for managed server alias
- type str
- Resource type.
- azureDns StringRecord 
- The fully qualified DNS record for managed server alias
- id String
- Resource ID.
- name String
- Resource name.
- publicAzure StringDns Record 
- The fully qualified public DNS record for managed server alias
- type String
- Resource type.
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi