Skip to content

Commit 0b23869

Browse files
authored
Merge pull request #4250 from AOrazaev/orazaev/export_log_cmdlet
Orazaev/export log cmdlet
2 parents 81f1344 + 6bb0997 commit 0b23869

19 files changed

+595
-24
lines changed

setup/azurecmdfiles.wxi

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,65 @@
77
</Component>
88
<Directory Id="dirB60B5B1F56FA5598EFFC960CA393FDCE" Name="ResourceManager">
99
<Directory Id="dir9E409EB63EF03736275B51044C819FD8" Name="AzureResourceManager">
10+
<Directory Id="dirE5EE64AF112D660B2F38178FA55F7183" Name="Azure.AnalysisServices">
11+
<Component Id="cmpD516927612BD0D0C5EDA5FAF0D0318B9" Guid="*">
12+
<File Id="filCD7267C480816F36534BA410E5C47EBE" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\Azure.AnalysisServices\AnalysisServicesDataplaneStartup.ps1" />
13+
</Component>
14+
<Component Id="cmp53362925A56A86586D120F4FA426D6CD" Guid="*">
15+
<File Id="fil071A8CCC28172C5CC455DF496B4ABB5B" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\Azure.AnalysisServices\Azure.AnalysisServices.psd1" />
16+
</Component>
17+
<Component Id="cmp53002CE3F1D5F8C74FA6A0D73067CAAF" Guid="*">
18+
<File Id="fil819F906D6F67E572F62E0E0F0F7CBB60" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\Azure.AnalysisServices\Hyak.Common.dll" />
19+
</Component>
20+
<Component Id="cmp0F2525C14C247FD0A34EB3E38F5462D5" Guid="*">
21+
<File Id="filD568EC9724AE39A1A98912B3A26AD017" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\Azure.AnalysisServices\Microsoft.ApplicationInsights.dll" />
22+
</Component>
23+
<Component Id="cmp3D4D3ED62EC04253175A0CC32F5CDCFB" Guid="*">
24+
<File Id="fil07E218E1C042D354D3F06B551BD35320" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\Azure.AnalysisServices\Microsoft.Azure.Commands.AnalysisServices.Dataplane.dll" />
25+
</Component>
26+
<Component Id="cmp2D76AEF7ADD8BB52869C0A72C570A577" Guid="*">
27+
<File Id="fil69FEC8992F9EA3EF67B7A26A6E25294E" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\Azure.AnalysisServices\Microsoft.Azure.Commands.AnalysisServices.Dataplane.dll-help.xml" />
28+
</Component>
29+
<Component Id="cmp555AF56EF307E6ABE08A348C13F08FEE" Guid="*">
30+
<File Id="filBB0FC9517EB119F74C9ABE1C75777743" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\Azure.AnalysisServices\Microsoft.Azure.Commands.Common.Authentication.Abstractions.dll" />
31+
</Component>
32+
<Component Id="cmpC1A1AD0B739E95A41E3A3AB9B3AF4EB1" Guid="*">
33+
<File Id="fil3E7DA9FE4751E7FB5954DCBF7E788627" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\Azure.AnalysisServices\Microsoft.Azure.Common.dll" />
34+
</Component>
35+
<Component Id="cmp19755716B3B62BB43E2BC9350DD7105D" Guid="*">
36+
<File Id="filAF816EC5435E633408A147BCFBB71D4D" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\Azure.AnalysisServices\Microsoft.Azure.Common.NetFramework.dll" />
37+
</Component>
38+
<Component Id="cmpD85C4D043B5D7961FFDBBB38A14A782E" Guid="*">
39+
<File Id="filBFB9D3DDC47B17AEBD9413E4DDDA77CC" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\Azure.AnalysisServices\Microsoft.IdentityModel.Clients.ActiveDirectory.dll" />
40+
</Component>
41+
<Component Id="cmpEAF41C675624E5CC949D2BC960518696" Guid="*">
42+
<File Id="fil42FA267C2555527DAB21C3F75040CEA5" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\Azure.AnalysisServices\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll" />
43+
</Component>
44+
<Component Id="cmp8AC0F1EBDCBC153C1AE4BD5B2B2171E7" Guid="*">
45+
<File Id="fil6F7220B2E9AEB7CE60DF8E42A8299957" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\Azure.AnalysisServices\Microsoft.Rest.ClientRuntime.Azure.dll" />
46+
</Component>
47+
<Component Id="cmp34C6BAE0340D97627A3165ED05BB53AA" Guid="*">
48+
<File Id="filE07F3C54F23B3FCDC46CFBD3F45DC714" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\Azure.AnalysisServices\Microsoft.Rest.ClientRuntime.dll" />
49+
</Component>
50+
<Component Id="cmpE0A0B05EE5551367E6F57AEC40CC8AA2" Guid="*">
51+
<File Id="filEE3077F8878DDDDBF6FD092C01DAD35F" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\Azure.AnalysisServices\Microsoft.Threading.Tasks.dll" />
52+
</Component>
53+
<Component Id="cmpF7CEB0309FF68BF20FCE9F666E14006C" Guid="*">
54+
<File Id="fil5E784FF18B104A9DC8E62EBBD217CE94" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\Azure.AnalysisServices\Microsoft.Threading.Tasks.Extensions.Desktop.dll" />
55+
</Component>
56+
<Component Id="cmp4615839582D500EC7436BD4250111232" Guid="*">
57+
<File Id="fil3C6F98DE987BAA9125BEE646C6CC184A" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\Azure.AnalysisServices\Microsoft.Threading.Tasks.Extensions.dll" />
58+
</Component>
59+
<Component Id="cmp3546648E8394E5EA2A39A163E4360617" Guid="*">
60+
<File Id="fil64C11DE11A6666185672E649B9145368" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\Azure.AnalysisServices\Microsoft.WindowsAzure.Commands.Common.dll" />
61+
</Component>
62+
<Component Id="cmp990793EFF62E344D59081F391F8BB36D" Guid="*">
63+
<File Id="fil60F005D28A905C15C82059A15CED0552" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\Azure.AnalysisServices\Microsoft.WindowsAzure.Management.dll" />
64+
</Component>
65+
<Component Id="cmpC85EF7CDB12F0E779A09D5D1E534C18E" Guid="*">
66+
<File Id="filBF4033EDE1CDB493C390E699E9AEF1A3" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\Azure.AnalysisServices\Newtonsoft.Json.dll" />
67+
</Component>
68+
</Directory>
1069
<Directory Id="dir887149D384FA060718922AB0DA37F700" Name="AzureRM.AnalysisServices">
1170
<Component Id="cmpE1934F4197E90691F3F4FD7D0D17559F" Guid="*">
1271
<File Id="filDF0DDEF57A08314CBF3061F3513F605F" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.AnalysisServices\AzureRM.AnalysisServices.psd1" />
@@ -559,6 +618,15 @@
559618
<Component Id="cmp662261A272390D74C6239ACEC0BB4332" Guid="*">
560619
<File Id="fil443221C3E400D30141765C13AE2FB566" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.CognitiveServices\Microsoft.Azure.Management.CognitiveServices.dll" />
561620
</Component>
621+
<Component Id="cmpB309A169665AB10BD9FAAB9CBF886624" Guid="*">
622+
<File Id="fil15857097CFC8CD308FE2D6591A9277CF" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.CognitiveServices\Microsoft.IdentityModel.Clients.ActiveDirectory.dll" />
623+
</Component>
624+
<Component Id="cmpC80EE8D06B66E9F3CD85EBC3A10B5493" Guid="*">
625+
<File Id="fil4862255DF3C5211E7256211A38B7720B" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.CognitiveServices\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll" />
626+
</Component>
627+
<Component Id="cmp4A001BF4111E6A14BA06EFFA57721AF8" Guid="*">
628+
<File Id="fil2B2DE7A7D7599D1A7DAFCF1DDC6624EE" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.CognitiveServices\Microsoft.Rest.ClientRuntime.Azure.Authentication.dll" />
629+
</Component>
562630
<Component Id="cmp9C4EF169DF708C9160CCE8A85381C0F2" Guid="*">
563631
<File Id="fil94F786A5D5E5D0077819178408137CED" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.CognitiveServices\Microsoft.Rest.ClientRuntime.Azure.dll" />
564632
</Component>
@@ -5560,6 +5628,25 @@
55605628
<Fragment>
55615629
<ComponentGroup Id="azurecmdfiles">
55625630
<ComponentRef Id="cmpDC507D3B034FD0F9887EC67302B6F5A0" />
5631+
<ComponentRef Id="cmpD516927612BD0D0C5EDA5FAF0D0318B9" />
5632+
<ComponentRef Id="cmp53362925A56A86586D120F4FA426D6CD" />
5633+
<ComponentRef Id="cmp53002CE3F1D5F8C74FA6A0D73067CAAF" />
5634+
<ComponentRef Id="cmp0F2525C14C247FD0A34EB3E38F5462D5" />
5635+
<ComponentRef Id="cmp3D4D3ED62EC04253175A0CC32F5CDCFB" />
5636+
<ComponentRef Id="cmp2D76AEF7ADD8BB52869C0A72C570A577" />
5637+
<ComponentRef Id="cmp555AF56EF307E6ABE08A348C13F08FEE" />
5638+
<ComponentRef Id="cmpC1A1AD0B739E95A41E3A3AB9B3AF4EB1" />
5639+
<ComponentRef Id="cmp19755716B3B62BB43E2BC9350DD7105D" />
5640+
<ComponentRef Id="cmpD85C4D043B5D7961FFDBBB38A14A782E" />
5641+
<ComponentRef Id="cmpEAF41C675624E5CC949D2BC960518696" />
5642+
<ComponentRef Id="cmp8AC0F1EBDCBC153C1AE4BD5B2B2171E7" />
5643+
<ComponentRef Id="cmp34C6BAE0340D97627A3165ED05BB53AA" />
5644+
<ComponentRef Id="cmpE0A0B05EE5551367E6F57AEC40CC8AA2" />
5645+
<ComponentRef Id="cmpF7CEB0309FF68BF20FCE9F666E14006C" />
5646+
<ComponentRef Id="cmp4615839582D500EC7436BD4250111232" />
5647+
<ComponentRef Id="cmp3546648E8394E5EA2A39A163E4360617" />
5648+
<ComponentRef Id="cmp990793EFF62E344D59081F391F8BB36D" />
5649+
<ComponentRef Id="cmpC85EF7CDB12F0E779A09D5D1E534C18E" />
55635650
<ComponentRef Id="cmpE1934F4197E90691F3F4FD7D0D17559F" />
55645651
<ComponentRef Id="cmpF0D8E7A18EC397D4F297FB010BB719FF" />
55655652
<ComponentRef Id="cmpB5FFAB492F5FC283B45A8B0FC8B85B23" />
@@ -5739,6 +5826,9 @@
57395826
<ComponentRef Id="cmp7BBCDAFE6966D2A36C3FB05CC90A9FE0" />
57405827
<ComponentRef Id="cmpC9A8DE5E47D2B1D89BB804E4FFCE416B" />
57415828
<ComponentRef Id="cmp662261A272390D74C6239ACEC0BB4332" />
5829+
<ComponentRef Id="cmpB309A169665AB10BD9FAAB9CBF886624" />
5830+
<ComponentRef Id="cmpC80EE8D06B66E9F3CD85EBC3A10B5493" />
5831+
<ComponentRef Id="cmp4A001BF4111E6A14BA06EFFA57721AF8" />
57425832
<ComponentRef Id="cmp9C4EF169DF708C9160CCE8A85381C0F2" />
57435833
<ComponentRef Id="cmp90CA956B6201BC401242CC2E4987FAB4" />
57445834
<ComponentRef Id="cmpBC33B6EC7A6FA729B93B7E14E192CC00" />

