次の方法で共有


ManagedDiskCollection クラス

定義

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

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

コンストラクター

ManagedDiskCollection()

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

プロパティ

Client

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

(継承元 ArmCollection)
Diagnostics

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

(継承元 ArmCollection)
Endpoint

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

(継承元 ArmCollection)
Id

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

(継承元 ArmCollection)
Pipeline

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

(継承元 ArmCollection)

メソッド

CreateOrUpdate(WaitUntil, String, ManagedDiskData, CancellationToken)

ディスクを作成または更新します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}
  • 操作IdDisks_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, ManagedDiskData, CancellationToken)

ディスクを作成または更新します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}
  • 操作IdDisks_CreateOrUpdate
Exists(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}
  • 操作IdDisks_Get
ExistsAsync(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}
  • 操作IdDisks_Get
Get(String, CancellationToken)

ディスクに関する情報を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}
  • 操作IdDisks_Get
GetAll(CancellationToken)

リソース グループのすべてのディスクを一覧表示します。

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

リソース グループのすべてのディスクを一覧表示します。

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

ディスクに関する情報を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}
  • 操作IdDisks_Get
TryGetApiVersion(ResourceType, String)

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

(継承元 ArmCollection)

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

IAsyncEnumerable<ManagedDiskResource>.GetAsyncEnumerator(CancellationToken)

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

IEnumerable.GetEnumerator()

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

IEnumerable<ManagedDiskResource>.GetEnumerator()

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

適用対象