次の方法で共有


Microsoft.Network networkWatchers/connectionMonitors 2022-05-01

Bicep リソース定義

networkWatchers/connectionMonitors リソースの種類は、次をターゲットとする操作でデプロイできます。

各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。

リソース形式

Microsoft.Network/networkWatchers/connectionMonitors リソースを作成するには、次の Bicep をテンプレートに追加します。

resource symbolicname 'Microsoft.Network/networkWatchers/connectionMonitors@2022-05-01' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  parent: resourceSymbolicName
  properties: {
    autoStart: bool
    destination: {
      address: 'string'
      port: int
      resourceId: 'string'
    }
    endpoints: [
      {
        address: 'string'
        coverageLevel: 'string'
        filter: {
          items: [
            {
              address: 'string'
              type: 'AgentAddress'
            }
          ]
          type: 'Include'
        }
        name: 'string'
        resourceId: 'string'
        scope: {
          exclude: [
            {
              address: 'string'
            }
          ]
          include: [
            {
              address: 'string'
            }
          ]
        }
        type: 'string'
      }
    ]
    monitoringIntervalInSeconds: int
    notes: 'string'
    outputs: [
      {
        type: 'Workspace'
        workspaceSettings: {
          workspaceResourceId: 'string'
        }
      }
    ]
    source: {
      port: int
      resourceId: 'string'
    }
    testConfigurations: [
      {
        httpConfiguration: {
          method: 'string'
          path: 'string'
          port: int
          preferHTTPS: bool
          requestHeaders: [
            {
              name: 'string'
              value: 'string'
            }
          ]
          validStatusCodeRanges: [
            'string'
          ]
        }
        icmpConfiguration: {
          disableTraceRoute: bool
        }
        name: 'string'
        preferredIPVersion: 'string'
        protocol: 'string'
        successThreshold: {
          checksFailedPercent: int
          roundTripTimeMs: int
        }
        tcpConfiguration: {
          destinationPortBehavior: 'string'
          disableTraceRoute: bool
          port: int
        }
        testFrequencySec: int
      }
    ]
    testGroups: [
      {
        destinations: [
          'string'
        ]
        disable: bool
        name: 'string'
        sources: [
          'string'
        ]
        testConfigurations: [
          'string'
        ]
      }
    ]
  }
}

プロパティ値

networkWatchers/connectionMonitors

名前 説明
name リソース名

Bicep で子リソースの名前と型を設定する方法を参照してください。
string (必須)
location 接続モニターの場所。 string
tags 接続モニター のタグ。 タグの名前と値のディクショナリ。 「テンプレート内のタグ」を参照してください
parent Bicep では、子リソースの親リソースを指定できます。 このプロパティを追加する必要があるのは、子リソースが親リソースの外部で宣言されている場合のみです。

詳細については、「 親リソースの外部の子リソース」を参照してください。
種類のリソースのシンボル名: networkWatchers
properties 接続モニターのプロパティ。 ConnectionMonitorParametersOrConnectionMonitorResult... (必須)

ConnectionMonitorParametersOrConnectionMonitorResult...

名前 説明
Autostart 作成後に接続モニターが自動的に起動するかどうかを指定します。 [bool]
destination 接続モニターの宛先について説明します。 ConnectionMonitorDestination
エンドポイント 接続モニター エンドポイントの一覧。 ConnectionMonitorEndpoint[]
monitoringIntervalInSeconds 監視間隔 (秒単位)。 INT

制約:
最小値 = 30
最大値 = 1800
notes 接続モニターに関連付けるオプションのメモ。 string
outputs 接続モニター出力の一覧。 ConnectionMonitorOutput[]
source 接続モニターのソースについて説明します。 ConnectionMonitorSource
testConfigurations 接続モニターのテスト構成の一覧。 ConnectionMonitorTestConfiguration[]
testGroups 接続モニターのテスト グループの一覧。 ConnectionMonitorTestGroup[]

ConnectionMonitorDestination

名前 説明
address 接続モニターの宛先のアドレス (IP またはドメイン名)。 string
port 接続モニターで使用される宛先ポート。 INT

