Network Interfaces - Get Effective Route Table

ネットワーク インターフェイスに適用されているすべてのルート テーブルを取得します。

POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveRouteTable?api-version=2023-09-01

URI パラメーター

名前 / 必須 説明
networkInterfaceName
path True

string

ネットワーク インターフェイスの名前。

resourceGroupName
path True

string

リソース グループの名前。

subscriptionId
path True

string

Microsoft Azure サブスクリプションを一意に識別するサブスクリプションの資格情報。 サブスクリプション ID は、全ての修理依頼についてURI の一部を生じさせます。

api-version
query True

string

クライアント API バージョン。

応答

名前 説明
200 OK

EffectiveRouteListResult

要求が成功しました。 操作は EffectRoute リソースの一覧を返します。

202 Accepted

受け入れられ、操作は非同期的に完了します。

Other Status Codes

CloudError

操作に失敗した理由を説明するエラー応答。

セキュリティ

azure_auth

Azure Active Directory OAuth2 フロー。

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

名前 説明
user_impersonation ユーザー アカウントの借用

Show network interface effective route tables

Sample Request

POST https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/effectiveRouteTable?api-version=2023-09-01

Sample Response

{
  "value": [
    {
      "source": "Default",
      "state": "Active",
      "addressPrefix": [
        "172.20.2.0/24"
      ],
      "nextHopType": "VnetLocal",
      "nextHopIpAddress": []
    },
    {
      "source": "Default",
      "state": "Active",
      "addressPrefix": [
        "0.0.0.0/0"
      ],
      "nextHopType": "Internet",
      "nextHopIpAddress": []
    },
    {
      "source": "Default",
      "state": "Active",
      "addressPrefix": [
        "10.0.0.0/8"
      ],
      "nextHopType": "None",
      "nextHopIpAddress": []
    },
    {
      "source": "Default",
      "state": "Active",
      "addressPrefix": [
        "100.64.0.0/10"
      ],
      "nextHopType": "None",
      "nextHopIpAddress": []
    },
    {
      "source": "Default",
      "state": "Active",
      "addressPrefix": [
        "172.16.0.0/12"
      ],
      "nextHopType": "None",
      "nextHopIpAddress": []
    },
    {
      "source": "Default",
      "state": "Active",
      "addressPrefix": [
        "192.168.0.0/16"
      ],
      "nextHopType": "None",
      "nextHopIpAddress": []
    }
  ]
}
Location: https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-09-01

定義

名前 説明
CloudError

サービスからのエラー応答。

CloudErrorBody

サービスからのエラー応答。

EffectiveRoute

有効なルート。

EffectiveRouteListResult

有効なルート API サービス呼び出しの一覧に対する応答。

EffectiveRouteSource

ルートを作成したユーザー。

EffectiveRouteState

有効なルートの値。

RouteNextHopType

パケットの送信先となる Azure ホップの種類。

CloudError

サービスからのエラー応答。

名前 説明
error

CloudErrorBody

クラウド エラー本文。

CloudErrorBody

サービスからのエラー応答。

名前 説明
code

string

エラーの識別子。 コードは不変であり、プログラムによって使用されることを意図しています。

details

CloudErrorBody[]

エラーに関する追加の詳細の一覧。

message

string

ユーザー インターフェイスでの表示に適したエラーを説明するメッセージ。

target

string

特定のエラーのターゲット。 たとえば、エラーが発生したプロパティの名前です。

EffectiveRoute

有効なルート。

名前 説明
addressPrefix

string[]

有効なルートのアドレス プレフィックス (CIDR 表記)。

disableBgpRoutePropagation

boolean

true の場合、オンプレミス ルートはサブネット内のネットワーク インターフェイスに伝達されません。

name

string

ユーザー定義ルートの名前。 これは省略可能です。

nextHopIpAddress

string[]

有効なルートの次ホップの IP アドレス。

nextHopType

RouteNextHopType

パケットの送信先となる Azure ホップの種類。

source

EffectiveRouteSource

ルートを作成したユーザー。

state

EffectiveRouteState

有効なルートの値。

EffectiveRouteListResult

有効なルート API サービス呼び出しの一覧に対する応答。

名前 説明
nextLink

string

次の結果セットを取得する URL。

value

EffectiveRoute[]

有効なルートの一覧。

EffectiveRouteSource

ルートを作成したユーザー。

名前 説明
Default

string

Unknown

string

User

string

VirtualNetworkGateway

string

EffectiveRouteState

有効なルートの値。

名前 説明
Active

string

Invalid

string

RouteNextHopType

パケットの送信先となる Azure ホップの種類。

名前 説明
Internet

string

None

string

VirtualAppliance

string

VirtualNetworkGateway

string

VnetLocal

string