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.domainregistration.getDomain
Explore with Pulumi AI
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
Get a domain. API Version: 2020-10-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.
- System
Data Pulumi.Azure Native. Domain Registration. Outputs. System Data Response - The system metadata relating to this resource.
- 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.
- System
Data SystemData Response - The system metadata relating to this resource.
- 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.
- system
Data SystemData Response - The system metadata relating to this resource.
- 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.
- system
Data SystemData Response - The system metadata relating to this resource.
- 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.
- system_
data SystemData Response - The system metadata relating to this resource.
- 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.
- system
Data Property Map - The system metadata relating to this resource.
- 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.
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
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