Skip to content

Commit c984657

Browse files
committed
Merge pull request #41 from huangpf/vmss
VMSS CLI
2 parents c399f38 + b663bf4 commit c984657

File tree

524 files changed

+48192
-3752
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

524 files changed

+48192
-3752
lines changed

ChangeLog.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,13 @@
5151
* Set-AzureVMSqlServerExtension
5252
* Get-AzureVMSqlServerExtension
5353
* Remove-AzureVMSqlServerExtension
54+
* Azure SQL Database Index Recommendation Cmdlets
55+
* Get-AzureSqlDatabaseIndexRecommendations
56+
* Start-AzureSqlDatabaseExecuteIndexRecommendation
57+
* Stop-AzureSqlDatabaseExecuteIndexRecommendation
58+
* Azure SQL Database and Server Upgrade Hints Cmdlets
59+
* Get-AzureSqlDatabaseUpgradeHint
60+
* Get-AzureSqlServerUpgradeHint
5461

5562
## 2015.08.17 version 0.9.7
5663
* Azure Profile cmdlets

setup-powershellget/Setup/ShortcutStartup.ps1

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ function EnsureRegistryPath
3535
$error.clear()
3636
try {
3737
if ($Install.IsPresent) {
38-
EnsureRegistryPath
3938
Write-Output @"
4039
4140
Finalizing installation of Azure PowerShell.
@@ -56,8 +55,10 @@ This may take some time...
5655
} else {
5756
cd c:\
5857
$welcomeMessage = @"
59-
For a list of all Azure cmdlets type 'help azure'.
60-
For a list of Azure Pack cmdlets type 'Get-Command *wapack*'.
58+
For a list of all Azure RM cmdlets type 'help azurerm'.
59+
60+
To start using Azure RM login via Login-AzureRmAccount cmdlet.
61+
To switch between subscriptions use Set-AzureRmContext.
6162
6263
To use Azure Service Management cmdlets please execute the following cmdlet:
6364
Install-Module Azure

src/Common/Commands.Common.Storage/Commands.Common.Storage.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
<HintPath>..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.dll</HintPath>
5757
</Reference>
5858
<Reference Include="Microsoft.Azure.Common.Authentication, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
59-
<HintPath>..\..\packages\Microsoft.Azure.Common.Authentication.1.3.1-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll</HintPath>
59+
<HintPath>..\..\packages\Microsoft.Azure.Common.Authentication.1.3.2-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll</HintPath>
6060
<Private>True</Private>
6161
</Reference>
6262
<Reference Include="Microsoft.Azure.Common.NetFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">

src/Common/Commands.Common.Storage/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<packages>
33
<package id="Hyak.Common" version="1.0.2" targetFramework="net45" />
44
<package id="Microsoft.Azure.Common" version="2.1.0" targetFramework="net45" />
5-
<package id="Microsoft.Azure.Common.Authentication" version="1.3.1-preview" targetFramework="net45" />
5+
<package id="Microsoft.Azure.Common.Authentication" version="1.3.2-preview" targetFramework="net45" />
66
<package id="Microsoft.Azure.Common.Dependencies" version="1.0.0" targetFramework="net45" />
77
<package id="Microsoft.Azure.KeyVault.Core" version="1.0.0" targetFramework="net45" />
88
<package id="Microsoft.Azure.Management.Resources" version="2.18.7-preview" targetFramework="net45" />

src/Common/Commands.Common/AzurePSCmdlet.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ protected override void BeginProcessing()
218218
ProductInfoHeaderValue userAgentValue = new ProductInfoHeaderValue(
219219
ModuleName, string.Format("v{0}", ModuleVersion));
220220
AzureSession.ClientFactory.UserAgents.Add(userAgentValue);
221+
AzureSession.ClientFactory.AddHandler(new CmdletInfoHandler(this.CommandRuntime.ToString(), this.ParameterSetName));
221222

222223
base.BeginProcessing();
223224
}
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
// ----------------------------------------------------------------------------------
2+
//
3+
// Copyright Microsoft Corporation
4+
// Licensed under the Apache License, Version 2.0 (the "License");
5+
// you may not use this file except in compliance with the License.
6+
// You may obtain a copy of the License at
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
// Unless required by applicable law or agreed to in writing, software
9+
// distributed under the License is distributed on an "AS IS" BASIS,
10+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
// See the License for the specific language governing permissions and
12+
// limitations under the License.
13+
// ----------------------------------------------------------------------------------
14+
15+
using System.Net.Http;
16+
using System.Threading;
17+
using System.Threading.Tasks;
18+
19+
namespace Microsoft.WindowsAzure.Commands.Common
20+
{
21+
/// <summary>
22+
/// A delegating handler that writes the current cmdlet info into request headers.
23+
/// </summary>
24+
public class CmdletInfoHandler : DelegatingHandler
25+
{
26+
/// <summary>
27+
/// The name of the cmdlet.
28+
/// </summary>
29+
public string Cmdlet { get; private set; }
30+
31+
/// <summary>
32+
/// The name of the parameter set specified by user.
33+
/// </summary>
34+
public string ParameterSet { get; private set; }
35+
36+
/// <summary>
37+
/// Initializes an instance of a CmdletInfoHandler with the name of the cmdlet and the parameter set.
38+
/// </summary>
39+
/// <param name="cmdlet">the name of the cmdlet</param>
40+
/// <param name="parameterSet">the name of the parameter set specified by user</param>
41+
public CmdletInfoHandler(string cmdlet, string parameterSet)
42+
{
43+
this.Cmdlet = cmdlet;
44+
this.ParameterSet = parameterSet;
45+
}
46+
47+
protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
48+
{
49+
if (Cmdlet != null)
50+
{
51+
request.Headers.Add("CommandName", Cmdlet);
52+
}
53+
if (ParameterSet != null)
54+
{
55+
request.Headers.Add("ParameterSetName", ParameterSet);
56+
}
57+
return base.SendAsync(request, cancellationToken);
58+
}
59+
}
60+
}

src/Common/Commands.Common/Commands.Common.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@
6363
<HintPath>..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.dll</HintPath>
6464
</Reference>
6565
<Reference Include="Microsoft.Azure.Common.Authentication, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
66-
<HintPath>..\..\packages\Microsoft.Azure.Common.Authentication.1.3.1-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll</HintPath>
67-
<Private>True</Private>
66+
<SpecificVersion>False</SpecificVersion>
67+
<HintPath>..\..\packages\Microsoft.Azure.Common.Authentication.1.3.2-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll</HintPath>
6868
</Reference>
6969
<Reference Include="Microsoft.Azure.Common.NetFramework">
7070
<SpecificVersion>False</SpecificVersion>
@@ -154,6 +154,7 @@
154154
</Compile>
155155
<Compile Include="PublishSettingsImporter.cs" />
156156
<Compile Include="MetricHelper.cs" />
157+
<Compile Include="CmdletInfoHandler.cs" />
157158
<Compile Include="SecureStringExtensions.cs" />
158159
<Compile Include="ConversionUtilities.cs" />
159160
<Compile Include="DebugStreamTraceListener.cs" />

src/Common/Commands.Common/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<package id="Microsoft.ApplicationInsights" version="1.1.1-beta" targetFramework="net45" />
55
<package id="Microsoft.AspNet.WebApi.Client" version="5.2.2" targetFramework="net45" />
66
<package id="Microsoft.Azure.Common" version="2.1.0" targetFramework="net45" />
7-
<package id="Microsoft.Azure.Common.Authentication" version="1.3.1-preview" targetFramework="net45" />
7+
<package id="Microsoft.Azure.Common.Authentication" version="1.3.2-preview" targetFramework="net45" />
88
<package id="Microsoft.Azure.Common.Dependencies" version="1.0.0" targetFramework="net45" />
99
<package id="Microsoft.Azure.Management.Resources" version="2.18.7-preview" targetFramework="net45" />
1010
<package id="Microsoft.Bcl" version="1.1.9" targetFramework="net45" />

src/Common/Commands.ScenarioTests.Common/Commands.ScenarioTests.Common.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
</Reference>
4848
<Reference Include="Microsoft.Azure.Common.Authentication, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
4949
<SpecificVersion>False</SpecificVersion>
50-
<HintPath>..\..\packages\Microsoft.Azure.Common.Authentication.1.3.0-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll</HintPath>
50+
<HintPath>..\..\packages\Microsoft.Azure.Common.Authentication.1.3.2-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll</HintPath>
5151
</Reference>
5252
<Reference Include="Microsoft.Azure.Common.NetFramework">
5353
<HintPath>..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll</HintPath>

src/Common/Commands.ScenarioTests.Common/Mocks/MockCertificateAuthenticationFactory.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,10 @@ public Microsoft.Rest.ServiceClientCredentials GetServiceClientCredentials(Azure
7979
{
8080
throw new System.NotImplementedException();
8181
}
82+
83+
public SubscriptionCloudCredentials GetSubscriptionCloudCredentials(AzureContext context, AzureEnvironment.Endpoint targetEndpoint)
84+
{
85+
throw new System.NotImplementedException();
86+
}
8287
}
8388
}

