ServiceUnitResourceCollection クラス

定義

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

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

コンストラクター

ServiceUnitResourceCollection()

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

プロパティ

Client

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

(継承元 ArmCollection)
Diagnostics

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

(継承元 ArmCollection)
Endpoint

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

(継承元 ArmCollection)
Id

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

(継承元 ArmCollection)
Pipeline

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

(継承元 ArmCollection)

メソッド

CreateOrUpdate(WaitUntil, String, ServiceUnitResourceData, CancellationToken)

これは非同期操作であり、この操作によって返される操作リソースを使用して、完了にポーリングできます。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeploymentManager/serviceTopologies/{serviceTopologyName}/services/{serviceName}/serviceUnits/{serviceUnitName}
  • 操作IdServiceUnits_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, ServiceUnitResourceData, CancellationToken)

これは非同期操作であり、この操作によって返される操作リソースを使用して、完了にポーリングできます。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeploymentManager/serviceTopologies/{serviceTopologyName}/services/{serviceName}/serviceUnits/{serviceUnitName}
  • 操作IdServiceUnits_CreateOrUpdate
Exists(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeploymentManager/serviceTopologies/{serviceTopologyName}/services/{serviceName}/serviceUnits/{serviceUnitName}
  • 操作IdServiceUnits_Get
ExistsAsync(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeploymentManager/serviceTopologies/{serviceTopologyName}/services/{serviceName}/serviceUnits/{serviceUnitName}
  • 操作IdServiceUnits_Get
Get(String, CancellationToken)

サービス ユニットを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeploymentManager/serviceTopologies/{serviceTopologyName}/services/{serviceName}/serviceUnits/{serviceUnitName}
  • 操作IdServiceUnits_Get
GetAll(CancellationToken)

サービス トポロジ内のサービスの下にあるサービス ユニットを一覧表示します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeploymentManager/serviceTopologies/{serviceTopologyName}/services/{serviceName}/serviceUnits
  • 操作IdServiceUnits_List
GetAllAsync(CancellationToken)

サービス トポロジ内のサービスの下にあるサービス ユニットを一覧表示します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeploymentManager/serviceTopologies/{serviceTopologyName}/services/{serviceName}/serviceUnits
  • 操作IdServiceUnits_List
GetAsync(String, CancellationToken)

サービス ユニットを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeploymentManager/serviceTopologies/{serviceTopologyName}/services/{serviceName}/serviceUnits/{serviceUnitName}
  • 操作IdServiceUnits_Get
TryGetApiVersion(ResourceType, String)

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

(継承元 ArmCollection)

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

IAsyncEnumerable<ServiceUnitResource>.GetAsyncEnumerator(CancellationToken)

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

IEnumerable.GetEnumerator()

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

IEnumerable<ServiceUnitResource>.GetEnumerator()

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

適用対象