Microsoft.Network dnsResolverPolicies/dnsSecurityRules 2023-07-01-preview
- 最新の を する
- 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 | 実行するアクションの種類。 | 'Alert' 'Allow' 'Block' |
blockResponseCode | ブロック アクションの応答コード。 | 'SERVFAIL' |
DnsSecurityRuleProperties
名前 | 形容 | 価値 |
---|---|---|
アクション | DNS セキュリティ規則に一致する DNS 要求に対して実行するアクション。 | DnsSecurityRuleAction (必須) |
dnsResolverDomainLists | DNS リゾルバー ポリシー ドメインには、DNS セキュリティ規則が適用される一覧が表示されます。 | SubResource[] (必須) |
dnsSecurityRuleState | DNS セキュリティ規則の状態。 | 'Disabled' '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 | 実行するアクションの種類。 | 'Alert' 'Allow' 'Block' |
blockResponseCode | ブロック アクションの応答コード。 | 'SERVFAIL' |
DnsSecurityRuleProperties
名前 | 形容 | 価値 |
---|---|---|
アクション | DNS セキュリティ規則に一致する DNS 要求に対して実行するアクション。 | DnsSecurityRuleAction (必須) |
dnsResolverDomainLists | DNS リゾルバー ポリシー ドメインには、DNS セキュリティ規則が適用される一覧が表示されます。 | SubResource[] (必須) |
dnsSecurityRuleState | DNS セキュリティ規則の状態。 | 'Disabled' 'Enabled' |
優先権 | DNS セキュリティ規則の優先順位。 | int (必須) |
Microsoft.Network/dnsResolverPolicies/dnsSecurityRules
名前 | 形容 | 価値 |
---|---|---|
apiVersion | API のバージョン | '2023-07-01-preview' |
場所 | リソースが存在する地理的な場所 | string (必須) |
名前 | リソース名 | 糸 制約: 最小長 = 1 最大長 = 80 パターン = ^[a-zA-Z0-9]([a-zA-Z0-9_\-]*[a-zA-Z0-9])?$ (必須) |
プロパティ | DNS セキュリティ規則のプロパティ。 | DnsSecurityRuleProperties (必須) |
タグ | リソース タグ | タグ名と値のディクショナリ。 テンプレート の タグを参照してください |
種類 | リソースの種類 | '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 = jsonencode({
properties = {
action = {
actionType = "string"
blockResponseCode = "string"
}
dnsResolverDomainLists = [
{
id = "string"
}
]
dnsSecurityRuleState = "string"
priority = int
}
})
}
プロパティ値
DnsSecurityRuleAction
名前 | 形容 | 価値 |
---|---|---|
actionType | 実行するアクションの種類。 | 'Alert' 'Allow' 'Block' |
blockResponseCode | ブロック アクションの応答コード。 | 'SERVFAIL' |
DnsSecurityRuleProperties
名前 | 形容 | 価値 |
---|---|---|
アクション | DNS セキュリティ規則に一致する DNS 要求に対して実行するアクション。 | DnsSecurityRuleAction (必須) |
dnsResolverDomainLists | DNS リゾルバー ポリシー ドメインには、DNS セキュリティ規則が適用される一覧が表示されます。 | SubResource[] (必須) |
dnsSecurityRuleState | DNS セキュリティ規則の状態。 | 'Disabled' '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
名前 | 形容 | 価値 |
---|