diff --git a/src/DataProtection/.gitattributes b/src/DataProtection/.gitattributes
new file mode 100644
index 000000000000..2125666142eb
--- /dev/null
+++ b/src/DataProtection/.gitattributes
@@ -0,0 +1 @@
+* text=auto
\ No newline at end of file
diff --git a/src/DataProtection/.gitignore b/src/DataProtection/.gitignore
new file mode 100644
index 000000000000..7998f37e1e47
--- /dev/null
+++ b/src/DataProtection/.gitignore
@@ -0,0 +1,5 @@
+bin
+obj
+.vs
+tools
+test/*-TestResults.xml
\ No newline at end of file
diff --git a/src/DataProtection/Az.DataProtection.csproj b/src/DataProtection/Az.DataProtection.csproj
new file mode 100644
index 000000000000..1416e9400bfd
--- /dev/null
+++ b/src/DataProtection/Az.DataProtection.csproj
@@ -0,0 +1,43 @@
+
+
+
+ 0.1.0
+ 7.1
+ netstandard2.0
+ Library
+ Az.DataProtection.private
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection
+ true
+ false
+ ./bin
+ $(OutputPath)
+ Az.DataProtection.nuspec
+ true
+
+ 1998
+ true
+
+
+
+
+ false
+ TRACE;DEBUG;NETSTANDARD
+
+
+
+ true
+ true
+ MSSharedLibKey.snk
+ TRACE;RELEASE;NETSTANDARD;SIGN
+
+
+
+
+
+
+
+
+ $(DefaultItemExcludes);resources/**
+
+
+
\ No newline at end of file
diff --git a/src/DataProtection/Az.DataProtection.format.ps1xml b/src/DataProtection/Az.DataProtection.format.ps1xml
new file mode 100644
index 000000000000..0871c62d7207
--- /dev/null
+++ b/src/DataProtection/Az.DataProtection.format.ps1xml
@@ -0,0 +1,3055 @@
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.BackupInstancesAdhocBackupAcceptedResponseHeaders
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.BackupInstancesAdhocBackupAcceptedResponseHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AzureAsyncOperation
+
+
+ Location
+
+
+ RetryAfter
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.BackupInstancesDeleteAcceptedResponseHeaders
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.BackupInstancesDeleteAcceptedResponseHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AzureAsyncOperation
+
+
+ Location
+
+
+ RetryAfter
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.BackupInstancesTriggerRehydrateAcceptedResponseHeaders
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.BackupInstancesTriggerRehydrateAcceptedResponseHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AzureAsyncOperation
+
+
+ Location
+
+
+ RetryAfter
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.BackupInstancesTriggerRestoreAcceptedResponseHeaders
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.BackupInstancesTriggerRestoreAcceptedResponseHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AzureAsyncOperation
+
+
+ Location
+
+
+ RetryAfter
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.BackupInstancesValidateForBackupAcceptedResponseHeaders
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.BackupInstancesValidateForBackupAcceptedResponseHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AzureAsyncOperation
+
+
+ Location
+
+
+ RetryAfter
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.BackupInstancesValidateRestoreAcceptedResponseHeaders
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.BackupInstancesValidateRestoreAcceptedResponseHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AzureAsyncOperation
+
+
+ Location
+
+
+ RetryAfter
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.DataProtectionIdentity
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.DataProtectionIdentity
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ BackupInstanceName
+
+
+ BackupPolicyName
+
+
+ JobId
+
+
+ Location
+
+
+ OperationId
+
+
+ RecoveryPointId
+
+
+ ResourceGroupName
+
+
+ ResourceOperationGateKeepersName
+
+
+ SubscriptionId
+
+
+ VaultName
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.ExportJobsTriggerAcceptedResponseHeaders
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.ExportJobsTriggerAcceptedResponseHeaders
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Location
+
+
+ RetryAfter
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.BackupInstanceResource
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.BackupInstanceResource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ Type
+
+
+ FriendlyName
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.AbsoluteDeleteOption
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.AbsoluteDeleteOption
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Duration
+
+
+ ObjectType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.AdHocBackupRuleOptions
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.AdHocBackupRuleOptions
+
+
+
+
+
+
+
+
+
+
+
+ RuleName
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.AdhocBackupTriggerOption
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.AdhocBackupTriggerOption
+
+
+
+
+
+
+
+
+
+
+
+ RetentionTagOverride
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.AdhocBasedTriggerContext
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.AdhocBasedTriggerContext
+
+
+
+
+
+
+
+
+
+
+
+ ObjectType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.AzureBackupDiscreteRecoveryPoint
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.AzureBackupDiscreteRecoveryPoint
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ObjectType
+
+
+ FriendlyName
+
+
+ RecoveryPointTime
+
+
+ RecoveryPointType
+
+
+ RetentionTagName
+
+
+ RetentionTagVersion
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.AzureBackupJob
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.AzureBackupJob
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ActivityId
+
+
+ BackupInstanceFriendlyName
+
+
+ BackupInstanceId
+
+
+ DataSourceId
+
+
+ DataSourceLocation
+
+
+ DataSourceName
+
+
+ DataSourceSetName
+
+
+ DataSourceType
+
+
+ EndTime
+
+
+ IsUserTriggered
+
+
+ Operation
+
+
+ OperationCategory
+
+
+ PolicyId
+
+
+ PolicyName
+
+
+ ProgressEnabled
+
+
+ ProgressUrl
+
+
+ RestoreType
+
+
+ SourceResourceGroup
+
+
+ SourceSubscriptionId
+
+
+ StartTime
+
+
+ Status
+
+
+ SubscriptionId
+
+
+ SupportedAction
+
+
+ VaultName
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.AzureBackupJobResource
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.AzureBackupJobResource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.AzureBackupJobResourceList
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.AzureBackupJobResourceList
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.AzureBackupParams
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.AzureBackupParams
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ObjectType
+
+
+ BackupType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.AzureBackupRecoveryPoint
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.AzureBackupRecoveryPoint
+
+
+
+
+
+
+
+
+
+
+
+ ObjectType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.AzureBackupRecoveryPointBasedRestoreRequest
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.AzureBackupRecoveryPointBasedRestoreRequest
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ObjectType
+
+
+ RestoreTargetInfoObjectType
+
+
+ RestoreTargetInfoRecoveryOption
+
+
+ RestoreTargetInfoRestoreLocation
+
+
+ SourceDataStoreType
+
+
+ RecoveryPointId
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.AzureBackupRecoveryPointResource
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.AzureBackupRecoveryPointResource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.AzureBackupRecoveryPointResourceList
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.AzureBackupRecoveryPointResourceList
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.AzureBackupRehydrationRequest
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.AzureBackupRehydrationRequest
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RecoveryPointId
+
+
+ RehydrationPriority
+
+
+ RehydrationRetentionDuration
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.AzureBackupRestoreRequest
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.AzureBackupRestoreRequest
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ObjectType
+
+
+ SourceDataStoreType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.AzureBackupRestoreWithRehydrationRequest
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.AzureBackupRestoreWithRehydrationRequest
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ObjectType
+
+
+ RecoveryPointId
+
+
+ RestoreTargetInfoObjectType
+
+
+ RestoreTargetInfoRecoveryOption
+
+
+ RestoreTargetInfoRestoreLocation
+
+
+ SourceDataStoreType
+
+
+ RehydrationPriority
+
+
+ RehydrationRetentionDuration
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.AzureBackupRule
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.AzureBackupRule
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ ObjectType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.AzureRetentionRule
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.AzureRetentionRule
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ ObjectType
+
+
+ IsDefault
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.BackupCriteria
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.BackupCriteria
+
+
+
+
+
+
+
+
+
+
+
+ ObjectType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.BackupInstance
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.BackupInstance
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ObjectType
+
+
+ ProvisioningState
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.BackupInstanceResourceList
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.BackupInstanceResourceList
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.BackupParameters
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.BackupParameters
+
+
+
+
+
+
+
+
+
+
+
+ ObjectType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.BackupPolicy
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.BackupPolicy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DatasourceType
+
+
+ ObjectType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.BackupSchedule
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.BackupSchedule
+
+
+
+
+
+
+
+
+
+
+
+ RepeatingTimeInterval
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.BackupVault
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.BackupVault
+
+
+
+
+
+
+
+
+
+
+
+ ProvisioningState
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.BackupVaultResource
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.BackupVaultResource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ETag
+
+
+ IdentityPrincipalId
+
+
+ IdentityTenantId
+
+
+ IdentityType
+
+
+ IdentityUrl
+
+
+ Location
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.BackupVaultResourceList
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.BackupVaultResourceList
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.BaseBackupPolicy
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.BaseBackupPolicy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DatasourceType
+
+
+ ObjectType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.BaseBackupPolicyResource
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.BaseBackupPolicyResource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.BaseBackupPolicyResourceList
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.BaseBackupPolicyResourceList
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.BasePolicyRule
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.BasePolicyRule
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ ObjectType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.CheckNameAvailabilityRequest
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.CheckNameAvailabilityRequest
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.CheckNameAvailabilityResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.CheckNameAvailabilityResult
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Message
+
+
+ NameAvailable
+
+
+ Reason
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.ClientDiscoveryDisplay
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.ClientDiscoveryDisplay
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Description
+
+
+ Operation
+
+
+ Provider
+
+
+ Resource
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.ClientDiscoveryForLogSpecification
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.ClientDiscoveryForLogSpecification
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ BlobDuration
+
+
+ DisplayName
+
+
+ Name
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.ClientDiscoveryResponse
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.ClientDiscoveryResponse
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.ClientDiscoveryValueForSingleApi
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.ClientDiscoveryValueForSingleApi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ Origin
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.CopyOnExpiryOption
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.CopyOnExpiryOption
+
+
+
+
+
+
+
+
+
+
+
+ ObjectType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.CopyOption
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.CopyOption
+
+
+
+
+
+
+
+
+
+
+
+ ObjectType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.CustomCopyOption
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.CustomCopyOption
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ObjectType
+
+
+ Duration
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.Datasource
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.Datasource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ObjectType
+
+
+ ResourceId
+
+
+ ResourceLocation
+
+
+ ResourceName
+
+
+ ResourceType
+
+
+ ResourceUri
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.DatasourceSet
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.DatasourceSet
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DatasourceType
+
+
+ ObjectType
+
+
+ ResourceId
+
+
+ ResourceLocation
+
+
+ ResourceName
+
+
+ ResourceType
+
+
+ ResourceUri
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.DataStoreInfoBase
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.DataStoreInfoBase
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DataStoreType
+
+
+ ObjectType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.Day
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.Day
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Date
+
+
+ IsLast
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.DeleteOption
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.DeleteOption
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Duration
+
+
+ ObjectType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.DppIdentityDetails
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.DppIdentityDetails
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ IdentityUrl
+
+
+ PrincipalId
+
+
+ TenantId
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.DppResource
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.DppResource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.DppResourceList
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.DppResourceList
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.DppTrackedResource
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.DppTrackedResource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ETag
+
+
+ Location
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.DppTrackedResourceList
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.DppTrackedResourceList
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.DppTrackedResourceTags
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.DppTrackedResourceTags
+
+
+
+
+
+
+
+
+
+
+
+ Item
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.Error
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.Error
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Code
+
+
+ Message
+
+
+ Target
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.ErrorAdditionalInfo1
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.ErrorAdditionalInfo1
+
+
+
+
+
+
+
+
+
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.ExportJobsResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.ExportJobsResult
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ BlobSasKey
+
+
+ BlobUrl
+
+
+ ExcelFileBlobSasKey
+
+
+ ExcelFileBlobUrl
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.ImmediateCopyOption
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.ImmediateCopyOption
+
+
+
+
+
+
+
+
+
+
+
+ ObjectType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.InnerError
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.InnerError
+
+
+
+
+
+
+
+
+
+
+
+ Code
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.InnerErrorAdditionalInfo
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.InnerErrorAdditionalInfo
+
+
+
+
+
+
+
+
+
+
+
+ Item
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.JobExtendedInfo
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.JobExtendedInfo
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ BackupInstanceState
+
+
+ DataTransferedInByte
+
+
+ RecoveryDestination
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.JobExtendedInfoAdditionalDetails
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.JobExtendedInfoAdditionalDetails
+
+
+
+
+
+
+
+
+
+
+
+ Item
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.JobSubTask
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.JobSubTask
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ TaskId
+
+
+ TaskName
+
+
+ TaskProgress
+
+
+ TaskStatus
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.JobSubTaskAdditionalDetails
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.JobSubTaskAdditionalDetails
+
+
+
+
+
+
+
+
+
+
+
+ Item
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.OperationExtendedInfo
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.OperationExtendedInfo
+
+
+
+
+
+
+
+
+
+
+
+ ObjectType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.OperationJobExtendedInfo
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.OperationJobExtendedInfo
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ObjectType
+
+
+ JobId
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.OperationResource
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.OperationResource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ EndTime
+
+
+ Name
+
+
+ StartTime
+
+
+ Status
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.PatchResourceRequestInputTags
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.PatchResourceRequestInputTags
+
+
+
+
+
+
+
+
+
+
+
+ Item
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.PolicyInfo
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.PolicyInfo
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ PolicyId
+
+
+ PolicyVersion
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.ProtectionStatusDetails
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.ProtectionStatusDetails
+
+
+
+
+
+
+
+
+
+
+
+ Status
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.RecoveryPointDataStoreDetails
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.RecoveryPointDataStoreDetails
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CreationTime
+
+
+ ExpiryTime
+
+
+ MetaData
+
+
+ RehydrationExpiryTime
+
+
+ RehydrationStatus
+
+
+ State
+
+
+ Type
+
+
+ Visible
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.ResourceOperationGateKeeper
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.ResourceOperationGateKeeper
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ LastLockUpdateTime
+
+
+ Operation
+
+
+ ProvisioningState
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.ResourceOperationGateKeeperResource
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.ResourceOperationGateKeeperResource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ETag
+
+
+ IdentityPrincipalId
+
+
+ IdentityTenantId
+
+
+ IdentityType
+
+
+ IdentityUrl
+
+
+ Location
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.ResourceOperationGateKeeperResourceList
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.ResourceOperationGateKeeperResourceList
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.RestoreFilesTargetInfo
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.RestoreFilesTargetInfo
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ObjectType
+
+
+ RecoveryOption
+
+
+ RestoreLocation
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.RestoreJobRecoveryPointDetails
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.RestoreJobRecoveryPointDetails
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RecoveryPointId
+
+
+ RecoveryPointTime
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.RestoreTargetInfo
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.RestoreTargetInfo
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ObjectType
+
+
+ RecoveryOption
+
+
+ RestoreLocation
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.RestoreTargetInfoBase
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.RestoreTargetInfoBase
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ObjectType
+
+
+ RecoveryOption
+
+
+ RestoreLocation
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.RetentionTag
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.RetentionTag
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ETag
+
+
+ TagName
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.ScheduleBasedBackupCriteria
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.ScheduleBasedBackupCriteria
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ObjectType
+
+
+ AbsoluteCriterion
+
+
+ DaysOfTheWeek
+
+
+ MonthsOfYear
+
+
+ ScheduleTime
+
+
+ WeeksOfTheMonth
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.ScheduleBasedTriggerContext
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.ScheduleBasedTriggerContext
+
+
+
+
+
+
+
+
+
+
+
+ ObjectType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.StorageSetting
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.StorageSetting
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DataStoreType
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.TaggingCriteria
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.TaggingCriteria
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ IsDefault
+
+
+ TaggingPriority
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.TargetDetails
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.TargetDetails
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ FilePrefix
+
+
+ RestoreTargetLocationType
+
+
+ Url
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.TriggerContext
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.TriggerContext
+
+
+
+
+
+
+
+
+
+
+
+ ObjectType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.UserFacingError
+
+ Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.UserFacingError
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Code
+
+
+ IsRetryable
+
+
+ IsUserError
+
+
+ Message
+
+
+ RecommendedAction
+
+
+ Target
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/DataProtection/Az.DataProtection.nuspec b/src/DataProtection/Az.DataProtection.nuspec
new file mode 100644
index 000000000000..d1e44dfa0ca8
--- /dev/null
+++ b/src/DataProtection/Az.DataProtection.nuspec
@@ -0,0 +1,31 @@
+
+
+
+ Az.DataProtection
+ 0.1.0
+ Microsoft Corporation
+ Microsoft Corporation
+ true
+ https://aka.ms/azps-license
+ https://github.com/Azure/azure-powershell
+ Microsoft Azure PowerShell: $(service-name) cmdlets
+
+ Microsoft Corporation. All rights reserved.
+ Azure ResourceManager ARM PSModule $(service-name)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/DataProtection/Az.DataProtection.psd1 b/src/DataProtection/Az.DataProtection.psd1
new file mode 100644
index 000000000000..99e1682106d0
--- /dev/null
+++ b/src/DataProtection/Az.DataProtection.psd1
@@ -0,0 +1,24 @@
+@{
+ GUID = '0796af7c-0a7c-417f-8d0d-19f9179dac7a'
+ RootModule = './Az.DataProtection.psm1'
+ ModuleVersion = '0.1.0'
+ CompatiblePSEditions = 'Core', 'Desktop'
+ Author = 'Microsoft Corporation'
+ CompanyName = 'Microsoft Corporation'
+ Copyright = 'Microsoft Corporation. All rights reserved.'
+ Description = 'Microsoft Azure PowerShell: DataProtection cmdlets'
+ PowerShellVersion = '5.1'
+ DotNetFrameworkVersion = '4.7.2'
+ RequiredAssemblies = './bin/Az.DataProtection.private.dll'
+ FormatsToProcess = './Az.DataProtection.format.ps1xml'
+ FunctionsToExport = 'Backup-AzDataProtectionBackupInstanceAdhoc', 'Get-AzDataProtectionBackupInstance', 'Get-AzDataProtectionBackupPolicy', 'Get-AzDataProtectionBackupVault', 'Get-AzDataProtectionBackupVaultResource', 'Get-AzDataProtectionExportJobsOperationResult', 'Get-AzDataProtectionJob', 'Get-AzDataProtectionOperationResult', 'Get-AzDataProtectionOperationStatus', 'Get-AzDataProtectionRecoveryPoint', 'Get-AzDataProtectionRecoveryPointList', 'Get-AzDataProtectionResourceOperationGatekeeper', 'Get-AzDataProtectionResourceOperationGatekeeperResource', 'Get-AzDataProtectionResourceOperationResultPatch', 'Prepare-AzDataProtectionDatasourceInfo', 'Remove-AzDataProtectionBackupInstance', 'Remove-AzDataProtectionBackupPolicy', 'Remove-AzDataProtectionBackupVault', 'Remove-AzDataProtectionResourceOperationGatekeeper', 'Set-AzDataProtectionBackupInstance', 'Set-AzDataProtectionBackupPolicy', 'Set-AzDataProtectionBackupVault', 'Set-AzDataProtectionResourceOperationGatekeeper', 'Start-AzDataProtectionBackupInstanceRehydrate', 'Start-AzDataProtectionBackupInstanceRestore', 'Start-AzDataProtectionExportJob', 'Test-AzDataProtectionBackupInstance', 'Test-AzDataProtectionBackupInstanceRestore', 'Test-AzDataProtectionBackupVaultNameAvailability', 'Update-AzDataProtectionBackupVault', 'Update-AzDataProtectionResourceOperationGatekeeper', '*'
+ AliasesToExport = '*'
+ PrivateData = @{
+ PSData = @{
+ Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'DataProtection'
+ LicenseUri = 'https://aka.ms/azps-license'
+ ProjectUri = 'https://github.com/Azure/azure-powershell'
+ ReleaseNotes = ''
+ }
+ }
+}
diff --git a/src/DataProtection/Az.DataProtection.psm1 b/src/DataProtection/Az.DataProtection.psm1
new file mode 100644
index 000000000000..1fa25a575383
--- /dev/null
+++ b/src/DataProtection/Az.DataProtection.psm1
@@ -0,0 +1,109 @@
+# region Generated
+ # ----------------------------------------------------------------------------------
+ #
+ # Copyright Microsoft Corporation
+ # Licensed under the Apache License, Version 2.0 (the "License");
+ # you may not use this file except in compliance with the License.
+ # You may obtain a copy of the License at
+ # http://www.apache.org/licenses/LICENSE-2.0
+ # Unless required by applicable law or agreed to in writing, software
+ # distributed under the License is distributed on an "AS IS" BASIS,
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ # See the License for the specific language governing permissions and
+ # limitations under the License.
+ # ----------------------------------------------------------------------------------
+ # Load required Az.Accounts module
+ $accountsName = 'Az.Accounts'
+ $accountsModule = Get-Module -Name $accountsName
+ if(-not $accountsModule) {
+ $localAccountsPath = Join-Path $PSScriptRoot 'generated\modules'
+ if(Test-Path -Path $localAccountsPath) {
+ $localAccounts = Get-ChildItem -Path $localAccountsPath -Recurse -Include 'Az.Accounts.psd1' | Select-Object -Last 1
+ if($localAccounts) {
+ $accountsModule = Import-Module -Name ($localAccounts.FullName) -Scope Global -PassThru
+ }
+ }
+ if(-not $accountsModule) {
+ $hasAdequateVersion = (Get-Module -Name $accountsName -ListAvailable | Where-Object { $_.Version -ge [System.Version]'1.8.1' } | Measure-Object).Count -gt 0
+ if($hasAdequateVersion) {
+ $accountsModule = Import-Module -Name $accountsName -MinimumVersion 1.8.1 -Scope Global -PassThru
+ }
+ }
+ }
+
+ if(-not $accountsModule) {
+ Write-Error "`nThis module requires $accountsName version 1.8.1 or greater. For installation instructions, please see: https://docs.microsoft.com/en-us/powershell/azure/install-az-ps" -ErrorAction Stop
+ } elseif (($accountsModule.Version -lt [System.Version]'1.8.1') -and (-not $localAccounts)) {
+ Write-Error "`nThis module requires $accountsName version 1.8.1 or greater. An earlier version of Az.Accounts is imported in the current PowerShell session. If you are running test, please try to remove '.PSSharedModules' in your home directory. Otherwise please open a new PowerShell session and import this module again.`nAdditionally, this error could indicate that multiple incompatible versions of Azure PowerShell modules are installed on your system. For troubleshooting information, please see: https://aka.ms/azps-version-error" -ErrorAction Stop
+ }
+ Write-Information "Loaded Module '$($accountsModule.Name)'"
+
+ # Load the private module dll
+ $null = Import-Module -Name (Join-Path $PSScriptRoot './bin/Az.DataProtection.private.dll')
+
+ # Get the private module's instance
+ $instance = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module]::Instance
+
+ # Ask for the shared functionality table
+ $VTable = Register-AzModule
+
+ # Tweaks the pipeline on module load
+ $instance.OnModuleLoad = $VTable.OnModuleLoad
+
+ # Tweaks the pipeline per call
+ $instance.OnNewRequest = $VTable.OnNewRequest
+
+ # Gets shared parameter values
+ $instance.GetParameterValue = $VTable.GetParameterValue
+
+ # Allows shared module to listen to events from this module
+ $instance.EventListener = $VTable.EventListener
+
+ # Gets shared argument completers
+ $instance.ArgumentCompleter = $VTable.ArgumentCompleter
+
+ # The name of the currently selected Azure profile
+ $instance.ProfileName = $VTable.ProfileName
+
+
+ # Load the custom module
+ $customModulePath = Join-Path $PSScriptRoot './custom/Az.DataProtection.custom.psm1'
+ if(Test-Path $customModulePath) {
+ $null = Import-Module -Name $customModulePath
+ }
+
+ # Export nothing to clear implicit exports
+ Export-ModuleMember
+
+ # Export proxy cmdlet scripts
+ $exportsPath = Join-Path $PSScriptRoot './exports'
+ $directories = Get-ChildItem -Directory -Path $exportsPath
+ $profileDirectory = $null
+ if($instance.ProfileName) {
+ if(($directories | ForEach-Object { $_.Name }) -contains $instance.ProfileName) {
+ $profileDirectory = $directories | Where-Object { $_.Name -eq $instance.ProfileName }
+ } else {
+ # Don't export anything if the profile doesn't exist for the module
+ $exportsPath = $null
+ Write-Warning "Selected Azure profile '$($instance.ProfileName)' does not exist for module '$($instance.Name)'. No cmdlets were loaded."
+ }
+ } elseif(($directories | Measure-Object).Count -gt 0) {
+ # Load the last folder if no profile is selected
+ $profileDirectory = $directories | Select-Object -Last 1
+ }
+
+ if($profileDirectory) {
+ Write-Information "Loaded Azure profile '$($profileDirectory.Name)' for module '$($instance.Name)'"
+ $exportsPath = $profileDirectory.FullName
+ }
+
+ if($exportsPath) {
+ Get-ChildItem -Path $exportsPath -Recurse -Include '*.ps1' -File | ForEach-Object { . $_.FullName }
+ $cmdletNames = Get-ScriptCmdlet -ScriptFolder $exportsPath
+ Export-ModuleMember -Function $cmdletNames -Alias (Get-ScriptCmdlet -ScriptFolder $exportsPath -AsAlias)
+ }
+
+ # Finalize initialization of this module
+ $instance.Init();
+ Write-Information "Loaded Module '$($instance.Name)'"
+# endregion
diff --git a/src/DataProtection/MSSharedLibKey.snk b/src/DataProtection/MSSharedLibKey.snk
new file mode 100644
index 000000000000..695f1b38774e
Binary files /dev/null and b/src/DataProtection/MSSharedLibKey.snk differ
diff --git a/src/DataProtection/build-module.ps1 b/src/DataProtection/build-module.ps1
new file mode 100644
index 000000000000..c93633da85b9
--- /dev/null
+++ b/src/DataProtection/build-module.ps1
@@ -0,0 +1,153 @@
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+param([switch]$Isolated, [switch]$Run, [switch]$Test, [switch]$Docs, [switch]$Pack, [switch]$Code, [switch]$Release, [switch]$Debugger, [switch]$NoDocs)
+$ErrorActionPreference = 'Stop'
+
+if($PSEdition -ne 'Core') {
+ Write-Error 'This script requires PowerShell Core to execute. [Note] Generated cmdlets will work in both PowerShell Core or Windows PowerShell.'
+}
+
+if(-not $Isolated -and -not $Debugger) {
+ Write-Host -ForegroundColor Green 'Creating isolated process...'
+ $pwsh = [System.Diagnostics.Process]::GetCurrentProcess().Path
+ & "$pwsh" -NonInteractive -NoLogo -NoProfile -File $MyInvocation.MyCommand.Path @PSBoundParameters -Isolated
+
+ if($LastExitCode -ne 0) {
+ # Build failed. Don't attempt to run the module.
+ return
+ }
+
+ if($Test) {
+ . (Join-Path $PSScriptRoot 'test-module.ps1')
+ if($LastExitCode -ne 0) {
+ # Tests failed. Don't attempt to run the module.
+ return
+ }
+ }
+
+ if($Docs) {
+ . (Join-Path $PSScriptRoot 'generate-help.ps1')
+ if($LastExitCode -ne 0) {
+ # Docs generation failed. Don't attempt to run the module.
+ return
+ }
+ }
+
+ if($Pack) {
+ . (Join-Path $PSScriptRoot 'pack-module.ps1')
+ if($LastExitCode -ne 0) {
+ # Packing failed. Don't attempt to run the module.
+ return
+ }
+ }
+
+ $runModulePath = Join-Path $PSScriptRoot 'run-module.ps1'
+ if($Code) {
+ . $runModulePath -Code
+ } elseif($Run) {
+ . $runModulePath
+ } else {
+ Write-Host -ForegroundColor Cyan "To run this module in an isolated PowerShell session, run the 'run-module.ps1' script or provide the '-Run' parameter to this script."
+ }
+ return
+}
+
+$binFolder = Join-Path $PSScriptRoot 'bin'
+$objFolder = Join-Path $PSScriptRoot 'obj'
+
+if(-not $Debugger) {
+ Write-Host -ForegroundColor Green 'Cleaning build folders...'
+ $null = Remove-Item -Recurse -ErrorAction SilentlyContinue -Path $binFolder, $objFolder
+
+ if((Test-Path $binFolder) -or (Test-Path $objFolder)) {
+ Write-Host -ForegroundColor Cyan 'Did you forget to exit your isolated module session before rebuilding?'
+ Write-Error 'Unable to clean ''bin'' or ''obj'' folder. A process may have an open handle.'
+ }
+
+ Write-Host -ForegroundColor Green 'Compiling module...'
+ $buildConfig = 'Debug'
+ if($Release) {
+ $buildConfig = 'Release'
+ }
+ dotnet publish $PSScriptRoot --verbosity quiet --configuration $buildConfig /nologo
+ if($LastExitCode -ne 0) {
+ Write-Error 'Compilation failed.'
+ }
+
+ $null = Remove-Item -Recurse -ErrorAction SilentlyContinue -Path (Join-Path $binFolder 'Debug'), (Join-Path $binFolder 'Release')
+}
+
+$dll = Join-Path $PSScriptRoot 'bin\Az.DataProtection.private.dll'
+if(-not (Test-Path $dll)) {
+ Write-Error "Unable to find output assembly in '$binFolder'."
+}
+
+# Load DLL to use build-time cmdlets
+$null = Import-Module -Name $dll
+
+$modulePaths = $dll
+$customPsm1 = Join-Path $PSScriptRoot 'custom\Az.DataProtection.custom.psm1'
+if(Test-Path $customPsm1) {
+ $modulePaths = @($dll, $customPsm1)
+}
+
+$exportsFolder = Join-Path $PSScriptRoot 'exports'
+if(Test-Path $exportsFolder) {
+ $null = Get-ChildItem -Path $exportsFolder -Recurse -Exclude 'readme.md' | Remove-Item -Recurse -ErrorAction SilentlyContinue
+}
+$null = New-Item -ItemType Directory -Force -Path $exportsFolder
+
+$internalFolder = Join-Path $PSScriptRoot 'internal'
+if(Test-Path $internalFolder) {
+ $null = Get-ChildItem -Path $internalFolder -Recurse -Exclude '*.psm1', 'readme.md' | Remove-Item -Recurse -ErrorAction SilentlyContinue
+}
+$null = New-Item -ItemType Directory -Force -Path $internalFolder
+
+$psd1 = Join-Path $PSScriptRoot './Az.DataProtection.psd1'
+$guid = Get-ModuleGuid -Psd1Path $psd1
+$moduleName = 'Az.DataProtection'
+$examplesFolder = Join-Path $PSScriptRoot 'examples'
+$null = New-Item -ItemType Directory -Force -Path $examplesFolder
+
+if($NoDocs) {
+ Write-Host -ForegroundColor Green 'Creating exports...'
+ Export-ProxyCmdlet -ModuleName $moduleName -ModulePath $modulePaths -ExportsFolder $exportsFolder -InternalFolder $internalFolder -ExcludeDocs
+} else {
+ Write-Host -ForegroundColor Green 'Creating exports and docs...'
+ $moduleDescription = 'Microsoft Azure PowerShell: DataProtection cmdlets'
+ $docsFolder = Join-Path $PSScriptRoot 'docs'
+ if(Test-Path $docsFolder) {
+ $null = Get-ChildItem -Path $docsFolder -Recurse -Exclude 'readme.md' | Remove-Item -Recurse -ErrorAction SilentlyContinue
+ }
+ $null = New-Item -ItemType Directory -Force -Path $docsFolder
+ Export-ProxyCmdlet -ModuleName $moduleName -ModulePath $modulePaths -ExportsFolder $exportsFolder -InternalFolder $internalFolder -ModuleDescription $moduleDescription -DocsFolder $docsFolder -ExamplesFolder $examplesFolder -ModuleGuid $guid
+}
+
+Write-Host -ForegroundColor Green 'Creating format.ps1xml...'
+$formatPs1xml = Join-Path $PSScriptRoot './Az.DataProtection.format.ps1xml'
+Export-FormatPs1xml -FilePath $formatPs1xml
+
+Write-Host -ForegroundColor Green 'Creating psd1...'
+$customFolder = Join-Path $PSScriptRoot 'custom'
+Export-Psd1 -ExportsFolder $exportsFolder -CustomFolder $customFolder -Psd1Path $psd1 -ModuleGuid $guid
+
+Write-Host -ForegroundColor Green 'Creating test stubs...'
+$testFolder = Join-Path $PSScriptRoot 'test'
+$null = New-Item -ItemType Directory -Force -Path $testFolder
+Export-TestStub -ModuleName $moduleName -ExportsFolder $exportsFolder -OutputFolder $testFolder
+
+Write-Host -ForegroundColor Green 'Creating example stubs...'
+Export-ExampleStub -ExportsFolder $exportsFolder -OutputFolder $examplesFolder
+
+Write-Host -ForegroundColor Green '-------------Done-------------'
diff --git a/src/DataProtection/check-dependencies.ps1 b/src/DataProtection/check-dependencies.ps1
new file mode 100644
index 000000000000..513c52ca2fb5
--- /dev/null
+++ b/src/DataProtection/check-dependencies.ps1
@@ -0,0 +1,64 @@
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+param([switch]$Isolated, [switch]$Accounts, [switch]$Pester, [switch]$Resources)
+$ErrorActionPreference = 'Stop'
+
+if(-not $Isolated) {
+ Write-Host -ForegroundColor Green 'Creating isolated process...'
+ $pwsh = [System.Diagnostics.Process]::GetCurrentProcess().Path
+ & "$pwsh" -NoExit -NoLogo -NoProfile -File $MyInvocation.MyCommand.Path @PSBoundParameters -Isolated
+ return
+}
+
+function DownloadModule ([bool]$predicate, [string]$path, [string]$moduleName, [string]$versionMinimum, [string]$requiredVersion) {
+ if($predicate) {
+ $module = Get-Module -ListAvailable -Name $moduleName
+ if((-not $module) -or ($versionMinimum -and ($module | ForEach-Object { $_.Version } | Where-Object { $_ -ge [System.Version]$versionMinimum } | Measure-Object).Count -eq 0)) {
+ $null = New-Item -ItemType Directory -Force -Path $path
+ Write-Host -ForegroundColor Green "Installing local $moduleName module into '$path'..."
+ if ($requiredVersion) {
+ Find-Module -Name $moduleName -RequiredVersion $requiredVersion -Repository PSGallery | Save-Module -Path $path
+ }elseif($versionMinimum) {
+ Find-Module -Name $moduleName -MinimumVersion $versionMinimum -Repository PSGallery | Save-Module -Path $path
+ } else {
+ Find-Module -Name $moduleName -Repository PSGallery | Save-Module -Path $path
+ }
+ }
+ }
+}
+
+$ProgressPreference = 'SilentlyContinue'
+$all = (@($Accounts.IsPresent, $Pester.IsPresent) | Select-Object -Unique | Measure-Object).Count -eq 1
+
+$localModulesPath = Join-Path $PSScriptRoot 'generated\modules'
+if(Test-Path -Path $localModulesPath) {
+ $env:PSModulePath = "$localModulesPath$([IO.Path]::PathSeparator)$env:PSModulePath"
+}
+
+DownloadModule -predicate ($all -or $Accounts) -path $localModulesPath -moduleName 'Az.Accounts' -versionMinimum '1.8.1'
+DownloadModule -predicate ($all -or $Pester) -path $localModulesPath -moduleName 'Pester' -requiredVersion '4.10.1'
+
+$tools = Join-Path $PSScriptRoot 'tools'
+$resourceDir = Join-Path $tools 'Resources'
+$resourceModule = Join-Path $HOME '.PSSharedModules\Resources\Az.Resources.TestSupport.psm1'
+
+if ($Resources.IsPresent -and (-not (Test-Path -Path $resourceModule))) {
+ Write-Host -ForegroundColor Green "Building local Resource module used for test..."
+ Set-Location $resourceDir
+ $null = autorest-beta .\readme.md --output-folder=$HOME/.PSSharedModules/Resources
+ $null = Copy-Item custom/* $HOME/.PSSharedModules/Resources/custom/
+ Set-Location $HOME/.PSSharedModules/Resources
+ $null = .\build-module.ps1
+ Set-Location $PSScriptRoot
+}
diff --git a/src/DataProtection/custom/Az.DataProtection.custom.psm1 b/src/DataProtection/custom/Az.DataProtection.custom.psm1
new file mode 100644
index 000000000000..33ba11928476
--- /dev/null
+++ b/src/DataProtection/custom/Az.DataProtection.custom.psm1
@@ -0,0 +1,17 @@
+# region Generated
+ # Load the private module dll
+ $null = Import-Module -PassThru -Name (Join-Path $PSScriptRoot '..\bin\Az.DataProtection.private.dll')
+
+ # Load the internal module
+ $internalModulePath = Join-Path $PSScriptRoot '..\internal\Az.DataProtection.internal.psm1'
+ if(Test-Path $internalModulePath) {
+ $null = Import-Module -Name $internalModulePath
+ }
+
+ # Export nothing to clear implicit exports
+ Export-ModuleMember
+
+ # Export script cmdlets
+ Get-ChildItem -Path $PSScriptRoot -Recurse -Include '*.ps1' -File | ForEach-Object { . $_.FullName }
+ Export-ModuleMember -Function (Get-ScriptCmdlet -ScriptFolder $PSScriptRoot) -Alias (Get-ScriptCmdlet -ScriptFolder $PSScriptRoot -AsAlias)
+# endregion
diff --git a/src/DataProtection/custom/BackupInstanceResource.cs b/src/DataProtection/custom/BackupInstanceResource.cs
new file mode 100644
index 000000000000..71da927523dd
--- /dev/null
+++ b/src/DataProtection/custom/BackupInstanceResource.cs
@@ -0,0 +1,20 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha
+
+{
+ public partial class BackupInstanceResource
+ {
+ public string FriendlyName
+ {
+ get
+ {
+ string backupInstanceName = this.Name;
+ int lastIndex = backupInstanceName.LastIndexOf('_');
+ return backupInstanceName.Substring(0, lastIndex);
+ }
+ }
+ }
+}
diff --git a/src/DataProtection/custom/Cmdlets/Common/Prepare-AzDataProtectionDatasourceInfo.ps1 b/src/DataProtection/custom/Cmdlets/Common/Prepare-AzDataProtectionDatasourceInfo.ps1
new file mode 100644
index 000000000000..2f63b370b2c6
--- /dev/null
+++ b/src/DataProtection/custom/Cmdlets/Common/Prepare-AzDataProtectionDatasourceInfo.ps1
@@ -0,0 +1,66 @@
+
+
+
+function Prepare-AzDataProtectionDatasourceInfo {
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.IDatasource')]
+ [CmdletBinding(PositionalBinding=$false, SupportsShouldProcess)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Prepares Datasource object for backup')]
+
+ param(
+ [Parameter(ParameterSetName='GetById', Mandatory, HelpMessage='Location of Datasource')]
+ [Parameter(ParameterSetName='GetByName', Mandatory, HelpMessage='Location of Datasource')]
+ [System.String]
+ # ...
+ ${Location},
+
+ [Parameter(ParameterSetName='GetById', Mandatory, HelpMessage='ARM ID of the datasource to be protected')]
+ [System.String]
+ # ...
+ ${DatasourceId},
+
+ [Parameter(ParameterSetName='GetById', Mandatory, HelpMessage='Datasource Type')]
+ [Parameter(ParameterSetName='GetByName', Mandatory, HelpMessage='Datasource Type')]
+ [System.String]
+ [ValidateSet("PostGreSQLServer", "AzureBlob", IgnoreCase = $true)]
+ # ...
+ ${DatasourceType},
+
+ [Parameter(ParameterSetName='GetByName', Mandatory, HelpMessage='Name the datasource to be protected')]
+ [System.String]
+ # ...
+ ${Name},
+
+ [Parameter(ParameterSetName='GetByName', Mandatory, HelpMessage='Subscription ID of the datasource to be protected')]
+ [System.String]
+ # ...
+ ${SubscriptionId},
+
+ [Parameter(ParameterSetName='GetByName', Mandatory, HelpMessage='ResourceGroup of the datasource to be protected')]
+ [System.String]
+ # ...
+ ${ResourceGroup},
+
+ [Parameter(ParameterSetName='GetByName', HelpMessage='Server name of the datasource to be protected')]
+ [System.String]
+ # ...
+ ${ParentServerName}
+ )
+
+ process {
+
+ $datasource = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.Datasource]::new()
+ $datasourceTypeMap = @{PostGreSQLServer = "Microsoft.DBforPostgreSQL/servers/databases"; AzureBlob = "Microsoft.Storage/storageAccounts/blobServices"}
+ if($PSBoundParameters.ContainsKey("DatasourceId")){
+ $datasource.ObjectType = "Datasource"
+ $datasource.ResourceId = $DatasourceId
+ $datasource.ResourceLocation = $Location
+ $datasource.ResourceName = $DatasourceId.Split("/")[-1]
+ $datasource.ResourceType = $datasourceTypeMap[$DatasourceType]
+ $datasource.ResourceUri = ""
+ $datasource.Type = $datasourceTypeMap[$DatasourceType]
+ }
+
+ $datasource
+
+ }
+}
\ No newline at end of file
diff --git a/src/DataProtection/custom/Cmdlets/Common/Set-AzDataProtectionBackupInstance_dppplatform.ps1 b/src/DataProtection/custom/Cmdlets/Common/Set-AzDataProtectionBackupInstance_dppplatform.ps1
new file mode 100644
index 000000000000..afbdfe5d2b7a
--- /dev/null
+++ b/src/DataProtection/custom/Cmdlets/Common/Set-AzDataProtectionBackupInstance_dppplatform.ps1
@@ -0,0 +1,60 @@
+
+
+
+function Set-AzDataProtectionBackupInstance_dppplatform {
+ [OutputType('')]
+ [CmdletBinding(PositionalBinding=$false, SupportsShouldProcess)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Configure Backup')]
+
+ param(
+ [Parameter(Mandatory, HelpMessage='Vault Id')]
+ [System.String]
+ # ...
+ ${VaultId},
+
+ [Parameter(Mandatory, HelpMessage='Datasource Details')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.IDatasource]
+ # ...
+ ${DatasourceInfo},
+
+ [Parameter(Mandatory, HelpMessage='Policy Id')]
+ [System.String]
+ # ...
+ ${PolicyId}
+ )
+
+ process {
+
+ $instance = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.BackupInstance]::new()
+ $instance.DataSourceInfo = $DatasourceInfo
+ $instance.PolicyInfo.PolicyId = $PolicyId
+ $instance.ProtectionStatus.Status = "ProtectionConfigured"
+ $instance.DataSourceSetInfo.DatasourceType = $DatasourceInfo.Type
+ $instance.DataSourceSetInfo.ObjectType = "DatasourceSet"
+ $splitResourceId = $DatasourceInfo.ResourceId.Split("/")
+ $instance.DataSourceSetInfo.ResourceId = $splitResourceId[0..($splitResourceId.Count -3)] | Join-String -Separator '/'
+ $instance.DataSourceSetInfo.ResourceLocation = $DatasourceInfo.ResourceLocation
+ $instance.DataSourceSetInfo.ResourceName = $splitResourceId[$splitResourceId.Count -3]
+ $splitResourceType = $DatasourceInfo.ResourceType.Split("/")
+ $instance.DataSourceSetInfo.ResourceType = $splitResourceType[0..($splitResourceType.Count -2)] | Join-String -Separator '/' # Use manifest for datasource set type
+ $instance.DataSourceSetInfo.ResourceUri = ""
+
+ $instance.ObjectType = "BackupInstance"
+ $guid = (New-Guid).Guid
+ $name = $instance.DataSourceSetInfo.ResourceName + "-" + $DatasourceInfo.ResourceName + "-" + $guid #Use manifest for constructing name here
+
+ $match = $VaultId -match '/subscriptions/(?.+)/resourceGroups/(?.+)/providers/(?.+)/backupVaults/(?.+)'
+
+ $null = $PSBoundParameters.Remove("VaultId")
+ $null = $PSBoundParameters.Remove("DatasourceInfo")
+ $null = $PSBoundParameters.Remove("PolicyId")
+ $null = $PSBoundParameters.Add("Name", $name)
+ $null = $PSBoundParameters.Add("ResourceGroupName", $Matches.rg)
+ $null = $PSBoundParameters.Add("VaultName", $Matches.vaultName)
+ $null = $PSBoundParameters.Add("SubscriptionId", $Matches.subscription)
+ $null = $PSBoundParameters.Add("Property", $instance)
+ Az.DataProtection\Set-AzDataProtectionBackupInstance @PSBoundParameters
+
+ }
+
+}
\ No newline at end of file
diff --git a/src/DataProtection/custom/readme.md b/src/DataProtection/custom/readme.md
new file mode 100644
index 000000000000..99f4804e0123
--- /dev/null
+++ b/src/DataProtection/custom/readme.md
@@ -0,0 +1,41 @@
+# Custom
+This directory contains custom implementation for non-generated cmdlets for the `Az.DataProtection` module. Both scripts (`.ps1`) and C# files (`.cs`) can be implemented here. They will be used during the build process in `build-module.ps1`, and create cmdlets into the `..\exports` folder. The only generated file into this folder is the `Az.DataProtection.custom.psm1`. This file should not be modified.
+
+## Info
+- Modifiable: yes
+- Generated: partial
+- Committed: yes
+- Packaged: yes
+
+## Details
+For `Az.DataProtection` to use custom cmdlets, it does this two different ways. We **highly recommend** creating script cmdlets, as they are easier to write and allow access to the other exported cmdlets. C# cmdlets *cannot access exported cmdlets*.
+
+For C# cmdlets, they are compiled with the rest of the generated low-level cmdlets into the `./bin/Az.DataProtection.private.dll`. The names of the cmdlets (methods) and files must follow the `[cmdletName]_[variantName]` syntax used for generated cmdlets. The `variantName` is used as the `ParameterSetName`, so use something appropriate that doesn't clash with already created variant or parameter set names. You cannot use the `ParameterSetName` property in the `Parameter` attribute on C# cmdlets. Each cmdlet must be separated into variants using the same pattern as seen in the `generated/cmdlets` folder.
+
+For script cmdlets, these are loaded via the `Az.DataProtection.custom.psm1`. Then, during the build process, this module is loaded and processed in the same manner as the C# cmdlets. The fundemental difference is the script cmdlets use the `ParameterSetName` attribute and C# cmdlets do not. To create a script cmdlet variant of a generated cmdlet, simply decorate all parameters in the script with the new `ParameterSetName` in the `Parameter` attribute. This will appropriately treat each parameter set as a separate variant when processed to be exported during the build.
+
+## Purpose
+This allows the modules to have cmdlets that were not defined in the REST specification. It also allows combining logic using generated cmdlets. This is a level of customization beyond what can be done using the [readme configuration options](https://github.com/Azure/autorest/blob/master/docs/powershell/options.md) that are currently available. These custom cmdlets are then referenced by the cmdlets created at build-time in the `..\exports` folder.
+
+## Usage
+The easiest way currently to start developing custom cmdlets is to copy an existing cmdlet. For C# cmdlets, copy one from the `generated/cmdlets` folder. For script cmdlets, build the project using `build-module.ps1` and copy one of the scripts from the `..\exports` folder. After that, if you want to add new parameter sets, follow the guidelines in the `Details` section above. For implementing a new cmdlets, at minimum, please keep these parameters:
+- Break
+- DefaultProfile
+- HttpPipelineAppend
+- HttpPipelinePrepend
+- Proxy
+- ProxyCredential
+- ProxyUseDefaultCredentials
+
+These provide functionality to our HTTP pipeline and other useful features. In script, you can forward these parameters using `$PSBoundParameters` to the other cmdlets you're calling within `Az.DataProtection`. For C#, follow the usage seen in the `ProcessRecordAsync` method.
+
+### Attributes
+For processing the cmdlets, we've created some additional attributes:
+- `Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.DescriptionAttribute`
+ - Used in C# cmdlets to provide a high-level description of the cmdlet. This is propegated to reference documentation via [help comments](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_comment_based_help) in the exported scripts.
+- `Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.DoNotExportAttribute`
+ - Used in C# and script cmdlets to suppress creating an exported cmdlet at build-time. These cmdlets will *not be exposed* by `Az.DataProtection`.
+- `Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.InternalExportAttribute`
+ - Used in C# cmdlets to route exported cmdlets to the `..\internal`, which are *not exposed* by `Az.DataProtection`. For more information, see [readme.md](..\internal/readme.md) in the `..\internal` folder.
+- `Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.ProfileAttribute`
+ - Used in C# and script cmdlets to define which Azure profiles the cmdlet supports. This is only supported for Azure (`--azure`) modules.
\ No newline at end of file
diff --git a/src/DataProtection/docs/Az.DataProtection.md b/src/DataProtection/docs/Az.DataProtection.md
new file mode 100644
index 000000000000..156875c013d1
--- /dev/null
+++ b/src/DataProtection/docs/Az.DataProtection.md
@@ -0,0 +1,110 @@
+---
+Module Name: Az.DataProtection
+Module Guid: 0796af7c-0a7c-417f-8d0d-19f9179dac7a
+Download Help Link: https://docs.microsoft.com/en-us/powershell/module/az.dataprotection
+Help Version: 1.0.0.0
+Locale: en-US
+---
+
+# Az.DataProtection Module
+## Description
+Microsoft Azure PowerShell: DataProtection cmdlets
+
+## Az.DataProtection Cmdlets
+### [Backup-AzDataProtectionBackupInstanceAdhoc](Backup-AzDataProtectionBackupInstanceAdhoc.md)
+Trigger adhoc backup
+
+### [Get-AzDataProtectionBackupInstance](Get-AzDataProtectionBackupInstance.md)
+Gets a backup instances belonging to a backup vault
+
+### [Get-AzDataProtectionBackupPolicy](Get-AzDataProtectionBackupPolicy.md)
+Gets a backup policy belonging to a backup vault
+
+### [Get-AzDataProtectionBackupVault](Get-AzDataProtectionBackupVault.md)
+Returns a resource belonging to a resource group.
+
+### [Get-AzDataProtectionBackupVaultResource](Get-AzDataProtectionBackupVaultResource.md)
+Returns resource collection belonging to a subscription.
+
+### [Get-AzDataProtectionExportJobsOperationResult](Get-AzDataProtectionExportJobsOperationResult.md)
+Gets the operation result of operation triggered by Export Jobs API.
+If the operation is successful, then it also contains URL of a Blob and a SAS key to access the same.
+The blob contains exported jobs in JSON serialized format.
+
+### [Get-AzDataProtectionJob](Get-AzDataProtectionJob.md)
+Gets a job with id in a backup vault
+
+### [Get-AzDataProtectionOperationResult](Get-AzDataProtectionOperationResult.md)
+Gets the operation result for a resource
+
+### [Get-AzDataProtectionOperationStatus](Get-AzDataProtectionOperationStatus.md)
+Gets the operation status for a resource.
+
+### [Get-AzDataProtectionRecoveryPoint](Get-AzDataProtectionRecoveryPoint.md)
+Gets a Recovery Point using recoveryPointId for a Datasource.
+
+### [Get-AzDataProtectionRecoveryPointList](Get-AzDataProtectionRecoveryPointList.md)
+Returns a list of Recovery Points for a DataSource in a vault.
+
+### [Get-AzDataProtectionResourceOperationGatekeeper](Get-AzDataProtectionResourceOperationGatekeeper.md)
+Returns a ResourceOperationGateKeeper belonging to a resource group.
+
+### [Get-AzDataProtectionResourceOperationGatekeeperResource](Get-AzDataProtectionResourceOperationGatekeeperResource.md)
+Returns ResourceOperationGateKeepers collection belonging to a subscription.
+
+### [Get-AzDataProtectionResourceOperationResultPatch](Get-AzDataProtectionResourceOperationResultPatch.md)
+
+
+### [Prepare-AzDataProtectionDatasourceInfo](Prepare-AzDataProtectionDatasourceInfo.md)
+Prepares Datasource object for backup
+
+### [Remove-AzDataProtectionBackupInstance](Remove-AzDataProtectionBackupInstance.md)
+
+
+### [Remove-AzDataProtectionBackupPolicy](Remove-AzDataProtectionBackupPolicy.md)
+Deletes a backup policy belonging to a backup vault
+
+### [Remove-AzDataProtectionBackupVault](Remove-AzDataProtectionBackupVault.md)
+Deletes a BackupVault resource from the resource group.
+
+### [Remove-AzDataProtectionResourceOperationGatekeeper](Remove-AzDataProtectionResourceOperationGatekeeper.md)
+Deletes a ResourceOperationGateKeeper resource from the resource group.
+
+### [Set-AzDataProtectionBackupInstance](Set-AzDataProtectionBackupInstance.md)
+
+
+### [Set-AzDataProtectionBackupPolicy](Set-AzDataProtectionBackupPolicy.md)
+Creates or Updates a backup policy belonging to a backup vault
+
+### [Set-AzDataProtectionBackupVault](Set-AzDataProtectionBackupVault.md)
+Creates or updates a BackupVault resource belonging to a resource group.
+
+### [Set-AzDataProtectionResourceOperationGatekeeper](Set-AzDataProtectionResourceOperationGatekeeper.md)
+Creates or updates a ResourceOperationGatekeeper resource belonging to a resource group.
+
+### [Start-AzDataProtectionBackupInstanceRehydrate](Start-AzDataProtectionBackupInstanceRehydrate.md)
+rehydrate recovery point for restore for a BackupInstance
+
+### [Start-AzDataProtectionBackupInstanceRestore](Start-AzDataProtectionBackupInstanceRestore.md)
+Triggers restore for a BackupInstance
+
+### [Start-AzDataProtectionExportJob](Start-AzDataProtectionExportJob.md)
+Triggers export of jobs and returns an OperationID to track.
+
+### [Test-AzDataProtectionBackupInstance](Test-AzDataProtectionBackupInstance.md)
+Validate whether adhoc backup will be successful or not
+
+### [Test-AzDataProtectionBackupInstanceRestore](Test-AzDataProtectionBackupInstanceRestore.md)
+Validates if Restore can be triggered for a DataSource
+
+### [Test-AzDataProtectionBackupVaultNameAvailability](Test-AzDataProtectionBackupVaultNameAvailability.md)
+API to check for resource name availability
+
+### [Update-AzDataProtectionBackupVault](Update-AzDataProtectionBackupVault.md)
+Updates a BackupVault resource belonging to a resource group.
+For example, updating tags for a resource.
+
+### [Update-AzDataProtectionResourceOperationGatekeeper](Update-AzDataProtectionResourceOperationGatekeeper.md)
+Updates a ResourceOperationGatekeeper resource belonging to a resource group.
+For example, updating tags for a resource.
+
diff --git a/src/DataProtection/docs/Backup-AzDataProtectionBackupInstanceAdhoc.md b/src/DataProtection/docs/Backup-AzDataProtectionBackupInstanceAdhoc.md
new file mode 100644
index 000000000000..fae659bc099c
--- /dev/null
+++ b/src/DataProtection/docs/Backup-AzDataProtectionBackupInstanceAdhoc.md
@@ -0,0 +1,322 @@
+---
+external help file:
+Module Name: Az.DataProtection
+online version: https://docs.microsoft.com/en-us/powershell/module/az.dataprotection/backup-azdataprotectionbackupinstanceadhoc
+schema: 2.0.0
+---
+
+# Backup-AzDataProtectionBackupInstanceAdhoc
+
+## SYNOPSIS
+Trigger adhoc backup
+
+## SYNTAX
+
+### BackupExpanded (Default)
+```
+Backup-AzDataProtectionBackupInstanceAdhoc -BackupInstanceName -ResourceGroupName
+ -VaultName -BackupRuleOptionRuleName [-SubscriptionId ]
+ [-TriggerOptionRetentionTagOverride ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru]
+ [-Confirm] [-WhatIf] []
+```
+
+### Backup
+```
+Backup-AzDataProtectionBackupInstanceAdhoc -BackupInstanceName -ResourceGroupName
+ -VaultName -Parameter [-SubscriptionId ]
+ [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] []
+```
+
+### BackupViaIdentity
+```
+Backup-AzDataProtectionBackupInstanceAdhoc -InputObject
+ -Parameter [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm]
+ [-WhatIf] []
+```
+
+### BackupViaIdentityExpanded
+```
+Backup-AzDataProtectionBackupInstanceAdhoc -InputObject
+ -BackupRuleOptionRuleName [-TriggerOptionRetentionTagOverride ] [-DefaultProfile ]
+ [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] []
+```
+
+## DESCRIPTION
+Trigger adhoc backup
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+PS C:\> {{ Add code here }}
+
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+PS C:\> {{ Add code here }}
+
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -AsJob
+Run the command as a job
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -BackupInstanceName
+The name of the backup instance
+
+```yaml
+Type: System.String
+Parameter Sets: Backup, BackupExpanded
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -BackupRuleOptionRuleName
+.
+
+```yaml
+Type: System.String
+Parameter Sets: BackupExpanded, BackupViaIdentityExpanded
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -InputObject
+Identity Parameter
+To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity
+Parameter Sets: BackupViaIdentity, BackupViaIdentityExpanded
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
+### -NoWait
+Run the command asynchronously
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Parameter
+Trigger backup request
+To construct, see NOTES section for PARAMETER properties and create a hash table.
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.ITriggerBackupRequest
+Parameter Sets: Backup, BackupViaIdentity
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
+### -PassThru
+Returns true when the command succeeds
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -ResourceGroupName
+The name of the resource group where the backup vault is present.
+
+```yaml
+Type: System.String
+Parameter Sets: Backup, BackupExpanded
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -SubscriptionId
+The subscription Id.
+
+```yaml
+Type: System.String
+Parameter Sets: Backup, BackupExpanded
+Aliases:
+
+Required: False
+Position: Named
+Default value: (Get-AzContext).Subscription.Id
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -TriggerOptionRetentionTagOverride
+.
+
+```yaml
+Type: System.String
+Parameter Sets: BackupExpanded, BackupViaIdentityExpanded
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -VaultName
+The name of the backup vault.
+
+```yaml
+Type: System.String
+Parameter Sets: Backup, BackupExpanded
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Confirm
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -WhatIf
+Shows what would happen if the cmdlet runs.
+The cmdlet is not run.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: wi
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.ITriggerBackupRequest
+
+### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity
+
+## OUTPUTS
+
+### System.Boolean
+
+## NOTES
+
+ALIASES
+
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+
+INPUTOBJECT : Identity Parameter
+ - `[BackupInstanceName ]`: The name of the backup instance
+ - `[BackupPolicyName ]`:
+ - `[Id ]`: Resource identity path
+ - `[JobId ]`: The Job ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
+ - `[Location ]`: The location in which uniqueness will be verified.
+ - `[OperationId ]`:
+ - `[RecoveryPointId ]`:
+ - `[ResourceGroupName ]`: The name of the resource group where the backup vault is present.
+ - `[ResourceOperationGateKeepersName ]`: The name of the ResourceOperationGateKeeper
+ - `[SubscriptionId ]`: The subscription Id.
+ - `[VaultName ]`: The name of the backup vault.
+
+PARAMETER : Trigger backup request
+ - `BackupRuleOptionRuleName `:
+ - `[TriggerOptionRetentionTagOverride ]`:
+
+## RELATED LINKS
+
diff --git a/src/DataProtection/docs/Get-AzDataProtectionBackupInstance.md b/src/DataProtection/docs/Get-AzDataProtectionBackupInstance.md
new file mode 100644
index 000000000000..6145160bf7d6
--- /dev/null
+++ b/src/DataProtection/docs/Get-AzDataProtectionBackupInstance.md
@@ -0,0 +1,189 @@
+---
+external help file:
+Module Name: Az.DataProtection
+online version: https://docs.microsoft.com/en-us/powershell/module/az.dataprotection/get-azdataprotectionbackupinstance
+schema: 2.0.0
+---
+
+# Get-AzDataProtectionBackupInstance
+
+## SYNOPSIS
+Gets a backup instances belonging to a backup vault
+
+## SYNTAX
+
+### Get (Default)
+```
+Get-AzDataProtectionBackupInstance -ResourceGroupName -VaultName
+ [-SubscriptionId ] [-DefaultProfile ] []
+```
+
+### Get1
+```
+Get-AzDataProtectionBackupInstance -Name -ResourceGroupName -VaultName
+ [-SubscriptionId ] [-DefaultProfile ] []
+```
+
+### GetViaIdentity
+```
+Get-AzDataProtectionBackupInstance -InputObject [-DefaultProfile ]
+ []
+```
+
+### GetViaIdentity1
+```
+Get-AzDataProtectionBackupInstance -InputObject [-DefaultProfile ]
+ []
+```
+
+## DESCRIPTION
+Gets a backup instances belonging to a backup vault
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+PS C:\> {{ Add code here }}
+
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+PS C:\> {{ Add code here }}
+
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -InputObject
+Identity Parameter
+To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity
+Parameter Sets: GetViaIdentity, GetViaIdentity1
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
+### -Name
+The name of the backup instance
+
+```yaml
+Type: System.String
+Parameter Sets: Get1
+Aliases: BackupInstanceName
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -ResourceGroupName
+The name of the resource group where the backup vault is present.
+
+```yaml
+Type: System.String
+Parameter Sets: Get, Get1
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -SubscriptionId
+The subscription Id.
+
+```yaml
+Type: System.String[]
+Parameter Sets: Get, Get1
+Aliases:
+
+Required: False
+Position: Named
+Default value: (Get-AzContext).Subscription.Id
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -VaultName
+The name of the backup vault.
+
+```yaml
+Type: System.String
+Parameter Sets: Get, Get1
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.IBackupInstanceResource
+
+## NOTES
+
+ALIASES
+
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+
+INPUTOBJECT : Identity Parameter
+ - `[BackupInstanceName ]`: The name of the backup instance
+ - `[BackupPolicyName ]`:
+ - `[Id ]`: Resource identity path
+ - `[JobId ]`: The Job ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
+ - `[Location ]`: The location in which uniqueness will be verified.
+ - `[OperationId ]`:
+ - `[RecoveryPointId ]`:
+ - `[ResourceGroupName ]`: The name of the resource group where the backup vault is present.
+ - `[ResourceOperationGateKeepersName ]`: The name of the ResourceOperationGateKeeper
+ - `[SubscriptionId ]`: The subscription Id.
+ - `[VaultName ]`: The name of the backup vault.
+
+## RELATED LINKS
+
diff --git a/src/DataProtection/docs/Get-AzDataProtectionBackupPolicy.md b/src/DataProtection/docs/Get-AzDataProtectionBackupPolicy.md
new file mode 100644
index 000000000000..dbffe44c0e57
--- /dev/null
+++ b/src/DataProtection/docs/Get-AzDataProtectionBackupPolicy.md
@@ -0,0 +1,183 @@
+---
+external help file:
+Module Name: Az.DataProtection
+online version: https://docs.microsoft.com/en-us/powershell/module/az.dataprotection/get-azdataprotectionbackuppolicy
+schema: 2.0.0
+---
+
+# Get-AzDataProtectionBackupPolicy
+
+## SYNOPSIS
+Gets a backup policy belonging to a backup vault
+
+## SYNTAX
+
+### List (Default)
+```
+Get-AzDataProtectionBackupPolicy -ResourceGroupName -VaultName [-SubscriptionId ]
+ [-DefaultProfile ] []
+```
+
+### Get
+```
+Get-AzDataProtectionBackupPolicy -Name -ResourceGroupName -VaultName
+ [-SubscriptionId ] [-DefaultProfile ] []
+```
+
+### GetViaIdentity
+```
+Get-AzDataProtectionBackupPolicy -InputObject [-DefaultProfile ]
+ []
+```
+
+## DESCRIPTION
+Gets a backup policy belonging to a backup vault
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+PS C:\> {{ Add code here }}
+
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+PS C:\> {{ Add code here }}
+
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -InputObject
+Identity Parameter
+To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity
+Parameter Sets: GetViaIdentity
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
+### -Name
+.
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases: BackupPolicyName
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -ResourceGroupName
+The name of the resource group where the backup vault is present.
+
+```yaml
+Type: System.String
+Parameter Sets: Get, List
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -SubscriptionId
+The subscription Id.
+
+```yaml
+Type: System.String[]
+Parameter Sets: Get, List
+Aliases:
+
+Required: False
+Position: Named
+Default value: (Get-AzContext).Subscription.Id
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -VaultName
+The name of the backup vault.
+
+```yaml
+Type: System.String
+Parameter Sets: Get, List
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.IBaseBackupPolicyResource
+
+## NOTES
+
+ALIASES
+
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+
+INPUTOBJECT : Identity Parameter
+ - `[BackupInstanceName ]`: The name of the backup instance
+ - `[BackupPolicyName ]`:
+ - `[Id ]`: Resource identity path
+ - `[JobId ]`: The Job ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
+ - `[Location ]`: The location in which uniqueness will be verified.
+ - `[OperationId ]`:
+ - `[RecoveryPointId ]`:
+ - `[ResourceGroupName ]`: The name of the resource group where the backup vault is present.
+ - `[ResourceOperationGateKeepersName ]`: The name of the ResourceOperationGateKeeper
+ - `[SubscriptionId ]`: The subscription Id.
+ - `[VaultName ]`: The name of the backup vault.
+
+## RELATED LINKS
+
diff --git a/src/DataProtection/docs/Get-AzDataProtectionBackupVault.md b/src/DataProtection/docs/Get-AzDataProtectionBackupVault.md
new file mode 100644
index 000000000000..329c08c923a4
--- /dev/null
+++ b/src/DataProtection/docs/Get-AzDataProtectionBackupVault.md
@@ -0,0 +1,162 @@
+---
+external help file:
+Module Name: Az.DataProtection
+online version: https://docs.microsoft.com/en-us/powershell/module/az.dataprotection/get-azdataprotectionbackupvault
+schema: 2.0.0
+---
+
+# Get-AzDataProtectionBackupVault
+
+## SYNOPSIS
+Returns a resource belonging to a resource group.
+
+## SYNTAX
+
+### Get (Default)
+```
+Get-AzDataProtectionBackupVault -ResourceGroupName -VaultName [-SubscriptionId ]
+ [-DefaultProfile ] []
+```
+
+### GetViaIdentity
+```
+Get-AzDataProtectionBackupVault -InputObject [-DefaultProfile ]
+ []
+```
+
+## DESCRIPTION
+Returns a resource belonging to a resource group.
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+PS C:\> {{ Add code here }}
+
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+PS C:\> {{ Add code here }}
+
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -InputObject
+Identity Parameter
+To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity
+Parameter Sets: GetViaIdentity
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
+### -ResourceGroupName
+The name of the resource group where the backup vault is present.
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -SubscriptionId
+The subscription Id.
+
+```yaml
+Type: System.String[]
+Parameter Sets: Get
+Aliases:
+
+Required: False
+Position: Named
+Default value: (Get-AzContext).Subscription.Id
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -VaultName
+The name of the backup vault.
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.IBackupVaultResource
+
+## NOTES
+
+ALIASES
+
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+
+INPUTOBJECT : Identity Parameter
+ - `[BackupInstanceName ]`: The name of the backup instance
+ - `[BackupPolicyName ]`:
+ - `[Id ]`: Resource identity path
+ - `[JobId ]`: The Job ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
+ - `[Location ]`: The location in which uniqueness will be verified.
+ - `[OperationId ]`:
+ - `[RecoveryPointId ]`:
+ - `[ResourceGroupName ]`: The name of the resource group where the backup vault is present.
+ - `[ResourceOperationGateKeepersName ]`: The name of the ResourceOperationGateKeeper
+ - `[SubscriptionId ]`: The subscription Id.
+ - `[VaultName ]`: The name of the backup vault.
+
+## RELATED LINKS
+
diff --git a/src/DataProtection/docs/Get-AzDataProtectionBackupVaultResource.md b/src/DataProtection/docs/Get-AzDataProtectionBackupVaultResource.md
new file mode 100644
index 000000000000..e9b8134bdfa9
--- /dev/null
+++ b/src/DataProtection/docs/Get-AzDataProtectionBackupVaultResource.md
@@ -0,0 +1,159 @@
+---
+external help file:
+Module Name: Az.DataProtection
+online version: https://docs.microsoft.com/en-us/powershell/module/az.dataprotection/get-azdataprotectionbackupvaultresource
+schema: 2.0.0
+---
+
+# Get-AzDataProtectionBackupVaultResource
+
+## SYNOPSIS
+Returns resource collection belonging to a subscription.
+
+## SYNTAX
+
+### Get (Default)
+```
+Get-AzDataProtectionBackupVaultResource [-SubscriptionId ] [-DefaultProfile ]
+ []
+```
+
+### Get1
+```
+Get-AzDataProtectionBackupVaultResource -ResourceGroupName [-SubscriptionId ]
+ [-DefaultProfile ] []
+```
+
+### GetViaIdentity
+```
+Get-AzDataProtectionBackupVaultResource -InputObject [-DefaultProfile ]
+ []
+```
+
+### GetViaIdentity1
+```
+Get-AzDataProtectionBackupVaultResource -InputObject [-DefaultProfile ]
+ []
+```
+
+## DESCRIPTION
+Returns resource collection belonging to a subscription.
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+PS C:\> {{ Add code here }}
+
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+PS C:\> {{ Add code here }}
+
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -InputObject
+Identity Parameter
+To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity
+Parameter Sets: GetViaIdentity, GetViaIdentity1
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
+### -ResourceGroupName
+The name of the resource group where the backup vault is present.
+
+```yaml
+Type: System.String
+Parameter Sets: Get1
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -SubscriptionId
+The subscription Id.
+
+```yaml
+Type: System.String[]
+Parameter Sets: Get, Get1
+Aliases:
+
+Required: False
+Position: Named
+Default value: (Get-AzContext).Subscription.Id
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.IBackupVaultResource
+
+## NOTES
+
+ALIASES
+
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+
+INPUTOBJECT : Identity Parameter
+ - `[BackupInstanceName ]`: The name of the backup instance
+ - `[BackupPolicyName ]`:
+ - `[Id ]`: Resource identity path
+ - `[JobId ]`: The Job ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
+ - `[Location ]`: The location in which uniqueness will be verified.
+ - `[OperationId ]`:
+ - `[RecoveryPointId ]`:
+ - `[ResourceGroupName ]`: The name of the resource group where the backup vault is present.
+ - `[ResourceOperationGateKeepersName ]`: The name of the ResourceOperationGateKeeper
+ - `[SubscriptionId ]`: The subscription Id.
+ - `[VaultName ]`: The name of the backup vault.
+
+## RELATED LINKS
+
diff --git a/src/DataProtection/docs/Get-AzDataProtectionExportJobsOperationResult.md b/src/DataProtection/docs/Get-AzDataProtectionExportJobsOperationResult.md
new file mode 100644
index 000000000000..9737a2cdf260
--- /dev/null
+++ b/src/DataProtection/docs/Get-AzDataProtectionExportJobsOperationResult.md
@@ -0,0 +1,197 @@
+---
+external help file:
+Module Name: Az.DataProtection
+online version: https://docs.microsoft.com/en-us/powershell/module/az.dataprotection/get-azdataprotectionexportjobsoperationresult
+schema: 2.0.0
+---
+
+# Get-AzDataProtectionExportJobsOperationResult
+
+## SYNOPSIS
+Gets the operation result of operation triggered by Export Jobs API.
+If the operation is successful, then it also contains URL of a Blob and a SAS key to access the same.
+The blob contains exported jobs in JSON serialized format.
+
+## SYNTAX
+
+### Get (Default)
+```
+Get-AzDataProtectionExportJobsOperationResult -OperationId -ResourceGroupName
+ -VaultName [-SubscriptionId ] [-DefaultProfile ] [-PassThru]
+ []
+```
+
+### GetViaIdentity
+```
+Get-AzDataProtectionExportJobsOperationResult -InputObject
+ [-DefaultProfile ] [-PassThru] []
+```
+
+## DESCRIPTION
+Gets the operation result of operation triggered by Export Jobs API.
+If the operation is successful, then it also contains URL of a Blob and a SAS key to access the same.
+The blob contains exported jobs in JSON serialized format.
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+PS C:\> {{ Add code here }}
+
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+PS C:\> {{ Add code here }}
+
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -InputObject
+Identity Parameter
+To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity
+Parameter Sets: GetViaIdentity
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
+### -OperationId
+OperationID which represents the export job.
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -PassThru
+Returns true when the command succeeds
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -ResourceGroupName
+The name of the resource group where the backup vault is present.
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -SubscriptionId
+The subscription Id.
+
+```yaml
+Type: System.String[]
+Parameter Sets: Get
+Aliases:
+
+Required: False
+Position: Named
+Default value: (Get-AzContext).Subscription.Id
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -VaultName
+The name of the backup vault.
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.IExportJobsResult
+
+## NOTES
+
+ALIASES
+
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+
+INPUTOBJECT : Identity Parameter
+ - `[BackupInstanceName ]`: The name of the backup instance
+ - `[BackupPolicyName ]`:
+ - `[Id ]`: Resource identity path
+ - `[JobId ]`: The Job ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
+ - `[Location ]`: The location in which uniqueness will be verified.
+ - `[OperationId ]`:
+ - `[RecoveryPointId ]`:
+ - `[ResourceGroupName ]`: The name of the resource group where the backup vault is present.
+ - `[ResourceOperationGateKeepersName ]`: The name of the ResourceOperationGateKeeper
+ - `[SubscriptionId ]`: The subscription Id.
+ - `[VaultName ]`: The name of the backup vault.
+
+## RELATED LINKS
+
diff --git a/src/DataProtection/docs/Get-AzDataProtectionJob.md b/src/DataProtection/docs/Get-AzDataProtectionJob.md
new file mode 100644
index 000000000000..1d7531d4a802
--- /dev/null
+++ b/src/DataProtection/docs/Get-AzDataProtectionJob.md
@@ -0,0 +1,185 @@
+---
+external help file:
+Module Name: Az.DataProtection
+online version: https://docs.microsoft.com/en-us/powershell/module/az.dataprotection/get-azdataprotectionjob
+schema: 2.0.0
+---
+
+# Get-AzDataProtectionJob
+
+## SYNOPSIS
+Gets a job with id in a backup vault
+
+## SYNTAX
+
+### List (Default)
+```
+Get-AzDataProtectionJob -ResourceGroupName -VaultName [-SubscriptionId ]
+ [-DefaultProfile ] []
+```
+
+### Get
+```
+Get-AzDataProtectionJob -Id -ResourceGroupName -VaultName
+ [-SubscriptionId ] [-DefaultProfile ] []
+```
+
+### GetViaIdentity
+```
+Get-AzDataProtectionJob -InputObject [-DefaultProfile ]
+ []
+```
+
+## DESCRIPTION
+Gets a job with id in a backup vault
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+PS C:\> {{ Add code here }}
+
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+PS C:\> {{ Add code here }}
+
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Id
+The Job ID.
+This is a GUID-formatted string (e.g.
+00000000-0000-0000-0000-000000000000).
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases: JobId
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -InputObject
+Identity Parameter
+To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity
+Parameter Sets: GetViaIdentity
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
+### -ResourceGroupName
+The name of the resource group where the backup vault is present.
+
+```yaml
+Type: System.String
+Parameter Sets: Get, List
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -SubscriptionId
+The subscription Id.
+
+```yaml
+Type: System.String[]
+Parameter Sets: Get, List
+Aliases:
+
+Required: False
+Position: Named
+Default value: (Get-AzContext).Subscription.Id
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -VaultName
+The name of the backup vault.
+
+```yaml
+Type: System.String
+Parameter Sets: Get, List
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.IAzureBackupJobResource
+
+## NOTES
+
+ALIASES
+
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+
+INPUTOBJECT : Identity Parameter
+ - `[BackupInstanceName ]`: The name of the backup instance
+ - `[BackupPolicyName ]`:
+ - `[Id ]`: Resource identity path
+ - `[JobId ]`: The Job ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
+ - `[Location ]`: The location in which uniqueness will be verified.
+ - `[OperationId ]`:
+ - `[RecoveryPointId ]`:
+ - `[ResourceGroupName ]`: The name of the resource group where the backup vault is present.
+ - `[ResourceOperationGateKeepersName ]`: The name of the ResourceOperationGateKeeper
+ - `[SubscriptionId ]`: The subscription Id.
+ - `[VaultName ]`: The name of the backup vault.
+
+## RELATED LINKS
+
diff --git a/src/DataProtection/docs/Get-AzDataProtectionOperationResult.md b/src/DataProtection/docs/Get-AzDataProtectionOperationResult.md
new file mode 100644
index 000000000000..3bd245b651c2
--- /dev/null
+++ b/src/DataProtection/docs/Get-AzDataProtectionOperationResult.md
@@ -0,0 +1,177 @@
+---
+external help file:
+Module Name: Az.DataProtection
+online version: https://docs.microsoft.com/en-us/powershell/module/az.dataprotection/get-azdataprotectionoperationresult
+schema: 2.0.0
+---
+
+# Get-AzDataProtectionOperationResult
+
+## SYNOPSIS
+Gets the operation result for a resource
+
+## SYNTAX
+
+### Get (Default)
+```
+Get-AzDataProtectionOperationResult -Location -OperationId [-SubscriptionId ]
+ [-DefaultProfile ] [-PassThru] []
+```
+
+### GetViaIdentity
+```
+Get-AzDataProtectionOperationResult -InputObject [-DefaultProfile ]
+ [-PassThru] []
+```
+
+## DESCRIPTION
+Gets the operation result for a resource
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+PS C:\> {{ Add code here }}
+
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+PS C:\> {{ Add code here }}
+
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -InputObject
+Identity Parameter
+To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity
+Parameter Sets: GetViaIdentity
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
+### -Location
+.
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -OperationId
+.
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -PassThru
+Returns true when the command succeeds
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -SubscriptionId
+The subscription Id.
+
+```yaml
+Type: System.String[]
+Parameter Sets: Get
+Aliases:
+
+Required: False
+Position: Named
+Default value: (Get-AzContext).Subscription.Id
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity
+
+## OUTPUTS
+
+### System.Boolean
+
+## NOTES
+
+ALIASES
+
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+
+INPUTOBJECT : Identity Parameter
+ - `[BackupInstanceName ]`: The name of the backup instance
+ - `[BackupPolicyName ]`:
+ - `[Id ]`: Resource identity path
+ - `[JobId ]`: The Job ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
+ - `[Location ]`: The location in which uniqueness will be verified.
+ - `[OperationId ]`:
+ - `[RecoveryPointId ]`:
+ - `[ResourceGroupName ]`: The name of the resource group where the backup vault is present.
+ - `[ResourceOperationGateKeepersName ]`: The name of the ResourceOperationGateKeeper
+ - `[SubscriptionId ]`: The subscription Id.
+ - `[VaultName ]`: The name of the backup vault.
+
+## RELATED LINKS
+
diff --git a/src/DataProtection/docs/Get-AzDataProtectionOperationStatus.md b/src/DataProtection/docs/Get-AzDataProtectionOperationStatus.md
new file mode 100644
index 000000000000..a6b3f740448b
--- /dev/null
+++ b/src/DataProtection/docs/Get-AzDataProtectionOperationStatus.md
@@ -0,0 +1,162 @@
+---
+external help file:
+Module Name: Az.DataProtection
+online version: https://docs.microsoft.com/en-us/powershell/module/az.dataprotection/get-azdataprotectionoperationstatus
+schema: 2.0.0
+---
+
+# Get-AzDataProtectionOperationStatus
+
+## SYNOPSIS
+Gets the operation status for a resource.
+
+## SYNTAX
+
+### Get (Default)
+```
+Get-AzDataProtectionOperationStatus -Location -OperationId [-SubscriptionId ]
+ [-DefaultProfile ] []
+```
+
+### GetViaIdentity
+```
+Get-AzDataProtectionOperationStatus -InputObject [-DefaultProfile ]
+ []
+```
+
+## DESCRIPTION
+Gets the operation status for a resource.
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+PS C:\> {{ Add code here }}
+
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+PS C:\> {{ Add code here }}
+
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -InputObject
+Identity Parameter
+To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity
+Parameter Sets: GetViaIdentity
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
+### -Location
+.
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -OperationId
+.
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -SubscriptionId
+The subscription Id.
+
+```yaml
+Type: System.String[]
+Parameter Sets: Get
+Aliases:
+
+Required: False
+Position: Named
+Default value: (Get-AzContext).Subscription.Id
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.IOperationResource
+
+## NOTES
+
+ALIASES
+
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+
+INPUTOBJECT : Identity Parameter
+ - `[BackupInstanceName ]`: The name of the backup instance
+ - `[BackupPolicyName ]`:
+ - `[Id ]`: Resource identity path
+ - `[JobId ]`: The Job ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
+ - `[Location ]`: The location in which uniqueness will be verified.
+ - `[OperationId ]`:
+ - `[RecoveryPointId ]`:
+ - `[ResourceGroupName ]`: The name of the resource group where the backup vault is present.
+ - `[ResourceOperationGateKeepersName ]`: The name of the ResourceOperationGateKeeper
+ - `[SubscriptionId ]`: The subscription Id.
+ - `[VaultName ]`: The name of the backup vault.
+
+## RELATED LINKS
+
diff --git a/src/DataProtection/docs/Get-AzDataProtectionRecoveryPoint.md b/src/DataProtection/docs/Get-AzDataProtectionRecoveryPoint.md
new file mode 100644
index 000000000000..f45bb5142027
--- /dev/null
+++ b/src/DataProtection/docs/Get-AzDataProtectionRecoveryPoint.md
@@ -0,0 +1,192 @@
+---
+external help file:
+Module Name: Az.DataProtection
+online version: https://docs.microsoft.com/en-us/powershell/module/az.dataprotection/get-azdataprotectionrecoverypoint
+schema: 2.0.0
+---
+
+# Get-AzDataProtectionRecoveryPoint
+
+## SYNOPSIS
+Gets a Recovery Point using recoveryPointId for a Datasource.
+
+## SYNTAX
+
+### Get (Default)
+```
+Get-AzDataProtectionRecoveryPoint -BackupInstanceName -Id -ResourceGroupName
+ -VaultName [-SubscriptionId ] [-DefaultProfile ] []
+```
+
+### GetViaIdentity
+```
+Get-AzDataProtectionRecoveryPoint -InputObject [-DefaultProfile ]
+ []
+```
+
+## DESCRIPTION
+Gets a Recovery Point using recoveryPointId for a Datasource.
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+PS C:\> {{ Add code here }}
+
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+PS C:\> {{ Add code here }}
+
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -BackupInstanceName
+The name of the backup instance
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Id
+.
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases: RecoveryPointId
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -InputObject
+Identity Parameter
+To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity
+Parameter Sets: GetViaIdentity
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
+### -ResourceGroupName
+The name of the resource group where the backup vault is present.
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -SubscriptionId
+The subscription Id.
+
+```yaml
+Type: System.String[]
+Parameter Sets: Get
+Aliases:
+
+Required: False
+Position: Named
+Default value: (Get-AzContext).Subscription.Id
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -VaultName
+The name of the backup vault.
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202001Alpha.IAzureBackupRecoveryPointResource
+
+## NOTES
+
+ALIASES
+
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+
+INPUTOBJECT : Identity Parameter
+ - `[BackupInstanceName ]`: The name of the backup instance
+ - `[BackupPolicyName ]`:
+ - `[Id ]`: Resource identity path
+ - `[JobId ]`: The Job ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
+ - `[Location ]`: The location in which uniqueness will be verified.
+ - `[OperationId ]`:
+ - `[RecoveryPointId ]`:
+ - `[ResourceGroupName ]`: The name of the resource group where the backup vault is present.
+ - `[ResourceOperationGateKeepersName ]`: The name of the ResourceOperationGateKeeper
+ - `[SubscriptionId ]`: The subscription Id.
+ - `[VaultName ]`: The name of the backup vault.
+
+## RELATED LINKS
+
diff --git a/src/DataProtection/docs/Get-AzDataProtectionRecoveryPointList.md b/src/DataProtection/docs/Get-AzDataProtectionRecoveryPointList.md
new file mode 100644
index 000000000000..a575f8e1b518
--- /dev/null
+++ b/src/DataProtection/docs/Get-AzDataProtectionRecoveryPointList.md
@@ -0,0 +1,177 @@
+---
+external help file:
+Module Name: Az.DataProtection
+online version: https://docs.microsoft.com/en-us/powershell/module/az.dataprotection/get-azdataprotectionrecoverypointlist
+schema: 2.0.0
+---
+
+# Get-AzDataProtectionRecoveryPointList
+
+## SYNOPSIS
+Returns a list of Recovery Points for a DataSource in a vault.
+
+## SYNTAX
+
+### Get (Default)
+```
+Get-AzDataProtectionRecoveryPointList -BackupInstanceName -ResourceGroupName
+ -VaultName