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.63.0 published on Tuesday, Sep 24, 2024 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.63.0 published on Tuesday, Sep 24, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:sql:getManagedServerDnsAlias
arguments:
# arguments dictionary
The following arguments are supported:
- Dns
Alias stringName - Managed
Instance stringName - The name of the managed instance.
- Resource
Group 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 stringName - Managed
Instance stringName - The name of the managed instance.
- Resource
Group 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 StringName - managed
Instance StringName - The name of the managed instance.
- resource
Group 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 stringName - managed
Instance stringName - The name of the managed instance.
- resource
Group 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.
- dns
Alias StringName - managed
Instance StringName - The name of the managed instance.
- resource
Group 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:
- Azure
Dns stringRecord - The fully qualified DNS record for managed server alias
- Id string
- Resource ID.
- Name string
- Resource name.
- Public
Azure stringDns Record - The fully qualified public DNS record for managed server alias
- Type string
- Resource type.
- Azure
Dns stringRecord - The fully qualified DNS record for managed server alias
- Id string
- Resource ID.
- Name string
- Resource name.
- Public
Azure stringDns Record - The fully qualified public DNS record for managed server alias
- Type string
- Resource type.
- azure
Dns StringRecord - The fully qualified DNS record for managed server alias
- id String
- Resource ID.
- name String
- Resource name.
- public
Azure StringDns Record - The fully qualified public DNS record for managed server alias
- type String
- Resource type.
- azure
Dns stringRecord - The fully qualified DNS record for managed server alias
- id string
- Resource ID.
- name string
- Resource name.
- public
Azure 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.
- azure
Dns StringRecord - The fully qualified DNS record for managed server alias
- id String
- Resource ID.
- name String
- Resource name.
- public
Azure 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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi