Share via


PhoneNumbersModelFactory.PhoneNumberOffering Method

Definition

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