PhoneNumberCost Class

The incurred cost for a single phone number.

All required parameters must be populated in order to send to Azure.

Inheritance
PhoneNumberCost

Constructor

PhoneNumberCost(*, amount: float, currency_code: str, billing_frequency: Union[str, azure.communication.phonenumbers._generated.models._phone_numbers_client_enums.BillingFrequency], **kwargs)

Parameters

amount
float
Required

Required. The cost amount.

currency_code
str
Required

Required. The ISO 4217 currency code for the cost amount, e.g. USD.

billing_frequency
str or <xref:azure.communication.phonenumbers.models.BillingFrequency>
Required

Required. The frequency with which the cost gets billed. Possible values include: "monthly".