制約:
最小値 = 0
最大値 = 65535
resourceId 接続モニターによって宛先として使用されるリソースの ID。 string

ConnectionMonitorEndpoint

名前 説明
address 接続モニター エンドポイントのアドレス (IP またはドメイン名)。 string
coverageLevel エンドポイントのカバレッジをテストします。 'AboveAverage'
'Average'
'BelowAverage'
'Default'
'Full'
'Low'
filter エンドポイント内のサブアイテムをフィルター処理します。 ConnectionMonitorEndpointFilter
name 接続モニター エンドポイントの名前。 string (必須)
resourceId 接続モニター エンドポイントのリソース ID。 string
scope エンドポイント スコープ。 ConnectionMonitorEndpointScope
エンドポイントの種類。 'AzureArcVM'
'AzureSubnet'
'AzureVM'
'AzureVMSS'
'AzureVNet'
'ExternalAddress'
'MMAWorkspaceMachine'
'MMAWorkspaceNetwork'

ConnectionMonitorEndpointFilter

名前 説明
items フィルター内の項目の一覧。 ConnectionMonitorEndpointFilterItem[]
エンドポイント フィルターの動作。 現在、'Include' のみがサポートされています。 'Include'

ConnectionMonitorEndpointFilterItem

名前 説明
address フィルター項目のアドレス。 string
type フィルターに含まれる項目の種類。 現在、'AgentAddress' のみがサポートされています。 'AgentAddress'

ConnectionMonitorEndpointScope

名前 説明
除外 エンドポイント スコープから除外する必要がある項目の一覧。 ConnectionMonitorEndpointScopeItem[]
include エンドポイント スコープに含める必要がある項目の一覧。 ConnectionMonitorEndpointScopeItem[]

ConnectionMonitorEndpointScopeItem

名前 説明
address エンドポイント 項目のアドレス。 サポートされている種類は、IPv4/IPv6 サブネット マスクまたは IPv4/IPv6 IP アドレスです。 string

ConnectionMonitorOutput

名前 説明
type 接続モニターの出力先の種類。 現時点では、"ワークスペース" のみがサポートされています。 'Workspace'
workspaceSettings ログ分析ワークスペースに出力を生成するための設定について説明します。 ConnectionMonitorWorkspaceSettings

ConnectionMonitorWorkspaceSettings

名前 説明
workspaceResourceId Log Analytics ワークスペースのリソース ID。 string

ConnectionMonitorSource

名前 説明
port 接続モニターで使用されるソース ポート。 INT

制約:
最小値 = 0
最大値 = 65535
resourceId 接続モニターによってソースとして使用されるリソースの ID。 string (必須)

ConnectionMonitorTestConfiguration

名前 説明
httpConfiguration HTTP 経由でテスト評価を実行するために使用されるパラメーター。 ConnectionMonitorHttpConfiguration
icmpConfiguration ICMP 経由でテスト評価を実行するために使用されるパラメーター。 ConnectionMonitorIcmpConfiguration
name 接続モニターのテスト構成の名前。 string (必須)
preferredIPVersion テスト評価で使用する推奨 IP バージョン。 接続モニターは、他のパラメーターに応じて異なるバージョンを使用することを選択できます。 'IPv4'
'IPv6'
protocol テスト評価で使用するプロトコル。 'Http'
'Icmp'
'Tcp' (必須)
successThreshold テストを正常に宣言するためのしきい値。 ConnectionMonitorSuccessThreshold
tcpConfiguration TCP 経由でテスト評価を実行するために使用されるパラメーター。 ConnectionMonitorTcpConfiguration
testFrequencySec テスト評価の頻度 (秒単位)。 INT

ConnectionMonitorHttpConfiguration

名前 説明
method 使用する HTTP メソッド。 'Get'
'Post'
path URI のパス コンポーネント。 たとえば、"/dir1/dir2" などです。 string
port 接続するポート。 INT