src/ResourceManager/AnalysisServices/AzureRM.AnalysisServices.psd1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ CmdletsToExport = 'Resume-AzureRmAnalysisServicesServer',
8686
# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
8787
AliasesToExport = 'Resume-AzureAs', 'Suspend-AzureAs', 'Get-AzureAs', 'Remove-AzureAs',
8888
'Set-AzureAs', 'Test-AzureAs', 'New-AzureAs'
89-
9089
# DSC resources to export from this module
9190
# DscResourcesToExport = @()
9291

src/ResourceManager/AnalysisServices/ChangeLog.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
- Additional information about change #1
1919
-->
2020
## Current Release
21+
* Add new dataplane API
22+
- Introduced API to fetch AS server log, we don't want this API to be documented, we want it to be just accessible and downloadable.
2123

2224
## Version 0.4.0
2325
* New SKUs added: B1, B2, S0
@@ -43,4 +45,4 @@
4345

4446
## Version 0.0.2
4547
* Fixed bug in Get-AzureRMAnalysisServicesServer
46-
- When this command was run against some resources, it would fail with a null reference exception.
48+
- When this command was run against some resources, it would fail with a null reference exception.

src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/Azure.AnalysisServices.psd1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ FunctionsToExport = '*'
6666

6767
# Cmdlets to export from this module
6868
CmdletsToExport = 'Add-AzureAnalysisServicesAccount',
69-
'Restart-AzureAnalysisServicesInstance'
69+
'Restart-AzureAnalysisServicesInstance',
70+
'Export-AzureAnalysisServicesInstanceLog'
7071

7172
# Variables to export from this module
7273
VariablesToExport = '*'

src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/Commands.AnalysisServices.Dataplane.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
</ItemGroup>
8989
<ItemGroup>
9090
<Compile Include="Commands\AddAzureASAccount.cs" />
91+
<Compile Include="Commands\Export-AzureAsInstanceLog.cs" />
9192
<Compile Include="Models\AsAzureAccount.cs" />
9293
<Compile Include="Models\AsAzureClientSession.cs" />
9394
<Compile Include="Models\ASAzureContext.cs" />
@@ -139,6 +140,7 @@
139140
<MarkdownFiles Include="$(ProjectDir)help\*.*" />
140141
</ItemGroup>
141142
<Copy SourceFiles="@(MarkdownFiles)" DestinationFolder="$(OutputPath)\help\" ContinueOnError="false" />
143+
<Copy SourceFiles="..\..\..\packages\Newtonsoft.Json.6.0.8\lib\net45\Newtonsoft.Json.dll" DestinationFolder="$(OutputPath)" ContinueOnError="false" />
142144
</Target>
143145
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
144146
</Project>

0 commit comments

Comments
 (0)