ConnectionPolicyTarget
A ConnectionPolicyTarget resource describes a destination for voice traffic for a Connection Policy.
Table-Specific Information
SELECT
The connector uses the Twilio API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client-side within the connector.
| Column | Supported Operators |
| ConnectionPolicySid | = |
| Sid | = |
For example:
SELECT * FROM ConnectionPolicyTarget WHERE ConnectionPolicySid = 'NYabc123def456'
SELECT * FROM ConnectionPolicyTarget WHERE ConnectionPolicySid = 'NYabc123def456' AND Sid = 'NEabc123def456'
INSERT
ConnectionPolicySid and Target are required for INSERT.
INSERT INTO ConnectionPolicyTarget(ConnectionPolicySid, Target) VALUES ('NYabc123def456', 'sip:[email protected]')
UPDATE
UPDATE ConnectionPolicyTarget SET FriendlyName = 'UpdatedTarget' WHERE ConnectionPolicySid = 'NYabc123def456' AND Sid = 'NEabc123def456'
DELETE
DELETE FROM ConnectionPolicyTarget WHERE ConnectionPolicySid = 'NYabc123def456' AND Sid = 'NEabc123def456'
Columns
| Name | Type | ReadOnly | References | Description |
| Sid [KEY] | String | True |
The unique string that identifies the Connection Policy Target resource. | |
| AccountSid | String | True |
Accounts.Sid |
The SID of the Account that created the Connection Policy Target resource. |
| ConnectionPolicySid [KEY] | String | False |
ConnectionPolicy.Sid |
The SID of the Connection Policy that owns this Target. |
| FriendlyName | String | False |
A descriptive string that you create to describe the resource. It is not unique and can be up to 255 characters long. | |
| Target | String | False |
The SIP address you want Twilio to route your calls to. This must be a sip: schema. sips is NOT supported. | |
| Priority | Integer | False |
The relative importance of the target. Can be an integer from 0 to 65535, inclusive, and the default is 10. The lowest number represents the most important target. | |
| Weight | Integer | False |
The value that determines the relative share of the load the Target should receive compared to other Targets with the same priority. Can be an integer from 1 to 65535, inclusive, and the default is 10. Targets with higher values receive more load than those with lower ones with the same priority. | |
| Enabled | Boolean | False |
Whether the Target is enabled. The default is true. | |
| DateCreated | Datetime | True |
The date and time in GMT that the resource was created specified in RFC 2822 format. | |
| DateUpdated | Datetime | True |
The date and time in GMT that the resource was last updated specified in RFC 2822 format. | |
| Url | String | True |
The absolute URL of the Connection Policy Target resource. |