Microsoft.Network networkProfiles
Bicep リソース定義
networkProfiles リソースの種類は、次を対象とする操作でデプロイできます。
- リソース グループ - リソース グループのデプロイ コマンドに関するページを参照してください
各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。
リソース形式
Microsoft.Network/networkProfiles リソースを作成するには、次の Bicep をテンプレートに追加します。
resource symbolicname 'Microsoft.Network/networkProfiles@2023-11-01' = {
name: 'string'
location: 'string'
tags: {
tagName1: 'tagValue1'
tagName2: 'tagValue2'
}
properties: {
containerNetworkInterfaceConfigurations: [
{
id: 'string'
name: 'string'
properties: {
containerNetworkInterfaces: [
{
id: 'string'
}
]
ipConfigurations: [
{
id: 'string'
name: 'string'
properties: {
subnet: {
id: 'string'
name: 'string'
properties: {
addressPrefix: 'string'
addressPrefixes: [
'string'
]
applicationGatewayIPConfigurations: [
{
id: 'string'
name: 'string'
properties: {
subnet: {
id: 'string'
}
}
}
]
defaultOutboundAccess: bool
delegations: [
{
id: 'string'
name: 'string'
properties: {
serviceName: 'string'
}
type: 'string'
}
]
ipAllocations: [
{
id: 'string'
}
]
natGateway: {
id: 'string'
}
networkSecurityGroup: {
id: 'string'
location: 'string'
properties: {
flushConnection: bool
securityRules: [
{
id: 'string'
name: 'string'
properties: {
access: 'string'
description: 'string'
destinationAddressPrefix: 'string'
destinationAddressPrefixes: [
'string'
]
destinationApplicationSecurityGroups: [
{
id: 'string'
location: 'string'
properties: {}
tags: {}
}
]
destinationPortRange: 'string'
destinationPortRanges: [
'string'
]
direction: 'string'
priority: int
protocol: 'string'
sourceAddressPrefix: 'string'
sourceAddressPrefixes: [
'string'
]
sourceApplicationSecurityGroups: [
{
id: 'string'
location: 'string'
properties: {}
tags: {}
}
]
sourcePortRange: 'string'
sourcePortRanges: [
'string'
]
}
type: 'string'
}
]
}
tags: {}
}
privateEndpointNetworkPolicies: 'string'
privateLinkServiceNetworkPolicies: 'string'
routeTable: {
id: 'string'
location: 'string'
properties: {
disableBgpRoutePropagation: bool
routes: [
{
id: 'string'
name: 'string'
properties: {
addressPrefix: 'string'
hasBgpOverride: bool
nextHopIpAddress: 'string'
nextHopType: 'string'
}
type: 'string'
}
]
}
tags: {}
}
serviceEndpointPolicies: [
{
id: 'string'
location: 'string'
properties: {
contextualServiceEndpointPolicies: [
'string'
]
serviceAlias: 'string'
serviceEndpointPolicyDefinitions: [
{
id: 'string'
name: 'string'
properties: {
description: 'string'
service: 'string'
serviceResources: [
'string'
]
}
type: 'string'
}
]
}
tags: {}
}
]
serviceEndpoints: [
{
locations: [
'string'
]
service: 'string'
}
]
sharingScope: 'string'
}
type: 'string'
}
}
}
]
}
}
]
}
}
プロパティ値
networkProfiles
名前 | 説明 | 値 |
---|---|---|
name | リソース名 | string (必須) |
location | リソースの場所。 | string |
tags | リソース タグ。 | タグ名と値のディクショナリ。 「テンプレートのタグ」を参照してください |
properties | ネットワーク プロファイルのプロパティ。 | NetworkProfilePropertiesFormat |
NetworkProfilePropertiesFormat
名前 | 説明 | 値 |
---|---|---|
containerNetworkInterfaceConfigurations | chid コンテナーのネットワーク インターフェイス構成の一覧。 | ContainerNetworkInterfaceConfiguration[] |
ContainerNetworkInterfaceConfiguration
名前 | 説明 | 値 |
---|---|---|
id | リソースの ID | string |
name | リソースの名前。 この名前は、リソースへのアクセスに使用できます。 | string |
properties | コンテナー ネットワーク インターフェイスの構成プロパティ。 | ContainerNetworkInterfaceConfigurationPropertiesForm... |
ContainerNetworkInterfaceConfigurationPropertiesForm...
名前 | 説明 | 値 |
---|---|---|
containerNetworkInterfaces | このコンテナー ネットワーク インターフェイス構成から作成されたコンテナー ネットワーク インターフェイスの一覧。 | SubResource[] |
ipConfigurations | コンテナー ネットワーク インターフェイス構成の IP 構成の一覧。 | IPConfigurationProfile[] |
サブリソース
名前 | 説明 | 値 |
---|---|---|
id | リソースの ID | string |
IPConfigurationProfile
名前 | 説明 | 値 |
---|---|---|
id | リソースの ID | string |
name | リソースの名前。 この名前は、リソースへのアクセスに使用できます。 | string |
properties | IP 構成プロファイルのプロパティ。 | IPConfigurationProfilePropertiesFormat |
IPConfigurationProfilePropertiesFormat
名前 | 説明 | 値 |
---|---|---|
サブネット | コンテナー ネットワーク インターフェイス IP 構成を作成するためのサブネット リソースへの参照。 | サブネット |
Subnet
名前 | 説明 | 値 |
---|---|---|
id | リソースの ID | string |
name | リソース グループ内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 | string |
properties | サブネットのプロパティ。 | SubnetPropertiesFormat |
型 | リソースの種類。 | string |
SubnetPropertiesFormat
名前 | 説明 | 値 |
---|---|---|
addressPrefix | サブネットのアドレス プレフィックス。 | string |
addressPrefixes | サブネットのアドレス プレフィックスの一覧。 | string[] |
applicationGatewayIPConfigurations | 仮想ネットワーク リソースのアプリケーション ゲートウェイ IP 構成。 | ApplicationGatewayIPConfiguration[] |
defaultOutboundAccess | サブネット内のすべての VM の既定の送信接続を無効にするには、このプロパティを false に設定します。 このプロパティは、サブネットの作成時にのみ設定でき、既存のサブネットに対して更新することはできません。 | [bool] |
代表 団 | サブネット上の委任への参照の配列。 | Delegation[] |
ipAllocations | このサブネットを参照する IpAllocation の配列。 | SubResource[] |
natGateway | このサブネットに関連付けられている Nat ゲートウェイ。 | サブリソース |
networkSecurityGroup | NetworkSecurityGroup リソースへの参照。 | NetworkSecurityGroup |
privateEndpointNetworkPolicies | サブネット内のプライベート エンドポイントにネットワーク ポリシーを適用するを有効または無効にします。 | 'Disabled' 'Enabled' 'NetworkSecurityGroupEnabled' 'RouteTableEnabled' |
privateLinkServiceNetworkPolicies | サブネット内のプライベート リンク サービスに対するネットワーク ポリシーの適用を有効または無効にします。 | 'Disabled' 'Enabled' |
routeTable | RouteTable リソースへの参照。 | RouteTable |
serviceEndpointPolicies | サービス エンドポイント ポリシーの配列。 | ServiceEndpointPolicy[] |
serviceEndpoints | サービス エンドポイントの配列。 | ServiceEndpointPropertiesFormat[] |
sharingScope | AAD テナント内の他のサブスクリプションとサブネットを共有できるようにするには、このプロパティを [テナント] に設定します。 このプロパティは、defaultOutboundAccess が false に設定されている場合にのみ設定できます。両方のプロパティは、サブネットが空の場合にのみ設定できます。 | 'DelegatedServices' 'Tenant' |
ApplicationGatewayIPConfiguration
名前 | 説明 | 値 |
---|---|---|
id | リソースの ID | string |
name | Application Gateway内で一意である IP 構成の名前。 | string |
properties | アプリケーション ゲートウェイ IP 構成のプロパティ。 | ApplicationGatewayIPConfigurationPropertiesFormat |
ApplicationGatewayIPConfigurationPropertiesFormat
名前 | 説明 | 値 |
---|---|---|
サブネット | サブネット リソースへの参照。 アプリケーション ゲートウェイがプライベート アドレスを取得するサブネット。 | サブリソース |
委任
名前 | 説明 | 値 |
---|---|---|
id | リソースの ID | string |
name | サブネット内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 | string |
properties | サブネットのプロパティ。 | ServiceDelegationPropertiesFormat |
型 | リソースの種類。 | string |
ServiceDelegationPropertiesFormat
名前 | 説明 | 値 |
---|---|---|
serviceName | サブネットを委任する必要があるサービスの名前 (Microsoft.Sql/servers など)。 | string |
NetworkSecurityGroup
名前 | 説明 | 値 |
---|---|---|
id | リソースの ID | string |
location | リソースの場所。 | string |
properties | ネットワーク セキュリティ グループのプロパティ。 | NetworkSecurityGroupPropertiesFormat |
tags | リソース タグ。 | object |
NetworkSecurityGroupPropertiesFormat
名前 | 説明 | 値 |
---|---|---|
flushConnection | 有効にすると、ルールが更新されると、ネットワーク セキュリティ グループ接続から作成されたフローが再評価されます。 初期有効化では、再評価がトリガーされます。 | [bool] |
securityRules | ネットワーク セキュリティ グループのセキュリティ規則のコレクション。 | SecurityRule[] |
SecurityRule
名前 | 説明 | 値 |
---|---|---|
id | リソースの ID | string |
name | リソース グループ内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 | string |
properties | セキュリティ規則のプロパティ。 | SecurityRulePropertiesFormat |
型 | リソースの型。 | string |
SecurityRulePropertiesFormat
名前 | 説明 | 値 |
---|---|---|
access | ネットワーク トラフィックは許可または拒否されます。 | 'Allow' 'Deny' (必須) |
description | この規則の説明。 140 文字に制限されています。 | string |
destinationAddressPrefix | 宛先アドレス プレフィックス。 CIDR または宛先 IP 範囲。 また、すべてのソース IP に一致させるためにアスタリスク '*' を使用することもできます。 "VirtualNetwork"、"AzureLoadBalancer"、"Internet" などの既定のタグも使用できます。 | string |
destinationAddressPrefixes | 宛先アドレス プレフィックス。 CIDR または宛先 IP 範囲。 | string[] |
destinationApplicationSecurityGroups | 宛先として指定されたアプリケーション セキュリティ グループ。 | ApplicationSecurityGroup[] |
destinationPortRange | 宛先ポートまたは範囲。 整数または 0 ~ 65535 の範囲。 アスタリスク '*' を使用して、すべてのポートを照合することもできます。 | string |
destinationPortRanges | 宛先ポート範囲。 | string[] |
方向 | ルールの方向。 この方向は、ルールの評価が受信または送信トラフィックのどちらで行われるかを指定します。 | 'Inbound' '送信' (必須) |
priority | ルールの優先度。 値は 100 から 4096 の間で指定できます。 優先度番号は、コレクション内のルールごとに一意である必要があります。 優先度番号が低いほど、規則の優先度が高くなります。 | int (必須) |
protocol | この規則が適用されるネットワーク プロトコル。 | '*' 'Ah' 'Esp' 'Icmp' 'Tcp' 'Udp' (必須) |
sourceAddressPrefix | CIDR またはソース IP 範囲。 また、すべてのソース IP に一致させるためにアスタリスク '*' を使用することもできます。 "VirtualNetwork"、"AzureLoadBalancer"、"Internet" などの既定のタグも使用できます。 これがイングレス ルールの場合は、ネットワーク トラフィックの発信元を指定します。 | string |
sourceAddressPrefixes | CIDR またはソース IP 範囲。 | string[] |
sourceApplicationSecurityGroups | ソースとして指定されたアプリケーション セキュリティ グループ。 | ApplicationSecurityGroup[] |
sourcePortRange | ソース ポートまたは範囲。 0 から 65535 までの整数または範囲。 アスタリスク '*' を使用して、すべてのポートを照合することもできます。 | string |
sourcePortRanges | ソース ポートの範囲。 | string[] |
ApplicationSecurityGroup
名前 | 説明 | 値 |
---|---|---|
id | リソースの ID | string |
location | リソースの場所。 | string |
properties | アプリケーション セキュリティ グループのプロパティ。 | ApplicationSecurityGroupPropertiesFormat |
tags | リソース タグ。 | object |
ApplicationSecurityGroupPropertiesFormat
このオブジェクトには、デプロイ中に設定するプロパティは含まれません。 すべてのプロパティは ReadOnly です。
RouteTable
名前 | 説明 | 値 |
---|---|---|
id | リソースの ID | string |
location | リソースの場所。 | string |
properties | ルート テーブルのプロパティ。 | RouteTablePropertiesFormat |
tags | リソース タグ。 | object |
RouteTablePropertiesFormat
名前 | 説明 | 値 |
---|---|---|
disableBgpRoutePropagation | そのルート テーブルで BGP によって学習されたルートを無効にするかどうか。 True は無効を意味します。 | [bool] |
ルート | ルート テーブル内に含まれるルートのコレクション。 | Route[] |
ルート
名前 | 説明 | 値 |
---|---|---|
id | リソースの ID | string |
name | リソース グループ内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 | string |
properties | ルートのプロパティ。 | RoutePropertiesFormat |
型 | リソースの型。 | string |
RoutePropertiesFormat
名前 | 説明 | 値 |
---|---|---|
addressPrefix | ルートが適用される宛先 CIDR。 | string |
hasBgpOverride | LPM に関係なく、このルートが重複する BGP ルートをオーバーライドするかどうかを示す値。 | [bool] |
nextHopIpAddress | IP アドレス パケットは に転送する必要があります。 次ホップの値は、次ホップの種類が VirtualAppliance であるルートでのみ許可されます。 | string |
nextHopType | パケットの送信先となる Azure ホップの種類。 | 'Internet' 'None' 'VirtualAppliance' 'VirtualNetworkGateway' 'VnetLocal' (必須) |
ServiceEndpointPolicy
名前 | 説明 | 値 |
---|---|---|
id | リソースの ID | string |
location | リソースの場所。 | string |
properties | サービス エンドポイント ポリシーのプロパティ。 | ServiceEndpointPolicyPropertiesFormat |
tags | リソース タグ。 | object |
ServiceEndpointPolicyPropertiesFormat
名前 | 説明 | 値 |
---|---|---|
contextualServiceEndpointPolicies | コンテキスト サービス エンドポイント ポリシーのコレクション。 | string[] |
serviceAlias | ポリシーがサービスに属しているかどうかを示すエイリアス | string |
serviceEndpointPolicyDefinitions | サービス エンドポイント ポリシーのサービス エンドポイント ポリシー定義のコレクション。 | ServiceEndpointPolicyDefinition[] |
ServiceEndpointPolicyDefinition
名前 | 説明 | 値 |
---|---|---|
id | リソースの ID | string |
name | リソース グループ内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 | string |
properties | サービス エンドポイント ポリシー定義のプロパティ。 | ServiceEndpointPolicyDefinitionPropertiesFormat |
型 | リソースの型。 | string |
ServiceEndpointPolicyDefinitionPropertiesFormat
名前 | 説明 | 値 |
---|---|---|
description | この規則の説明。 140 文字に制限されています。 | string |
サービス (service) | サービス エンドポイント名。 | string |
serviceResources | サービス リソースの一覧。 | string[] |
ServiceEndpointPropertiesFormat
名前 | 説明 | 値 |
---|---|---|
locations | 場所の一覧。 | string[] |
サービス (service) | エンドポイント サービスの種類。 | string |
クイック スタート テンプレート
次のクイックスタート テンプレートでは、このリソースの種類をデプロイします。
Template | 説明 |
---|---|
仮想ネットワークで WordPress サイトをCreateする |
このテンプレートは、仮想ネットワーク内の Container Instance に WordPress サイトを作成します。 そして、WordPressサイトにアクセスできるパブリックサイトの FQDN を出力します。 |
Azure Cloud Shell - VNet |
このテンプレートは、Azure Cloud Shell リソースを Azure 仮想ネットワークにデプロイします。 |
Container InstancesとApplication Gateway付きのフロント ドア |
このテンプレートでは、コンテナー グループとApplication Gatewayを使用して Front Door Standard/Premium を作成します。 |
Azure Container Instances - VNet |
コンテナー インスタンスを Azure 仮想ネットワークにデプロイします。 |
ARM テンプレート リソース定義
networkProfiles リソースの種類は、次を対象とする操作でデプロイできます。
- リソース グループ - リソース グループのデプロイ コマンドに関するページを参照してください
各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。
リソース形式
Microsoft.Network/networkProfiles リソースを作成するには、次の JSON をテンプレートに追加します。
{
"type": "Microsoft.Network/networkProfiles",
"apiVersion": "2023-11-01",
"name": "string",
"location": "string",
"tags": {
"tagName1": "tagValue1",
"tagName2": "tagValue2"
},
"properties": {
"containerNetworkInterfaceConfigurations": [
{
"id": "string",
"name": "string",
"properties": {
"containerNetworkInterfaces": [
{
"id": "string"
}
],
"ipConfigurations": [
{
"id": "string",
"name": "string",
"properties": {
"subnet": {
"id": "string",
"name": "string",
"properties": {
"addressPrefix": "string",
"addressPrefixes": [ "string" ],
"applicationGatewayIPConfigurations": [
{
"id": "string",
"name": "string",
"properties": {
"subnet": {
"id": "string"
}
}
}
],
"defaultOutboundAccess": "bool",
"delegations": [
{
"id": "string",
"name": "string",
"properties": {
"serviceName": "string"
},
"type": "string"
}
],
"ipAllocations": [
{
"id": "string"
}
],
"natGateway": {
"id": "string"
},
"networkSecurityGroup": {
"id": "string",
"location": "string",
"properties": {
"flushConnection": "bool",
"securityRules": [
{
"id": "string",
"name": "string",
"properties": {
"access": "string",
"description": "string",
"destinationAddressPrefix": "string",
"destinationAddressPrefixes": [ "string" ],
"destinationApplicationSecurityGroups": [
{
"id": "string",
"location": "string",
"properties": {},
"tags": {}
}
],
"destinationPortRange": "string",
"destinationPortRanges": [ "string" ],
"direction": "string",
"priority": "int",
"protocol": "string",
"sourceAddressPrefix": "string",
"sourceAddressPrefixes": [ "string" ],
"sourceApplicationSecurityGroups": [
{
"id": "string",
"location": "string",
"properties": {},
"tags": {}
}
],
"sourcePortRange": "string",
"sourcePortRanges": [ "string" ]
},
"type": "string"
}
]
},
"tags": {}
},
"privateEndpointNetworkPolicies": "string",
"privateLinkServiceNetworkPolicies": "string",
"routeTable": {
"id": "string",
"location": "string",
"properties": {
"disableBgpRoutePropagation": "bool",
"routes": [
{
"id": "string",
"name": "string",
"properties": {
"addressPrefix": "string",
"hasBgpOverride": "bool",
"nextHopIpAddress": "string",
"nextHopType": "string"
},
"type": "string"
}
]
},
"tags": {}
},
"serviceEndpointPolicies": [
{
"id": "string",
"location": "string",
"properties": {
"contextualServiceEndpointPolicies": [ "string" ],
"serviceAlias": "string",
"serviceEndpointPolicyDefinitions": [
{
"id": "string",
"name": "string",
"properties": {
"description": "string",
"service": "string",
"serviceResources": [ "string" ]
},
"type": "string"
}
]
},
"tags": {}
}
],
"serviceEndpoints": [
{
"locations": [ "string" ],
"service": "string"
}
],
"sharingScope": "string"
},
"type": "string"
}
}
}
]
}
}
]
}
}
プロパティ値
networkProfiles
名前 | 説明 | 値 |
---|---|---|
type | リソースの種類 | 'Microsoft.Network/networkProfiles' |
apiVersion | リソース API のバージョン | '2023-11-01' |
name | リソース名 | string (必須) |
location | リソースの場所。 | string |
tags | リソース タグ。 | タグ名と値のディクショナリ。 「テンプレートのタグ」を参照してください |
properties | ネットワーク プロファイルのプロパティ。 | NetworkProfilePropertiesFormat |
NetworkProfilePropertiesFormat
名前 | 説明 | 値 |
---|---|---|
containerNetworkInterfaceConfigurations | chid コンテナーのネットワーク インターフェイス構成の一覧。 | ContainerNetworkInterfaceConfiguration[] |
ContainerNetworkInterfaceConfiguration
名前 | 説明 | 値 |
---|---|---|
id | リソースの ID | string |
name | リソースの名前。 この名前は、リソースへのアクセスに使用できます。 | string |
properties | コンテナー ネットワーク インターフェイスの構成プロパティ。 | ContainerNetworkInterfaceConfigurationPropertiesForm... |
ContainerNetworkInterfaceConfigurationPropertiesForm...
名前 | 説明 | 値 |
---|---|---|
containerNetworkInterfaces | このコンテナー ネットワーク インターフェイス構成から作成されたコンテナー ネットワーク インターフェイスの一覧。 | SubResource[] |
ipConfigurations | コンテナー ネットワーク インターフェイス構成の IP 構成の一覧。 | IPConfigurationProfile[] |
サブリソース
名前 | 説明 | 値 |
---|---|---|
id | リソースの ID | string |
IPConfigurationProfile
名前 | 説明 | 値 |
---|---|---|
id | リソースの ID | string |
name | リソースの名前。 この名前は、リソースへのアクセスに使用できます。 | string |
properties | IP 構成プロファイルのプロパティ。 | IPConfigurationProfilePropertiesFormat |
IPConfigurationProfilePropertiesFormat
名前 | 説明 | 値 |
---|---|---|
サブネット | コンテナー ネットワーク インターフェイス IP 構成を作成するためのサブネット リソースへの参照。 | サブネット |
Subnet
名前 | 説明 | 値 |
---|---|---|
id | リソースの ID | string |
name | リソース グループ内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 | string |
properties | サブネットのプロパティ。 | SubnetPropertiesFormat |
型 | リソースの種類。 | string |
SubnetPropertiesFormat
名前 | 説明 | 値 |
---|---|---|
addressPrefix | サブネットのアドレス プレフィックス。 | string |
addressPrefixes | サブネットのアドレス プレフィックスの一覧。 | string[] |
applicationGatewayIPConfigurations | 仮想ネットワーク リソースのアプリケーション ゲートウェイ IP 構成。 | ApplicationGatewayIPConfiguration[] |
defaultOutboundAccess | サブネット内のすべての VM の既定の送信接続を無効にするには、このプロパティを false に設定します。 このプロパティは、サブネットの作成時にのみ設定でき、既存のサブネットに対して更新することはできません。 | [bool] |
代表 団 | サブネット上の委任への参照の配列。 | Delegation[] |
ipAllocations | このサブネットを参照する IpAllocation の配列。 | SubResource[] |
natGateway | このサブネットに関連付けられている Nat ゲートウェイ。 | サブリソース |
networkSecurityGroup | NetworkSecurityGroup リソースへの参照。 | NetworkSecurityGroup |
privateEndpointNetworkPolicies | サブネット内のプライベート エンドポイントにネットワーク ポリシーを適用するを有効または無効にします。 | 'Disabled' 'Enabled' 'NetworkSecurityGroupEnabled' 'RouteTableEnabled' |
privateLinkServiceNetworkPolicies | サブネット内のプライベート リンク サービスに対するネットワーク ポリシーの適用を有効または無効にします。 | 'Disabled' 'Enabled' |
routeTable | RouteTable リソースへの参照。 | RouteTable |
serviceEndpointPolicies | サービス エンドポイント ポリシーの配列。 | ServiceEndpointPolicy[] |
serviceEndpoints | サービス エンドポイントの配列。 | ServiceEndpointPropertiesFormat[] |
sharingScope | AAD テナント内の他のサブスクリプションとサブネットを共有できるようにするには、このプロパティを [テナント] に設定します。 このプロパティは、defaultOutboundAccess が false に設定されている場合にのみ設定できます。両方のプロパティは、サブネットが空の場合にのみ設定できます。 | 'DelegatedServices' 'Tenant' |
ApplicationGatewayIPConfiguration
名前 | 説明 | 値 |
---|---|---|
id | リソースの ID | string |
name | Application Gateway内で一意である IP 構成の名前。 | string |
properties | アプリケーション ゲートウェイ IP 構成のプロパティ。 | ApplicationGatewayIPConfigurationPropertiesFormat |
ApplicationGatewayIPConfigurationPropertiesFormat
名前 | 説明 | 値 |
---|---|---|
サブネット | サブネット リソースへの参照。 アプリケーション ゲートウェイがプライベート アドレスを取得するサブネット。 | サブリソース |
委任
名前 | 説明 | 値 |
---|---|---|
id | リソースの ID | string |
name | サブネット内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 | string |
properties | サブネットのプロパティ。 | ServiceDelegationPropertiesFormat |
型 | リソースの種類。 | string |
ServiceDelegationPropertiesFormat
名前 | 説明 | 値 |
---|---|---|
serviceName | サブネットを委任する必要があるサービスの名前 (Microsoft.Sql/servers など)。 | string |
NetworkSecurityGroup
名前 | 説明 | 値 |
---|---|---|
id | リソースの ID | string |
location | リソースの場所。 | string |
properties | ネットワーク セキュリティ グループのプロパティ。 | NetworkSecurityGroupPropertiesFormat |
tags | リソース タグ。 | object |
NetworkSecurityGroupPropertiesFormat
名前 | 説明 | 値 |
---|---|---|
flushConnection | 有効にすると、ルールが更新されると、ネットワーク セキュリティ グループ接続から作成されたフローが再評価されます。 初期有効化によって再評価がトリガーされます。 | [bool] |
securityRules | ネットワーク セキュリティ グループのセキュリティ規則のコレクション。 | SecurityRule[] |
SecurityRule
名前 | 説明 | 値 |
---|---|---|
id | リソースの ID | string |
name | リソース グループ内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 | string |
properties | セキュリティ規則のプロパティ。 | SecurityRulePropertiesFormat |
型 | リソースの型。 | string |
SecurityRulePropertiesFormat
名前 | 説明 | 値 |
---|---|---|
access | ネットワーク トラフィックは許可または拒否されます。 | 'Allow' 'Deny' (必須) |
description | この規則の説明。 140 文字に制限されています。 | string |
destinationAddressPrefix | 宛先アドレス プレフィックス。 CIDR または宛先 IP 範囲。 また、すべてのソース IP に一致させるためにアスタリスク '*' を使用することもできます。 "VirtualNetwork"、"AzureLoadBalancer"、"Internet" などの既定のタグも使用できます。 | string |
destinationAddressPrefixes | 宛先アドレス プレフィックス。 CIDR または宛先 IP 範囲。 | string[] |
destinationApplicationSecurityGroups | 宛先として指定されたアプリケーション セキュリティ グループ。 | ApplicationSecurityGroup[] |
destinationPortRange | 宛先ポートまたは範囲。 0 から 65535 までの整数または範囲。 アスタリスク '*' を使用して、すべてのポートを照合することもできます。 | string |
destinationPortRanges | 宛先ポート範囲。 | string[] |
方向 | ルールの方向。 この方向は、ルールの評価が受信または送信トラフィックのどちらで行われるかを指定します。 | 'Inbound' '送信' (必須) |
priority | ルールの優先度。 値は 100 から 4096 の間で指定できます。 優先度番号は、コレクション内のルールごとに一意である必要があります。 優先度番号が低いほど、規則の優先度が高くなります。 | int (必須) |
protocol | この規則が適用されるネットワーク プロトコル。 | '*' 'Ah' 'Esp' 'Icmp' 'Tcp' 'Udp' (必須) |
sourceAddressPrefix | CIDR またはソース IP 範囲。 また、すべてのソース IP に一致させるためにアスタリスク '*' を使用することもできます。 "VirtualNetwork"、"AzureLoadBalancer"、"Internet" などの既定のタグも使用できます。 これがイングレス ルールの場合は、ネットワーク トラフィックの発信元を指定します。 | string |
sourceAddressPrefixes | CIDR またはソース IP 範囲。 | string[] |
sourceApplicationSecurityGroups | ソースとして指定されたアプリケーション セキュリティ グループ。 | ApplicationSecurityGroup[] |
sourcePortRange | ソース ポートまたは範囲。 0 から 65535 までの整数または範囲。 アスタリスク '*' を使用して、すべてのポートを照合することもできます。 | string |
sourcePortRanges | ソース ポートの範囲。 | string[] |
ApplicationSecurityGroup
名前 | 説明 | 値 |
---|---|---|
id | リソースの ID | string |
location | リソースの場所。 | string |
properties | アプリケーション セキュリティ グループのプロパティ。 | ApplicationSecurityGroupPropertiesFormat |
tags | リソース タグ。 | object |
ApplicationSecurityGroupPropertiesFormat
このオブジェクトには、デプロイ中に設定するプロパティは含まれません。 すべてのプロパティは ReadOnly です。
RouteTable
名前 | 説明 | 値 |
---|---|---|
id | リソースの ID | string |
location | リソースの場所。 | string |
properties | ルート テーブルのプロパティ。 | RouteTablePropertiesFormat |
tags | リソース タグ。 | object |
RouteTablePropertiesFormat
名前 | 説明 | 値 |
---|---|---|
disableBgpRoutePropagation | そのルート テーブルで BGP によって学習されたルートを無効にするかどうか。 True は無効を意味します。 | [bool] |
ルート | ルート テーブル内に含まれるルートのコレクション。 | Route[] |
ルート
名前 | 説明 | 値 |
---|---|---|
id | リソースの ID | string |
name | リソース グループ内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 | string |
properties | ルートのプロパティ。 | RoutePropertiesFormat |
型 | リソースの型。 | string |
RoutePropertiesFormat
名前 | 説明 | 値 |
---|---|---|
addressPrefix | ルートが適用される宛先 CIDR。 | string |
hasBgpOverride | LPM に関係なく、このルートが重複する BGP ルートをオーバーライドするかどうかを示す値。 | [bool] |
nextHopIpAddress | IP アドレス パケットは に転送する必要があります。 次ホップの値は、次ホップの種類が VirtualAppliance であるルートでのみ許可されます。 | string |
nextHopType | パケットの送信先となる Azure ホップの種類。 | 'Internet' 'None' 'VirtualAppliance' 'VirtualNetworkGateway' 'VnetLocal' (必須) |
ServiceEndpointPolicy
名前 | 説明 | 値 |
---|---|---|
id | リソースの ID | string |
location | リソースの場所。 | string |
properties | サービス エンドポイント ポリシーのプロパティ。 | ServiceEndpointPolicyPropertiesFormat |
tags | リソース タグ。 | object |
ServiceEndpointPolicyPropertiesFormat
名前 | 説明 | 値 |
---|---|---|
contextualServiceEndpointPolicies | コンテキスト サービス エンドポイント ポリシーのコレクション。 | string[] |
serviceAlias | ポリシーがサービスに属しているかどうかを示すエイリアス | string |
serviceEndpointPolicyDefinitions | サービス エンドポイント ポリシーのサービス エンドポイント ポリシー定義のコレクション。 | ServiceEndpointPolicyDefinition[] |
ServiceEndpointPolicyDefinition
名前 | 説明 | 値 |
---|---|---|
id | リソースの ID | string |
name | リソース グループ内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 | string |
properties | サービス エンドポイント ポリシー定義のプロパティ。 | ServiceEndpointPolicyDefinitionPropertiesFormat |
型 | リソースの型。 | string |
ServiceEndpointPolicyDefinitionPropertiesFormat
名前 | 説明 | 値 |
---|---|---|
description | この規則の説明。 140 文字に制限されています。 | string |
サービス (service) | サービス エンドポイント名。 | string |
serviceResources | サービス リソースの一覧。 | string[] |
ServiceEndpointPropertiesFormat
名前 | 説明 | 値 |
---|---|---|
locations | 場所の一覧。 | string[] |
サービス (service) | エンドポイント サービスの種類。 | string |
クイック スタート テンプレート
次のクイックスタート テンプレートでは、このリソースの種類をデプロイします。
Template | 説明 |
---|---|
仮想ネットワークで WordPress サイトをCreateする |
このテンプレートは、仮想ネットワーク内の Container Instance に WordPress サイトを作成します。 そして、WordPressサイトにアクセスできるパブリックサイトの FQDN を出力します。 |
Azure Cloud Shell - VNet |
このテンプレートは、Azure Cloud Shell リソースを Azure 仮想ネットワークにデプロイします。 |
Container InstancesとApplication Gateway付きのフロント ドア |
このテンプレートでは、コンテナー グループとApplication Gatewayを使用して Front Door Standard/Premium を作成します。 |
Azure Container Instances - VNet |
コンテナー インスタンスを Azure 仮想ネットワークにデプロイします。 |
Terraform (AzAPI プロバイダー) リソース定義
networkProfiles リソースの種類は、次を対象とする操作でデプロイできます。
- リソース グループ
各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。
リソース形式
Microsoft.Network/networkProfiles リソースを作成するには、次の Terraform をテンプレートに追加します。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Network/networkProfiles@2023-11-01"
name = "string"
location = "string"
parent_id = "string"
tags = {
tagName1 = "tagValue1"
tagName2 = "tagValue2"
}
body = jsonencode({
properties = {
containerNetworkInterfaceConfigurations = [
{
id = "string"
name = "string"
properties = {
containerNetworkInterfaces = [
{
id = "string"
}
]
ipConfigurations = [
{
id = "string"
name = "string"
properties = {
subnet = {
id = "string"
name = "string"
properties = {
addressPrefix = "string"
addressPrefixes = [
"string"
]
applicationGatewayIPConfigurations = [
{
id = "string"
name = "string"
properties = {
subnet = {
id = "string"
}
}
}
]
defaultOutboundAccess = bool
delegations = [
{
id = "string"
name = "string"
properties = {
serviceName = "string"
}
type = "string"
}
]
ipAllocations = [
{
id = "string"
}
]
natGateway = {
id = "string"
}
networkSecurityGroup = {
id = "string"
location = "string"
properties = {
flushConnection = bool
securityRules = [
{
id = "string"
name = "string"
properties = {
access = "string"
description = "string"
destinationAddressPrefix = "string"
destinationAddressPrefixes = [
"string"
]
destinationApplicationSecurityGroups = [
{
id = "string"
location = "string"
properties = {}
tags = {}
}
]
destinationPortRange = "string"
destinationPortRanges = [
"string"
]
direction = "string"
priority = int
protocol = "string"
sourceAddressPrefix = "string"
sourceAddressPrefixes = [
"string"
]
sourceApplicationSecurityGroups = [
{
id = "string"
location = "string"
properties = {}
tags = {}
}
]
sourcePortRange = "string"
sourcePortRanges = [
"string"
]
}
type = "string"
}
]
}
tags = {}
}
privateEndpointNetworkPolicies = "string"
privateLinkServiceNetworkPolicies = "string"
routeTable = {
id = "string"
location = "string"
properties = {
disableBgpRoutePropagation = bool
routes = [
{
id = "string"
name = "string"
properties = {
addressPrefix = "string"
hasBgpOverride = bool
nextHopIpAddress = "string"
nextHopType = "string"
}
type = "string"
}
]
}
tags = {}
}
serviceEndpointPolicies = [
{
id = "string"
location = "string"
properties = {
contextualServiceEndpointPolicies = [
"string"
]
serviceAlias = "string"
serviceEndpointPolicyDefinitions = [
{
id = "string"
name = "string"
properties = {
description = "string"
service = "string"
serviceResources = [
"string"
]
}
type = "string"
}
]
}
tags = {}
}
]
serviceEndpoints = [
{
locations = [
"string"
]
service = "string"
}
]
sharingScope = "string"
}
type = "string"
}
}
}
]
}
}
]
}
})
}
プロパティ値
networkProfiles
名前 | 説明 | 値 |
---|---|---|
type | リソースの種類 | "Microsoft.Network/networkProfiles@2023-11-01" |
name | リソース名 | string (必須) |
location | リソースの場所。 | string |
parent_id | リソース グループにデプロイするには、そのリソース グループの ID を使用します。 | string (必須) |
tags | リソース タグ。 | タグ名と値のディクショナリ。 |
properties | ネットワーク プロファイルのプロパティ。 | NetworkProfilePropertiesFormat |
NetworkProfilePropertiesFormat
名前 | 説明 | 値 |
---|---|---|
containerNetworkInterfaceConfigurations | chid コンテナーのネットワーク インターフェイス構成の一覧。 | ContainerNetworkInterfaceConfiguration[] |
ContainerNetworkInterfaceConfiguration
名前 | 説明 | 値 |
---|---|---|
id | リソースの ID | string |
name | リソースの名前。 この名前は、リソースへのアクセスに使用できます。 | string |
properties | コンテナー ネットワーク インターフェイスの構成プロパティ。 | ContainerNetworkInterfaceConfigurationPropertiesForm... |
ContainerNetworkInterfaceConfigurationPropertiesForm...
名前 | 説明 | 値 |
---|---|---|
containerNetworkInterfaces | このコンテナー ネットワーク インターフェイス構成から作成されたコンテナー ネットワーク インターフェイスの一覧。 | SubResource[] |
ipConfigurations | コンテナー ネットワーク インターフェイス構成の IP 構成の一覧。 | IPConfigurationProfile[] |
サブリソース
名前 | 説明 | 値 |
---|---|---|
id | リソースの ID | string |
IPConfigurationProfile
名前 | 説明 | 値 |
---|---|---|
id | リソースの ID | string |
name | リソースの名前。 この名前は、リソースへのアクセスに使用できます。 | string |
properties | IP 構成プロファイルのプロパティ。 | IPConfigurationProfilePropertiesFormat |
IPConfigurationProfilePropertiesFormat
名前 | 説明 | 値 |
---|---|---|
サブネット | コンテナー ネットワーク インターフェイス IP 構成を作成するためのサブネット リソースへの参照。 | サブネット |
Subnet
名前 | 説明 | 値 |
---|---|---|
id | リソースの ID | string |
name | リソース グループ内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 | string |
properties | サブネットのプロパティ。 | SubnetPropertiesFormat |
型 | リソースの種類。 | string |
SubnetPropertiesFormat
名前 | 説明 | 値 |
---|---|---|
addressPrefix | サブネットのアドレス プレフィックス。 | string |
addressPrefixes | サブネットのアドレス プレフィックスの一覧。 | string[] |
applicationGatewayIPConfigurations | 仮想ネットワーク リソースのアプリケーション ゲートウェイ IP 構成。 | ApplicationGatewayIPConfiguration[] |
defaultOutboundAccess | サブネット内のすべての VM の既定の送信接続を無効にするには、このプロパティを false に設定します。 このプロパティは、サブネットの作成時にのみ設定でき、既存のサブネットに対して更新することはできません。 | [bool] |
代表 団 | サブネット上の委任への参照の配列。 | Delegation[] |
ipAllocations | このサブネットを参照する IpAllocation の配列。 | SubResource[] |
natGateway | このサブネットに関連付けられている Nat ゲートウェイ。 | サブリソース |
networkSecurityGroup | NetworkSecurityGroup リソースへの参照。 | NetworkSecurityGroup |
privateEndpointNetworkPolicies | サブネット内のプライベート エンドポイントにネットワーク ポリシーを適用するを有効または無効にします。 | "無効" "有効" "NetworkSecurityGroupEnabled" "RouteTableEnabled" |
privateLinkServiceNetworkPolicies | サブネット内のプライベート リンク サービスに対するネットワーク ポリシーの適用を有効または無効にします。 | "無効" "有効" |
routeTable | RouteTable リソースへの参照。 | RouteTable |
serviceEndpointPolicies | サービス エンドポイント ポリシーの配列。 | ServiceEndpointPolicy[] |
serviceEndpoints | サービス エンドポイントの配列。 | ServiceEndpointPropertiesFormat[] |
sharingScope | AAD テナント内の他のサブスクリプションとサブネットを共有できるようにするには、このプロパティを [テナント] に設定します。 このプロパティは、defaultOutboundAccess が false に設定されている場合にのみ設定できます。両方のプロパティは、サブネットが空の場合にのみ設定できます。 | "DelegatedServices" "テナント" |
ApplicationGatewayIPConfiguration
名前 | 説明 | 値 |
---|---|---|
id | リソースの ID | string |
name | Application Gateway内で一意の IP 構成の名前。 | string |
properties | アプリケーション ゲートウェイ IP 構成のプロパティ。 | ApplicationGatewayIPConfigurationPropertiesFormat |
ApplicationGatewayIPConfigurationPropertiesFormat
名前 | 説明 | 値 |
---|---|---|
サブネット | サブネット リソースへの参照。 アプリケーション ゲートウェイがプライベート アドレスを取得するサブネット。 | サブリソース |
委任
名前 | 説明 | 値 |
---|---|---|
id | リソースの ID | string |
name | サブネット内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 | string |
properties | サブネットのプロパティ。 | ServiceDelegationPropertiesFormat |
型 | リソースの種類。 | string |
ServiceDelegationPropertiesFormat
名前 | 説明 | 値 |
---|---|---|
serviceName | サブネットを委任する必要があるサービスの名前 (Microsoft.Sql/servers など)。 | string |
NetworkSecurityGroup
名前 | 説明 | 値 |
---|---|---|
id | リソースの ID | string |
location | リソースの場所。 | string |
properties | ネットワーク セキュリティ グループのプロパティ。 | NetworkSecurityGroupPropertiesFormat |
tags | リソース タグ。 | object |
NetworkSecurityGroupPropertiesFormat
名前 | 説明 | 値 |
---|---|---|
flushConnection | 有効にすると、ルールが更新されると、ネットワーク セキュリティ グループ接続から作成されたフローが再評価されます。 初期有効化では、再評価がトリガーされます。 | [bool] |
securityRules | ネットワーク セキュリティ グループのセキュリティ規則のコレクション。 | SecurityRule[] |
SecurityRule
名前 | 説明 | 値 |
---|---|---|
id | リソースの ID | string |
name | リソース グループ内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 | string |
properties | セキュリティ規則のプロパティ。 | SecurityRulePropertiesFormat |
型 | リソースの型。 | string |
SecurityRulePropertiesFormat
名前 | 説明 | 値 |
---|---|---|
access | ネットワーク トラフィックは許可または拒否されます。 | "許可" "Deny" (必須) |
description | この規則の説明。 140 文字に制限されています。 | string |
destinationAddressPrefix | 宛先アドレス プレフィックス。 CIDR または宛先 IP 範囲。 また、すべてのソース IP に一致させるためにアスタリスク '*' を使用することもできます。 "VirtualNetwork"、"AzureLoadBalancer"、"Internet" などの既定のタグも使用できます。 | string |
destinationAddressPrefixes | 宛先アドレス プレフィックス。 CIDR または宛先 IP 範囲。 | string[] |
destinationApplicationSecurityGroups | 宛先として指定されたアプリケーション セキュリティ グループ。 | ApplicationSecurityGroup[] |
destinationPortRange | 宛先ポートまたは範囲。 整数または 0 ~ 65535 の範囲。 アスタリスク '*' を使用して、すべてのポートを照合することもできます。 | string |
destinationPortRanges | 宛先ポート範囲。 | string[] |
方向 | ルールの方向。 この方向は、ルールの評価が受信または送信トラフィックのどちらで行われるかを指定します。 | "Inbound" "送信" (必須) |
priority | ルールの優先度。 値は 100 から 4096 の間で指定できます。 優先度番号は、コレクション内のルールごとに一意である必要があります。 優先度番号が低いほど、規則の優先度が高くなります。 | int (必須) |
protocol | この規則が適用されるネットワーク プロトコル。 | "*" "Ah" "Esp" "Icmp" "Tcp" "Udp" (必須) |
sourceAddressPrefix | CIDR またはソース IP 範囲。 また、すべてのソース IP に一致させるためにアスタリスク '*' を使用することもできます。 "VirtualNetwork"、"AzureLoadBalancer"、"Internet" などの既定のタグも使用できます。 これがイングレス ルールの場合は、ネットワーク トラフィックの発信元を指定します。 | string |
sourceAddressPrefixes | CIDR またはソース IP 範囲。 | string[] |
sourceApplicationSecurityGroups | ソースとして指定されたアプリケーション セキュリティ グループ。 | ApplicationSecurityGroup[] |
sourcePortRange | ソース ポートまたは範囲。 整数または 0 ~ 65535 の範囲。 アスタリスク '*' を使用して、すべてのポートを照合することもできます。 | string |
sourcePortRanges | ソース ポートの範囲。 | string[] |
ApplicationSecurityGroup
名前 | 説明 | 値 |
---|---|---|
id | リソースの ID | string |
location | リソースの場所。 | string |
properties | アプリケーション セキュリティ グループのプロパティ。 | ApplicationSecurityGroupPropertiesFormat |
tags | リソース タグ。 | object |
ApplicationSecurityGroupPropertiesFormat
このオブジェクトには、デプロイ中に設定するプロパティは含まれません。 すべてのプロパティは ReadOnly です。
RouteTable
名前 | 説明 | 値 |
---|---|---|
id | リソースの ID | string |
location | リソースの場所。 | string |
properties | ルート テーブルのプロパティ。 | RouteTablePropertiesFormat |
tags | リソース タグ。 | object |
RouteTablePropertiesFormat
名前 | 説明 | 値 |
---|---|---|
disableBgpRoutePropagation | そのルート テーブルで BGP によって学習されたルートを無効にするかどうか。 True は無効を意味します。 | [bool] |
ルート | ルート テーブル内に含まれるルートのコレクション。 | Route[] |
ルート
名前 | 説明 | 値 |
---|---|---|
id | リソースの ID | string |
name | リソース グループ内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 | string |
properties | ルートのプロパティ。 | RoutePropertiesFormat |
型 | リソースの型。 | string |
RoutePropertiesFormat
名前 | 説明 | 値 |
---|---|---|
addressPrefix | ルートが適用される宛先 CIDR。 | string |
hasBgpOverride | LPM に関係なく、このルートが重複する BGP ルートをオーバーライドするかどうかを示す値。 | [bool] |
nextHopIpAddress | IP アドレス パケットは に転送する必要があります。 次ホップの値は、次ホップの種類が VirtualAppliance であるルートでのみ許可されます。 | string |
nextHopType | パケットの送信先となる Azure ホップの種類。 | "インターネット" "None" "VirtualAppliance" "VirtualNetworkGateway" "VnetLocal" (必須) |
ServiceEndpointPolicy
名前 | 説明 | 値 |
---|---|---|
id | リソースの ID | string |
location | リソースの場所。 | string |
properties | サービス エンドポイント ポリシーのプロパティ。 | ServiceEndpointPolicyPropertiesFormat |
tags | リソース タグ。 | object |
ServiceEndpointPolicyPropertiesFormat
名前 | 説明 | 値 |
---|---|---|
contextualServiceEndpointPolicies | コンテキスト サービス エンドポイント ポリシーのコレクション。 | string[] |
serviceAlias | ポリシーがサービスに属しているかどうかを示すエイリアス | string |
serviceEndpointPolicyDefinitions | サービス エンドポイント ポリシーのサービス エンドポイント ポリシー定義のコレクション。 | ServiceEndpointPolicyDefinition[] |
ServiceEndpointPolicyDefinition
名前 | 説明 | 値 |
---|---|---|
id | リソースの ID | string |
name | リソース グループ内で一意のリソースの名前。 この名前は、リソースへのアクセスに使用できます。 | string |
properties | サービス エンドポイント ポリシー定義のプロパティ。 | ServiceEndpointPolicyDefinitionPropertiesFormat |
型 | リソースの型。 | string |
ServiceEndpointPolicyDefinitionPropertiesFormat
名前 | 説明 | 値 |
---|---|---|
description | この規則の説明。 140 文字に制限されています。 | string |
サービス (service) | サービス エンドポイント名。 | string |
serviceResources | サービス リソースの一覧。 | string[] |
ServiceEndpointPropertiesFormat
名前 | 説明 | 値 |
---|---|---|
locations | 場所の一覧。 | string[] |
サービス (service) | エンドポイント サービスの種類。 | string |