次の方法で共有


RecoveryServicesBackupExtensions.GetBackupProtectableItemsAsync メソッド

定義

クエリ フィルターと改ページパラメーターに従って、サブスクリプション内の保護可能なオブジェクトのページング可能な一覧を提供します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupProtectableItems
  • 操作IdBackupProtectableItems_List
public static Azure.AsyncPageable<Azure.ResourceManager.RecoveryServicesBackup.Models.WorkloadProtectableItemResource> GetBackupProtectableItemsAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string vaultName, string filter = default, string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
static member GetBackupProtectableItemsAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.RecoveryServicesBackup.Models.WorkloadProtectableItemResource>
<Extension()>
Public Function GetBackupProtectableItemsAsync (resourceGroupResource As ResourceGroupResource, vaultName As String, Optional filter As String = Nothing, Optional skipToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of WorkloadProtectableItemResource)

パラメーター

resourceGroupResource
ResourceGroupResource

ResourceGroupResourceメソッドが実行されるインスタンス。

vaultName
String

Recovery Services コンテナーの名前。

filter
String

OData フィルター オプション。

skipToken
String

skipToken フィルター。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

反復処理するために複数の WorkloadProtectableItemResource サービス要求を受け取る可能性がある の非同期コレクション。

例外

vaultName は空の文字列であり、空でないと予想されていました。

vaultName が null です。

適用対象