Microsoft.Network dnsResolverPolicies/dnsSecurityRules 2023-07-01-preview
Bicep 리소스 정의
dnsResolverPolicies/dnsSecurityRules 리소스 형식은 다음을 대상으로 하는 작업과 함께 배포할 수 있습니다.
- 리소스 그룹 - 리소스 그룹 배포 명령 참조
각 API 버전에서 변경된 속성 목록은 변경 로그참조하세요.
리소스 형식
Microsoft.Network/dnsResolverPolicies/dnsSecurityRules 리소스를 만들려면 템플릿에 다음 Bicep을 추가합니다.
resource symbolicname 'Microsoft.Network/dnsResolverPolicies/dnsSecurityRules@2023-07-01-preview' = {
parent: resourceSymbolicName
location: 'string'
name: 'string'
properties: {
action: {
actionType: 'string'
blockResponseCode: 'string'
}
dnsResolverDomainLists: [
{
id: 'string'
}
]
dnsSecurityRuleState: 'string'
priority: int
}
tags: {
{customized property}: 'string'
}
}
속성 값
DnsSecurityRuleAction
이름 | 묘사 | 값 |
---|---|---|
actionType | 수행할 작업 유형입니다. | '경고' '허용' 'Block' |
blockResponseCode | 블록 작업에 대한 응답 코드입니다. | 'SERVFAIL' |
DnsSecurityRuleProperties
이름 | 묘사 | 값 |
---|---|---|
행동 | DNS 보안 규칙과 일치하는 DNS 요청에 대해 수행할 작업입니다. | dnsSecurityRuleAction (필수) |
dnsResolverDomainLists | DNS 확인자 정책 도메인은 DNS 보안 규칙이 적용되는 것을 나열합니다. | SubResource[] (필수) |
dnsSecurityRuleState | DNS 보안 규칙의 상태입니다. | '사용 안 함' 'Enabled' |
우선권 | DNS 보안 규칙의 우선 순위입니다. | int(필수) |
Microsoft.Network/dnsResolverPolicies/dnsSecurityRules
이름 | 묘사 | 값 |
---|---|---|
위치 | 리소스가 있는 지리적 위치 | string(필수) |
이름 | 리소스 이름 | 문자열 제약 조건: 최소 길이 = 1 최대 길이 = 80 패턴 = ^[a-zA-Z0-9]([a-zA-Z0-9_\-]*[a-zA-Z0-9])?$ (필수) |
부모 | Bicep에서 자식 리소스에 대한 부모 리소스를 지정할 수 있습니다. 자식 리소스가 부모 리소스 외부에서 선언된 경우에만 이 속성을 추가해야 합니다. 자세한 내용은 부모 리소스 외부의 자식 리소스참조하세요. |
형식 리소스의 기호 이름: dnsResolverPolicies |
속성 | DNS 보안 규칙의 속성입니다. | dnsSecurityRuleProperties (필수) |
태그 | 리소스 태그 | 태그 이름 및 값의 사전입니다. 템플릿 태그를 참조하세요. |
SubResource
이름 | 묘사 | 값 |
---|---|---|
아이디 | 리소스 ID입니다. | string(필수) |
TrackedResourceTags
이름 | 묘사 | 값 |
---|
ARM 템플릿 리소스 정의
dnsResolverPolicies/dnsSecurityRules 리소스 형식은 다음을 대상으로 하는 작업과 함께 배포할 수 있습니다.
- 리소스 그룹 - 리소스 그룹 배포 명령 참조
각 API 버전에서 변경된 속성 목록은 변경 로그참조하세요.
리소스 형식
Microsoft.Network/dnsResolverPolicies/dnsSecurityRules 리소스를 만들려면 템플릿에 다음 JSON을 추가합니다.
{
"type": "Microsoft.Network/dnsResolverPolicies/dnsSecurityRules",
"apiVersion": "2023-07-01-preview",
"name": "string",
"location": "string",
"properties": {
"action": {
"actionType": "string",
"blockResponseCode": "string"
},
"dnsResolverDomainLists": [
{
"id": "string"
}
],
"dnsSecurityRuleState": "string",
"priority": "int"
},
"tags": {
"{customized property}": "string"
}
}
속성 값
DnsSecurityRuleAction
이름 | 묘사 | 값 |
---|---|---|
actionType | 수행할 작업 유형입니다. | '경고' '허용' 'Block' |
blockResponseCode | 블록 작업에 대한 응답 코드입니다. | 'SERVFAIL' |
DnsSecurityRuleProperties
이름 | 묘사 | 값 |
---|---|---|
행동 | DNS 보안 규칙과 일치하는 DNS 요청에 대해 수행할 작업입니다. | dnsSecurityRuleAction (필수) |
dnsResolverDomainLists | DNS 확인자 정책 도메인은 DNS 보안 규칙이 적용되는 것을 나열합니다. | SubResource[] (필수) |
dnsSecurityRuleState | DNS 보안 규칙의 상태입니다. | '사용 안 함' 'Enabled' |
우선권 | DNS 보안 규칙의 우선 순위입니다. | int(필수) |
Microsoft.Network/dnsResolverPolicies/dnsSecurityRules
SubResource
이름 | 묘사 | 값 |
---|---|---|
아이디 | 리소스 ID입니다. | string(필수) |
TrackedResourceTags
이름 | 묘사 | 값 |
---|
사용 예제
Terraform(AzAPI 공급자) 리소스 정의
dnsResolverPolicies/dnsSecurityRules 리소스 형식은 다음을 대상으로 하는 작업과 함께 배포할 수 있습니다.
- 리소스 그룹
각 API 버전에서 변경된 속성 목록은 변경 로그참조하세요.
리소스 형식
Microsoft.Network/dnsResolverPolicies/dnsSecurityRules 리소스를 만들려면 템플릿에 다음 Terraform을 추가합니다.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Network/dnsResolverPolicies/dnsSecurityRules@2023-07-01-preview"
name = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
action = {
actionType = "string"
blockResponseCode = "string"
}
dnsResolverDomainLists = [
{
id = "string"
}
]
dnsSecurityRuleState = "string"
priority = int
}
}
}
속성 값
DnsSecurityRuleAction
이름 | 묘사 | 값 |
---|---|---|
actionType | 수행할 작업 유형입니다. | '경고' '허용' 'Block' |
blockResponseCode | 블록 작업에 대한 응답 코드입니다. | 'SERVFAIL' |
DnsSecurityRuleProperties
이름 | 묘사 | 값 |
---|---|---|
행동 | DNS 보안 규칙과 일치하는 DNS 요청에 대해 수행할 작업입니다. | dnsSecurityRuleAction (필수) |
dnsResolverDomainLists | DNS 확인자 정책 도메인은 DNS 보안 규칙이 적용되는 것을 나열합니다. | SubResource[] (필수) |
dnsSecurityRuleState | DNS 보안 규칙의 상태입니다. | '사용 안 함' 'Enabled' |
우선권 | DNS 보안 규칙의 우선 순위입니다. | int(필수) |
Microsoft.Network/dnsResolverPolicies/dnsSecurityRules
이름 | 묘사 | 값 |
---|---|---|
위치 | 리소스가 있는 지리적 위치 | string(필수) |
이름 | 리소스 이름 | 문자열 제약 조건: 최소 길이 = 1 최대 길이 = 80 패턴 = ^[a-zA-Z0-9]([a-zA-Z0-9_\-]*[a-zA-Z0-9])?$ (필수) |
parent_id | 이 리소스의 부모인 리소스의 ID입니다. | 형식의 리소스에 대한 ID: dnsResolverPolicies |
속성 | DNS 보안 규칙의 속성입니다. | dnsSecurityRuleProperties (필수) |
태그 | 리소스 태그 | 태그 이름 및 값의 사전입니다. |
형 | 리소스 종류 | "Microsoft.Network/dnsResolverPolicies/dnsSecurityRules@2023-07-01-preview" |
SubResource
이름 | 묘사 | 값 |
---|---|---|
아이디 | 리소스 ID입니다. | string(필수) |
TrackedResourceTags
이름 | 묘사 | 값 |
---|