Skip to content

Commit

Permalink
disable usagereporting by default for CustomBilling
Browse files Browse the repository at this point in the history
  • Loading branch information
rakku-ms committed Dec 13, 2019
1 parent 9e51a31 commit 1baf459
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Registration/RegisterWithAzure.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,10 @@ function Set-AzsRegistration{
[switch] $MarketplaceSyndicationEnabled = $true,

[Parameter(Mandatory = $false)]
[switch] $UsageReportingEnabled = $true,
[switch] $UsageReportingEnabled = @{'Capacity'=$true;
'PayAsYouUse'=$true;
'Development'=$true;
'Custom'=$false}[$BillingModel],

[Parameter(Mandatory = $false)]
[ValidateNotNull()]
Expand Down

0 comments on commit 1baf459

Please sign in to comment.