制約:
最小値 = 0
最大値 = 65535
preferHTTPS 選択が明示的でない場合に HTTPS が HTTP よりも優先されるかどうかを示す値。 [bool]
requestHeaders 要求と共に送信する HTTP ヘッダー。 HttpHeader[]
validStatusCodeRanges 成功を考慮する HTTP 状態コード。 たとえば、"2xx,301-304,418" などです。 string[]

HttpHeader

名前 説明
name HTTP ヘッダーの名前。 string
value HTTP ヘッダーの値。 string

ConnectionMonitorIcmpConfiguration

名前 説明
disableTraceRoute トレース ルートを使用したパス評価を無効にするかどうかを示す値。 [bool]

ConnectionMonitorSuccessThreshold

名前 説明
checksFailedPercent テストが成功として評価できる失敗したチェックの最大割合。 INT
roundTripTimeMs テストが成功として評価できる最大ラウンドトリップ時間 (ミリ秒単位)。 INT

ConnectionMonitorTcpConfiguration

名前 説明
destinationPortBehavior 宛先ポートの動作。 'ListenIfAvailable'
'None'
disableTraceRoute トレース ルートを使用したパス評価を無効にするかどうかを示す値。 [bool]
port 接続するポート。 INT

制約:
最小値 = 0
最大値 = 65535

ConnectionMonitorTestGroup

名前 説明
destinations 宛先エンドポイント名の一覧。 string[] (必須)
無効化 (disable) テスト グループが無効かどうかを示す値。 [bool]
name 接続モニターのテスト グループの名前。 string (必須)
sources ソース エンドポイント名の一覧。 string[] (必須)
testConfigurations テスト構成名の一覧。 string[] (必須)

ARM テンプレート リソース定義

networkWatchers/connectionMonitors リソースの種類は、次をターゲットとする操作でデプロイできます。

各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。

リソース形式

Microsoft.Network/networkWatchers/connectionMonitors リソースを作成するには、次の JSON をテンプレートに追加します。

{
  "type": "Microsoft.Network/networkWatchers/connectionMonitors",
  "apiVersion": "2022-05-01",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "properties": {
    "autoStart": "bool",
    "destination": {
      "address": "string",
      "port": "int",
      "resourceId": "string"
    },
    "endpoints": [
      {
        "address": "string",
        "coverageLevel": "string",
        "filter": {
          "items": [
            {
              "address": "string",
              "type": "AgentAddress"
            }
          ],
          "type": "Include"
        },
        "name": "string",
        "resourceId": "string",
        "scope": {
          "exclude": [
            {
              "address": "string"
            }
          ],
          "include": [
            {
              "address": "string"
            }
          ]
        },
        "type": "string"
      }
    ],
    "monitoringIntervalInSeconds": "int",
    "notes": "string",
    "outputs": [
      {
        "type": "Workspace",
        "workspaceSettings": {
          "workspaceResourceId": "string"
        }
      }
    ],
    "source": {
      "port": "int",
      "resourceId": "string"
    },
    "testConfigurations": [
      {
        "httpConfiguration": {
          "method": "string",
          "path": "string",
          "port": "int",
          "preferHTTPS": "bool",
          "requestHeaders": [
            {
              "name": "string",
              "value": "string"
            }
          ],
          "validStatusCodeRanges": [ "string" ]
        },
        "icmpConfiguration": {
          "disableTraceRoute": "bool"
        },
        "name": "string",
        "preferredIPVersion": "string",
        "protocol": "string",
        "successThreshold": {
          "checksFailedPercent": "int",
          "roundTripTimeMs": "int"
        },
        "tcpConfiguration": {
          "destinationPortBehavior": "string",
          "disableTraceRoute": "bool",
          "port": "int"
        },
        "testFrequencySec": "int"
      }
    ],
    "testGroups": [
      {
        "destinations": [ "string" ],
        "disable": "bool",
        "name": "string",
        "sources": [ "string" ],
        "testConfigurations": [ "string" ]
      }
    ]
  }
}

プロパティ値

networkWatchers/connectionMonitors

名前 説明
type リソースの種類 'Microsoft.Network/networkWatchers/connectionMonitors'
apiVersion リソース API のバージョン '2022-05-01'
name リソース名

