Skip to content

Commit 490f9c7

Browse files
authored
Merge pull request #3546 from Panda-Wang/dev
New Cmdlet for AzureRm.Billing to get billing invoices
2 parents 0343f5f + bd0b910 commit 490f9c7

33 files changed

+2329
-0
lines changed

AzurePowershell.Test.targets

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
<XUnitTests Include=".\src\ResourceManager\Automation\Commands.Automation.Test\bin\Debug\Microsoft.Azure.Commands.ResourceManager.Automation.Test.dll"/>
7373
<XUnitTests Include=".\src\ResourceManager\AzureBackup\Commands.AzureBackup.Test\bin\Debug\Microsoft.Azure.Commands.AzureBackup.Test.dll"/>
7474
<XUnitTests Include=".\src\ResourceManager\AzureBatch\Commands.Batch.Test\bin\Debug\Microsoft.Azure.Commands.Batch.Test.dll"/>
75+
<XUnitTests Include=".\src\ResourceManager\Billing\Commands.Billing.Test\bin\Debug\Microsoft.Azure.Commands.Billing.Test.dll"/>
7576
<XUnitTests Include=".\src\ResourceManager\Cdn\Commands.Cdn.Test\bin\Debug\Microsoft.Azure.Commands.Cdn.Test.ScenarioTests.dll"/>
7677
<XUnitTests Include=".\src\ResourceManager\CognitiveServices\CognitiveServices.Test\bin\Debug\Microsoft.Azure.Commands.Management.CognitiveServices.Test.dll"/>
7778
<XUnitTests Include=".\src\ResourceManager\Compute\Commands.Compute.Test\bin\Debug\Microsoft.Azure.Commands.Compute.Test.dll"/>

