Set-PartnerAzureBillingPolicy
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.
Examples
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.
Parameters
-BillingAccountName
The name for the billing account.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CustomerId
The identifier for the customer.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ViewCharges
A flag that indicates whether or not the customer can view charges for Azure services.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
Microsoft.Azure.Management.Billing.Models.CustomerPolicy