次の方法で共有


DataShareTriggerCollection クラス

定義

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

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

コンストラクター

DataShareTriggerCollection()

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

プロパティ

Client

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

(継承元 ArmCollection)
Diagnostics

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

(継承元 ArmCollection)
Endpoint

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

(継承元 ArmCollection)
Id

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

(継承元 ArmCollection)
Pipeline

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

(継承元 ArmCollection)

メソッド

CreateOrUpdate(WaitUntil, String, DataShareTriggerData, CancellationToken)

トリガーを作成する

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/triggers/{triggerName}
  • 操作IdTriggers_Create
CreateOrUpdateAsync(WaitUntil, String, DataShareTriggerData, CancellationToken)

トリガーを作成する

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/triggers/{triggerName}
  • 操作IdTriggers_Create
Exists(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/triggers/{triggerName}
  • 操作IdTriggers_Get
ExistsAsync(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/triggers/{triggerName}
  • 操作IdTriggers_Get
Get(String, CancellationToken)

shareSubscription でトリガーを取得する

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/triggers/{triggerName}
  • 操作IdTriggers_Get
GetAll(String, CancellationToken)

共有サブスクリプションのトリガーを一覧表示する

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/triggers
  • 操作IdTriggers_ListByShareSubscription
GetAllAsync(String, CancellationToken)

共有サブスクリプションのトリガーを一覧表示する

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/triggers
  • 操作IdTriggers_ListByShareSubscription
GetAsync(String, CancellationToken)

shareSubscription でトリガーを取得する

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/triggers/{triggerName}
  • 操作IdTriggers_Get
TryGetApiVersion(ResourceType, String)

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

(継承元 ArmCollection)

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

IAsyncEnumerable<DataShareTriggerResource>.GetAsyncEnumerator(CancellationToken)

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

IEnumerable.GetEnumerator()

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

IEnumerable<DataShareTriggerResource>.GetEnumerator()

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

適用対象