src/Common/Commands.ScenarioTests.Common/Mocks/MockClientFactory.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,16 @@ public void RemoveAction(Type actionType)
165165
// Do nothing
166166
}
167167

168+
public void AddHandler(DelegatingHandler handler)
169+
{
170+
// Do nothing
171+
}
172+
173+
public void RemoveHandler(Type handlerType)
174+
{
175+
// Do nothing
176+
}
177+
168178
public void AddUserAgent(string productName, string productVersion)
169179
{
170180
throw new NotImplementedException();

src/Common/Commands.ScenarioTests.Common/Mocks/MockTokenAuthenticationFactory.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,5 +105,10 @@ public Microsoft.Rest.ServiceClientCredentials GetServiceClientCredentials(Azure
105105
{
106106
return new Microsoft.Rest.TokenCredentials(Token.AccessToken);
107107
}
108+
109+
public SubscriptionCloudCredentials GetSubscriptionCloudCredentials(AzureContext context, AzureEnvironment.Endpoint targetEndpoint)
110+
{
111+
return new TokenCloudCredentials(Token.AccessToken);
112+
}
108113
}
109114
}

src/Common/Commands.ScenarioTests.Common/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<packages>
33
<package id="Hyak.Common" version="1.0.2" targetFramework="net45" />
44
<package id="Microsoft.Azure.Common" version="2.1.0" targetFramework="net45" />
5-
<package id="Microsoft.Azure.Common.Authentication" version="1.3.0-preview" targetFramework="net45" />
5+
<package id="Microsoft.Azure.Common.Authentication" version="1.3.2-preview" targetFramework="net45" />
66
<package id="Microsoft.Azure.Common.Dependencies" version="1.0.0" targetFramework="net45" />
77
<package id="Microsoft.Azure.Management.Resources" version="2.18.7-preview" targetFramework="net45" />
88
<package id="Microsoft.Azure.Test.Framework" version="1.0.5715.36130-prerelease" targetFramework="net45" />

