次の方法で共有


SiteRecoveryProtectionContainerResource.GetSiteRecoveryProtectableItemAsync メソッド

定義

保護可能な項目の詳細を取得する操作。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectableItems/{protectableItemName}
  • 操作IdReplicationProtectableItems_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryProtectableItemResource>> GetSiteRecoveryProtectableItemAsync (string protectableItemName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSiteRecoveryProtectableItemAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryProtectableItemResource>>
override this.GetSiteRecoveryProtectableItemAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryProtectableItemResource>>
Public Overridable Function GetSiteRecoveryProtectableItemAsync (protectableItemName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SiteRecoveryProtectableItemResource))

パラメーター

protectableItemName
String

保護可能な項目名。

cancellationToken
CancellationToken

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

戻り値

例外

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

protectableItemName が null です。

適用対象