Skip to content

Commit 1baf459

Browse files
committed
disable usagereporting by default for CustomBilling
1 parent 9e51a31 commit 1baf459

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Registration/RegisterWithAzure.psm1

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,10 @@ function Set-AzsRegistration{
188188
[switch] $MarketplaceSyndicationEnabled = $true,
189189

190190
[Parameter(Mandatory = $false)]
191-
[switch] $UsageReportingEnabled = $true,
191+
[switch] $UsageReportingEnabled = @{'Capacity'=$true;
192+
'PayAsYouUse'=$true;
193+
'Development'=$true;
194+
'Custom'=$false}[$BillingModel],
192195

193196
[Parameter(Mandatory = $false)]
194197
[ValidateNotNull()]

0 commit comments

Comments
 (0)