共用方式為


Get-AzDataProtectionBackupInstancesExtensionRouting

取得與追蹤資源相關聯的備份實例清單

語法

Get-AzDataProtectionBackupInstancesExtensionRouting
   -ResourceId <String>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

取得與追蹤資源相關聯的備份實例清單

範例

範例 1:取得備份實例擴充路由

$diskARMID = "subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx/resourceGroups/testRG/providers/Microsoft.Compute/disks/testDisk"
Get-AzDataProtectionBackupInstancesExtensionRouting -ResourceId $diskARMID

此命令會取得與追蹤資源相關聯的備份實例清單。 若要執行 Cmdlet,我們會將數據源 ARM 標識碼傳遞至參數 ResourceId。

參數

-DefaultProfile

DefaultProfile 參數無法運作。 如果針對不同的訂用帳戶執行 Cmdlet,請使用 SubscriptionId 參數。

類型:PSObject
別名:AzureRMContext, AzureCredential
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-ResourceId

使用 Microsoft.DataProtection 保護之資源的 ARM 路徑

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

輸出

IBackupInstanceResource