次の方法で共有


InboundNatRuleCollection クラス

定義

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

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

コンストラクター

InboundNatRuleCollection()

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

プロパティ

Client

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

(継承元 ArmCollection)
Diagnostics

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

(継承元 ArmCollection)
Endpoint

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

(継承元 ArmCollection)
Id

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

(継承元 ArmCollection)
Pipeline

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

(継承元 ArmCollection)

メソッド

CreateOrUpdate(WaitUntil, String, InboundNatRuleData, CancellationToken)

ロード バランサーの受信 NAT 規則を作成または更新します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}
  • 操作IdInboundNatRules_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, InboundNatRuleData, CancellationToken)

ロード バランサーの受信 NAT 規則を作成または更新します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}
  • 操作IdInboundNatRules_CreateOrUpdate
Exists(String, String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}
  • 操作IdInboundNatRules_Get
ExistsAsync(String, String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}
  • 操作IdInboundNatRules_Get
Get(String, String, CancellationToken)

指定したロード バランサーの受信 NAT 規則を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}
  • 操作IdInboundNatRules_Get
GetAll(CancellationToken)

ロード バランサー内のすべての受信 NAT 規則を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules
  • 操作IdInboundNatRules_List
GetAllAsync(CancellationToken)

ロード バランサー内のすべての受信 NAT 規則を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules
  • 操作IdInboundNatRules_List
GetAsync(String, String, CancellationToken)

指定したロード バランサーの受信 NAT 規則を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}
  • 操作IdInboundNatRules_Get
GetIfExists(String, String, CancellationToken)

サービスからこのリソースの詳細の取得を試みます。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}
  • 操作IdInboundNatRules_Get
GetIfExistsAsync(String, String, CancellationToken)

サービスからこのリソースの詳細の取得を試みます。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}
  • 操作IdInboundNatRules_Get
TryGetApiVersion(ResourceType, String)

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

(継承元 ArmCollection)

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

IAsyncEnumerable<InboundNatRuleResource>.GetAsyncEnumerator(CancellationToken)

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

IEnumerable.GetEnumerator()

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

IEnumerable<InboundNatRuleResource>.GetEnumerator()

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

適用対象