Sprog

ProjectsAgentsModelFactory.TwilioTelephonyBinding Method

Definition

A Twilio binding owned by a voice agent.

public static Azure.AI.Projects.Agents.TwilioTelephonyBinding TwilioTelephonyBinding(string id = default, string connectionName = default, string label = default, Azure.AI.Projects.Agents.TelephonyBindingStatus status = default, Uri incomingCallUrl = default, string phoneNumber = default);
static member TwilioTelephonyBinding : string * string * string * Azure.AI.Projects.Agents.TelephonyBindingStatus * Uri * string -> Azure.AI.Projects.Agents.TwilioTelephonyBinding
Public Shared Function TwilioTelephonyBinding (Optional id As String = Nothing, Optional connectionName As String = Nothing, Optional label As String = Nothing, Optional status As TelephonyBindingStatus = Nothing, Optional incomingCallUrl As Uri = Nothing, Optional phoneNumber As String = Nothing) As TwilioTelephonyBinding

Parameters

id
String

The service-generated binding identifier.

connectionName
String

The Foundry connection name for the telephony provider.

label
String

The optional display label for the binding.

status
TelephonyBindingStatus

The lifecycle status.

incomingCallUrl
Uri

The service-generated webhook URL to configure with the telephony provider.

phoneNumber
String

The Twilio E.164 phone number.

Returns

A new TwilioTelephonyBinding instance for mocking.

Applies to