src/Common/Storage/Azure.Storage.psd1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
@{
1010

1111
# Version number of this module.
12-
ModuleVersion = '0.9.8'
12+
ModuleVersion = '0.9.10'
1313

1414
# ID used to uniquely identify this module
1515
GUID = '00612bca-fa22-401d-a671-9cc48b010e3b'
@@ -21,7 +21,7 @@ Author = 'Microsoft Corporation'
2121
CompanyName = 'Microsoft Corporation'
2222

2323
# Copyright statement for this module
24-
Copyright = '© Microsoft Corporation. All rights reserved.'
24+
Copyright = 'Microsoft Corporation. All rights reserved.'
2525

2626
# Description of the functionality provided by this module
2727
Description = 'Microsoft Azure PowerShell - Storage'
@@ -45,7 +45,7 @@ CLRVersion='4.0'
4545
ProcessorArchitecture = 'None'
4646

4747
# Modules that must be imported into the global environment prior to importing this module
48-
RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.8' })
48+
RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '0.9.10' })
4949

5050
# Assemblies that must be loaded prior to importing this module
5151
RequiredAssemblies = @()

src/Common/Storage/Commands.Storage.Test/Commands.Storage.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
</Reference>
6060
<Reference Include="Microsoft.Azure.Common.Authentication, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
6161
<SpecificVersion>False</SpecificVersion>
62-
<HintPath>..\..\..\packages\Microsoft.Azure.Common.Authentication.1.3.0-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll</HintPath>
62+
<HintPath>..\..\..\packages\Microsoft.Azure.Common.Authentication.1.3.2-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll</HintPath>
6363
</Reference>
6464
<Reference Include="Microsoft.Azure.Common.NetFramework">
6565
<HintPath>..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll</HintPath>