JSON ARM テンプレートで子リソースの名前と型を設定する方法を参照してください。
string (必須)
location 接続モニターの場所。 string
tags 接続モニター のタグ。 タグの名前と値のディクショナリ。 「テンプレート内のタグ」を参照してください
properties 接続モニターのプロパティ。 ConnectionMonitorParametersOrConnectionMonitorResult... (必須)

ConnectionMonitorParametersOrConnectionMonitorResult...

名前 説明
Autostart 作成後に接続モニターが自動的に起動するかどうかを指定します。 [bool]
destination 接続モニターの宛先について説明します。 ConnectionMonitorDestination
エンドポイント 接続モニター エンドポイントの一覧。 ConnectionMonitorEndpoint[]
monitoringIntervalInSeconds 監視間隔 (秒単位)。 INT

制約:
最小値 = 30
最大値 = 1800
notes 接続モニターに関連付けるオプションのメモ。 string
outputs 接続モニター出力の一覧。 ConnectionMonitorOutput[]
source 接続モニターのソースについて説明します。 ConnectionMonitorSource
testConfigurations 接続モニターのテスト構成の一覧。 ConnectionMonitorTestConfiguration[]
testGroups 接続モニターのテスト グループの一覧。 ConnectionMonitorTestGroup[]

ConnectionMonitorDestination

名前 説明
address 接続モニターの宛先のアドレス (IP またはドメイン名)。 string
port 接続モニターによって使用される宛先ポート。 INT

制約:
最小値 = 0
最大値 = 65535
resourceId 接続モニターによって宛先として使用されるリソースの ID。 string

ConnectionMonitorEndpoint

名前 説明
address 接続モニター エンドポイントのアドレス (IP またはドメイン名)。 string
coverageLevel エンドポイントのカバレッジをテストします。 'AboveAverage'
'Average'
'BelowAverage'
'Default'
'Full'
'Low'
filter エンドポイント内のサブアイテムをフィルター処理します。 ConnectionMonitorEndpointFilter
name 接続モニター エンドポイントの名前。 string (必須)
resourceId 接続モニター エンドポイントのリソース ID。 string
scope エンドポイント スコープ。 ConnectionMonitorEndpointScope
エンドポイントの種類。 'AzureArcVM'
'AzureSubnet'
'AzureVM'
'AzureVMSS'
'AzureVNet'
'ExternalAddress'
'MMAWorkspaceMachine'
'MMAWorkspaceNetwork'

ConnectionMonitorEndpointFilter

名前 説明
items フィルター内の項目の一覧。 ConnectionMonitorEndpointFilterItem[]
エンドポイント フィルターの動作。 現在、サポートされているのは 'Include' のみです。 'Include'

ConnectionMonitorEndpointFilterItem

名前 説明
address フィルター項目のアドレス。 string
type フィルターに含まれる項目の種類。 現在、'AgentAddress' のみがサポートされています。 'AgentAddress'

ConnectionMonitorEndpointScope

名前 説明
除外 エンドポイント スコープから除外する必要がある項目の一覧。 ConnectionMonitorEndpointScopeItem[]
include エンドポイント スコープに含める必要がある項目の一覧。 ConnectionMonitorEndpointScopeItem[]

ConnectionMonitorEndpointScopeItem

名前 説明
address エンドポイント項目のアドレス。 サポートされている種類は、IPv4/IPv6 サブネット マスクまたは IPv4/IPv6 IP アドレスです。 string

ConnectionMonitorOutput

名前 説明
type 接続モニターの出力先の種類。 現時点では、"ワークスペース" のみがサポートされています。 'Workspace'
workspaceSettings ログ分析ワークスペースに出力を生成するための設定について説明します。 ConnectionMonitorWorkspaceSettings

ConnectionMonitorWorkspaceSettings

名前 説明
workspaceResourceId Log Analytics ワークスペースのリソース ID。 string

ConnectionMonitorSource

名前 説明
port 接続モニターで使用されるソース ポート。 INT

制約:
最小値 = 0
最大値 = 65535
resourceId 接続モニターによってソースとして使用されるリソースの ID。 string (必須)

ConnectionMonitorTestConfiguration

