Skip to main content

backup_instances_extension_routing

Creates, updates, deletes, gets or lists a backup_instances_extension_routing resource.

Overview

Namebackup_instances_extension_routing
TypeResource
Idazure.data_protection.backup_instances_extension_routing

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
currentProtectionStatestringSpecifies the current protection state of the resource. Known values are: "Invalid", "NotProtected", "ConfiguringProtection", "ProtectionConfigured", "BackupSchedulesSuspended", "RetentionSchedulesSuspended", "ProtectionStopped", "ProtectionError", "ConfiguringProtectionFailed", "SoftDeleting", "SoftDeleted", and "UpdatingProtection". (Invalid, NotProtected, ConfiguringProtection, ProtectionConfigured, BackupSchedulesSuspended, RetentionSchedulesSuspended, ProtectionStopped, ProtectionError, ConfiguringProtectionFailed, SoftDeleting, SoftDeleted, UpdatingProtection)
dataSourceInfoobjectGets or sets the data source information. Required.
dataSourceSetInfoobjectGets or sets the data source set information.
datasourceAuthCredentialsobjectCredentials to use to authenticate with data source provider.
friendlyNamestringGets or sets the Backup Instance friendly name.
identityDetailsobjectContains information of the Identity Details for the BI. If it is null, default will be considered as System Assigned.
objectTypestringRequired.
policyInfoobjectGets or sets the policy information. Required.
protectionErrorDetailsobjectSpecifies the protection error of the resource.
protectionStatusobjectSpecifies the protection status of the resource.
provisioningStatestringSpecifies the provisioning state of the resource i.e. provisioning/updating/Succeeded/Failed.
resourceGuardOperationRequestsarrayResourceGuardOperationRequests on which LAC check will be performed.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
tagsobjectProxy Resource tags.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
validationTypestringSpecifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again. Known values are: "ShallowValidation" and "DeepValidation". (ShallowValidation, DeepValidation)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectresource_idGets a list of backup instances associated with a tracked resource.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
resource_idstringARM path of the resource to be protected using Microsoft.DataProtection. Required.

SELECT examples

Gets a list of backup instances associated with a tracked resource.

SELECT
id,
name,
currentProtectionState,
dataSourceInfo,
dataSourceSetInfo,
datasourceAuthCredentials,
friendlyName,
identityDetails,
objectType,
policyInfo,
protectionErrorDetails,
protectionStatus,
provisioningState,
resourceGuardOperationRequests,
systemData,
tags,
type,
validationType
FROM azure.data_protection.backup_instances_extension_routing
WHERE resource_id = '{{ resource_id }}' -- required
;