Bicep 리소스 정의
emailServices/domains/senderUsernames 리소스 종류는 다음을 대상으로 하는 작업으로 배포할 수 있습니다.
Resource groups -자원 그룹 배치 명령
각 API 버전에서 변경된 속성 목록은 변경 로그참조하세요.
사용 예제
Bicep 샘플
Communication Email Services 도메인 보낸 사람 사용자 이름을 배포하는 기본 예입니다.
param resourceName string = 'acctest0001'
param location string = 'westeurope'
resource emailService 'Microsoft.Communication/emailServices@2023-04-01-preview' = {
name: resourceName
location: 'global'
properties: {
dataLocation: 'United States'
}
}
resource domain 'Microsoft.Communication/emailServices/domains@2023-04-01-preview' = {
name: 'example.com'
location: 'global'
parent: emailService
properties: {
domainManagement: 'CustomerManaged'
userEngagementTracking: 'Disabled'
}
}
resource senderUsername 'Microsoft.Communication/emailServices/domains/senderUsernames@2023-04-01-preview' = {
name: 'TestSenderUserName'
parent: domain
properties: {
displayName: 'TestDisplayName'
username: 'TestSenderUserName'
}
}
Azure 확인된 모듈
다음 Azure 확인된 모듈 사용하여 이 리소스 유형을 배포할 수 있습니다.
| Module | 설명 |
|---|---|
| 이메일 통신 서비스 - 도메인 - 발신자 사용자 이름 | AVM 자식 모듈 - 도메인 - 발신자 사용자 이름 |
리소스 형식
Microsoft.Communication/emailServices/domains/senderUsernames 리소스를 만들려면 템플릿에 다음 Bicep을 추가합니다.
resource symbolicname 'Microsoft.Communication/emailServices/domains/senderUsernames@2026-03-18' = {
parent: resourceSymbolicName
name: 'string'
properties: {
displayName: 'string'
username: 'string'
}
}
속성 값
Microsoft.Communication/emailServices/domains/senderUsernames
| 이름 | 설명 | 가치 |
|---|---|---|
| 이름 | 리소스 이름 | 문자열 제약 조건: 최소 길이 = 1 최대 길이 = 253(필수) |
| parent | Bicep에서 자식 리소스에 대한 부모 리소스를 지정할 수 있습니다. 자식 리소스가 부모 리소스 외부에서 선언된 경우에만 이 속성을 추가해야 합니다. 자세한 내용은 Child 리소스 outside parent resource를 참조하세요. |
유형의 리소스에 대한 기호 이름: emailServices/domains |
| 속성 | SenderUsername 리소스의 속성입니다. | SenderUsernameProperties |
SenderUsernameProperties
| 이름 | 설명 | 가치 |
|---|---|---|
| displayName | senderUsername의 표시 이름입니다. | 문자열 |
| 사용자 이름 | 전자 메일을 보낼 때 사용할 보낸 사람 SenderUsername입니다. | string(필수) |
ARM 템플릿 리소스 정의
emailServices/domains/senderUsernames 리소스 종류는 다음을 대상으로 하는 작업으로 배포할 수 있습니다.
- 리소스 그룹 - 리소스 그룹 배포 명령 어를 참조하세요. 각 API 버전에서 변경된 속성 목록은 변경 로그를 참조하세요.
사용 예제
리소스 형식
Microsoft.Communication/emailServices/domains/senderUsernames 리소스를 만들려면 템플릿에 다음 JSON을 추가합니다.
{
"type": "Microsoft.Communication/emailServices/domains/senderUsernames",
"apiVersion": "2026-03-18",
"name": "string",
"properties": {
"displayName": "string",
"username": "string"
}
}
속성 값
Microsoft.Communication/emailServices/domains/senderUsernames
| 이름 | 설명 | 가치 |
|---|---|---|
| API버전 | api 버전 | '2026-03-18' |
| 이름 | 리소스 이름 | 문자열 제약 조건: 최소 길이 = 1 최대 길이 = 253(필수) |
| 속성 | SenderUsername 리소스의 속성입니다. | SenderUsernameProperties |
| 유형 | 리소스 종류 | 'Microsoft.Communication/emailServices/domains/senderUsernames' |
SenderUsernameProperties
| 이름 | 설명 | 가치 |
|---|---|---|
| displayName | senderUsername의 표시 이름입니다. | 문자열 |
| 사용자 이름 | 전자 메일을 보낼 때 사용할 보낸 사람 SenderUsername입니다. | string(필수) |
Terraform(AzAPI 공급자) 리소스 정의
emailServices/domains/senderUsernames 리소스 종류는 다음을 대상으로 하는 작업으로 배포할 수 있습니다.
- 자원 그룹 각 API 버전에서 변경된 속성 목록은 변경 로그를 참조하세요.
사용 예제
Terraform 샘플
Communication Email Services 도메인 보낸 사람 사용자 이름을 배포하는 기본 예입니다.
terraform {
required_providers {
azapi = {
source = "Azure/azapi"
}
}
}
provider "azapi" {
skip_provider_registration = false
}
variable "resource_name" {
type = string
default = "acctest0001"
}
variable "location" {
type = string
default = "westeurope"
}
resource "azapi_resource" "resourceGroup" {
type = "Microsoft.Resources/resourceGroups@2020-06-01"
name = var.resource_name
location = var.location
}
resource "azapi_resource" "emailService" {
type = "Microsoft.Communication/emailServices@2023-04-01-preview"
parent_id = azapi_resource.resourceGroup.id
name = var.resource_name
location = "global"
body = {
properties = {
dataLocation = "United States"
}
}
schema_validation_enabled = false
response_export_values = ["*"]
}
resource "azapi_resource" "domain" {
type = "Microsoft.Communication/emailServices/domains@2023-04-01-preview"
name = "example.com"
location = "global"
parent_id = azapi_resource.emailService.id
tags = {
env = "Test"
}
body = {
properties = {
domainManagement = "CustomerManaged"
userEngagementTracking = "Disabled"
}
}
}
resource "azapi_resource" "senderUsername" {
type = "Microsoft.Communication/emailServices/domains/senderUsernames@2023-04-01-preview"
name = "TestSenderUserName"
parent_id = azapi_resource.domain.id
body = {
properties = {
displayName = "TestDisplayName"
username = "TestSenderUserName"
}
}
}
리소스 형식
Microsoft.Communication/emailServices/domains/senderUsernames 리소스를 만들려면 템플릿에 다음 Terraform을 추가합니다.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Communication/emailServices/domains/senderUsernames@2026-03-18"
name = "string"
parent_id = "string"
body = {
properties = {
displayName = "string"
username = "string"
}
}
}
속성 값
Microsoft.Communication/emailServices/domains/senderUsernames
| 이름 | 설명 | 가치 |
|---|---|---|
| 이름 | 리소스 이름 | 문자열 제약 조건: 최소 길이 = 1 최대 길이 = 253(필수) |
| parent_id | 이 리소스의 부모인 리소스의 ID입니다. | 유형의 리소스 ID: emailServices/domains |
| 속성 | SenderUsername 리소스의 속성입니다. | SenderUsernameProperties |
| 유형 | 리소스 종류 | "Microsoft.Communication/emailServices/domains/senderUsernames@2026-03-18" |
SenderUsernameProperties
| 이름 | 설명 | 가치 |
|---|---|---|
| displayName | senderUsername의 표시 이름입니다. | 문자열 |
| 사용자 이름 | 전자 메일을 보낼 때 사용할 보낸 사람 SenderUsername입니다. | string(필수) |