ProjectsAgentsModelFactory.CreateTelephonyCallJobContent 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.
A request to create one durable direct outbound call job.
public static Azure.AI.Projects.Agents.CreateTelephonyCallJobContent CreateTelephonyCallJobContent(Azure.AI.Projects.Agents.TelephonyOutboundDestination destination = default, string connectionName = default, string source = default, string purpose = default, System.Collections.Generic.IDictionary<string,BinaryData> structuredInputs = default, Azure.AI.Projects.Agents.TelephonyCallJobSchedule schedule = default, Azure.AI.Projects.Agents.TelephonyOutboundRetryPolicy retryPolicy = default);
static member CreateTelephonyCallJobContent : Azure.AI.Projects.Agents.TelephonyOutboundDestination * string * string * string * System.Collections.Generic.IDictionary<string, BinaryData> * Azure.AI.Projects.Agents.TelephonyCallJobSchedule * Azure.AI.Projects.Agents.TelephonyOutboundRetryPolicy -> Azure.AI.Projects.Agents.CreateTelephonyCallJobContent
Public Shared Function CreateTelephonyCallJobContent (Optional destination As TelephonyOutboundDestination = Nothing, Optional connectionName As String = Nothing, Optional source As String = Nothing, Optional purpose As String = Nothing, Optional structuredInputs As IDictionary(Of String, BinaryData) = Nothing, Optional schedule As TelephonyCallJobSchedule = Nothing, Optional retryPolicy As TelephonyOutboundRetryPolicy = Nothing) As CreateTelephonyCallJobContent
Parameters
- destination
- TelephonyOutboundDestination
The phone destination to call.
- connectionName
- String
The Foundry connection name in the current project used to originate the call. Its category selects Twilio or Azure Communication Services / Teams Phone extensibility. No inbound telephony binding is required.
- source
- String
The caller identity used to originate the call. For a Twilio connection, provide an authorized E.164 phone number. For an Azure Communication Services / Teams Phone extensibility connection, provide the Teams Resource Account object ID. The identity type is inferred from the connection category; originating does not change inbound routing.
- purpose
- String
An optional customer-declared purpose for placing the call.
- structuredInputs
- IDictionary<String,BinaryData>
Structured input values available to the agent and greeting for this call. Agent-declared inputs are validated against their schemas; omitted optional inputs may use their Agent-defined default values, while omitted required inputs are rejected. Additional inputs remain available as dynamic template variables.
- schedule
- TelephonyCallJobSchedule
The optional execution window.
- retryPolicy
- TelephonyOutboundRetryPolicy
The provider-attempt retry policy. Omit it for one attempt with no retry delay.
Returns
A new CreateTelephonyCallJobContent instance for mocking.