src/Common/Storage/Commands.Storage.Test/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<packages>
33
<package id="Hyak.Common" version="1.0.2" targetFramework="net45" />
44
<package id="Microsoft.Azure.Common" version="2.1.0" targetFramework="net45" />
5-
<package id="Microsoft.Azure.Common.Authentication" version="1.3.0-preview" targetFramework="net45" />
5+
<package id="Microsoft.Azure.Common.Authentication" version="1.3.2-preview" targetFramework="net45" />
66
<package id="Microsoft.Azure.Common.Dependencies" version="1.0.0" targetFramework="net45" />
77
<package id="Microsoft.Azure.KeyVault.Core" version="1.0.0" targetFramework="net45" />
88
<package id="Microsoft.Azure.Management.Resources" version="2.18.7-preview" targetFramework="net45" />

src/Common/Storage/Commands.Storage/Blob/Cmdlet/StartAzureStorageBlobCopy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ public string SrcContainer
173173
[Parameter(HelpMessage = "Source Azure Storage Context Object", ValueFromPipeline = true, ValueFromPipelineByPropertyName = true, ParameterSetName = FileParameterSet)]
174174
[Parameter(HelpMessage = "Source Azure Storage Context Object", ValueFromPipeline = true, ValueFromPipelineByPropertyName = true, ParameterSetName = FileToBlobParameterSet)]
175175
[Parameter(HelpMessage = "Source Azure Storage Context Object", ParameterSetName = UriParameterSet)]
176-
public new AzureStorageContext Context { get; set; }
176+
public override AzureStorageContext Context { get; set; }
177177

178178
[Parameter(HelpMessage = "Destination Storage context object", Mandatory = false)]
179179
public AzureStorageContext DestContext { get; set; }

src/Common/Storage/Commands.Storage/Commands.Storage.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
<HintPath>..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.dll</HintPath>
5151
</Reference>
5252
<Reference Include="Microsoft.Azure.Common.Authentication, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
53-
<HintPath>..\..\..\packages\Microsoft.Azure.Common.Authentication.1.3.1-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll</HintPath>
53+
<HintPath>..\..\..\packages\Microsoft.Azure.Common.Authentication.1.3.2-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll</HintPath>
5454
<Private>True</Private>
5555
</Reference>
5656
<Reference Include="Microsoft.Azure.Common.NetFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">

src/Common/Storage/Commands.Storage/Common/StorageCloudCmdletBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public class StorageCloudCmdletBase<T> : CloudBaseCmdlet<T>
4343
{
4444
[Parameter(HelpMessage = "Azure Storage Context Object",
4545
ValueFromPipelineByPropertyName = true)]
46-
public AzureStorageContext Context { get; set; }
46+
public virtual AzureStorageContext Context { get; set; }
4747

4848
[Parameter(HelpMessage = "The server time out for each request in seconds.")]
4949
public virtual int? ServerTimeoutPerRequest { get; set; }

src/Common/Storage/Commands.Storage/File/AzureStorageFileCmdletBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public abstract class AzureStorageFileCmdletBase : StorageCloudCmdletBase<IStora
3434
ValueFromPipeline = true,
3535
ParameterSetName = Constants.SpecificParameterSetName,
3636
HelpMessage = "Azure Storage Context Object")]
37-
public new AzureStorageContext Context { get; set; }
37+
public override AzureStorageContext Context { get; set; }
3838

3939
protected FileRequestOptions RequestOptions
4040
{

src/Common/Storage/Commands.Storage/File/Cmdlet/NewAzureStorageFileSasToken.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public string Policy
121121
ValueFromPipeline = true,
122122
HelpMessage = "Azure Storage Context Object",
123123
ParameterSetName = NameSasPolicyParmeterSet)]
124-
public new AzureStorageContext Context { get; set; }
124+
public override AzureStorageContext Context { get; set; }
125125

126126
/// <summary>
127127
/// Execute command

src/Common/Storage/Commands.Storage/File/Cmdlet/NewAzureStorageShareSasToken.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public string Policy
6868
[Parameter(
6969
ValueFromPipeline = true,
7070
HelpMessage = "Azure Storage Context Object")]
71-
public new AzureStorageContext Context { get; set; }
71+
public override AzureStorageContext Context { get; set; }
7272