名前 説明
httpConfiguration HTTP 経由でテスト評価を実行するために使用されるパラメーター。 ConnectionMonitorHttpConfiguration
icmpConfiguration ICMP 経由でテスト評価を実行するために使用されるパラメーター。 ConnectionMonitorIcmpConfiguration
name 接続モニターのテスト構成の名前。 string (必須)
preferredIPVersion テスト評価で使用する推奨 IP バージョン。 接続モニターは、他のパラメーターに応じて異なるバージョンを使用することを選択できます。 'IPv4'
'IPv6'
protocol テスト評価で使用するプロトコル。 'Http'
'Icmp'
'Tcp' (必須)
successThreshold テストを正常に宣言するためのしきい値。 ConnectionMonitorSuccessThreshold
tcpConfiguration TCP 経由でテスト評価を実行するために使用されるパラメーター。 ConnectionMonitorTcpConfiguration
testFrequencySec テスト評価の頻度 (秒単位)。 INT

ConnectionMonitorHttpConfiguration

名前 説明
method 使用する HTTP メソッド。 'Get'
'Post'
path URI のパス コンポーネント。 たとえば、"/dir1/dir2" などです。 string
port 接続するポート。 INT

制約:
最小値 = 0
最大値 = 65535
preferHTTPS 選択が明示的でない場合に HTTPS が HTTP よりも優先されるかどうかを示す値。 [bool]
requestHeaders 要求と共に送信する HTTP ヘッダー。 HttpHeader[]
validStatusCodeRanges 成功を考慮する HTTP 状態コード。 たとえば、"2xx,301-304,418" などです。 string[]

HttpHeader

名前 説明
name HTTP ヘッダーの名前。 string
value HTTP ヘッダーの値。 string

ConnectionMonitorIcmpConfiguration

名前 説明
disableTraceRoute トレース ルートを使用したパス評価を無効にするかどうかを示す値。 [bool]

ConnectionMonitorSuccessThreshold

名前 説明
checksFailedPercent テストが成功として評価できる失敗したチェックの最大割合。 INT
roundTripTimeMs テストが成功として評価できる最大ラウンドトリップ時間 (ミリ秒単位)。 INT

ConnectionMonitorTcpConfiguration

名前 説明
destinationPortBehavior 宛先ポートの動作。 'ListenIfAvailable'
'None'
disableTraceRoute トレース ルートを使用したパス評価を無効にするかどうかを示す値。 [bool]
port 接続するポート。 INT

制約:
最小値 = 0
最大値 = 65535

ConnectionMonitorTestGroup

名前 説明
destinations 宛先エンドポイント名の一覧。 string[] (必須)
無効化 (disable) テスト グループが無効かどうかを示す値。 [bool]
name 接続モニターのテスト グループの名前。 string (必須)
sources ソース エンドポイント名の一覧。 string[] (必須)
testConfigurations テスト構成名の一覧。 string[] (必須)

Terraform (AzAPI プロバイダー) リソース定義

networkWatchers/connectionMonitors リソースの種類は、次をターゲットとする操作と共にデプロイできます。

  • リソース グループ

各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。

リソース形式

