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.communication.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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Get the Domains resource and its properties. Azure REST API version: 2023-03-31.
Other available API versions: 2022-07-01-preview, 2023-04-01, 2023-04-01-preview, 2023-06-01-preview, 2024-09-01-preview.
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,
               email_service_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,
               email_service_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)
public static Output<GetDomainResult> getDomain(GetDomainArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:communication:getDomain
  arguments:
    # arguments dictionaryThe following arguments are supported:
- DomainName string
- The name of the Domains resource.
- EmailService stringName 
- The name of the EmailService resource.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- DomainName string
- The name of the Domains resource.
- EmailService stringName 
- The name of the EmailService resource.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- domainName String
- The name of the Domains resource.
- emailService StringName 
- The name of the EmailService resource.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- domainName string
- The name of the Domains resource.
- emailService stringName 
- The name of the EmailService resource.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- domain_name str
- The name of the Domains resource.
- email_service_ strname 
- The name of the EmailService resource.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- domainName String
- The name of the Domains resource.
- emailService StringName 
- The name of the EmailService resource.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
getDomain Result
The following output properties are available:
- DataLocation string
- The location where the Domains resource data is stored at rest.
- DomainManagement string
- Describes how a Domains resource is being managed.
- FromSender stringDomain 
- P2 sender domain that is displayed to the email recipients [RFC 5322].
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Location string
- The geo-location where the resource lives
- MailFrom stringSender Domain 
- P1 sender domain that is present on the email envelope [RFC 5321].
- Name string
- The name of the resource
- ProvisioningState string
- Provisioning state of the resource.
- SystemData Pulumi.Azure Native. Communication. Outputs. System Data Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- VerificationRecords Pulumi.Azure Native. Communication. Outputs. Domain Properties Response Verification Records 
- List of DnsRecord
- VerificationStates Pulumi.Azure Native. Communication. Outputs. Domain Properties Response Verification States 
- List of VerificationStatusRecord
- Dictionary<string, string>
- Resource tags.
- UserEngagement stringTracking 
- Describes whether user engagement tracking is enabled or disabled.
- DataLocation string
- The location where the Domains resource data is stored at rest.
- DomainManagement string
- Describes how a Domains resource is being managed.
- FromSender stringDomain 
- P2 sender domain that is displayed to the email recipients [RFC 5322].
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Location string
- The geo-location where the resource lives
- MailFrom stringSender Domain 
- P1 sender domain that is present on the email envelope [RFC 5321].
- Name string
- The name of the resource
- ProvisioningState string
- Provisioning state of the resource.
- SystemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- VerificationRecords DomainProperties Response Verification Records 
- List of DnsRecord
- VerificationStates DomainProperties Response Verification States 
- List of VerificationStatusRecord
- map[string]string
- Resource tags.
- UserEngagement stringTracking 
- Describes whether user engagement tracking is enabled or disabled.
- dataLocation String
- The location where the Domains resource data is stored at rest.
- domainManagement String
- Describes how a Domains resource is being managed.
- fromSender StringDomain 
- P2 sender domain that is displayed to the email recipients [RFC 5322].
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location String
- The geo-location where the resource lives
- mailFrom StringSender Domain 
- P1 sender domain that is present on the email envelope [RFC 5321].
- name String
- The name of the resource
- provisioningState String
- Provisioning state of the resource.
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- verificationRecords DomainProperties Response Verification Records 
- List of DnsRecord
- verificationStates DomainProperties Response Verification States 
- List of VerificationStatusRecord
- Map<String,String>
- Resource tags.
- userEngagement StringTracking 
- Describes whether user engagement tracking is enabled or disabled.
- dataLocation string
- The location where the Domains resource data is stored at rest.
- domainManagement string
- Describes how a Domains resource is being managed.
- fromSender stringDomain 
- P2 sender domain that is displayed to the email recipients [RFC 5322].
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location string
- The geo-location where the resource lives
- mailFrom stringSender Domain 
- P1 sender domain that is present on the email envelope [RFC 5321].
- name string
- The name of the resource
- provisioningState string
- Provisioning state of the resource.
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- verificationRecords DomainProperties Response Verification Records 
- List of DnsRecord
- verificationStates DomainProperties Response Verification States 
- List of VerificationStatusRecord
- {[key: string]: string}
- Resource tags.
- userEngagement stringTracking 
- Describes whether user engagement tracking is enabled or disabled.
- data_location str
- The location where the Domains resource data is stored at rest.
- domain_management str
- Describes how a Domains resource is being managed.
- from_sender_ strdomain 
- P2 sender domain that is displayed to the email recipients [RFC 5322].
- id str
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location str
- The geo-location where the resource lives
- mail_from_ strsender_ domain 
- P1 sender domain that is present on the email envelope [RFC 5321].
- name str
- The name of the resource
- provisioning_state str
- Provisioning state of the resource.
- system_data SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- verification_records DomainProperties Response Verification Records 
- List of DnsRecord
- verification_states DomainProperties Response Verification States 
- List of VerificationStatusRecord
- Mapping[str, str]
- Resource tags.
- user_engagement_ strtracking 
- Describes whether user engagement tracking is enabled or disabled.
- dataLocation String
- The location where the Domains resource data is stored at rest.
- domainManagement String
- Describes how a Domains resource is being managed.
- fromSender StringDomain 
- P2 sender domain that is displayed to the email recipients [RFC 5322].
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location String
- The geo-location where the resource lives
- mailFrom StringSender Domain 
- P1 sender domain that is present on the email envelope [RFC 5321].
- name String
- The name of the resource
- provisioningState String
- Provisioning state of the resource.
- systemData Property Map
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- verificationRecords Property Map
- List of DnsRecord
- verificationStates Property Map
- List of VerificationStatusRecord
- Map<String>
- Resource tags.
- userEngagement StringTracking 
- Describes whether user engagement tracking is enabled or disabled.
Supporting Types
DnsRecordResponse  
DomainPropertiesResponseVerificationRecords    
- DKIM
Pulumi.Azure Native. Communication. Inputs. Dns Record Response 
- A class that represents a VerificationStatus record.
- DKIM2
Pulumi.Azure Native. Communication. Inputs. Dns Record Response 
- A class that represents a VerificationStatus record.
- DMARC
Pulumi.Azure Native. Communication. Inputs. Dns Record Response 
- A class that represents a VerificationStatus record.
- Domain
Pulumi.Azure Native. Communication. Inputs. Dns Record Response 
- A class that represents a VerificationStatus record.
- SPF
Pulumi.Azure Native. Communication. Inputs. Dns Record Response 
- A class that represents a VerificationStatus record.
- DKIM
DnsRecord Response 
- A class that represents a VerificationStatus record.
- DKIM2
DnsRecord Response 
- A class that represents a VerificationStatus record.
- DMARC
DnsRecord Response 
- A class that represents a VerificationStatus record.
- Domain
DnsRecord Response 
- A class that represents a VerificationStatus record.
- SPF
DnsRecord Response 
- A class that represents a VerificationStatus record.
- dKIM DnsRecord Response 
- A class that represents a VerificationStatus record.
- dKIM2 DnsRecord Response 
- A class that represents a VerificationStatus record.
- dMARC DnsRecord Response 
- A class that represents a VerificationStatus record.
- domain
DnsRecord Response 
- A class that represents a VerificationStatus record.
- sPF DnsRecord Response 
- A class that represents a VerificationStatus record.
- dKIM DnsRecord Response 
- A class that represents a VerificationStatus record.
- dKIM2 DnsRecord Response 
- A class that represents a VerificationStatus record.
- dMARC DnsRecord Response 
- A class that represents a VerificationStatus record.
- domain
DnsRecord Response 
- A class that represents a VerificationStatus record.
- sPF DnsRecord Response 
- A class that represents a VerificationStatus record.
- d_kim DnsRecord Response 
- A class that represents a VerificationStatus record.
- d_kim2 DnsRecord Response 
- A class that represents a VerificationStatus record.
- d_marc DnsRecord Response 
- A class that represents a VerificationStatus record.
- domain
DnsRecord Response 
- A class that represents a VerificationStatus record.
- s_pf DnsRecord Response 
- A class that represents a VerificationStatus record.
- dKIM Property Map
- A class that represents a VerificationStatus record.
- dKIM2 Property Map
- A class that represents a VerificationStatus record.
- dMARC Property Map
- A class that represents a VerificationStatus record.
- domain Property Map
- A class that represents a VerificationStatus record.
- sPF Property Map
- A class that represents a VerificationStatus record.
DomainPropertiesResponseVerificationStates    
- DKIM
Pulumi.Azure Native. Communication. Inputs. Verification Status Record Response 
- A class that represents a VerificationStatus record.
- DKIM2
Pulumi.Azure Native. Communication. Inputs. Verification Status Record Response 
- A class that represents a VerificationStatus record.
- DMARC
Pulumi.Azure Native. Communication. Inputs. Verification Status Record Response 
- A class that represents a VerificationStatus record.
- Domain
Pulumi.Azure Native. Communication. Inputs. Verification Status Record Response 
- A class that represents a VerificationStatus record.
- SPF
Pulumi.Azure Native. Communication. Inputs. Verification Status Record Response 
- A class that represents a VerificationStatus record.
- DKIM
VerificationStatus Record Response 
- A class that represents a VerificationStatus record.
- DKIM2
VerificationStatus Record Response 
- A class that represents a VerificationStatus record.
- DMARC
VerificationStatus Record Response 
- A class that represents a VerificationStatus record.
- Domain
VerificationStatus Record Response 
- A class that represents a VerificationStatus record.
- SPF
VerificationStatus Record Response 
- A class that represents a VerificationStatus record.
- dKIM VerificationStatus Record Response 
- A class that represents a VerificationStatus record.
- dKIM2 VerificationStatus Record Response 
- A class that represents a VerificationStatus record.
- dMARC VerificationStatus Record Response 
- A class that represents a VerificationStatus record.
- domain
VerificationStatus Record Response 
- A class that represents a VerificationStatus record.
- sPF VerificationStatus Record Response 
- A class that represents a VerificationStatus record.
- dKIM VerificationStatus Record Response 
- A class that represents a VerificationStatus record.
- dKIM2 VerificationStatus Record Response 
- A class that represents a VerificationStatus record.
- dMARC VerificationStatus Record Response 
- A class that represents a VerificationStatus record.
- domain
VerificationStatus Record Response 
- A class that represents a VerificationStatus record.
- sPF VerificationStatus Record Response 
- A class that represents a VerificationStatus record.
- d_kim VerificationStatus Record Response 
- A class that represents a VerificationStatus record.
- d_kim2 VerificationStatus Record Response 
- A class that represents a VerificationStatus record.
- d_marc VerificationStatus Record Response 
- A class that represents a VerificationStatus record.
- domain
VerificationStatus Record Response 
- A class that represents a VerificationStatus record.
- s_pf VerificationStatus Record Response 
- A class that represents a VerificationStatus record.
- dKIM Property Map
- A class that represents a VerificationStatus record.
- dKIM2 Property Map
- A class that represents a VerificationStatus record.
- dMARC Property Map
- A class that represents a VerificationStatus record.
- domain Property Map
- A class that represents a VerificationStatus record.
- sPF Property Map
- A class that represents a VerificationStatus record.
SystemDataResponse  
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified 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.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
VerificationStatusRecordResponse   
- error_code str
- Error code. This property will only be present if the status is UnableToVerify.
- status str
- Status of the verification operation.
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