7373
// Overwrite the useless parameter
7474
public override int? ServerTimeoutPerRequest { get; set; }

src/Common/Storage/Commands.Storage/File/Cmdlet/StartAzureStorageFileCopy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public class StartAzureStorageFileCopyCommand : StorageFileDataManagementCmdletB
120120
Mandatory = false,
121121
ValueFromPipelineByPropertyName = true,
122122
ParameterSetName = ShareNameParameterSet)]
123-
public new AzureStorageContext Context { get; set; }
123+
public override AzureStorageContext Context { get; set; }
124124

125125
[Parameter(HelpMessage = "Destination Storage context object", ParameterSetName = ContainerNameParameterSet)]
126126
[Parameter(HelpMessage = "Destination Storage context object", ParameterSetName = ContainerParameterSet)]

src/Common/Storage/Commands.Storage/Microsoft.WindowsAzure.Commands.Storage.dll-Help.psd1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
@{
1010

1111
# Version number of this module.
12-
ModuleVersion = '0.8.8'
12+
ModuleVersion = '0.9.10'
1313

1414
# ID used to uniquely identify this module
1515
GUID = 'D48CF693-4125-4D2D-8790-1514F44CE325'
@@ -21,7 +21,7 @@ Author = 'Microsoft Corporation'
2121
CompanyName = 'Microsoft Corporation'
2222

2323
# Copyright statement for this module
24-
Copyright = '?Microsoft Corporation. All rights reserved.'
24+
Copyright = 'Microsoft Corporation. All rights reserved.'
2525

2626
# Description of the functionality provided by this module
2727
Description = ''
Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,3 @@
11
<?xml version="1.0" encoding="utf-8" ?>
22
<Types>
3-
<Type>
4-
<Name>Microsoft.WindowsAzure.Storage.File.CloudFile</Name>
5-
<Members>
6-
<ScriptProperty>
7-
<Name>DirectoryTag</Name>
8-
<GetScriptBlock>[string]::Empty</GetScriptBlock>
9-
</ScriptProperty>
10-
<ScriptProperty>
11-
<Name>IsDirectory</Name>
12-
<GetScriptBlock>$false</GetScriptBlock>
13-
</ScriptProperty>
14-
<ScriptProperty>
15-
<Name>Length</Name>
16-
<GetScriptBlock>$_.Properties.Length</GetScriptBlock>
17-
</ScriptProperty>
18-
</Members>
19-
</Type>
20-
<Type>
21-
<Name>Microsoft.WindowsAzure.Storage.File.CloudFileDirectory</Name>
22-
<Members>
23-
<ScriptProperty>
24-
<Name>DirectoryTag</Name>
25-
<GetScriptBlock>"DIR"</GetScriptBlock>
26-
</ScriptProperty>
27-
<ScriptProperty>
28-
<Name>IsDirectory</Name>
29-
<GetScriptBlock>$true</GetScriptBlock>
30-
</ScriptProperty>
31-
<ScriptProperty>
32-
<Name>Length</Name>
33-
<GetScriptBlock>[string]::Empty</GetScriptBlock>
34-
</ScriptProperty>
35-
</Members>
36-
</Type>
373
</Types>

src/Common/Storage/Commands.Storage/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<packages>
33
<package id="Hyak.Common" version="1.0.2" targetFramework="net45" />
44
<package id="Microsoft.Azure.Common" version="2.1.0" targetFramework="net45" />
5-
<package id="Microsoft.Azure.Common.Authentication" version="1.3.1-preview" targetFramework="net45" />
5+
<package id="Microsoft.Azure.Common.Authentication" version="1.3.2-preview" targetFramework="net45" />
66
<package id="Microsoft.Azure.Common.Dependencies" version="1.0.0" targetFramework="net45" />
77
<package id="Microsoft.Azure.KeyVault.Core" version="1.0.0" targetFramework="net45" />
88
<package id="Microsoft.Azure.Management.Resources" version="2.18.7-preview" targetFramework="net45" />
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<packages>
3+
<package id="xunit.runner.console" version="2.0.0" />
4+
</packages>

0 commit comments

Comments
 (0)