PhoneNumbersModelFactory.PhoneNumberOffering Method
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.
Initializes a new instance of PhoneNumberOffering.
public static Azure.Communication.PhoneNumbers.PhoneNumberOffering PhoneNumberOffering (Azure.Communication.PhoneNumbers.PhoneNumberType? phoneNumberType = default, Azure.Communication.PhoneNumbers.PhoneNumberAssignmentType? assignmentType = default, Azure.Communication.PhoneNumbers.PhoneNumberCapabilities availableCapabilities = default, Azure.Communication.PhoneNumbers.PhoneNumberCost cost = default);
static member PhoneNumberOffering : Nullable<Azure.Communication.PhoneNumbers.PhoneNumberType> * Nullable<Azure.Communication.PhoneNumbers.PhoneNumberAssignmentType> * Azure.Communication.PhoneNumbers.PhoneNumberCapabilities * Azure.Communication.PhoneNumbers.PhoneNumberCost -> Azure.Communication.PhoneNumbers.PhoneNumberOffering
Public Shared Function PhoneNumberOffering (Optional phoneNumberType As Nullable(Of PhoneNumberType) = Nothing, Optional assignmentType As Nullable(Of PhoneNumberAssignmentType) = Nothing, Optional availableCapabilities As PhoneNumberCapabilities = Nothing, Optional cost As PhoneNumberCost = Nothing) As PhoneNumberOffering
Parameters
- phoneNumberType
- Nullable<PhoneNumberType>
Represents the number type of the offering.
- assignmentType
- Nullable<PhoneNumberAssignmentType>
Represents the assignment type of the offering.
- availableCapabilities
- PhoneNumberCapabilities
Capabilities of a phone number.
- cost
- PhoneNumberCost
The incurred cost for a single phone number.
Returns
A new PhoneNumberOffering instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET