次の方法で共有


EmailServiceResourceCollection クラス

定義

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

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

コンストラクター

EmailServiceResourceCollection()

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

プロパティ

Client

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

(継承元 ArmCollection)
Diagnostics

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

(継承元 ArmCollection)
Endpoint

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

(継承元 ArmCollection)
Id

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

(継承元 ArmCollection)
Pipeline

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

(継承元 ArmCollection)

メソッド

CreateOrUpdate(WaitUntil, String, EmailServiceResourceData, CancellationToken)

新しい EmailService を作成するか、既存の EmailService を更新します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}
  • 操作IdEmailServices_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, EmailServiceResourceData, CancellationToken)

新しい EmailService を作成するか、既存の EmailService を更新します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}
  • 操作IdEmailServices_CreateOrUpdate
Exists(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}
  • 操作IdEmailServices_Get
ExistsAsync(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}
  • 操作IdEmailServices_Get
Get(String, CancellationToken)

EmailService とそのプロパティを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}
  • 操作IdEmailServices_Get
GetAll(CancellationToken)

リソース グループ内のすべてのリソースを一覧表示する要求を処理します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices
  • 操作IdEmailServices_ListByResourceGroup
GetAllAsync(CancellationToken)

リソース グループ内のすべてのリソースを一覧表示する要求を処理します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices
  • 操作IdEmailServices_ListByResourceGroup
GetAsync(String, CancellationToken)

EmailService とそのプロパティを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}
  • 操作IdEmailServices_Get
TryGetApiVersion(ResourceType, String)

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

(継承元 ArmCollection)

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

IAsyncEnumerable<EmailServiceResource>.GetAsyncEnumerator(CancellationToken)

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

IEnumerable.GetEnumerator()

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

IEnumerable<EmailServiceResource>.GetEnumerator()

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

適用対象