次の方法で共有


NetworkExtensions.GetNetworkManagers メソッド

定義

オーバーロード

GetNetworkManagers(ResourceGroupResource)

ResourceGroupResource 内の NetworkManagerResources のコレクションを取得します。

GetNetworkManagers(SubscriptionResource, Nullable<Int32>, String, CancellationToken)

サブスクリプション内のすべてのネットワーク マネージャーを一覧表示します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Network/networkManagers
  • 操作IdNetworkManagers_ListBySubscription

GetNetworkManagers(ResourceGroupResource)

ResourceGroupResource 内の NetworkManagerResources のコレクションを取得します。

public static Azure.ResourceManager.Network.NetworkManagerCollection GetNetworkManagers (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetNetworkManagers : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Network.NetworkManagerCollection
<Extension()>
Public Function GetNetworkManagers (resourceGroupResource As ResourceGroupResource) As NetworkManagerCollection

パラメーター

resourceGroupResource
ResourceGroupResource

ResourceGroupResourceメソッドが実行されるインスタンス。

戻り値

NetworkManagerResources のコレクションとその NetworkManagerResource に対する操作を表す オブジェクト。

適用対象

GetNetworkManagers(SubscriptionResource, Nullable<Int32>, String, CancellationToken)

サブスクリプション内のすべてのネットワーク マネージャーを一覧表示します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Network/networkManagers
  • 操作IdNetworkManagers_ListBySubscription
public static Azure.Pageable<Azure.ResourceManager.Network.NetworkManagerResource> GetNetworkManagers (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, int? top = default, string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
static member GetNetworkManagers : Azure.ResourceManager.Resources.SubscriptionResource * Nullable<int> * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.NetworkManagerResource>
<Extension()>
Public Function GetNetworkManagers (subscriptionResource As SubscriptionResource, Optional top As Nullable(Of Integer) = Nothing, Optional skipToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of NetworkManagerResource)

パラメーター

subscriptionResource
SubscriptionResource

SubscriptionResourceメソッドが実行されるインスタンス。

top
Nullable<Int32>

サーバーから返されるレコードの最大数を指定する省略可能なクエリ パラメーター。

skipToken
String

SkipToken は、前の操作で部分的な結果が返された場合にのみ使用されます。 前の応答に nextLink 要素が含まれている場合、nextLink 要素の値には、後続の呼び出しに使用する開始点を指定する skipToken パラメーターが含まれます。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

反復処理するために複数の NetworkManagerResource サービス要求を受け取る可能性がある のコレクション。

適用対象