Microsoft.Network networkManagers/securityAdminConfigurations/ruleCollections/rules 2022-05-01
Bicep リソース定義
networkManagers/securityAdminConfigurations/ruleCollections/rules リソースの種類は、次を対象とする操作でデプロイできます。
- リソース グループ - リソース グループのデプロイ コマンドに関するページを参照してください
各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。
リソース形式
Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules リソースを作成するには、次の Bicep をテンプレートに追加します。
resource symbolicname 'Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules@2022-05-01' = {
name: 'string'
kind: 'string'
parent: resourceSymbolicName
// For remaining properties, see networkManagers/securityAdminConfigurations/ruleCollections/rules objects
}
networkManagers/securityAdminConfigurations/ruleCollections/rules オブジェクト
kind プロパティを設定して、オブジェクトの種類を指定します。
[カスタム] には、次の値を使用します。
kind: 'Custom'
properties: {
access: 'string'
description: 'string'
destinationPortRanges: [
'string'
]
destinations: [
{
addressPrefix: 'string'
addressPrefixType: 'string'
}
]
direction: 'string'
priority: int
protocol: 'string'
sourcePortRanges: [
'string'
]
sources: [
{
addressPrefix: 'string'
addressPrefixType: 'string'
}
]
}
[既定値] には、次の値を使用します。
kind: 'Default'
properties: {
flag: 'string'
}
プロパティ値
networkManagers/securityAdminConfigurations/ruleColl...
名前 | 説明 | 値 |
---|---|---|
name | リソース名 Bicep で子リソースの名前と型を設定する方法を参照してください。 |
string (必須) |
kind | オブジェクトの種類を設定する | Custom 既定値 (必須) |
parent | Bicep では、子リソースの親リソースを指定できます。 このプロパティを追加する必要があるのは、子リソースが親リソースの外部で宣言されている場合のみです。 詳細については、「 親リソースの外部にある子リソース」を参照してください。 |
種類のリソースのシンボル名: ruleCollections |
AdminRule
名前 | 説明 | 値 |
---|---|---|
kind | ルールがカスタムか既定か。 | 'Custom' (必須) |
properties | セキュリティ管理規則のプロパティを示します | AdminPropertiesFormat |
AdminPropertiesFormat
名前 | 説明 | 値 |
---|---|---|
access | この特定のルールに対して許可されているアクセス権を示します | 'Allow' 'AlwaysAllow' 'Deny' (必須) |
description | この規則の説明。 140 文字に制限されています。 | string |
destinationPortRanges | 宛先ポート範囲。 | string[] |
destinations | 宛先アドレス プレフィックス。 CIDR または宛先 IP 範囲。 | AddressPrefixItem[] |
方向 | トラフィックが受信または送信のルールと一致したかどうかを示します。 | 'Inbound' '送信' (必須) |
priority | ルールの優先度。 値は 1 ~ 4096 です。 優先度番号は、コレクション内のルールごとに一意である必要があります。 優先度番号が低いほど、規則の優先度が高くなります。 | int (必須) 制約: 最小値 = 1 最大値 = 4096 |
protocol | この規則が適用されるネットワーク プロトコル。 | 'Ah' 'Any' 'Esp' 'Icmp' 'Tcp' 'Udp' (必須) |
sourcePortRanges | ソース ポートの範囲。 | string[] |
sources | CIDR またはソース IP 範囲。 | AddressPrefixItem[] |
AddressPrefixItem
名前 | 説明 | 値 |
---|---|---|
addressPrefix | アドレス プレフィックス。 | string |
addressPrefixType | アドレス プレフィックスの種類。 | 'IPPrefix' 'ServiceTag' |
DefaultAdminRule
名前 | 説明 | 値 |
---|---|---|
kind | ルールがカスタムか既定か。 | 'Default' (必須) |
properties | セキュリティ管理ルールのプロパティを示します | DefaultAdminPropertiesFormat |
DefaultAdminPropertiesFormat
名前 | 説明 | 値 |
---|---|---|
flag | 既定のルール フラグ。 | string |
ARM テンプレート リソース定義
networkManagers/securityAdminConfigurations/ruleCollections/rules リソースの種類は、次を対象とする操作でデプロイできます。
- リソース グループ - リソース グループのデプロイ コマンドを参照してください
各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。
リソース形式
Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules リソースを作成するには、テンプレートに次の JSON を追加します。
{
"type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules",
"apiVersion": "2022-05-01",
"name": "string",
"kind": "string",
// For remaining properties, see networkManagers/securityAdminConfigurations/ruleCollections/rules objects
}
networkManagers/securityAdminConfigurations/ruleCollections/rules オブジェクト
kind プロパティを設定して、オブジェクトの種類を指定します。
Custom の場合は、次の値を使用します。
"kind": "Custom",
"properties": {
"access": "string",
"description": "string",
"destinationPortRanges": [ "string" ],
"destinations": [
{
"addressPrefix": "string",
"addressPrefixType": "string"
}
],
"direction": "string",
"priority": "int",
"protocol": "string",
"sourcePortRanges": [ "string" ],
"sources": [
{
"addressPrefix": "string",
"addressPrefixType": "string"
}
]
}
[既定値] には、次の値を使用します。
"kind": "Default",
"properties": {
"flag": "string"
}
プロパティ値
networkManagers/securityAdminConfigurations/ruleColl...
名前 | 説明 | 値 |
---|---|---|
type | リソースの種類 | 'Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules' |
apiVersion | リソース API のバージョン | '2022-05-01' |
name | リソース名 JSON ARM テンプレートで子リソースの名前と型を設定する方法を参照してください。 |
string (必須) |
kind | オブジェクトの種類を設定する | Custom 既定値 (必須) |
AdminRule
名前 | 説明 | 値 |
---|---|---|
kind | ルールがカスタムか既定か。 | 'Custom' (必須) |
properties | セキュリティ管理ルールのプロパティを示します | AdminPropertiesFormat |
AdminPropertiesFormat
名前 | 説明 | 値 |
---|---|---|
access | この特定のルールに対して許可されるアクセスを示します | 'Allow' 'AlwaysAllow' 'Deny' (必須) |
description | この規則の説明。 140 文字に制限されています。 | string |
destinationPortRanges | 宛先ポート範囲。 | string[] |
destinations | 宛先アドレス プレフィックス。 CIDR または宛先 IP 範囲。 | AddressPrefixItem[] |
方向 | トラフィックが受信または送信のルールと一致するかどうかを示します。 | 'Inbound' 'Outbound' (必須) |
priority | ルールの優先度。 値は 1 から 4096 の間で指定できます。 優先度番号は、コレクション内のルールごとに一意である必要があります。 優先度番号が低いほど、規則の優先度が高くなります。 | int (必須) 制約: 最小値 = 1 最大値 = 4096 |
protocol | この規則が適用されるネットワーク プロトコル。 | 'Ah' 'Any' 'Esp' 'Icmp' 'Tcp' 'Udp' (必須) |
sourcePortRanges | ソース ポートの範囲。 | string[] |
sources | CIDR またはソース IP 範囲。 | AddressPrefixItem[] |
AddressPrefixItem
名前 | 説明 | 値 |
---|---|---|
addressPrefix | アドレス プレフィックス。 | string |
addressPrefixType | アドレス プレフィックスの種類。 | 'IPPrefix' 'ServiceTag' |
DefaultAdminRule
名前 | 説明 | 値 |
---|---|---|
kind | ルールがカスタムか既定か。 | 'Default' (必須) |
properties | セキュリティ管理規則のプロパティを示します | DefaultAdminPropertiesFormat |
DefaultAdminPropertiesFormat
名前 | 説明 | 値 |
---|---|---|
flag | 既定のルール フラグ。 | string |
Terraform (AzAPI プロバイダー) リソース定義
networkManagers/securityAdminConfigurations/ruleCollections/rules リソースの種類は、次を対象とする操作でデプロイできます。
- リソース グループ
各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。
リソース形式
Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules リソースを作成するには、次の Terraform をテンプレートに追加します。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules@2022-05-01"
name = "string"
parent_id = "string"
// For remaining properties, see networkManagers/securityAdminConfigurations/ruleCollections/rules objects
body = jsonencode({
kind = "string"
})
}
networkManagers/securityAdminConfigurations/ruleCollections/rules オブジェクト
kind プロパティを設定して、オブジェクトの種類を指定します。
[カスタム] には、次の値を使用します。
kind = "Custom"
properties = {
access = "string"
description = "string"
destinationPortRanges = [
"string"
]
destinations = [
{
addressPrefix = "string"
addressPrefixType = "string"
}
]
direction = "string"
priority = int
protocol = "string"
sourcePortRanges = [
"string"
]
sources = [
{
addressPrefix = "string"
addressPrefixType = "string"
}
]
}
[既定値] には、次の値を使用します。
kind = "Default"
properties = {
flag = "string"
}
プロパティ値
networkManagers/securityAdminConfigurations/ruleColl...
名前 | 説明 | 値 |
---|---|---|
type | リソースの種類 | "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules@2022-05-01" |
name | リソース名 | string (必須) |
parent_id | このリソースの親であるリソースの ID。 | 種類のリソースの ID: ruleCollections |
kind | オブジェクトの種類を設定する | Custom 既定値 (必須) |
AdminRule
名前 | 説明 | 値 |
---|---|---|
kind | ルールがカスタムか既定か。 | "Custom" (必須) |
properties | セキュリティ管理規則のプロパティを示します | AdminPropertiesFormat |
AdminPropertiesFormat
名前 | 説明 | 値 |
---|---|---|
access | この特定のルールに対して許可されているアクセス権を示します | "許可" "AlwaysAllow" "Deny" (必須) |
description | この規則の説明。 140 文字に制限されています。 | string |
destinationPortRanges | 宛先ポート範囲。 | string[] |
destinations | 宛先アドレス プレフィックス。 CIDR または宛先 IP 範囲。 | AddressPrefixItem[] |
方向 | トラフィックが受信または送信のルールと一致するかどうかを示します。 | "Inbound" "送信" (必須) |
priority | ルールの優先度。 値は 1 から 4096 の間で指定できます。 優先度番号は、コレクション内のルールごとに一意である必要があります。 優先度番号が低いほど、規則の優先度が高くなります。 | int (必須) 制約: 最小値 = 1 最大値 = 4096 |
protocol | この規則が適用されるネットワーク プロトコル。 | "Ah" "Any" "Esp" "Icmp" "Tcp" "Udp" (必須) |
sourcePortRanges | ソース ポートの範囲。 | string[] |
sources | CIDR またはソース IP 範囲。 | AddressPrefixItem[] |
AddressPrefixItem
名前 | 説明 | 値 |
---|---|---|
addressPrefix | アドレス プレフィックス。 | string |
addressPrefixType | アドレス プレフィックスの種類。 | "IPPrefix" "ServiceTag" |
DefaultAdminRule
名前 | 説明 | 値 |
---|---|---|
kind | ルールがカスタムか既定か。 | "Default" (必須) |
properties | セキュリティ管理ルールのプロパティを示します | DefaultAdminPropertiesFormat |
DefaultAdminPropertiesFormat
名前 | 説明 | 値 |
---|---|---|
flag | 既定のルール フラグ。 | string |