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.domainregistration.getDomain
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
Description for Get a domain. Azure REST API version: 2022-09-01.
Other available API versions: 2020-10-01, 2023-01-01, 2023-12-01.
Using getDomain
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 getDomain(args: GetDomainArgs, opts?: InvokeOptions): Promise<GetDomainResult>
function getDomainOutput(args: GetDomainOutputArgs, opts?: InvokeOptions): Output<GetDomainResult>
def get_domain(domain_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDomainResult
def get_domain_output(domain_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDomainResult]
func LookupDomain(ctx *Context, args *LookupDomainArgs, opts ...InvokeOption) (*LookupDomainResult, error)
func LookupDomainOutput(ctx *Context, args *LookupDomainOutputArgs, opts ...InvokeOption) LookupDomainResultOutput
> Note: This function is named LookupDomain
in the Go SDK.
public static class GetDomain
{
public static Task<GetDomainResult> InvokeAsync(GetDomainArgs args, InvokeOptions? opts = null)
public static Output<GetDomainResult> Invoke(GetDomainInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDomainResult> getDomain(GetDomainArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:domainregistration:getDomain
arguments:
# arguments dictionary
The following arguments are supported:
- Domain
Name string - Name of the domain.
- Resource
Group stringName - Name of the resource group to which the resource belongs.
- Domain
Name string - Name of the domain.
- Resource
Group stringName - Name of the resource group to which the resource belongs.
- domain
Name String - Name of the domain.
- resource
Group StringName - Name of the resource group to which the resource belongs.
- domain
Name string - Name of the domain.
- resource
Group stringName - Name of the resource group to which the resource belongs.
- domain_
name str - Name of the domain.
- resource_
group_ strname - Name of the resource group to which the resource belongs.
- domain
Name String - Name of the domain.
- resource
Group StringName - Name of the resource group to which the resource belongs.
getDomain Result
The following output properties are available:
- Created
Time string - Domain creation timestamp.
- Domain
Not List<string>Renewable Reasons - Reasons why domain is not renewable.
- Expiration
Time string - Domain expiration timestamp.
- Id string
- Resource Id.
- Last
Renewed stringTime - Timestamp when the domain was renewed last time.
- Location string
- Resource Location.
- Managed
Host List<Pulumi.Names Azure Native. Domain Registration. Outputs. Host Name Response> - All hostnames derived from the domain and assigned to Azure resources.
- Name string
- Resource Name.
- Name
Servers List<string> - Name servers.
- Provisioning
State string - Domain provisioning state.
- Ready
For boolDns Record Management - true if Azure can assign this domain to App Service apps; otherwise, false. This value will be true if domain registration status is active and it is hosted on name servers Azure has programmatic access to.
- Registration
Status string - Domain registration status.
- Type string
- Resource type.
- Auth
Code string - Auto
Renew bool - true if the domain should be automatically renewed; otherwise, false.
- Dns
Type string - Current DNS type
- Dns
Zone stringId - Azure DNS Zone to use
- Kind string
- Kind of resource.
- Privacy bool
- true if domain privacy is enabled for this domain; otherwise, false.
- Dictionary<string, string>
- Resource tags.
- Target
Dns stringType - Target DNS type (would be used for migration)
- Created
Time string - Domain creation timestamp.
- Domain
Not []stringRenewable Reasons - Reasons why domain is not renewable.
- Expiration
Time string - Domain expiration timestamp.
- Id string
- Resource Id.
- Last
Renewed stringTime - Timestamp when the domain was renewed last time.
- Location string
- Resource Location.
- Managed
Host []HostNames Name Response - All hostnames derived from the domain and assigned to Azure resources.
- Name string
- Resource Name.
- Name
Servers []string - Name servers.
- Provisioning
State string - Domain provisioning state.
- Ready
For boolDns Record Management - true if Azure can assign this domain to App Service apps; otherwise, false. This value will be true if domain registration status is active and it is hosted on name servers Azure has programmatic access to.
- Registration
Status string - Domain registration status.
- Type string
- Resource type.
- Auth
Code string - Auto
Renew bool - true if the domain should be automatically renewed; otherwise, false.
- Dns
Type string - Current DNS type
- Dns
Zone stringId - Azure DNS Zone to use
- Kind string
- Kind of resource.
- Privacy bool
- true if domain privacy is enabled for this domain; otherwise, false.
- map[string]string
- Resource tags.
- Target
Dns stringType - Target DNS type (would be used for migration)
- created
Time String - Domain creation timestamp.
- domain
Not List<String>Renewable Reasons - Reasons why domain is not renewable.
- expiration
Time String - Domain expiration timestamp.
- id String
- Resource Id.
- last
Renewed StringTime - Timestamp when the domain was renewed last time.
- location String
- Resource Location.
- managed
Host List<HostNames Name Response> - All hostnames derived from the domain and assigned to Azure resources.
- name String
- Resource Name.
- name
Servers List<String> - Name servers.
- provisioning
State String - Domain provisioning state.
- ready
For BooleanDns Record Management - true if Azure can assign this domain to App Service apps; otherwise, false. This value will be true if domain registration status is active and it is hosted on name servers Azure has programmatic access to.
- registration
Status String - Domain registration status.
- type String
- Resource type.
- auth
Code String - auto
Renew Boolean - true if the domain should be automatically renewed; otherwise, false.
- dns
Type String - Current DNS type
- dns
Zone StringId - Azure DNS Zone to use
- kind String
- Kind of resource.
- privacy Boolean
- true if domain privacy is enabled for this domain; otherwise, false.
- Map<String,String>
- Resource tags.
- target
Dns StringType - Target DNS type (would be used for migration)
- created
Time string - Domain creation timestamp.
- domain
Not string[]Renewable Reasons - Reasons why domain is not renewable.
- expiration
Time string - Domain expiration timestamp.
- id string
- Resource Id.
- last
Renewed stringTime - Timestamp when the domain was renewed last time.
- location string
- Resource Location.
- managed
Host HostNames Name Response[] - All hostnames derived from the domain and assigned to Azure resources.
- name string
- Resource Name.
- name
Servers string[] - Name servers.
- provisioning
State string - Domain provisioning state.
- ready
For booleanDns Record Management - true if Azure can assign this domain to App Service apps; otherwise, false. This value will be true if domain registration status is active and it is hosted on name servers Azure has programmatic access to.
- registration
Status string - Domain registration status.
- type string
- Resource type.
- auth
Code string - auto
Renew boolean - true if the domain should be automatically renewed; otherwise, false.
- dns
Type string - Current DNS type
- dns
Zone stringId - Azure DNS Zone to use
- kind string
- Kind of resource.
- privacy boolean
- true if domain privacy is enabled for this domain; otherwise, false.
- {[key: string]: string}
- Resource tags.
- target
Dns stringType - Target DNS type (would be used for migration)
- created_
time str - Domain creation timestamp.
- domain_
not_ Sequence[str]renewable_ reasons - Reasons why domain is not renewable.
- expiration_
time str - Domain expiration timestamp.
- id str
- Resource Id.
- last_
renewed_ strtime - Timestamp when the domain was renewed last time.
- location str
- Resource Location.
- managed_
host_ Sequence[Hostnames Name Response] - All hostnames derived from the domain and assigned to Azure resources.
- name str
- Resource Name.
- name_
servers Sequence[str] - Name servers.
- provisioning_
state str - Domain provisioning state.
- ready_
for_ booldns_ record_ management - true if Azure can assign this domain to App Service apps; otherwise, false. This value will be true if domain registration status is active and it is hosted on name servers Azure has programmatic access to.
- registration_
status str - Domain registration status.
- type str
- Resource type.
- auth_
code str - auto_
renew bool - true if the domain should be automatically renewed; otherwise, false.
- dns_
type str - Current DNS type
- dns_
zone_ strid - Azure DNS Zone to use
- kind str
- Kind of resource.
- privacy bool
- true if domain privacy is enabled for this domain; otherwise, false.
- Mapping[str, str]
- Resource tags.
- target_
dns_ strtype - Target DNS type (would be used for migration)
- created
Time String - Domain creation timestamp.
- domain
Not List<String>Renewable Reasons - Reasons why domain is not renewable.
- expiration
Time String - Domain expiration timestamp.
- id String
- Resource Id.
- last
Renewed StringTime - Timestamp when the domain was renewed last time.
- location String
- Resource Location.
- managed
Host List<Property Map>Names - All hostnames derived from the domain and assigned to Azure resources.
- name String
- Resource Name.
- name
Servers List<String> - Name servers.
- provisioning
State String - Domain provisioning state.
- ready
For BooleanDns Record Management - true if Azure can assign this domain to App Service apps; otherwise, false. This value will be true if domain registration status is active and it is hosted on name servers Azure has programmatic access to.
- registration
Status String - Domain registration status.
- type String
- Resource type.
- auth
Code String - auto
Renew Boolean - true if the domain should be automatically renewed; otherwise, false.
- dns
Type String - Current DNS type
- dns
Zone StringId - Azure DNS Zone to use
- kind String
- Kind of resource.
- privacy Boolean
- true if domain privacy is enabled for this domain; otherwise, false.
- Map<String>
- Resource tags.
- target
Dns StringType - Target DNS type (would be used for migration)
Supporting Types
HostNameResponse
- Azure
Resource stringName - Name of the Azure resource the hostname is assigned to. If it is assigned to a Traffic Manager then it will be the Traffic Manager name otherwise it will be the app name.
- Azure
Resource stringType - Type of the Azure resource the hostname is assigned to.
- Custom
Host stringName Dns Record Type - Type of the DNS record.
- Host
Name stringType - Type of the hostname.
- Name string
- Name of the hostname.
- Site
Names List<string> - List of apps the hostname is assigned to. This list will have more than one app only if the hostname is pointing to a Traffic Manager.
- Azure
Resource stringName - Name of the Azure resource the hostname is assigned to. If it is assigned to a Traffic Manager then it will be the Traffic Manager name otherwise it will be the app name.
- Azure
Resource stringType - Type of the Azure resource the hostname is assigned to.
- Custom
Host stringName Dns Record Type - Type of the DNS record.
- Host
Name stringType - Type of the hostname.
- Name string
- Name of the hostname.
- Site
Names []string - List of apps the hostname is assigned to. This list will have more than one app only if the hostname is pointing to a Traffic Manager.
- azure
Resource StringName - Name of the Azure resource the hostname is assigned to. If it is assigned to a Traffic Manager then it will be the Traffic Manager name otherwise it will be the app name.
- azure
Resource StringType - Type of the Azure resource the hostname is assigned to.
- custom
Host StringName Dns Record Type - Type of the DNS record.
- host
Name StringType - Type of the hostname.
- name String
- Name of the hostname.
- site
Names List<String> - List of apps the hostname is assigned to. This list will have more than one app only if the hostname is pointing to a Traffic Manager.
- azure
Resource stringName - Name of the Azure resource the hostname is assigned to. If it is assigned to a Traffic Manager then it will be the Traffic Manager name otherwise it will be the app name.
- azure
Resource stringType - Type of the Azure resource the hostname is assigned to.
- custom
Host stringName Dns Record Type - Type of the DNS record.
- host
Name stringType - Type of the hostname.
- name string
- Name of the hostname.
- site
Names string[] - List of apps the hostname is assigned to. This list will have more than one app only if the hostname is pointing to a Traffic Manager.
- azure_
resource_ strname - Name of the Azure resource the hostname is assigned to. If it is assigned to a Traffic Manager then it will be the Traffic Manager name otherwise it will be the app name.
- azure_
resource_ strtype - Type of the Azure resource the hostname is assigned to.
- custom_
host_ strname_ dns_ record_ type - Type of the DNS record.
- host_
name_ strtype - Type of the hostname.
- name str
- Name of the hostname.
- site_
names Sequence[str] - List of apps the hostname is assigned to. This list will have more than one app only if the hostname is pointing to a Traffic Manager.
- azure
Resource StringName - Name of the Azure resource the hostname is assigned to. If it is assigned to a Traffic Manager then it will be the Traffic Manager name otherwise it will be the app name.
- azure
Resource StringType - Type of the Azure resource the hostname is assigned to.
- custom
Host StringName Dns Record Type - Type of the DNS record.
- host
Name StringType - Type of the hostname.
- name String
- Name of the hostname.
- site
Names List<String> - List of apps the hostname is assigned to. This list will have more than one app only if the hostname is pointing to a Traffic Manager.
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