次の方法で共有


VpnSiteLinkConnectionCollection クラス

定義

のコレクション VpnSiteLinkConnectionResource とその操作を表すクラス。 コレクション内の各 VpnSiteLinkConnectionResource は、 の同じインスタンス VpnConnectionResourceに属します。 インスタンスを VpnSiteLinkConnectionCollection 取得するには、 のインスタンス VpnConnectionResourceから GetVpnSiteLinkConnections メソッドを呼び出します。

public class VpnSiteLinkConnectionCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Network.VpnSiteLinkConnectionResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.VpnSiteLinkConnectionResource>
type VpnSiteLinkConnectionCollection = class
    inherit ArmCollection
    interface seq<VpnSiteLinkConnectionResource>
    interface IEnumerable
    interface IAsyncEnumerable<VpnSiteLinkConnectionResource>
Public Class VpnSiteLinkConnectionCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of VpnSiteLinkConnectionResource), IEnumerable(Of VpnSiteLinkConnectionResource)
継承
VpnSiteLinkConnectionCollection
実装

コンストラクター

VpnSiteLinkConnectionCollection()

モック作成のために クラスの VpnSiteLinkConnectionCollection 新しいインスタンスを初期化します。

プロパティ

Client

このリソース クライアントの ArmClient 作成元を取得します。

(継承元 ArmCollection)
Diagnostics

このリソース クライアントの診断オプションを取得します。

(継承元 ArmCollection)
Endpoint

このリソース クライアントのベース URI を取得します。

(継承元 ArmCollection)
Id

リソース識別子を取得します。

(継承元 ArmCollection)
Pipeline

このリソース クライアントのパイプラインを取得します。

(継承元 ArmCollection)

メソッド

Exists(String, CancellationToken)

リソースが Azure に存在するかどうかを確認します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}
  • 操作IdVpnSiteLinkConnections_Get
ExistsAsync(String, CancellationToken)

リソースが Azure に存在するかどうかを確認します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}
  • 操作IdVpnSiteLinkConnections_Get
Get(String, CancellationToken)

VPN サイト リンク接続の詳細を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}
  • 操作IdVpnSiteLinkConnections_Get
GetAll(CancellationToken)

特定の仮想 WAN VPN ゲートウェイ VPN 接続のすべての VPN サイト リンク接続を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections
  • 操作IdVpnLinkConnections_ListByVpnConnection
GetAllAsync(CancellationToken)

特定の仮想 WAN VPN ゲートウェイ VPN 接続のすべての VPN サイト リンク接続を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections
  • 操作IdVpnLinkConnections_ListByVpnConnection
GetAsync(String, CancellationToken)

VPN サイト リンク接続の詳細を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}
  • 操作IdVpnSiteLinkConnections_Get
GetIfExists(String, CancellationToken)

サービスからこのリソースの詳細を取得しようとします。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}
  • 操作IdVpnSiteLinkConnections_Get
GetIfExistsAsync(String, CancellationToken)

サービスからこのリソースの詳細を取得しようとします。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}
  • 操作IdVpnSiteLinkConnections_Get
TryGetApiVersion(ResourceType, String)

現在のクライアント オプションに対して設定されている場合は、API バージョンのオーバーライドを取得します。

(継承元 ArmCollection)

明示的なインターフェイスの実装

IAsyncEnumerable<VpnSiteLinkConnectionResource>.GetAsyncEnumerator(CancellationToken)

コレクションを非同期に反復処理する列挙子を返します。

IEnumerable.GetEnumerator()

コレクションを反復処理する列挙子を返します。

IEnumerable<VpnSiteLinkConnectionResource>.GetEnumerator()

コレクションを反復処理する列挙子を返します。

適用対象