Microsoft.Network/networkWatchers/connectionMonitors リソースを作成するには、次の Terraform をテンプレートに追加します。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Network/networkWatchers/connectionMonitors@2022-05-01"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  body = jsonencode({
    properties = {
      autoStart = bool
      destination = {
        address = "string"
        port = int
        resourceId = "string"
      }
      endpoints = [
        {
          address = "string"
          coverageLevel = "string"
          filter = {
            items = [
              {
                address = "string"
                type = "AgentAddress"
              }
            ]
            type = "Include"
          }
          name = "string"
          resourceId = "string"
          scope = {
            exclude = [
              {
                address = "string"
              }
            ]
            include = [
              {
                address = "string"
              }
            ]
          }
          type = "string"
        }
      ]
      monitoringIntervalInSeconds = int
      notes = "string"
      outputs = [
        {
          type = "Workspace"
          workspaceSettings = {
            workspaceResourceId = "string"
          }
        }
      ]
      source = {
        port = int
        resourceId = "string"
      }
      testConfigurations = [
        {
          httpConfiguration = {
            method = "string"
            path = "string"
            port = int
            preferHTTPS = bool
            requestHeaders = [
              {
                name = "string"
                value = "string"
              }
            ]
            validStatusCodeRanges = [
              "string"
            ]
          }
          icmpConfiguration = {
            disableTraceRoute = bool
          }
          name = "string"
          preferredIPVersion = "string"
          protocol = "string"
          successThreshold = {
            checksFailedPercent = int
            roundTripTimeMs = int
          }
          tcpConfiguration = {
            destinationPortBehavior = "string"
            disableTraceRoute = bool
            port = int
          }
          testFrequencySec = int
        }
      ]
      testGroups = [
        {
          destinations = [
            "string"
          ]
          disable = bool
          name = "string"
          sources = [
            "string"
          ]
          testConfigurations = [
            "string"
          ]
        }
      ]
    }
  })
}

プロパティ値

networkWatchers/connectionMonitors

名前 説明
type リソースの種類 "Microsoft.Network/networkWatchers/connectionMonitors@2022-05-01"
name リソース名 string (必須)
location 接続モニターの場所。 string
parent_id このリソースの親であるリソースの ID。 種類のリソースの ID: networkWatchers
tags 接続モニター タグ。 タグ名と値のディクショナリ。
properties 接続モニターのプロパティ。 ConnectionMonitorParametersOrConnectionMonitorResult... (必須)

ConnectionMonitorParametersOrConnectionMonitorResult...

名前 説明
Autostart 作成後に接続モニターが自動的に起動するかどうかを決定します。 [bool]
destination 接続モニターの宛先について説明します。 ConnectionMonitorDestination
エンドポイント 接続モニター エンドポイントの一覧。 ConnectionMonitorEndpoint[]
monitoringIntervalInSeconds 監視間隔 (秒単位)。 INT

制約:
最小値 = 30
最大値 = 1800
notes 接続モニターに関連付ける省略可能なメモ。 string
outputs 接続モニターの出力の一覧。 ConnectionMonitorOutput[]
source 接続モニターのソースについて説明します。 ConnectionMonitorSource
testConfigurations 接続モニターのテスト構成の一覧。 ConnectionMonitorTestConfiguration[]
testGroups 接続モニターのテスト グループの一覧。 ConnectionMonitorTestGroup[]

ConnectionMonitorDestination

名前 説明
address 接続モニターの宛先のアドレス (IP またはドメイン名)。 string
port 接続モニターによって使用される宛先ポート。 INT

制約:
最小値 = 0
最大値 = 65535
resourceId 接続モニターによって宛先として使用されるリソースの ID。 string

ConnectionMonitorEndpoint

名前 説明
address 接続モニター エンドポイントのアドレス (IP またはドメイン名)。 string
coverageLevel エンドポイントのカバレッジをテストします。 "AboveAverage"
"Average"
"BelowAverage"
"Default"
"Full"
"Low"
filter エンドポイント内のサブアイテムをフィルター処理します。 ConnectionMonitorEndpointFilter
name 接続モニター エンドポイントの名前。 string (必須)
resourceId 接続モニター エンドポイントのリソース ID。 string
scope エンドポイント スコープ。 ConnectionMonitorEndpointScope
エンドポイントの種類。 "AzureArcVM"
"AzureSubnet"
"AzureVM"
"AzureVMSS"
"AzureVNet"
"ExternalAddress"
"MMAWorkspaceMachine"
"MMAWorkspaceNetwork"

ConnectionMonitorEndpointFilter

名前 説明
items フィルター内の項目の一覧。 ConnectionMonitorEndpointFilterItem[]
エンドポイント フィルターの動作。 現在、サポートされているのは 'Include' のみです。 "Include"

ConnectionMonitorEndpointFilterItem

名前 説明
address フィルター項目のアドレス。 string
type フィルターに含まれる項目の種類。 現在、'AgentAddress' のみがサポートされています。 "AgentAddress"

ConnectionMonitorEndpointScope

