CosmosDBServiceCollection クラス

定義

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

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

コンストラクター

CosmosDBServiceCollection()

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

プロパティ

Client

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

(継承元 ArmCollection)
Diagnostics

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

(継承元 ArmCollection)
Endpoint

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

(継承元 ArmCollection)
Id

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

(継承元 ArmCollection)
Pipeline

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

(継承元 ArmCollection)

メソッド

CreateOrUpdate(WaitUntil, String, CosmosDBServiceCreateOrUpdateContent, CancellationToken)

サービスを作成します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/services/{serviceName}
  • 操作IdService_Create
CreateOrUpdateAsync(WaitUntil, String, CosmosDBServiceCreateOrUpdateContent, CancellationToken)

サービスを作成します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/services/{serviceName}
  • 操作IdService_Create
Exists(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/services/{serviceName}
  • 操作IdService_Get
ExistsAsync(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/services/{serviceName}
  • 操作IdService_Get
Get(String, CancellationToken)

サービスの状態を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/services/{serviceName}
  • 操作IdService_Get
GetAll(CancellationToken)

サービスの状態を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/services
  • 操作IdService_List
GetAllAsync(CancellationToken)

サービスの状態を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/services
  • 操作IdService_List
GetAsync(String, CancellationToken)

サービスの状態を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/services/{serviceName}
  • 操作IdService_Get
GetIfExists(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/services/{serviceName}
  • 操作IdService_Get
GetIfExistsAsync(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/services/{serviceName}
  • 操作IdService_Get
TryGetApiVersion(ResourceType, String)

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

(継承元 ArmCollection)

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

IAsyncEnumerable<CosmosDBServiceResource>.GetAsyncEnumerator(CancellationToken)

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

IEnumerable.GetEnumerator()

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

IEnumerable<CosmosDBServiceResource>.GetEnumerator()

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

適用対象