Edit

Share via


Get-AzDataProtectionBackupInstancesExtensionRouting

Gets a list of backup instances associated with a tracked resource

Syntax

Default (Default)

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.

Parameter properties

Type:PSObject
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AzureRMContext, AzureCredential

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ResourceId

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

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

IBackupInstanceResource