< Back

Set-PartnerAzureBillingPolicy

Sat Jan 18, 2020 6:36 pm

NAME Set-PartnerAzureBillingPolicy



SYNOPSIS

Updates the billing policy for the specified customer.





SYNTAX

Set-PartnerAzureBillingPolicy -BillingAccountName <String> -CustomerId <String> -ViewCharges [<CommonParameters>]





DESCRIPTION

Updates the billing policy for the specified customer.





PARAMETERS

-BillingAccountName <String>

The name for the billing account.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-CustomerId <String>

The identifier for the customer.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ViewCharges [<SwitchParameter>]

A flag that indicates whether or not the customer can view charges for Azure services.



Required? true

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None







OUTPUTS

Microsoft.Azure.Management.Billing.Models.CustomerPolicy







NOTES









-------------------------- Example 1 --------------------------



PS C:\\> Set-PartnerAzureBillingPolicy -BillingAccountName

'99a13315-xxxx-xxxx-xxxx-xxxxxxxxxxxx:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx_xxxx-xx-xx' -CustomerId

'7b93c1be-57f6-4d8c-9270-e9b97c071557' -ViewCharges:$true



Enables the view charges feature which allows the customer to see retail pricing for Azure services.





-------------------------- Example 2 --------------------------



PS C:\\> Set-PartnerAzureBillingPolicy -BillingAccountName

'99a13315-xxxx-xxxx-xxxx-xxxxxxxxxxxx:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx_xxxx-xx-xx' -CustomerId

'7b93c1be-57f6-4d8c-9270-e9b97c071557' -ViewCharges:$false



Disables the view charges feature which allows the customer to see retail pricing for Azure services.







RELATED LINKS

Online Version: https://docs.microsoft.com/powershell/m ... lingPolicy