AvailablePhoneNumber Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a phone number available in inventory.
public class AvailablePhoneNumber
type AvailablePhoneNumber = class
Public Class AvailablePhoneNumber
- Inheritance
-
AvailablePhoneNumber
Constructors
AvailablePhoneNumber(String, PhoneNumberCapabilities, PhoneNumberType, PhoneNumberAssignmentType) |
Initializes a new instance of AvailablePhoneNumber. |
Properties
AssignmentType |
Represents the assignment type of the offering. Also known as the use case. |
Capabilities |
Capabilities of a phone number. |
Cost |
The incurred cost for this phone number. |
CountryCode |
The ISO 3166-2 country code, e.g. US. |
Error |
Contains error details in case of failure when reserving, releasing or purchasing the phone number. Note that this is ignored by the service when present in requests. |
Id |
The id of the phone number. |
IsAgreementToNotResellRequired |
Indicates if do not resell agreement is required. If true, the phone number cannot be acquired unless the customer provides explicit agreement to not resell it. |
PhoneNumber |
The phone number in E.164 format, e.g. +11234567890. |
PhoneNumberType |
Represents the number type of the offering. |
Status |
Represents the status of the phone number. Possible values include: 'available', 'reserved', 'expired', 'error', 'purchased'. |