setup/azurecmdfiles.wxi

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
<Include xmlns="http://schemas.microsoft.com/wix/2006/wi">
33
<Fragment>
44
<DirectoryRef Id="PowerShellFolder">
5+
<Component Id="cmpDC507D3B034FD0F9887EC67302B6F5A0" Guid="*">
6+
<File Id="filBF2E03D229851ADE6748EBFCE4288A27" KeyPath="yes" Source="$(var.sourceDir)\PowerShellSetup.Test.dll" />
7+
</Component>
58
<Directory Id="dirB60B5B1F56FA5598EFFC960CA393FDCE" Name="ResourceManager">
69
<Directory Id="dir9E409EB63EF03736275B51044C819FD8" Name="AzureResourceManager">
710
<Directory Id="dir887149D384FA060718922AB0DA37F700" Name="AzureRM.AnalysisServices">
@@ -425,6 +428,82 @@
425428
<File Id="fil9D065E8E5B3E5AF98B57D1F44F6C8698" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Batch\System.Spatial.dll" />
426429
</Component>
427430
</Directory>
431+
<Directory Id="dirCC449B6F93CEE9F4E338902885CBCE6A" Name="AzureRM.Billing">
432+
<Component Id="cmpE13209703EEDF722986E2927493C77A8" Guid="*">
433+
<File Id="fil40CBBC824FA4B66002B9D4ABD4786A98" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Billing\AzureRM.Billing.psd1" />
434+
</Component>
435+
<Component Id="cmpD1A8BEBB59C843F152A9F127B7318056" Guid="*">
436+
<File Id="fil58F5E35C06A25D4DB43A8AB23AD3BDD4" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Billing\AzureRM.Profile.psd1" />
437+
</Component>
438+
<Component Id="cmpFD3EC80CAA75613F45759AC1F07078EE" Guid="*">
439+
<File Id="fil282291ECCBF3630F4A8F172C80C4340A" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Billing\AzureRmProfileStartup.ps1" />
440+
</Component>
441+
<Component Id="cmp582F29039F55973A6FE4286640B2598C" Guid="*">
442+
<File Id="fil13FE3BCB59886014AFA127546198586A" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Billing\Hyak.Common.dll" />
443+
</Component>
444+
<Component Id="cmp542D91E9EF48E0757E6A37EFC06D1B49" Guid="*">
445+
<File Id="fil8AC28F31537A79DDB269700F62865AA3" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Billing\Microsoft.ApplicationInsights.dll" />
446+
</Component>
447+
<Component Id="cmp90AAD895620F85A0D5DAF01332F0B080" Guid="*">
448+
<File Id="fil3915DD81C5B2D0DE827D45DAC497CD89" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Billing\Microsoft.Azure.Commands.Billing.dll" />
449+
</Component>
450+
<Component Id="cmpBB6FF1BC401C60D7455037617C7B5623" Guid="*">
451+
<File Id="fil0935B5CED10B5F800BE3B7665CECD715" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Billing\Microsoft.Azure.Commands.Billing.dll-Help.xml" />
452+
</Component>
453+
<Component Id="cmp6BDCB170E1F314882CF58F8F80DE76A6" Guid="*">
454+
<File Id="filBFDE1699047559AB8DA89E0F660D35DF" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Billing\Microsoft.Azure.Commands.Common.Authentication.dll" />
455+
</Component>
456+
<Component Id="cmpED253190CB7DAF0A995567435152DC6A" Guid="*">
457+
<File Id="fil562358A304FE4307037412FD77D61C84" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Billing\Microsoft.Azure.Commands.Profile.dll-Help.xml" />
458+
</Component>
459+
<Component Id="cmp772BF01AB0847CA5A8478AE2E41D4682" Guid="*">
460+
<File Id="filE011DC7779FE44AF1BD4D860F04C77E2" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Billing\Microsoft.Azure.Commands.Profile.format.ps1xml" />
461+
</Component>
462+
<Component Id="cmp935995BD55CE27A59AEBA59098FB9D7A" Guid="*">
463+
<File Id="fil92E7EF77C862DFBF868A3F38FBF61EC2" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Billing\Microsoft.Azure.Commands.ResourceManager.Common.dll" />
464+
</Component>
465+
<Component Id="cmp556881218A8D0097B1BC3098B028D730" Guid="*">
466+
<File Id="fil309F57927A19ABAC5F64605EB581FA97" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Billing\Microsoft.Azure.Common.dll" />
467+
</Component>
468+
<Component Id="cmp327AC71B60535E175662F05101BF51EB" Guid="*">
469+
<File Id="fil12E883D033DE399D170E5B0E8F769BD1" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Billing\Microsoft.Azure.Common.NetFramework.dll" />
470+
</Component>
471+
<Component Id="cmp6B273C92E0C9FB8DCD37D36BB5383F14" Guid="*">
472+
<File Id="fil8D6D4E7731447E3F3B20343ECDDE78F1" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Billing\Microsoft.Azure.Management.Billing.dll" />
473+
</Component>
474+
<Component Id="cmp872D16CA55B1CAE5EBE82D6AEBE6C412" Guid="*">
475+
<File Id="fil3449373D5FF98A7FCC115030E8175DA7" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Billing\Microsoft.Azure.ResourceManager.dll" />
476+
</Component>
477+
<Component Id="cmp25E61AC1EA5270E5C89E61084E355D26" Guid="*">
478+
<File Id="filCF1F8F735652B3CD8EBC7064E7DEA670" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Billing\Microsoft.IdentityModel.Clients.ActiveDirectory.dll" />
479+
</Component>
480+
<Component Id="cmpC529010BFB5E6E333B2F7B5EB68D0A4B" Guid="*">
481+
<File Id="fil261F83C2B9DB28332FDC22AAC49D975A" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Billing\Microsoft.Rest.ClientRuntime.Azure.Authentication.dll" />
482+
</Component>
483+
<Component Id="cmp9B64957E2252DE5DC0DC857E970D4FF3" Guid="*">
484+
<File Id="fil521DA1AEB2FBB3F38B0CACA86814E5BD" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Billing\Microsoft.Rest.ClientRuntime.Azure.dll" />
485+
</Component>
486+
<Component Id="cmpE5BF230DD42771ABA47FB949DCA3130E" Guid="*">
487+
<File Id="filF137285806982ABFEF5E1F0F2D79E1ED" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Billing\Microsoft.Rest.ClientRuntime.dll" />
488+
</Component>
489+
<Component Id="cmp138FB8512C1ACA1E57CF3400673A8E08" Guid="*">
490+
<File Id="filCC74508508037EC7BD03683B5E1E105F" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Billing\Microsoft.Threading.Tasks.dll" />
491+
</Component>
492+
<Component Id="cmp7D5530C950352B514F6347960FFBBDE4" Guid="*">
493+
<File Id="fil5DFEDF1395CA7B538A1E453D561B845C" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Billing\Microsoft.WindowsAzure.Commands.Common.dll" />
494+
</Component>
495+
<Component Id="cmpEEBBAE0F1164B1694289290A8303F99E" Guid="*">
496+
<File Id="fil78699F2B8DB34A5FD9667DD2B95D3A1D" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Billing\Newtonsoft.Json.dll" />
497+
</Component>
498+
<Directory Id="dir445ABFFE687BB6FCE8BAC2735AFDAF11" Name="help">
499+
<Component Id="cmp90AE5671AE74468760453D2C7351F210" Guid="*">
500+
<File Id="fil1742243294B6F04179E3C8C2CB436AD9" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Billing\help\AzureRM.Billing.md" />
501+
</Component>
502+
<Component Id="cmp11ED818FB4FB1CBC3D7FCC80E4BFBFED" Guid="*">
503+
<File Id="filC726237C6477AEEE2568FF18E7B689FD" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Billing\help\Get-AzureRmBillingInvoice.md" />
504+
</Component>
505+
</Directory>
506+
</Directory>
428507
<Directory Id="dir75F2C4F350248207C418DE5A1C651FB6" Name="AzureRM.Cdn">
429508
<Component Id="cmpB7108FC1E0DA3A2DABE2F5A549025C62" Guid="*">
430509
<File Id="filB74B1CDF4E2C5B548CAC901E51955AA5" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Cdn\AzureRM.Cdn.psd1" />
@@ -1227,6 +1306,9 @@
12271306
<Component Id="cmp186246AF29181779F016178ADB0FEA06" Guid="*">
12281307
<File Id="fil97B2B1CA25CDAE0CEFBA42A784585A08" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.EventHub\Microsoft.Azure.Commands.EventHub.dll-Help.xml" />
12291308
</Component>
1309+
<Component Id="cmp151CFA6A4DB1F81E26E149ADB58CC47A" Guid="*">
1310+
<File Id="filADD158C82261A89F50025C43C1F6E813" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.EventHub\Microsoft.Azure.Commands.EventHub.format.ps1xml" />
1311+
</Component>
12301312
<Component Id="cmp826E85F89424484498A38928D39C3A79" Guid="*">
12311313
<File Id="filA246121CD7071267AECD5210B72F383F" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.EventHub\Microsoft.Azure.Commands.Profile.dll-Help.xml" />
12321314
</Component>
@@ -5507,6 +5589,7 @@
55075589
</Fragment>
55085590
<Fragment>
55095591
<ComponentGroup Id="azurecmdfiles">
5592+
<ComponentRef Id="cmpDC507D3B034FD0F9887EC67302B6F5A0" />
55105593
<ComponentRef Id="cmpE1934F4197E90691F3F4FD7D0D17559F" />
55115594
<ComponentRef Id="cmpF0D8E7A18EC397D4F297FB010BB719FF" />
55125595
<ComponentRef Id="cmpB5FFAB492F5FC283B45A8B0FC8B85B23" />
@@ -5644,6 +5727,30 @@
56445727
<ComponentRef Id="cmp8E6B2CBC9EF2E6C9012C5090F2932C68" />
56455728
<ComponentRef Id="cmp30F0EC1B207C0F4C59F81099974C18E3" />
56465729
<ComponentRef Id="cmp22BC5873E0018F5801CD486C6CBCE0C5" />
5730+
<ComponentRef Id="cmpE13209703EEDF722986E2927493C77A8" />
5731+
<ComponentRef Id="cmpD1A8BEBB59C843F152A9F127B7318056" />
5732+
<ComponentRef Id="cmpFD3EC80CAA75613F45759AC1F07078EE" />
5733+
<ComponentRef Id="cmp582F29039F55973A6FE4286640B2598C" />
5734+
<ComponentRef Id="cmp542D91E9EF48E0757E6A37EFC06D1B49" />
5735+
<ComponentRef Id="cmp90AAD895620F85A0D5DAF01332F0B080" />
5736+
<ComponentRef Id="cmpBB6FF1BC401C60D7455037617C7B5623" />
5737+
<ComponentRef Id="cmp6BDCB170E1F314882CF58F8F80DE76A6" />
5738+
<ComponentRef Id="cmpED253190CB7DAF0A995567435152DC6A" />
5739+
<ComponentRef Id="cmp772BF01AB0847CA5A8478AE2E41D4682" />
5740+
<ComponentRef Id="cmp935995BD55CE27A59AEBA59098FB9D7A" />
5741+
<ComponentRef Id="cmp556881218A8D0097B1BC3098B028D730" />
5742+
<ComponentRef Id="cmp327AC71B60535E175662F05101BF51EB" />
5743+
<ComponentRef Id="cmp6B273C92E0C9FB8DCD37D36BB5383F14" />
5744+
<ComponentRef Id="cmp872D16CA55B1CAE5EBE82D6AEBE6C412" />
5745+
<ComponentRef Id="cmp25E61AC1EA5270E5C89E61084E355D26" />
5746+
<ComponentRef Id="cmpC529010BFB5E6E333B2F7B5EB68D0A4B" />
5747+
<ComponentRef Id="cmp9B64957E2252DE5DC0DC857E970D4FF3" />
5748+
<ComponentRef Id="cmpE5BF230DD42771ABA47FB949DCA3130E" />
5749+
<ComponentRef Id="cmp138FB8512C1ACA1E57CF3400673A8E08" />
5750+
<ComponentRef Id="cmp7D5530C950352B514F6347960FFBBDE4" />
5751+
<ComponentRef Id="cmpEEBBAE0F1164B1694289290A8303F99E" />
5752+
<ComponentRef Id="cmp90AE5671AE74468760453D2C7351F210" />
5753+
<ComponentRef Id="cmp11ED818FB4FB1CBC3D7FCC80E4BFBFED" />
56475754
<ComponentRef Id="cmpB7108FC1E0DA3A2DABE2F5A549025C62" />
56485755
<ComponentRef Id="cmp87DFE6BA28632B552074C8A05968ED49" />
56495756
<ComponentRef Id="cmp5387447D3AEFB20D850B31BB0324D032" />
@@ -5905,6 +6012,7 @@
59056012
<ComponentRef Id="cmpFE4BB06824D84B3A8FC9A74CA808DCF2" />
59066013
<ComponentRef Id="cmp3454FFEECFC0C01108C0FB802C9275FA" />
59076014
<ComponentRef Id="cmp186246AF29181779F016178ADB0FEA06" />
6015+
<ComponentRef Id="cmp151CFA6A4DB1F81E26E149ADB58CC47A" />
59086016
<ComponentRef Id="cmp826E85F89424484498A38928D39C3A79" />
59096017
<ComponentRef Id="cmp6FE41DB5298B67B50477021AAF88A050" />
59106018
<ComponentRef Id="cmp405DBE0F04DC1774823B9988C9BCE4E5" />
Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
#
2+
# Module manifest for module 'PSGet_AzureRM.Billing'
3+
#
4+
# Generated by: Microsoft Corporation
5+
#
6+
# Generated on: 2/17/2017
7+
#
8+
9+
@{
10+
11+
# Script module or binary module file associated with this manifest.
12+
# RootModule = ''
13+
14+
# Version number of this module.
15+
ModuleVersion = '0.9.0'
16+
17+
# Supported PSEditions
18+
# CompatiblePSEditions = @()
19+
20+
# ID used to uniquely identify this module
21+
GUID = 'a1f34ce9-bf46-4180-b36c-be232a1f8f63'
22+
23+
# Author of this module
24+
Author = 'Microsoft Corporation'
25+
26+
# Company or vendor of this module
27+
CompanyName = 'Microsoft Corporation'
28+
29+
# Copyright statement for this module
30+
Copyright = 'Microsoft Corporation. All rights reserved.'
31+
32+
# Description of the functionality provided by this module
33+
Description = 'Microsoft Azure PowerShell - Billing service cmdlets for Azure Resource Manager'
34+
35+
# Minimum version of the Windows PowerShell engine required by this module
36+
PowerShellVersion = '3.0'
37+
38+
# Name of the Windows PowerShell host required by this module
39+
# PowerShellHostName = ''
40+
41+
# Minimum version of the Windows PowerShell host required by this module
42+
# PowerShellHostVersion = ''
43+
44+
# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
45+
DotNetFrameworkVersion = '4.0'
46+
47+
# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
48+
CLRVersion = '4.0'
49+
50+
# Processor architecture (None, X86, Amd64) required by this module
51+
# ProcessorArchitecture = ''
52+
53+
# Modules that must be imported into the global environment prior to importing this module
54+
RequiredModules = @(@{ModuleName = 'AzureRM.Profile'; ModuleVersion = '2.6.0'; })
55+
56+
# Assemblies that must be loaded prior to importing this module
57+
# RequiredAssemblies = @()
58+
59+
# Script files (.ps1) that are run in the caller's environment prior to importing this module.
60+
# ScriptsToProcess = @()
61+
62+
# Type files (.ps1xml) to be loaded when importing this module
63+
# TypesToProcess = @()
64+
65+
# Format files (.ps1xml) to be loaded when importing this module
66+
# FormatsToProcess = @()
67+
68+
# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
69+
NestedModules = @('.\Microsoft.Azure.Commands.Billing.dll')
70+
71+
# Functions 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 functions to export.
72+
FunctionsToExport = @()
73+
74+
# Cmdlets 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 cmdlets to export.
75+
CmdletsToExport = 'Get-AzureRmBillingInvoice'
76+
77+
# Variables to export from this module
78+
# VariablesToExport = @()
79+
80+
# 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.
81+
AliasesToExport = @()
82+
83+
# DSC resources to export from this module
84+
# DscResourcesToExport = @()
85+
86+
# List of all modules packaged with this module
87+
# ModuleList = @()
88+
89+
# List of all files packaged with this module
90+
# FileList = @()
91+
92+
# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
93+
PrivateData = @{
94+
95+
PSData = @{
96+
97+
# Tags applied to this module. These help with module discovery in online galleries.
98+
Tags = 'Azure','ResourceManager','ARM','Billing'
99+
100+
# A URL to the license for this module.
101+
LicenseUri = 'https://raw.githubusercontent.com/Azure/azure-powershell/dev/LICENSE.txt'
102+
103+
# A URL to the main website for this project.
104+
ProjectUri = 'https://github.com/Azure/azure-powershell'
105+
106+
# A URL to an icon representing this module.
107+
# IconUri = ''
108+
109+
# ReleaseNotes of this module
110+
ReleaseNotes = 'Preview release of azure billing resource provider'
111+
112+
# External dependent modules of this module
113+
# ExternalModuleDependencies = ''
114+
115+
} # End of PSData hashtable
116+
117+
} # End of PrivateData hashtable
118+
119+
# HelpInfo URI of this module
120+
# HelpInfoURI = ''
121+
122+
# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
123+
# DefaultCommandPrefix = ''
124+
125+
}
126+

0 commit comments

Comments
 (0)