Skip to content

Commit

Permalink
Merge pull request Azure#6867 from MabOneSdk/users/sisi/managed-disk
Browse files Browse the repository at this point in the history
Recovery Services : fix for managed disk restore
  • Loading branch information
markcowl authored Aug 7, 2018
2 parents 8646e8a + 473d061 commit 447a0f6
Show file tree
Hide file tree
Showing 2 changed files with 113,611 additions and 139,002 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,9 @@ public RestAzureNS.AzureOperationResponse RestoreDisk(
Region = vaultLocation,
StorageAccountId = storageAccountId,
SourceResourceId = rp.SourceResourceId,
TargetResourceGroupId = targetResourceGroupName ??
"/subscriptions/" + BmsAdapter.Client.SubscriptionId + "/resourceGroups/" + targetResourceGroupName,
TargetResourceGroupId = targetResourceGroupName != null ?
"/subscriptions/" + BmsAdapter.Client.SubscriptionId + "/resourceGroups/" + targetResourceGroupName :
null,
OriginalStorageAccountOption = useOsa,
};

Expand Down
Loading

0 comments on commit 447a0f6

Please sign in to comment.