ServiceFabricServiceCollection クラス

定義

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

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

コンストラクター

ServiceFabricServiceCollection()

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

プロパティ

Client

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

(継承元 ArmCollection)
Diagnostics

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

(継承元 ArmCollection)
Endpoint

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

(継承元 ArmCollection)
Id

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

(継承元 ArmCollection)
Pipeline

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

(継承元 ArmCollection)

メソッド

CreateOrUpdate(WaitUntil, String, ServiceFabricServiceData, CancellationToken)

指定した名前で Service Fabric サービス リソースを作成または更新します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}/services/{serviceName}
  • 操作IdServices_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, ServiceFabricServiceData, CancellationToken)

指定した名前で Service Fabric サービス リソースを作成または更新します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}/services/{serviceName}
  • 操作IdServices_CreateOrUpdate
Exists(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}/services/{serviceName}
  • 操作IdServices_Get
ExistsAsync(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}/services/{serviceName}
  • 操作IdServices_Get
Get(String, CancellationToken)

作成された Service Fabric サービス リソースを取得するか、Service Fabric アプリケーション リソースで作成中に取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}/services/{serviceName}
  • 操作IdServices_Get
GetAll(CancellationToken)

Service Fabric アプリケーション リソースで作成された、または作成中のすべてのサービス リソースを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}/services
  • 操作IdServices_List
GetAllAsync(CancellationToken)

Service Fabric アプリケーション リソースで作成された、または作成中のすべてのサービス リソースを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}/services
  • 操作IdServices_List
GetAsync(String, CancellationToken)

作成された Service Fabric サービス リソースを取得するか、Service Fabric アプリケーション リソースで作成中に取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}/services/{serviceName}
  • 操作IdServices_Get
TryGetApiVersion(ResourceType, String)

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

(継承元 ArmCollection)

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

IAsyncEnumerable<ServiceFabricServiceResource>.GetAsyncEnumerator(CancellationToken)

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

IEnumerable.GetEnumerator()

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

IEnumerable<ServiceFabricServiceResource>.GetEnumerator()

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

適用対象