編輯

共用方式為


Get-AzDataProtectionBackupInstancesExtensionRouting

Gets a list of backup instances associated with a tracked resource

Syntax

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

Description

Gets a list of backup instances associated with a tracked resource

Examples

Example 1: Get backup instance extension routing

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

This command gets a list of backup instances associated with a tracked resource. To execute the cmdlet, We pass the datasource ARM ID to the parameter ResourceId.

Parameters

-DefaultProfile

The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.

Type:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ResourceId

ARM path of the resource to be protected using Microsoft.DataProtection

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Outputs

IBackupInstanceResource