名前 説明
除外 エンドポイント スコープから除外する必要がある項目の一覧。 ConnectionMonitorEndpointScopeItem[]
include エンドポイント スコープに含める必要がある項目の一覧。 ConnectionMonitorEndpointScopeItem[]

ConnectionMonitorEndpointScopeItem

名前 説明
address エンドポイント項目のアドレス。 サポートされている種類は、IPv4/IPv6 サブネット マスクまたは IPv4/IPv6 IP アドレスです。 string

ConnectionMonitorOutput

名前 説明
type 接続モニターの出力先の種類。 現時点では、"ワークスペース" のみがサポートされています。 "ワークスペース"
workspaceSettings ログ分析ワークスペースに出力を生成するための設定について説明します。 ConnectionMonitorWorkspaceSettings

ConnectionMonitorWorkspaceSettings

名前 説明
workspaceResourceId Log Analytics ワークスペースのリソース ID。 string

ConnectionMonitorSource

名前 説明
port 接続モニターで使用されるソース ポート。 INT

制約:
最小値 = 0
最大値 = 65535
resourceId 接続モニターによってソースとして使用されるリソースの ID。 string (必須)

ConnectionMonitorTestConfiguration

名前 説明
httpConfiguration HTTP 経由でテスト評価を実行するために使用されるパラメーター。 ConnectionMonitorHttpConfiguration
icmpConfiguration ICMP 経由でテスト評価を実行するために使用されるパラメーター。 ConnectionMonitorIcmpConfiguration
name 接続モニターのテスト構成の名前。 string (必須)
preferredIPVersion テスト評価で使用する推奨 IP バージョン。 接続モニターは、他のパラメーターに応じて異なるバージョンを使用することを選択できます。 "IPv4"
"IPv6"
protocol テスト評価で使用するプロトコル。 "Http"
"Icmp"
"Tcp" (必須)
successThreshold テストを正常に宣言するためのしきい値。 ConnectionMonitorSuccessThreshold
tcpConfiguration TCP 経由でテスト評価を実行するために使用されるパラメーター。 ConnectionMonitorTcpConfiguration
testFrequencySec テスト評価の頻度 (秒単位)。 INT

ConnectionMonitorHttpConfiguration

名前 説明
method 使用する HTTP メソッド。 "Get"
"Post"
path URI のパス コンポーネント。 たとえば、"/dir1/dir2" などです。 string
port 接続するポート。 INT

制約:
最小値 = 0
最大値 = 65535
preferHTTPS 選択が明示的でない場合に HTTPS が HTTP よりも優先されるかどうかを示す値。 [bool]
requestHeaders 要求と共に送信する HTTP ヘッダー。 HttpHeader[]
validStatusCodeRanges 成功を考慮する HTTP 状態コード。 たとえば、"2xx,301-304,418" などです。 string[]

HttpHeader

名前 説明
name HTTP ヘッダーの名前。 string
value HTTP ヘッダーの値。 string

ConnectionMonitorIcmpConfiguration

名前 説明
disableTraceRoute トレース ルートを使用したパス評価を無効にするかどうかを示す値。 [bool]

ConnectionMonitorSuccessThreshold

名前 説明
checksFailedPercent テストが成功として評価できる失敗したチェックの最大割合。 INT
roundTripTimeMs テストが成功として評価できる最大ラウンドトリップ時間 (ミリ秒単位)。 INT

ConnectionMonitorTcpConfiguration

名前 説明
destinationPortBehavior 宛先ポートの動作。 "ListenIfAvailable"
"None"
disableTraceRoute トレース ルートを使用したパス評価を無効にするかどうかを示す値。 [bool]
port 接続するポート。 INT

制約:
最小値 = 0
最大値 = 65535

ConnectionMonitorTestGroup

名前 説明
destinations 宛先エンドポイント名の一覧。 string[] (必須)
無効化 (disable) テスト グループが無効かどうかを示す値。 [bool]
name 接続モニターのテスト グループの名前。 string (必須)
sources ソース エンドポイント名の一覧。 string[] (必須)
testConfigurations テスト構成名の一覧。 string[] (必須)