- 最新の を する
- 2025-05-01
- 2023-07-01-プレビュー
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'
}
}
プロパティ値
Microsoft.Network/dnsResolverPolicies/dnsSecurityRules
名前 | 形容 | 価値 |
---|---|---|
場所 | リソースが存在する地理的な場所 | string (必須) |
名前 | リソース名 | 糸 制約: 最小長 = 1 最大長 = 80 パターン = ^[a-zA-Z0-9]([a-zA-Z0-9_\-]*[a-zA-Z0-9])?$ (必須) |
親 | Bicep では、子リソースの親リソースを指定できます。 このプロパティを追加する必要があるのは、子リソースが親リソースの外部で宣言されている場合のみです。 詳細については、「親リソース の外部子リソース」を参照してください。 |
種類のリソースのシンボリック名: dnsResolverPolicies |
プロパティ | DNS セキュリティ規則のプロパティ。 | DnsSecurityRuleProperties (必須) |
タグ | リソース タグ | タグ名と値のディクショナリ。 テンプレート の タグを参照してください |
DnsSecurityRuleAction (英語)
名前 | 形容 | 価値 |
---|---|---|
アクションタイプ | 実行するアクションの種類。 | 「アラート」 「許可する」 「ブロック」 |
ブロックレスポンスコード | ブロック アクションの応答コード。 | 「サーブフェイル」 |
DnsSecurityRuleプロパティ
名前 | 形容 | 価値 |
---|---|---|
アクション | DNS セキュリティ規則に一致する DNS 要求に対して実行するアクション。 | DnsSecurityRuleAction (必須) |
dnsリゾルバードメインリスト | DNS リゾルバー ポリシー ドメインには、DNS セキュリティ規則が適用される一覧が表示されます。 | SubResource[] (必須) |
dnsSecurityRuleStateの | DNS セキュリティ規則の状態。 | 「無効」 「有効」 |
優先権 | DNS セキュリティ規則の優先順位。 | int (必須) |
サブリソース
名前 | 形容 | 価値 |
---|---|---|
身分証明書 | リソース ID。 | string (必須) |
追跡リソースタグ
名前 | 形容 | 価値 |
---|
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"
}
}
プロパティ値
Microsoft.Network/dnsResolverPolicies/dnsSecurityRules
名前 | 形容 | 価値 |
---|---|---|
apiVersion (英語) | API のバージョン | 「2023-07-01-プレビュー」 |
場所 | リソースが存在する地理的な場所 | string (必須) |
名前 | リソース名 | 糸 制約: 最小長 = 1 最大長 = 80 パターン = ^[a-zA-Z0-9]([a-zA-Z0-9_\-]*[a-zA-Z0-9])?$ (必須) |
プロパティ | DNS セキュリティ規則のプロパティ。 | DnsSecurityRuleProperties (必須) |
タグ | リソース タグ | タグ名と値のディクショナリ。 テンプレート の タグを参照してください |
種類 | リソースの種類 | 'Microsoft.Network/dnsResolverPolicies/dnsSecurityRules' |
DnsSecurityRuleAction (英語)
名前 | 形容 | 価値 |
---|---|---|
アクションタイプ | 実行するアクションの種類。 | 「アラート」 「許可する」 「ブロック」 |
ブロックレスポンスコード | ブロック アクションの応答コード。 | 「サーブフェイル」 |
DnsSecurityRuleプロパティ
名前 | 形容 | 価値 |
---|---|---|
アクション | DNS セキュリティ規則に一致する DNS 要求に対して実行するアクション。 | DnsSecurityRuleAction (必須) |
dnsリゾルバードメインリスト | DNS リゾルバー ポリシー ドメインには、DNS セキュリティ規則が適用される一覧が表示されます。 | SubResource[] (必須) |
dnsSecurityRuleStateの | DNS セキュリティ規則の状態。 | 「無効」 「有効」 |
優先権 | DNS セキュリティ規則の優先順位。 | int (必須) |
サブリソース
名前 | 形容 | 価値 |
---|---|---|
身分証明書 | リソース ID。 | string (必須) |
追跡リソースタグ
名前 | 形容 | 価値 |
---|
使用例
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"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
action = {
actionType = "string"
blockResponseCode = "string"
}
dnsResolverDomainLists = [
{
id = "string"
}
]
dnsSecurityRuleState = "string"
priority = 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」 |
DnsSecurityRuleAction (英語)
名前 | 形容 | 価値 |
---|---|---|
アクションタイプ | 実行するアクションの種類。 | 「アラート」 「許可する」 「ブロック」 |
ブロックレスポンスコード | ブロック アクションの応答コード。 | 「サーブフェイル」 |
DnsSecurityRuleプロパティ
名前 | 形容 | 価値 |
---|---|---|
アクション | DNS セキュリティ規則に一致する DNS 要求に対して実行するアクション。 | DnsSecurityRuleAction (必須) |
dnsリゾルバードメインリスト | DNS リゾルバー ポリシー ドメインには、DNS セキュリティ規則が適用される一覧が表示されます。 | SubResource[] (必須) |
dnsSecurityRuleStateの | DNS セキュリティ規則の状態。 | 「無効」 「有効」 |
優先権 | DNS セキュリティ規則の優先順位。 | int (必須) |
サブリソース
名前 | 形容 | 価値 |
---|---|---|
身分証明書 | リソース ID。 | string (必須) |
追跡リソースタグ
名前 | 形容 | 価値 |
---|