File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/CLU/Microsoft.Azure.Commands.Compute/StorageServices Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -54,15 +54,15 @@ public class SaveAzureVhdCommand : ComputeClientBaseCmdlet
54
54
HelpMessage = "Uri to blob" ) ]
55
55
[ ValidateNotNullOrEmpty ]
56
56
[ Alias ( "src" , "Source" ) ]
57
- public Uri SourceUri { get ; set ; }
57
+ public string SourceUri { get ; set ; }
58
58
59
59
[ Parameter (
60
60
Position = 2 ,
61
61
Mandatory = true ,
62
62
HelpMessage = "Local path of the vhd file" ) ]
63
63
[ ValidateNotNullOrEmpty ]
64
64
[ Alias ( "lf" ) ]
65
- public FileInfo LocalFilePath { get ; set ; }
65
+ public string LocalFilePath { get ; set ; }
66
66
67
67
private int numberOfThreads = DefaultNumberOfUploaderThreads ;
68
68
@@ -91,8 +91,8 @@ protected override void ProcessRecord()
91
91
{
92
92
var result = DownloadFromBlobUri (
93
93
this ,
94
- this . SourceUri ,
95
- this . LocalFilePath ,
94
+ new Uri ( this . SourceUri ) ,
95
+ new FileInfo ( this . LocalFilePath ) ,
96
96
this . StorageKey ,
97
97
this . ResourceGroupName ,
98
98
this . NumberOfThreads ,
You can’t perform that action at this time.
0 commit comments